kevmap

TechniquesT1553 › T1553.001

T1553.001 Gatekeeper Bypass

defense impairment — macOS · attack.mitre.org · JSON

1
MITRE detection strategy
1
analytics
1
Sigma rules tagged attack.t1553.001
0
KEV CVEs mapped here
<p>Adversaries may modify file attributes and subvert Gatekeeper functionality to evade user prompts and execute untrusted programs. Gatekeeper is a set of technologies that act as layer of Apple’s security model to ensure only trusted applications are executed on a host. Gatekeeper was built on top of File Quarantine in Snow Leopard (10.6, 2009) and has grown to include Code Signing, security policy compliance, Notarization, and more. Gatekeeper also treats applications running for the first time differently than reopened applications.</p><p>Based on an opt-in system, when files are downloaded an extended attribute (xattr) called com.apple.quarantine (also known as a quarantine flag) can be set on the file by the application performing the download. Launch Services opens the application in a suspended state. For first run applications with the quarantine flag set, Gatekeeper executes the following functions:</p><p>1. Checks extended attribute – Gatekeeper checks for the quarantine flag, then provides an alert prompt to the user to allow or deny execution.</p><p>2. Checks System Policies - Gatekeeper checks the system security policy, allowing execution of apps downloaded from either just the App Store or the App Store and identified developers.</p><p>3. Code Signing – Gatekeeper checks for a valid code signature from an Apple Developer ID.</p><p>4. Notarization - Using the api.apple-cloudkit.com API, Gatekeeper reaches out to Apple servers to verify or pull down the notarization ticket and ensure the ticket is not revoked. Users can override notarization, which will result in a prompt of executing an “unauthorized app” and the security policy will be modified.</p><p>Adversaries can subvert one or multiple security controls within Gatekeeper checks through logic errors (e.g. Exploitation for Stealth), unchecked file types, and external libraries. For example, prior to macOS 13 Ventura, code signing and notarization checks were only conducted on first launch, allowing adversaries to write malicious executables to previously opened applications in order to bypass Gatekeeper security checks.</p><p>Applications and files loaded onto the system from a USB flash drive, optical disk, external hard drive, from a drive shared over the local network, or using the curl command may not set the quarantine flag. Additionally, it is possible to avoid setting the quarantine flag using Drive-by Compromise.</p>

KEV CVEs mapped to this technique · CTID Mappings Explorer

None. No KEV entry in the public mapping names this technique. Given that 74.7% of KEV has no mapping at all, this says more about the mapping than about the technique.

Detection strategy · ATT&CK Enterprise v19.2

Sigma rules · SigmaHQ da9bb07d64, tag attack.t1553.001

Author: Daniil Yugoslavskiy, oscd.community · 2020-10-19 (modified 2024-04-18) · logsource: product=macos category=process_creation · f5141b6d-9f42-41c6-a7bf-2a780678b29b
Detects macOS Gatekeeper bypass via xattr utility
Techniques: T1553.001

Rules tagged at the parent level (attack.t1553) 4

These target the parent technique, not this sub-technique specifically. Listed for completeness, not counted as coverage.

Author: Matt Anderson (Huntress) · 2024-07-23 · logsource: product=windows category=process_creation · 0090b851-3543-42db-828c-02fee986ff0b
Detects the use of software that is related to the University of California, Berkeley via metadata information. This indicates it may be related to BOINC software and can be used maliciously if unauthorized.
Techniques: T1553
Author: Matt Anderson (Huntress) · 2024-07-23 · logsource: product=windows category=process_creation · 30d07da2-83ab-45d8-ae75-ec7c0edcaffc
Detects the execution of a renamed BOINC binary.
Techniques: T1553
Author: Tim Rauch (rule), Elastic (idea) · 2022-10-21 (modified 2022-12-28) · logsource: product=macos category=process_creation · 6e4dcdd1-e48b-42f7-b2d8-3b413fc58cb4
Detects when the macOS Script Editor utility spawns an unusual child process.
Author: Florian Roth (Nextron Systems), Maxime Thiebaut · 2021-08-23 (modified 2024-12-01) · logsource: product=windows category=process_creation · a4eaf250-7dc1-4842-862a-5e71cd59a167
Detects a explorer.exe sub process of the RazerInstaller software which can be invoked from the installer to select a different installation folder but can also be exploited to escalate privileges to LOCAL SYSTEM
Techniques: T1553