detecting-t1548-abuse-elevation-control-mechanism

Featured

Detect abuse of elevation control mechanisms including UAC bypass, sudo exploitation, and setuid/setgid manipulation by monitoring registry modifications, process elevation flags, and unusual parent-child process relationships.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Detecting T1548 Abuse Elevation Control Mechanism ## When to Use - When hunting for privilege escalation via UAC bypass in Windows environments - After threat intelligence indicates use of UAC bypass exploits by active threat groups - When investigating how attackers achieved administrative access without triggering UAC prompts - During security assessments to validate UAC bypass detection coverage - When monitoring for setuid/setgid abuse on Linux systems ## Prerequisites - Sysmon Event ID 1 with command-line and parent process logging - Windows Security Event ID 4688 with process tracking - Registry auditing for UAC-related keys (HKCU\Software\Classes) - Sysmon Event ID 12/13 (Registry key/value modification) - EDR with elevation monitoring capabilities ## Workflow 1. **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/13 for these changes. 2. **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. 3. **Track Process Integrity Level Changes**: Monitor for processes escalating from medium to high integrity level without corresponding UAC consent events. 4. **Hunt for Elevated Process Spawning**: Detect when auto-elevating processes spawn unexpecte...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

detecting-privilege-escalation-attempts

Detect privilege escalation attempts including token manipulation, UAC bypass, unquoted service paths, kernel exploits, and sudo/doas abuse across Windows and Linux.

36,355 Updated 2 months ago
mukul975
AI & Automation Listed

detect-windows-privesc

Detection and hardening methodology for Windows local privilege escalation via access-token manipulation, weak or hijackable services, and UAC bypass (MITRE ATT&CK T1134, T1134.001, T1134.002, T1134.003, T1543.003, T1574.009, T1574.010, T1574.011, T1548.002, T1068). Keys off the Windows Security log (Event IDs 4688, 4672, 4673, 4697, 4703, 4624, 4648), System log Service Control Manager events 7045 and 7040, and Sysmon (1, 6, 7, 10, 12, 13, 17, 18). Gives the defender view of a privesc chain, the events to watch, a hypothesis-driven hunt, links to public rule sources, and a framework-mapped hardening plan. Use when investigating a suspected local admin or SYSTEM escalation, triaging a fodhelper or eventvwr UAC-bypass or Potato token-impersonation alert, auditing service permissions and unquoted paths, hunting integrity-level jumps, writing Windows privesc detections, or hardening UAC, services, and local admin rights.

0 Updated 5 days ago
umbrasec-labs
AI & Automation Listed

privilege-escalation

Use after gaining an initial foothold to escalate privileges on a Linux or Windows host — enumerating misconfigurations, weak permissions, sudo/SUID issues, service and scheduled-task abuse, credential harvesting, kernel/software vulns, and token/capability abuse. Maps to MITRE ATT&CK Privilege Escalation, with detection and remediation. Authorized engagements only.

2 Updated 1 months ago
noahfranklin