skills/encod3d-sec/torch/hunt-macos/Gen Agent Trust Hub

hunt-macos

Pass

Audited by Gen Agent Trust Hub on Oct 1, 2026

Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEPRIVILEGE_ESCALATIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes system commands for enumeration and security assessment, including csrutil status to check SIP status, spctl --status for Gatekeeper status, and sqlite3 to query the TCC (Transparency, Consent, and Control) database.
  • [CREDENTIALS_UNSAFE]: The methodology describes harvesting sensitive data from the macOS login keychain using the security CLI and accessing local password hashes under /var/db/dslocal/. It also targets the TCC database located at ~/Library/Application Support/com.apple.TCC/TCC.db for unauthorized access inspection.
  • [PRIVILEGE_ESCALATION]: The skill provides detailed instructions for bypassing macOS security controls including SIP, Gatekeeper, AMFI (Apple Mobile File Integrity), and TCC. It also outlines local privilege escalation paths via XPC service abuse and library injection (DYLD_INSERT_LIBRARIES).
  • [PERSISTENCE]: The skill documents techniques for establishing persistent access through Launch Agents, Launch Daemons, login items, and cron jobs.
  • [DYNAMIC_EXECUTION]: The methodology involves invoking a local Python script (scripts/wiki-stage.py) to programmatically process and stage confirmed security techniques discovered during the assessment.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 1, 2026, 05:05 AM