[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71G6WQ7AY4N5DZDQP2Y94KC":3,"skill-same:01M71G6WQ7AY4N5DZDQP2Y94KC":101},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":14,"repositoryHtmlUrl":77,"repositoryHomepageUrl":6,"ownerHtmlUrl":78,"ownerBlogUrl":6,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M71G6WQ7AY4N5DZDQP2Y94KC","hunting-t1548-detect",null,"Detect abuse of elevation control mechanisms including UAC bypass, sudo exploitation, and setuid\u002Fsetgid manipulation by monitoring registry modifications, process elevation flags, and unusual parent-child process relationships.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Ft1548\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"hunting t1548 detect","detect","hunting","sonnet","threat","sudo","security","registry","flags","threat-hunting","read","de","child","monitoring","windows-security","Bash","access","cybersecurity","authentication","cm","2026-11-10 10:12:30",false,"---\nname: hunting-t1548-detect\ndescription: Detect abuse of elevation control mechanisms including UAC bypass, sudo exploitation, and setuid\u002Fsetgid manipulation by monitoring registry modifications, process elevation flags, and unusual parent-child process relationships.\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags:\n- threat-hunting\n- uac-bypass\n- privilege-escalation\n- mitre-t1548\n- elevation-control\n- windows-security\nd3fend_techniques:\n- Executable Denylisting\n- Execution Isolation\n- File Metadata Consistency Validation\n- Restore Access\n- Password Authentication\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- DE.AE-07\n- ID.RA-05\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1068\n- T1548.001\n- T1548.002\n- T1548.003\ncwe:\n- CWE-269\ncapec: []\n---\n\n# Detecting T1548 Abuse Elevation Control Mechanism\n\n## When to Use\n\n- When hunting for privilege escalation via UAC bypass in Windows environments\n- After threat intelligence indicates use of UAC bypass exploits by active threat groups\n- When investigating how attackers achieved administrative access without triggering UAC prompts\n- During security assessments to validate UAC bypass detection coverage\n- When monitoring for setuid\u002Fsetgid abuse on Linux systems\n\n## Prerequisites\n\n- Sysmon Event ID 1 with command-line and parent process logging\n- Windows Security Event ID 4688 with process tracking\n- Registry auditing for UAC-related keys (HKCU\\Software\\Classes)\n- Sysmon Event ID 12\u002F13 (Registry key\u002Fvalue modification)\n- EDR with elevation monitoring capabilities\n\n## Workflow\n\n1. **Monitor UAC Registry Modifications**: Many UAC bypasses modify registry keys under `HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command` or `HKCU\\Software\\Classes\\mscfile\\shell\\open\\command`. Track Sysmon Events 12\u002F13 for these changes.\n2. **Detect Auto-Elevating Process Abuse**: Certain Windows binaries auto-elevate without UAC prompts (fodhelper.exe, computerdefaults.exe, eventvwr.exe). Hunt for these being launched by non-standard parent processes.\n3. **Track Process Integrity Level Changes**: Monitor for processes escalating from medium to high integrity level without corresponding UAC consent events.\n4. **Hunt for Elevated Process Spawning**: Detect when auto-elevating processes spawn unexpected children (cmd.exe, powershell.exe) -- indicating UAC bypass exploitation.\n5. **Monitor Linux Elevation Abuse**: Track sudo misconfiguration exploitation, setuid binary abuse, and capability manipulation.\n6. **Correlate with Privilege Escalation Chain**: Map elevation abuse to the broader attack chain, identifying what was done with escalated privileges.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| T1548.002 | Bypass User Account Control |\n| T1548.001 | Setuid and Setgid (Linux) |\n| T1548.003 | Sudo and Sudo Caching |\n| T1548.004 | Elevated Execution with Prompt (macOS) |\n| UAC Auto-Elevation | Windows binaries that elevate without prompt |\n| fodhelper.exe | Common UAC bypass vector via registry hijack |\n| eventvwr.exe | MSC file handler UAC bypass |\n| Integrity Level | Windows process trust level (Low\u002FMedium\u002FHigh\u002FSystem) |\n\n## Detection Queries\n\n### Splunk -- UAC Bypass via Registry Modification\n```spl\nindex=sysmon (EventCode=12 OR EventCode=13)\n| where match(TargetObject, \"(?i)HKCU\\\\\\\\Software\\\\\\\\Classes\\\\\\\\(ms-settings|mscfile|exefile|Folder)\\\\\\\\shell\\\\\\\\open\\\\\\\\command\")\n| table _time Computer User EventCode TargetObject Details Image\n```\n\n### Splunk -- Auto-Elevating Process Abuse\n```spl\nindex=sysmon EventCode=1\n| where match(Image, \"(?i)(fodhelper|computerdefaults|eventvwr|sdclt|slui|cmstp)\\.exe$\")\n| where NOT match(ParentImage, \"(?i)(explorer|svchost|services)\\.exe$\")\n| table _time Computer User Image CommandLine ParentImage ParentCommandLine\n```\n\n### KQL -- UAC Bypass Detection\n```kql\nDeviceRegistryEvents\n| where Timestamp > ago(7d)\n| where RegistryKey has_any (\"ms-settings\\\\shell\\\\open\\\\command\", \"mscfile\\\\shell\\\\open\\\\command\")\n| where ActionType == \"RegistryValueSet\"\n| project Timestamp, DeviceName, RegistryKey, RegistryValueData, InitiatingProcessFileName\n```\n\n### Sigma Rule\n```yaml\ntitle: UAC Bypass via Registry Modification\nstatus: stable\nlogsource:\n    product: windows\n    category: registry_set\ndetection:\n    selection:\n        TargetObject|contains:\n            - '\\ms-settings\\shell\\open\\command'\n            - '\\mscfile\\shell\\open\\command'\n            - '\\exefile\\shell\\open\\command'\n    condition: selection\nlevel: high\ntags:\n    - attack.privilege_escalation\n    - attack.t1548.002\n```\n\n## Common Scenarios\n\n1. **fodhelper.exe Registry Hijack**: Attacker sets `HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command` to a malicious executable, then launches fodhelper.exe which auto-elevates and executes the hijacked command.\n2. **eventvwr.exe MSC Bypass**: Modifying `HKCU\\Software\\Classes\\mscfile\\shell\\open\\command` to intercept Event Viewer's auto-elevation behavior.\n3. **sdclt.exe Bypass**: Leveraging the Windows Backup utility's auto-elevation to execute arbitrary commands.\n4. **CMSTP.exe INF Bypass**: Using Connection Manager Profile Installer with a malicious INF file to bypass UAC via `\u002Fs \u002Fni` flags.\n5. **DLL Hijacking in Auto-Elevate**: Placing malicious DLLs in search paths of auto-elevating executables.\n\n## Output Format\n\n```\nHunt ID: TH-UAC-[DATE]-[SEQ]\nHost: [Hostname]\nBypass Method: [Registry hijack\u002FDLL hijack\u002FToken manipulation]\nAuto-Elevate Binary: [fodhelper.exe\u002Feventvwr.exe\u002Fetc.]\nRegistry Key Modified: [Full registry path]\nPayload Executed: [Command or binary path]\nUser Context: [Account]\nRisk Level: [Critical\u002FHigh\u002FMedium]\nATT&CK Technique: [T1548.00x]\n```\n","# Detecting T1548 Abuse Elevation Control Mechanism\n\n## When to Use\n\n- When hunting for privilege escalation via UAC bypass in Windows environments\n- After threat intelligence indicates use of UAC bypass exploits by active threat groups\n- When investigating how attackers achieved administrative access without triggering UAC prompts\n- During security assessments to validate UAC bypass detection coverage\n- When monitoring for setuid\u002Fsetgid abuse on Linux systems\n\n## Prerequisites\n\n- Sysmon Event ID 1 with command-line and parent process logging\n- Windows Security Event ID 4688 with process tracking\n- Registry auditing for UAC-related keys (HKCU\\Software\\Classes)\n- Sysmon Event ID 12\u002F13 (Registry key\u002Fvalue modification)\n- EDR with elevation monitoring capabilities\n\n## Workflow\n\n1. **Monitor UAC Registry Modifications**: Many UAC bypasses modify registry keys under `HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command` or `HKCU\\Software\\Classes\\mscfile\\shell\\open\\command`. Track Sysmon Events 12\u002F13 for these changes.\n2. **Detect Auto-Elevating Process Abuse**: Certain Windows binaries auto-elevate without UAC prompts (fodhelper.exe, computerdefaults.exe, eventvwr.exe). Hunt for these being launched by non-standard parent processes.\n3. **Track Process Integrity Level Changes**: Monitor for processes escalating from medium to high integrity level without corresponding UAC consent events.\n4. **Hunt for Elevated Process Spawning**: Detect when auto-elevating processes spawn unexpected children (cmd.exe, powershell.exe) -- indicating UAC bypass exploitation.\n5. **Monitor Linux Elevation Abuse**: Track sudo misconfiguration exploitation, setuid binary abuse, and capability manipulation.\n6. **Correlate with Privilege Escalation Chain**: Map elevation abuse to the broader attack chain, identifying what was done with escalated privileges.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| T1548.002 | Bypass User Account Control |\n| T1548.001 | Setuid and Setgid (Linux) |\n| T1548.003 | Sudo and Sudo Caching |\n| T1548.004 | Elevated Execution with Prompt (macOS) |\n| UAC Auto-Elevation | Windows binaries that elevate without prompt |\n| fodhelper.exe | Common UAC bypass vector via registry hijack |\n| eventvwr.exe | MSC file handler UAC bypass |\n| Integrity Level | Windows process trust level (Low\u002FMedium\u002FHigh\u002FSystem) |\n\n## Detection Queries\n\n### Splunk -- UAC Bypass via Registry Modification\n```spl\nindex=sysmon (EventCode=12 OR EventCode=13)\n| where match(TargetObject, \"(?i)HKCU\\\\\\\\Software\\\\\\\\Classes\\\\\\\\(ms-settings|mscfile|exefile|Folder)\\\\\\\\shell\\\\\\\\open\\\\\\\\command\")\n| table _time Computer User EventCode TargetObject Details Image\n```\n\n### Splunk -- Auto-Elevating Process Abuse\n```spl\nindex=sysmon EventCode=1\n| where match(Image, \"(?i)(fodhelper|computerdefaults|eventvwr|sdclt|slui|cmstp)\\.exe$\")\n| where NOT match(ParentImage, \"(?i)(explorer|svchost|services)\\.exe$\")\n| table _time Computer User Image CommandLine ParentImage ParentCommandLine\n```\n\n### KQL -- UAC Bypass Detection\n```kql\nDeviceRegistryEvents\n| where Timestamp > ago(7d)\n| where RegistryKey has_any (\"ms-settings\\\\shell\\\\open\\\\command\", \"mscfile\\\\shell\\\\open\\\\command\")\n| where ActionType == \"RegistryValueSet\"\n| project Timestamp, DeviceName, RegistryKey, RegistryValueData, InitiatingProcessFileName\n```\n\n### Sigma Rule\n```yaml\ntitle: UAC Bypass via Registry Modification\nstatus: stable\nlogsource:\n    product: windows\n    category: registry_set\ndetection:\n    selection:\n        TargetObject|contains:\n            - '\\ms-settings\\shell\\open\\command'\n            - '\\mscfile\\shell\\open\\command'\n            - '\\exefile\\shell\\open\\command'\n    condition: selection\nlevel: high\ntags:\n    - attack.privilege_escalation\n    - attack.t1548.002\n```\n\n## Common Scenarios\n\n1. **fodhelper.exe Registry Hijack**: Attacker sets `HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command` to a malicious executable, then launches fodhelper.exe which auto-elevates and executes the hijacked command.\n2. **eventvwr.exe MSC Bypass**: Modifying `HKCU\\Software\\Classes\\mscfile\\shell\\open\\command` to intercept Event Viewer's auto-elevation behavior.\n3. **sdclt.exe Bypass**: Leveraging the Windows Backup utility's auto-elevation to execute arbitrary commands.\n4. **CMSTP.exe INF Bypass**: Using Connection Manager Profile Installer with a malicious INF file to bypass UAC via `\u002Fs \u002Fni` flags.\n5. **DLL Hijacking in Auto-Elevate**: Placing malicious DLLs in search paths of auto-elevating executables.\n\n## Output Format\n\n```\nHunt ID: TH-UAC-[DATE]-[SEQ]\nHost: [Hostname]\nBypass Method: [Registry hijack\u002FDLL hijack\u002FToken manipulation]\nAuto-Elevate Binary: [fodhelper.exe\u002Feventvwr.exe\u002Fetc.]\nRegistry Key Modified: [Full registry path]\nPayload Executed: [Command or binary path]\nUser Context: [Account]\nRisk Level: [Critical\u002FHigh\u002FMedium]\nATT&CK Technique: [T1548.00x]\n```\n",{"cwe":44,"name":5,"tags":46,"capec":51,"model":22,"tools":52,"domain":36,"maxTurns":56,"nist_csf":57,"subdomain":28,"description":7,"mitre_attack":62,"d3fend_techniques":68},[45],"CWE-269",[28,47,48,49,50,33],"uac-bypass","privilege-escalation","mitre-t1548","elevation-control",[],[53,34,54,55],"Read","Glob","Grep",20,[58,59,60,61],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[63,64,65,66,67],"T1059","T1068","T1548.001","T1548.002","T1548.003",[69,70,71,72,73],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Restore Access","Password Authentication","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fsoc\u002Fhunting\u002Ft1548\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill hunting-t1548-detect",{"tool":87,"command":88},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill hunting-t1548-detect",{"tool":90,"command":91},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill hunting-t1548-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Ft1548\u002Fdetect\u002FSKILL.md",true,[95],{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"index.json","REFERENCE","参考文档",667,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Ft1548\u002Fdetect\u002Findex.json",[102,112,134,155,175,196],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":111},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[119,20,120,121,122,123,124,36,125,126,127,128,129,130,131,132,133,38,30],"services","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[141,121,142,119,143,144,34,145,146,36,147,148,149,150,151,29,152,153,30,154],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","lateral movement","command","native",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[162,163,26,164,165,22,166,167,168,169,29,30,170,171,145,172,34,36,173,174],"extract","registry artifact extract","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[182,183,184,20,36,185,38,186,187,188,123,30,189,190,191,192,193,194,195,48],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":202,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[203,182,204,20,205,206,124,30,189,207,208,209,145,123,36,185,210,38,211,187],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]