Detection rules › Sigma

JAMF MDM Execution

Status
test
Severity
low
Log source
category process_creation, product macos
Author
Jay Pandit
Source
github.com/SigmaHQ/sigma

Detects execution of the "jamf" binary to create user accounts and run commands. For example, the binary can be abused by attackers on the system in order to bypass security controls or remove application control polices.

Known false positives

  • Legitimate use of the JAMF CLI tool by IT support and administrators

MITRE ATT&CK coverage

TacticTechniques
ExecutionNo specific technique

Telemetry coverage

Rule body

title: JAMF MDM Execution
id: be2e3a5c-9cc7-4d02-842a-68e9cb26ec49
status: test
description: |
    Detects execution of the "jamf" binary to create user accounts and run commands. For example, the binary can be abused by attackers on the system in order to bypass security controls or remove application control polices.
references:
    - https://github.com/MythicAgents/typhon/
    - https://www.zoocoup.org/casper/jamf_cheatsheet.pdf
    - https://docs.jamf.com/10.30.0/jamf-pro/administrator-guide/Components_Installed_on_Managed_Computers.html
author: Jay Pandit
date: 2023-08-22
tags:
    - attack.execution
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        Image|endswith: '/jamf'
        CommandLine|contains:
            # Note: add or remove commands according to your policy
            - 'createAccount'
            - 'manage'
            - 'removeFramework'
            - 'removeMdmProfile'
            - 'resetPassword'
            - 'setComputerName'
    condition: selection
falsepositives:
    - Legitimate use of the JAMF CLI tool by IT support and administrators
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/jamf'
    CommandLine|contains:
        - 'createAccount'
        - 'manage'
        - 'removeFramework'
        - 'removeMdmProfile'
        - 'resetPassword'
        - 'setComputerName'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • createAccount
  • manage
  • removeFramework
  • removeMdmProfile
  • resetPassword
  • setComputerName
field:"CommandLine" kind:match
Imageends_with
  • /jamf
field:"Image" kind:ends_with value:"/jamf"