Detection rules › Sigma
HackTool - SharpImpersonation Execution
Detects execution of the SharpImpersonation tool. Which can be used to manipulate tokens on a Windows computers remotely (PsExec/WmiExec) or interactively
MITRE ATT&CK coverage
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: 1 of selection_img
or:
Image|endswith: '\SharpImpersonation.exe'
OriginalFileName: SharpImpersonation.exe
Stage 2: 1 of selection_cli
or:
CommandLine|contains: ' binary:'
CommandLine|contains: ' user:'
CommandLine|contains: ' shellcode:'
CommandLine|contains: ' user:'
CommandLine|contains: ' technique:CreateProcessAsUserW'
CommandLine|contains: ' technique:ImpersonateLoggedOnuser'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
OriginalFileName | eq |
|