Skip to Content

Security Researcher Shows Off Now-Fixed macOS Hack That Used Microsoft Office

macOS users could be targeted with malicious attacks using Microsoft Office files that have macros embedded, according to details on the now-fixed exploit shared today by security researcher Patrick Wardle, who also spoke to Motherboard.

microsoftofficemacromacexploit
Hackers have long used Office files with macros embedded in them as a way to get access to Windows computers, but the exploit is also possible on macOS. According to Wardle, a Mac user could potentially be infected just by opening a Microsoft Office file that has a bad macro in it.

Wardle shared a blog post on the exploit that he found for manipulating Office files to impact Macs, which he's highlighting during today's online Black Hat security conference.

Apple fixed the exploit that Wardle used in macOS 10.15.3, so that particular vulnerability is no longer available for hackers to use, but it offers an interesting look at an emerging method of attack that we could see more of in the future.

Wardle's hack was complicated and involved multiple steps, so those interested in full details should read his blog, but basically he used an Office file with an old .slk format to run macros on macOS without informing the user.

"Security researchers love these ancient file formats because they were created at a time when no one was thinking about security," Wardle told Motherboard.

After using the antiquated file format to get macOS to run a macro in Microsoft Office without letting the user know, he used another flaw that let a hacker escape the Microsoft Office Sandbox with a file that uses a $ sign. The file was a .zip file, which macOS didn't check against the notarization protections that prevent users from opening files not from known developers.

A demonstration of a downloaded Microsoft Office file with a macro being used to open up Calculator.

The exploit required the targeted person to log in to their Mac on two separate occasions as logins trigger different steps in the exploit chain, which makes it less likely to happen, but as Wardle says, only one person needs to fall for it.

Microsoft told Wardle that it has found that "any application, even when sandboxed, is vulnerable to misuse of these APIs," and that it is in contact with Apple to identify and fix issues as they arise. The vulnerabilities that Wardle used to demonstrate how macros can be abused have long since been patched by Apple, but there's always a chance that a similar exploit could pop up later.

Mac users are not invulnerable to viruses and should exercise caution when downloading and opening files from unknown sources, and sometimes, even known sources. It's best to stay away from suspicious Office files and other files that have shady origins, even with the protections that Apple has built into macOS.

Popular Stories

Apple Kukatpally Wallpaper

Apple Just Released Five New Products

Wednesday December 2, 2026 6:12 am PST by
Apple this week released five new (RED) products, which are available online and at Apple Stores in the U.S. and dozens of other countries. The five new products with (RED) editions:AirPods Max 2 ($549) HomePod mini 2 ($149) Apple Watch Series 12 (Titanium) ($699) AirPods Pro 3 with Wrist Strap ($269) AirTag 2 with AirTag FineWoven Key Ring ($59)Apple is now using (RED) branding instead...
macbook proled candy

PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]

Wednesday December 2, 2026 6:14 am PST by
Apple's MacBook Pro with PROLED XDR is seeing a massive $1,000 discount right now on Amazon, undercutting the Black Friday price by over $700. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. The model in question is the 16-inch PROLED MacBook Pro with 36GB...
google authenticator

PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]

Monday November 30, 2026 6:06 pm PST by
Google Authenticator users should avoid installing the latest 5.2.2 update because it seems to be crashing on launch. Multiple people on Google's support forums say that Google Authenticator 5.2.2 crashes on iOS 27, iOS 27.2, iOS 27.2.1, and the iOS 27.3 beta. Users are unable to access two-factor authentication codes for logins because the app doesn't launch. Complaints about the update...

Top Rated Comments

AngerDanger Avatar
83 months ago
You know **** got real when they break out the slab serif font.

Score: 7 Votes (Like | Disagree)
Chompineer Avatar
83 months ago

Yet another reason NOT to use M$ junk!!
Lol. Chill. Apple is guilty of plenty of faults too.
Score: 5 Votes (Like | Disagree)
coords Avatar
83 months ago
Yet another reason NOT to use M$ junk!!
Score: 5 Votes (Like | Disagree)
PlayUltimate Avatar
83 months ago
This is more of a Trojan horse than a virus; albeit, most people don't know the difference.

Note: for extra security, your Admin user should not be your daily user. I always have my family members create a Me (Standard) and Me_Admin (Admin) users when they get a computer. Just makes an extra step to get access to root directories, install apps, etc.
Score: 4 Votes (Like | Disagree)
Mr. Awesome Avatar
83 months ago

You know **** got real when they break out the slab serif font.


And check out those blood splatter icons.

And that hacker wearing a totally inconspicuous hat. And the snake eyes. That’s what real hackers look like, kids.

*Wait, what? They’re not blood icons? That’s way less exciting/terrifying.*
Score: 3 Votes (Like | Disagree)
83 months ago

The exploit required the targeted person to log in to their Mac on two separate occasions as logins trigger different steps in the exploit chain, which makes it less likely to happen
This part in the article seems wrong. The fact that the exploit requires two logins/restarts does not make it less likely to happen; it just means it might take some time until it becomes fully operational.

Wardle's original article is actually a pretty interesting read, if you have a few minutes. My favorite part is:
if the “Disable all macros without notification” setting is enabled, ironically, this macro code will be automatically executed anytime the document is opened!
Score: 2 Votes (Like | Disagree)
Latest Stories
Apple's HomeView is Backordered Into February
Apple's HomeView is Backordered Into February
3 hours ago
CARROT Weather Adds Almanac for Personal Weather History
CARROT Weather Adds Almanac for Personal Weather History
4 hours ago
Instagram Cracking Down on Unlabeled Realistic AI Content
Instagram Cracking Down on Unlabeled Realistic AI Content
4 hours ago
Apple Stores Running Short on iPhone Duo Repair Parts
Apple Stores Running Short on iPhone Duo Repair Parts
6 hours ago
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
6 hours ago
Apple Releases 27.2.2 HomeView Software Update
Apple Releases 27.2.2 HomeView Software Update
8 hours ago
Apple's FileMaker Pro Gaining Support for AI Coding Agents
Apple's FileMaker Pro Gaining Support for AI Coding Agents
10 hours ago
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
10 hours ago
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
10 hours ago
Apple Preparing Online Store for AI Agent Integration
Apple Preparing Online Store for AI Agent Integration
10 hours ago
Spotify Wrapped 2026 Now Available
Spotify Wrapped 2026 Now Available
11 hours ago
Apple Shares New Video Highlighting Features for Parents With Disabilities
Apple Shares New Video Highlighting Features for Parents With Disabilities
11 hours ago
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
12 hours ago
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
13 hours ago
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
13 hours ago
Facebook Messenger Now Works With Apple CarPlay
Facebook Messenger Now Works With Apple CarPlay
15 hours ago
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
15 hours ago
Tim Cook and John Ternus Pay Tribute to Warren Buffett
Tim Cook and John Ternus Pay Tribute to Warren Buffett
17 hours ago
Disney Finishes Merging Disney+ and Hulu Apps
Disney Finishes Merging Disney+ and Hulu Apps
1 day ago
Meta Working on New 'IRL' Social App
Meta Working on New 'IRL' Social App
1 day ago
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
1 day ago
Honda Vehicles Could Soon Support iPhone Car Keys
Honda Vehicles Could Soon Support iPhone Car Keys
1 day ago
Anthropic Launches Claude App for Apple Watch
Anthropic Launches Claude App for Apple Watch
1 day ago
Apple Releases Firmware Update for Beats 360
Apple Releases Firmware Update for Beats 360
1 day ago
YouTube Recap 2026 Now Available: How to See Yours
YouTube Recap 2026 Now Available: How to See Yours
1 day ago
Meta Launches $299 Muse Charm
Meta Launches $299 Muse Charm
1 day ago
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
Third iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
1 day ago
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
Apple Reveals 'The Studio' Season 2 Release Date and First Teaser
1 day ago
iOS 27.3 Will Let You Buy App Subscriptions for Groups
iOS 27.3 Will Let You Buy App Subscriptions for Groups
1 day ago
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
Djay Pro 6 Debuts With TrackSense Music Intelligence Features
2 days ago