• Home
  • Politics
  • News
  • Business
  • Health
  • Entertainment
  • Sports
  • Lifestyle
  • Education
  • Opinion
Saturday, 25 March, 2023
  • Login
topfmonline.com
 
  • Home
  • News
  • Politics
  • Business
  • Entertainment
  • Health
  • Lifestyle
  • Sports
  • Education
  • Technology
  • Foreign
No Result
View All Result
topfmonline.com
No Result
View All Result
Home Technology

Microsoft releases tweet-size exploit for macOS sandbox escape bug

TOPFM NEWS by TOPFM NEWS
July 14, 2022
in Technology
A A
0
Microsoft releases tweet-size exploit for macOS sandbox escape bug
0
SHARES
9
VIEWS
Share on FacebookShare on Twitter

Microsoft has published the exploit code for a vulnerability in macOS that could help an attacker bypass sandbox restrictions and run code on the system.

The company released the technical details for the security issue, which is currently identified as CVE-2022-26706, and explained how the macOS App Sandbox rules could be avoided to allow malicious macro code in Word documents to execute commands on the machine.

Abusing macros in Office documents to deploy malware has long been an efficient and popular technique to compromise Windows systems.

The same could be achieved on macOS machines lacking the proper security updates, Microsoft warns in a report today.

“Despite the security restrictions imposed by the App Sandbox’s rules on applications, it’s possible for attackers to bypass the said rules and let malicious codes “escape” the sandbox and execute arbitrary commands on an affected device” – Microsoft

Jonathan Bar Or of the Microsoft 365 Defender Research Team explains that the vulnerability was discovered while looking into methods to run and detect malicious macros in Microsoft Office documents on macOS.

To ensure backward compatibility, Microsoft Word can read and write files that come with the prefix “~$,” which is defined in the app’s sandbox rules.

Sandbox rule for Microsoft Word on macOS
Sandbox rule for Microsoft Word on macOS
source: Microsoft

Exploit code in a tweet

After studying older reports [1, 2] about escaping the macOS sandbox, the researchers found that using Launch Services to run an open –stdin command on a special Python file with the abovementioned prefix allows escaping the App Sandbox on macOS, potentially leading to compromising the system.

The researchers came up with a proof-of-concept (PoC) that used the -stdin option for the open Command on a Python file to bypass the “com.apple.quarantine” extended attribute restriction.

The demo exploit code is as simple as dropping a Python file that contains arbitrary commands and has in its name the special prefix for Word.

Using the open -stdin command starts the Python app with the specially crafted file as the standard input.

“Python happily runs our code, and since it’s a child process of launchd, it isn’t bound to Word’s sandbox rules,” Jonathan Or Bar explains.

Microsoft's exploit for escaping the macOS sandbox
macOS sandbox escape PoC
source: Microsoft

The researchers even managed to compress the exploit code above so much that it fits into a tweet.

Tweet-size exploit for escaping the macOS sandbox
Tweet-size version of macOS sandbox escape PoC​​​​​
source: Microsoft

Microsoft reported the vulnerability to Apple last year in October and a fix was delivered with the macOS security updates in May 2022 (Big Sur 11.6.6)

Credit for responsibly disclosing the issue is shared with another security researcher, Arsenii Kostromin, who found it independently.

Related Posts

TikTok launches an elections hub in Kenya ahead of General Elections

TikTok launches an elections hub in Kenya ahead of General Elections

July 15, 2022
10
Facebook to allow up to five profiles tied to one account

Facebook to allow up to five profiles tied to one account

July 15, 2022
4
Source: Ionut Ilascu
Via: bleepingcomputer
Tags: Microsoft releases tweet-size exploit for macOS sandbox escape bug
Previous Post

Final Android 13 beta arrives ahead of its official launch ‘in the weeks ahead’

Next Post

US, Israel to commit to stopping Iran nuclear ambitions

Related Posts

TikTok launches an elections hub in Kenya ahead of General Elections
Technology

TikTok launches an elections hub in Kenya ahead of General Elections

July 15, 2022
10
Facebook to allow up to five profiles tied to one account
Technology

Facebook to allow up to five profiles tied to one account

July 15, 2022
4
Final Android 13 beta arrives ahead of its official launch ‘in the weeks ahead’
Technology

Final Android 13 beta arrives ahead of its official launch ‘in the weeks ahead’

July 14, 2022
2
Ex-CIA engineer Joshua Schulte convicted over massive data leak
Technology

Ex-CIA engineer Joshua Schulte convicted over massive data leak

July 14, 2022
2
Samsung Galaxy Z Fold 4 with model name SM-F936U certified by FCC
Technology

Samsung Galaxy Z Fold 4 with model name SM-F936U certified by FCC

July 13, 2022
2
Foxconn Arm Backs China Chipmaker Tsinghua Unigroup After $9 Billion Rescue
Technology

Foxconn Arm Backs China Chipmaker Tsinghua Unigroup After $9 Billion Rescue

July 13, 2022
6
Next Post
US, Israel to commit to stopping Iran nuclear ambitions

US, Israel to commit to stopping Iran nuclear ambitions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

BROWSE BY CATEGORIES

  • Business
  • Education
  • Entertainment
  • Foreign
  • Health
  • Lifestyle
  • News
  • Opinion
  • Politics
  • Sports
  • Technology
  • Uncategorized

BROWSE BY TOPICS

2022 Budget Afghanistan akufo addo Amazon Apiate explosion apple AT&T Bawku Black Stars covid COVID-19 COVID 19 E-Levy facebook Ghana Police Service Google Government health Intel iphone Mahama Majority Microsoft Minority momo NDC news NPP Nvidia OMICRON Parliament police Russia security South Africa Taliban tech Tesla US UTAG vaccine vaccines Verizon WHO Xinjiang

Recent Posts

  • FDA issues alert on two eyedrops which have killed patients in US
  • Talks with China over $1.7bn debt positive, encouraging – Ofori-Atta
  • Donations to Appiate reconstruction being put to good use – Committee
  • Parliament to decide fate of Nana Addo’s new ministers today
  • I’m committed to serve’ – Kwabena Duffuor after filing NDC presidential forms

Recent Comments

No comments to show.

RECENT NEWS

  • FDA issues alert on two eyedrops which have killed patients in US March 24, 2023
  • Talks with China over $1.7bn debt positive, encouraging – Ofori-Atta March 24, 2023
  • Donations to Appiate reconstruction being put to good use – Committee March 24, 2023
  • Parliament to decide fate of Nana Addo’s new ministers today March 24, 2023

MAIN CATEGORIES

  • Business
  • Education
  • Entertainment
  • Foreign
  • Health
  • Lifestyle
  • News
  • Opinion
  • Politics
  • Sports
  • Technology
  • Uncategorized

Entertainment

FDA issues alert on two eyedrops which have killed patients in US
Health

FDA issues alert on two eyedrops which have killed patients in US

21 hours ago
0
  • ABOUT US
  • CONTACT
  • ADVERTISE

© 2023 Top Media Group - Powered by BackUp Data Systems

No Result
View All Result
  • Home
  • Politics
  • News
  • Business
  • Health
  • Entertainment
  • Sports
  • Lifestyle
  • Education
  • Opinion

© 2023 Top Media Group - Powered by BackUp Data Systems

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In