OS has security measures to prevent malware getting installed on Macs, but researchers say they have found a way around this.