Possible Guest Account Enabled Through Sysadminctl (via process_creation)

This rule detects attempts to enable the guest account using the sysadminctl utility

SigmalowmacOSv1
sigma
title: Possible Guest Account Enabled Through Sysadminctl (via process_creation)
id: c3743d68-4b6c-5334-bbc3-50467c6a18e4
status: stable
description: This rule detects attempts to enable the guest account using the sysadminctl utility
references:
    - https://attack.mitre.org/techniques/T1078/001/
    - https://attack.mitre.org/techniques/T1078/
    - https://ss64.com/osx/sysadminctl.html
author: Huntrule Team
date: 2026-07-05
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.initial-access
    - attack.stealth
    - attack.t1078
    - attack.t1078.001
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        Image|endswith: '/sysadminctl'
        CommandLine|contains|all:
            - ' -guestAccount'
            - ' on'
    condition: selection
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.