[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M798H85N8QTTQDKMPC52NP6P":3,"skill-same:01M798H85N8QTTQDKMPC52NP6P":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M798H85N8QTTQDKMPC52NP6P","macos-post-exploitation",null,"macOS endpoint post-exploitation — launchd persistence, TCC bypass, Keychain credential access, dylib hijacking, Gatekeeper\u002Fquarantine evasion, and discovery on Apple hosts.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fmacos\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: macos-post-exploitation\ndescription: \"macOS endpoint post-exploitation — launchd persistence, TCC bypass, Keychain credential access, dylib hijacking, Gatekeeper\u002Fquarantine evasion, and discovery on Apple hosts.\"\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: post-exploitation\n  when_to_use: \"macOS, mac, osx, apple, launchd, LaunchAgent, LaunchDaemon, TCC, keychain, dylib hijack, Gatekeeper, quarantine, xattr, codesign, dscl, jamf, mdm\"\n  tags: macos, osx, persistence, tcc, keychain, dylib, gatekeeper, launchd, privesc, credential-access\n  mitre_attack: T1543.001, T1543.004, T1547.011, T1574.004, T1547.015, T1555.001, T1059.002, T1553.001, T1222.002, T1087.001, T1518, T1647\n---\n\n# macOS post-exploitation\n\nPost-compromise operations on Apple\u002FmacOS endpoints. Apple's controls\n(TCC, Gatekeeper\u002Fquarantine, SIP, code signing, AMFI) shape every step, so the\nplaybook is organized around defeating or living within them. Prefer\non-host built-ins (`launchctl`, `security`, `sqlite3`, `dscl`, `system_profiler`,\n`codesign`, `xattr`) over dropped tooling for OPSEC.\n\n> Authorized engagements only. Stay within RoE scope; emulate destructive\n> actions as benign proofs unless explicitly authorized.\n\n## Discovery (T1087.001 \u002F T1518 \u002F T1647)\n- `system_profiler SPSoftwareDataType SPHardwareDataType` — OS build, model, SIP.\n- `csrutil status` — System Integrity Protection on\u002Foff.\n- `dscl . -list \u002FUsers | grep -v '^_'` — local accounts; `id`, `groups`.\n- `sw_vers`, `profiles status -type enrollment` — MDM\u002FJamf managed? (T1647 plist prefs).\n- Installed security tooling: `ls \u002FLibrary\u002FObjective-See`, `pgrep -l 'CrowdStrike|SentinelOne|falcon|Jamf|santad'`.\n\n## Privilege escalation\n- **TCC bypass \u002F abuse (T1548 family).** TCC gates access to Documents, Desktop,\n  Downloads, camera\u002Fmic, Full Disk Access. Check `sqlite3\n  ~\u002FLibrary\u002FApplication\\ Support\u002Fcom.apple.TCC\u002FTCC.db 'select * from access'`\n  (user) and `\u002FLibrary\u002FApplication Support\u002Fcom.apple.TCC\u002FTCC.db` (system, needs root).\n  Abuse an already-FDA-granted app (e.g. a terminal\u002FElectron app) to read\n  protected data instead of triggering a prompt.\n- **Sudo \u002F admin group.** `sudo -n true` (cached creds), membership in `admin`.\n- **Setuid hunting:** `find \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull`.\n\n## Persistence\n- **LaunchAgents \u002F LaunchDaemons (T1543.001 \u002F T1543.004).** Drop a plist in\n  `~\u002FLibrary\u002FLaunchAgents` (user, no root) or `\u002FLibrary\u002FLaunchDaemons` (root,\n  runs as root at boot); `launchctl bootstrap gui\u002F$(id -u) \u003Cplist>`. The classic,\n  noisy-but-reliable mechanism.\n- **Login items (T1547.015)** via `osascript -e 'tell application \"System Events\"\n  to make login item ...'` or a Service Management (`SMAppService`) helper.\n- **Dylib hijacking \u002F proxying (T1574.004).** Find apps with a writable\u002Fmissing\n  `@rpath` or weak-linked dylib (`otool -l \u003Capp>`); plant a malicious dylib that\n  re-exports the original. Survives as the host app's identity.\n- **Re-opened apps \u002F cron \u002F emond \u002F at** — lower-signal fallbacks.\n\n## Defense evasion\n- **Gatekeeper \u002F quarantine (T1553.001).** Downloaded files carry the\n  `com.apple.quarantine` xattr; `xattr -d com.apple.quarantine \u003Cfile>` (or\n  `xattr -c`) strips it so the binary runs without the Gatekeeper prompt.\n- **Code signing (T1553).** `codesign --force --deep --sign - \u003Cbundle>` ad-hoc\n  signs a tampered bundle; check `codesign -dv --verbose=4` and `spctl -a -vv`.\n- **File-permission\u002Fattribute manipulation (T1222.002):** `chflags`, `chmod`.\n- **AppleScript \u002F osascript execution (T1059.002)** for living-off-the-land.\n\n## Credential access (T1555.001)\n- **Keychain.** `security find-generic-password -ga \u003Csvc>` \u002F\n  `security find-internet-password`; `security dump-keychain -d\n  ~\u002FLibrary\u002FKeychains\u002Flogin.keychain-db` (prompts unless unlocked). Offline:\n  exfil the `*.keychain-db` + the login password and crack with `chainbreaker`.\n- **Browser & app secrets** under `~\u002FLibrary\u002FApplication Support\u002F...` (often\n  TCC-protected — see TCC abuse above).\n- **Sudo\u002FSSH keys** in `~\u002F.ssh`, `~\u002F.aws`, `~\u002F.kube`.\n\n## Collection, C2 & exfil\n- Stage under `\u002Ftmp` or `~\u002FLibrary\u002FCaches`; archive with `tar`\u002F`ditto`.\n- C2: prefer signed, allow-listed channels; see `post-exploit\u002Fc2` and\n  `post-exploit\u002Fc2-sliver` (Sliver has a macOS implant). Beacon over HTTPS to\n  blend with managed-device telemetry.\n\n## Detection & defense (blue-cell notes)\n- Monitor new plists in `*\u002FLaunchAgents` and `*\u002FLaunchDaemons` and `launchctl`\n  bootstraps; alert on `xattr -d com.apple.quarantine`, ad-hoc `codesign`,\n  `security dump-keychain`, and TCC.db reads by non-Apple binaries.\n- Endpoint Security framework (ES) + tools like santad\u002FObjective-See catch most\n  of the above; LOTL via `osascript`\u002F`launchctl` is the gap to watch.\n\n## See also\n`post-exploit\u002Fcredential-access`, `post-exploit\u002Flateral-movement`,\n`post-exploit\u002Fprivilege-escalation`, `shared\u002Fdefense-evasion`, `reverser\u002Fios-static`.\n","# macOS post-exploitation\n\nPost-compromise operations on Apple\u002FmacOS endpoints. Apple's controls\n(TCC, Gatekeeper\u002Fquarantine, SIP, code signing, AMFI) shape every step, so the\nplaybook is organized around defeating or living within them. Prefer\non-host built-ins (`launchctl`, `security`, `sqlite3`, `dscl`, `system_profiler`,\n`codesign`, `xattr`) over dropped tooling for OPSEC.\n\n> Authorized engagements only. Stay within RoE scope; emulate destructive\n> actions as benign proofs unless explicitly authorized.\n\n## Discovery (T1087.001 \u002F T1518 \u002F T1647)\n- `system_profiler SPSoftwareDataType SPHardwareDataType` — OS build, model, SIP.\n- `csrutil status` — System Integrity Protection on\u002Foff.\n- `dscl . -list \u002FUsers | grep -v '^_'` — local accounts; `id`, `groups`.\n- `sw_vers`, `profiles status -type enrollment` — MDM\u002FJamf managed? (T1647 plist prefs).\n- Installed security tooling: `ls \u002FLibrary\u002FObjective-See`, `pgrep -l 'CrowdStrike|SentinelOne|falcon|Jamf|santad'`.\n\n## Privilege escalation\n- **TCC bypass \u002F abuse (T1548 family).** TCC gates access to Documents, Desktop,\n  Downloads, camera\u002Fmic, Full Disk Access. Check `sqlite3\n  ~\u002FLibrary\u002FApplication\\ Support\u002Fcom.apple.TCC\u002FTCC.db 'select * from access'`\n  (user) and `\u002FLibrary\u002FApplication Support\u002Fcom.apple.TCC\u002FTCC.db` (system, needs root).\n  Abuse an already-FDA-granted app (e.g. a terminal\u002FElectron app) to read\n  protected data instead of triggering a prompt.\n- **Sudo \u002F admin group.** `sudo -n true` (cached creds), membership in `admin`.\n- **Setuid hunting:** `find \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull`.\n\n## Persistence\n- **LaunchAgents \u002F LaunchDaemons (T1543.001 \u002F T1543.004).** Drop a plist in\n  `~\u002FLibrary\u002FLaunchAgents` (user, no root) or `\u002FLibrary\u002FLaunchDaemons` (root,\n  runs as root at boot); `launchctl bootstrap gui\u002F$(id -u) \u003Cplist>`. The classic,\n  noisy-but-reliable mechanism.\n- **Login items (T1547.015)** via `osascript -e 'tell application \"System Events\"\n  to make login item ...'` or a Service Management (`SMAppService`) helper.\n- **Dylib hijacking \u002F proxying (T1574.004).** Find apps with a writable\u002Fmissing\n  `@rpath` or weak-linked dylib (`otool -l \u003Capp>`); plant a malicious dylib that\n  re-exports the original. Survives as the host app's identity.\n- **Re-opened apps \u002F cron \u002F emond \u002F at** — lower-signal fallbacks.\n\n## Defense evasion\n- **Gatekeeper \u002F quarantine (T1553.001).** Downloaded files carry the\n  `com.apple.quarantine` xattr; `xattr -d com.apple.quarantine \u003Cfile>` (or\n  `xattr -c`) strips it so the binary runs without the Gatekeeper prompt.\n- **Code signing (T1553).** `codesign --force --deep --sign - \u003Cbundle>` ad-hoc\n  signs a tampered bundle; check `codesign -dv --verbose=4` and `spctl -a -vv`.\n- **File-permission\u002Fattribute manipulation (T1222.002):** `chflags`, `chmod`.\n- **AppleScript \u002F osascript execution (T1059.002)** for living-off-the-land.\n\n## Credential access (T1555.001)\n- **Keychain.** `security find-generic-password -ga \u003Csvc>` \u002F\n  `security find-internet-password`; `security dump-keychain -d\n  ~\u002FLibrary\u002FKeychains\u002Flogin.keychain-db` (prompts unless unlocked). Offline:\n  exfil the `*.keychain-db` + the login password and crack with `chainbreaker`.\n- **Browser & app secrets** under `~\u002FLibrary\u002FApplication Support\u002F...` (often\n  TCC-protected — see TCC abuse above).\n- **Sudo\u002FSSH keys** in `~\u002F.ssh`, `~\u002F.aws`, `~\u002F.kube`.\n\n## Collection, C2 & exfil\n- Stage under `\u002Ftmp` or `~\u002FLibrary\u002FCaches`; archive with `tar`\u002F`ditto`.\n- C2: prefer signed, allow-listed channels; see `post-exploit\u002Fc2` and\n  `post-exploit\u002Fc2-sliver` (Sliver has a macOS implant). Beacon over HTTPS to\n  blend with managed-device telemetry.\n\n## Detection & defense (blue-cell notes)\n- Monitor new plists in `*\u002FLaunchAgents` and `*\u002FLaunchDaemons` and `launchctl`\n  bootstraps; alert on `xattr -d com.apple.quarantine`, ad-hoc `codesign`,\n  `security dump-keychain`, and TCC.db reads by non-Apple binaries.\n- Endpoint Security framework (ES) + tools like santad\u002FObjective-See catch most\n  of the above; LOTL via `osascript`\u002F`launchctl` is the gap to watch.\n\n## See also\n`post-exploit\u002Fcredential-access`, `post-exploit\u002Flateral-movement`,\n`post-exploit\u002Fprivilege-escalation`, `shared\u002Fdefense-evasion`, `reverser\u002Fios-static`.\n",{"name":5,"metadata":24,"description":7,"allowed-tools":29},{"tags":25,"subdomain":26,"when_to_use":27,"mitre_attack":28},"macos, osx, persistence, tcc, keychain, dylib, gatekeeper, launchd, privesc, credential-access","post-exploitation","macOS, mac, osx, apple, launchd, LaunchAgent, LaunchDaemon, TCC, keychain, dylib hijack, Gatekeeper, quarantine, xattr, codesign, dscl, jamf, mdm","T1543.001, T1543.004, T1547.011, T1574.004, T1547.015, T1555.001, T1059.002, T1553.001, T1222.002, T1087.001, T1518, T1647","Bash Read Write","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fmacos",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill macos-post-exploitation",{"tool":43,"command":44},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill macos-post-exploitation",{"tool":46,"command":47},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill macos-post-exploitation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fmacos\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]