Researcher Uses macOS App Screenshot Feature to Steal Passwords, Tokens, Keys

Haythem Elmir
0 1
Read Time1 Minute, 51 Second

Malicious app developers can secretly abuse a macOS API function to take screenshots of the user’s screen and then use OCR (Optical Character Recognition) to programmatically read the text found in the image.

The function is CGWindowListCreateImage, often utilized by Mac apps that take screenshots or live stream a user’s desktop.

API function can be abused to read sensitive user data

According to Fastlane Tools founder Felix Krause, any Mac app, sandboxed or not, can access this function and secretly take screenshots of the user’s screen.

Krause argues that miscreants can abuse this privacy loophole and utilize CGWindowListCreateImage to take screenshots of the screen without the user’s permission.

In experiments he carried out, Krause says he was able to use an OCR library to read various types of information captured using CGWindowListCreateImage. He argues that an attacker can:

⌔ Read passwords and keys from password managers
⌔  Read sensitive source code, API keys, or similar data
⌔  Read emails and messages users open on their Mac
⌔  Detect what web services users employ (e.g. email providers, password manager, app lists, etc.)
⌔  Learn personal information about the user, like their bank details, salary, address, etc.

The researcher filed a bug with Apple yesterday, letting the company know of the issue he found. Krause also went public with his findings on his blog, which is a strange move as most researchers give companies time to fix reported issues. It may be that the feature has already been abused for such attacks. Bleeping Computer has reached out to the researcher for comment on his motives.

Researcher proposes possible mitigations

Krause also proposed some mitigations that Apple could take into consideration to prevent abuse of the CGWindowListCreateImage function.

The easiest one to implement would be to put the user in charge by adding a permission dialog for apps that use this function to take screenshots of the user’s screen.

Another one would be to have macOS to notify users when an app is taking screenshots of his screen, a notification system that Mac security software can tap into and block such attempts.
To read the original article:

 

https://www.bleepingcomputer.com/news/apple/researcher-uses-macos-app-screenshot-feature-to-steal-passwords-tokens-keys/

 

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
100 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Laisser un commentaire

Next Post

Dark Web’s largest cybercrime group indicted after stealing $530M

Infraud organization is the largest group of cybercriminals on Dark Web – Their official motto is “In Fraud We Trust.” After managing to steal over $530 million, a cybercrime ring has finally been hammered by US law enforcement authorities and its 36 members have been indicted. The accused have close ties […]