mandiant / mandiant/capa-rules
Improvement to bypass-uac-via-token-manipulation
- Dominant language
- No language data
- Stars
- 736
- Forks
- 245
- Avg merge
- 4d 53m
- Merged PRs (30d)
- 2
Description
The rule [`bypass UAC via token manipulation`](https://github.com/mandiant/capa-rules/blob/master/host-interaction/uac/bypass/bypass-uac-via-token-manipulation.yml) currently looks for one process typically abused by UAC bypass techniques (`wusa.exe`). It also assumes the process will be run using `ShellExecuteExW`.
Two improvements could be considered:
- Look for APIs associated with process enumeration (e.g. `EnumProcesses`).
- Look for a wider selection of processes (e.g. [this list](https://gist.github.com/dezhub/c0fee68d1e06657a45ec39365362fca7#file-uacbypasstokenmanipulation-py-L365)).
Contributor guide
Research direction
Start with host-interaction/uac/bypass/bypass-uac-via-token-manipulation.yml and review its current wusa.exe and ShellExecuteExW conditions. Compare the proposed EnumProcesses API coverage and the linked process list, then define the expanded rule scope. Done means the rule recognizes the intended process-enumeration and wider process patterns without depending only on wusa.exe or ShellExecuteExW.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- operating-systems, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100