EXPLORE
← Back to Explore
sigmalowHunting

Gatekeeper Bypass via Xattr

Detects macOS Gatekeeper bypass via xattr utility

MITRE ATT&CK

defense-evasion

Detection Query

selection:
  Image|endswith: /xattr
  CommandLine|contains|all:
    - -d
    - com.apple.quarantine
condition: selection

Author

Daniil Yugoslavskiy, oscd.community

Created

2020-10-19

Data Sources

macosProcess Creation Events

Platforms

macos

Tags

attack.defense-evasionattack.t1553.001
Raw Content
title: Gatekeeper Bypass via Xattr
id: f5141b6d-9f42-41c6-a7bf-2a780678b29b
status: test
description: Detects macOS Gatekeeper bypass via xattr utility
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/1fed40dc7e48f16ed44dcdd9c73b9222a70cca85/atomics/T1553.001/T1553.001.md
    - https://www.loobins.io/binaries/xattr/
author: Daniil Yugoslavskiy, oscd.community
date: 2020-10-19
modified: 2024-04-18
tags:
    - attack.defense-evasion
    - attack.t1553.001
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        Image|endswith: '/xattr'
        CommandLine|contains|all:
            - '-d'
            - 'com.apple.quarantine'
    condition: selection
falsepositives:
    - Legitimate activities
level: low