Protecting against malware in macOS (2024)

Protecting against malware in macOS (1)

Apple operates a threat intelligence process to quickly identify and block malware.

Three layers of defense

Malware defenses are structured in three layers:

1. Prevent launch or execution of malware: App Store, or Gatekeeper combined with Notarization

2. Block malware from running on customer systems: Gatekeeper, Notarization, and XProtect

3. Remediate malware that has executed: XProtect

The first layer of defense is designed to inhibit the distribution of malware, and prevent it from launching even once—this is the goal of the App Store, and Gatekeeper combined with Notarization.

The next layer of defense is to help ensure that if malware appears on any Mac, it’s quickly identified and blocked, both to halt spread and to remediate the Mac systems it’s already gained a foothold on. XProtect adds to this defense, along with Gatekeeper and Notarization.

Finally, XProtect acts to remediate malware that has managed to successfully execute.

These protections, further described below, combine to support best-practice protection from viruses and malware. There are additional protections, particularly on a Mac with Apple silicon, to limit the potential damage of malware that does manage to execute. See Protecting app access to user data for ways that macOS can help protect user data from malware, and Operating system integrity for ways macOS can limit the actions malware can take on the system.

Notarization

Notarization is a malware scanning service provided by Apple. Developers who want to distribute apps for macOS outside the App Store submit their apps for scanning as part of the distribution process. Apple scans this software for known malware and, if none is found, issues a Notarization ticket. Typically, developers staple this ticket to their app so Gatekeeper can verify and launch the app, even offline.

Apple can also issue a revocation ticket for apps known to be malicious—even if they’ve been previously notarized. macOS regularly checks for new revocation tickets so that Gatekeeper has the latest information and can block launch of such files. This process can very quickly block malicious apps because updates happen in the background much more frequently than even the background updates that push new XProtect signatures. In addition, this protection can be applied to both apps that have been previously and those that haven’t.

XProtect

macOS includes built-in antivirus technology called XProtect for the signature-based detection and removal of malware. The system uses YARA signatures, a tool used to conduct signature-based detection of malware, which Apple updates regularly. Apple monitors for new malware infections and strains, and updates signatures automatically—independent from system updates—to help defend a Mac from malware infections. XProtect automatically detects and blocks the execution of known malware. In macOS 10.15 or later, XProtect checks for known malicious content whenever:

  • An app is first launched

  • An app has been changed (in the file system)

  • XProtect signatures are updated

When XProtect detects known malware, the software is blocked and the user is notified and given the option to move the software to the Trash.

Note: Notarization is effective against known files (or file hashes) and can be used on apps that have been previously launched. The signature-based rules of XProtect are more generic than a specific file hash, so it can find variants that Apple hasn’t seen. XProtect scans only apps that have been changed or apps at first launch.

Should malware make its way onto a Mac, XProtect also includes technology to remediate infections. For example, it includes an engine that remediates infections based on updates automatically delivered from Apple (as part of automatic updates of system data files and security updates). This system removes malware upon receiving updated information, and it continues to periodically check for infections; however, XProtect doesn’t automatically restart the Mac. In addition, XProtect contains an advanced engine to detect unknown malware based on behavioral analysis. Information about malware detected by this engine, including what software was ultimately responsible for downloading it, is used to improve XProtect signatures and macOS security.

Automatic XProtect security updates

Apple issues the updates for XProtect automatically based on the latest threat intelligence available. By default, macOS checks for these updates daily. Notarization updates, which are distributed using CloudKit sync are much more frequent.

How Apple responds when new malware is discovered

When new malware is discovered, a number of steps may be performed:

  • Any associated Developer ID certificates are revoked.

  • Notarization revocation tickets are issued for all files (apps and associated files).

  • XProtect signatures are developed and released.

    These signatures are also applied retroactively to previously notarized software, and any new detections can result in one or more of the previous actions occurring.

Ultimately, a malware detection launches a series of steps over the next seconds, hours, and days that follow to propagate the best protections possible to Mac users.

See alsoApp code signing process in iOS and iPadOSGatekeeper and runtime protection in macOSSecurity of runtime process in iOS and iPadOSApple Support article: About background updates in macOS

Download this guide as a PDF

Protecting against malware in macOS (2024)
Top Articles
Full Form of SBI (State Bank of India) | Function & Structures
8 ready to use customer service email response templates
AMC Theatre - Rent A Private Theatre (Up to 20 Guests) From $99+ (Select Theaters)
Hotels Near 625 Smith Avenue Nashville Tn 37203
Forozdz
Lexi Vonn
Jonathon Kinchen Net Worth
Mama's Kitchen Waynesboro Tennessee
THE 10 BEST River Retreats for 2024/2025
Graveguard Set Bloodborne
Monticello Culver's Flavor Of The Day
Texas (TX) Powerball - Winning Numbers & Results
Lesson 3 Homework Practice Measures Of Variation Answer Key
Turbocharged Cars
Nashville Predators Wiki
Washington, D.C. - Capital, Founding, Monumental
Koop hier ‘verloren pakketten’, een nieuwe Italiaanse zaak en dit wil je ook even weten - indebuurt Utrecht
Alejos Hut Henderson Tx
My.tcctrack
Craftology East Peoria Il
Kp Nurse Scholars
Evil Dead Rise Showtimes Near Regal Sawgrass & Imax
‘The Boogeyman’ Review: A Minor But Effectively Nerve-Jangling Stephen King Adaptation
Baja Boats For Sale On Craigslist
Employee Health Upmc
Wics News Springfield Il
Hefkervelt Blog
Best Middle Schools In Queens Ny
Rek Funerals
'Insidious: The Red Door': Release Date, Cast, Trailer, and What to Expect
Wells Fargo Bank Florida Locations
Autopsy, Grave Rating, and Corpse Guide in Graveyard Keeper
LEGO Star Wars: Rebuild the Galaxy Review - Latest Animated Special Brings Loads of Fun With An Emotional Twist
Haley Gifts :: Stardew Valley
One Credit Songs On Touchtunes 2022
Indiana Immediate Care.webpay.md
Ni Hao Kai Lan Rule 34
2008 Chevrolet Corvette for sale - Houston, TX - craigslist
Daily Jail Count - Harrison County Sheriff's Office - Mississippi
Vivek Flowers Chantilly
Ursula Creed Datasheet
Dadeclerk
Craigslist Freeport Illinois
Alpha Labs Male Enhancement – Complete Reviews And Guide
Arnesons Webcam
Fairbanks Auto Repair - University Chevron
Killer Intelligence Center Download
DL381 Delta Air Lines Estado de vuelo Hoy y Historial 2024 | Trip.com
Bama Rush Is Back! Here Are the 15 Most Outrageous Sorority Houses on the Row
M Life Insider
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 6159

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.