Advertisement
UK markets close in 1 hour 31 minutes
  • FTSE 100

    7,968.46
    +36.48 (+0.46%)
     
  • FTSE 250

    19,889.72
    +79.06 (+0.40%)
     
  • AIM

    743.76
    +1.65 (+0.22%)
     
  • GBP/EUR

    1.1698
    +0.0029 (+0.25%)
     
  • GBP/USD

    1.2637
    -0.0001 (-0.01%)
     
  • Bitcoin GBP

    56,518.48
    +1,142.47 (+2.06%)
     
  • CMC Crypto 200

    885.54
    0.00 (0.00%)
     
  • S&P 500

    5,253.29
    +4.80 (+0.09%)
     
  • DOW

    39,758.92
    -1.16 (-0.00%)
     
  • CRUDE OIL

    82.47
    +1.12 (+1.38%)
     
  • GOLD FUTURES

    2,234.10
    +21.40 (+0.97%)
     
  • NIKKEI 225

    40,168.07
    -594.66 (-1.46%)
     
  • HANG SENG

    16,541.42
    +148.58 (+0.91%)
     
  • DAX

    18,498.66
    +21.57 (+0.12%)
     
  • CAC 40

    8,214.35
    +9.54 (+0.12%)
     

Malware caught using a macOS zero-day to secretly take screenshots

Almost exactly a month ago, researchers revealed a notorious malware family was exploiting a never-before-seen vulnerability that let it bypass macOS security defenses and run unimpeded. Now, some of the same researchers say another malware can sneak onto macOS systems, thanks to another vulnerability.

Jamf says it found evidence that the XCSSET malware was exploiting a vulnerability that allowed it access to parts of macOS that require permission — such as accessing the microphone, webcam or recording the screen — without ever getting consent.

XCSSET was first discovered by Trend Micro in 2020 targeting Apple developers, specifically their Xcode projects that they use to code and build apps. By infecting those app development projects, developers unwittingly distribute the malware to their users, in what Trend Micro researchers described as a "supply-chain-like attack." The malware is under continued development, with more recent variants also targeting Macs running the newer M1 chip.

Once the malware is running on a victim's computer, it uses two zero-days — one to steal cookies from the Safari browser to get access to a victim's online accounts, and another to quietly install a development version of Safari, allowing the attackers to modify and snoop on virtually any website.

ADVERTISEMENT

But Jamf says the malware was exploiting a previously undiscovered third zero-day in order to secretly take screenshots of the victim's screen.

macOS is supposed to ask the user for permission before it allows any app — malicious or otherwise — to record the screen, access the microphone or webcam, or open the user's storage. But the malware bypassed that permissions prompt by sneaking in under the radar by injecting malicious code into legitimate apps.

Jamf researchers Jaron Bradley, Ferdous Saljooki, and Stuart Ashenbrenner explained in a blog post, shared with TechCrunch, that the malware searches for other apps on the victim's computer that are frequently granted screen-sharing permissions, like Zoom, WhatsApp and Slack, and injects malicious screen recording code into those apps. This allows the malicious code to "piggyback" the legitimate app and inherit its permissions across macOS. Then, the malware signs the new app bundle with a new certificate to avoid getting flagged by macOS' built-in security defenses.

The researchers said that the malware used the permissions prompt bypass "specifically for the purpose of taking screenshots of the user's desktop," but warned that it was not limited to screen recording. In other words, the bug could have been used to access the victim's microphone, webcam or capture their keystrokes, such as passwords or credit card numbers.

It's not clear how many Macs the malware was able to infect using this technique. But Apple confirmed to TechCrunch that it fixed the bug in macOS 11.4, which was made available as an update today.