Detectionhightest

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Sai Prashanth Pulisetti, Nasreddine Bencherchali (Nextron Systems)Created Tue Dec 27Updated Mon Feb 13f89b08d0-77ad-4728-817b-9b16c5a69c7awindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith: '\SharpImpersonation.exe'
        - OriginalFileName: 'SharpImpersonation.exe'
    selection_cli:
        - CommandLine|contains|all:
              - ' user:'
              - ' binary:'
        - CommandLine|contains|all:
              - ' user:'
              - ' shellcode:'
        - CommandLine|contains:
              - ' technique:CreateProcessAsUserW'
              - ' technique:ImpersonateLoggedOnuser'
    condition: 1 of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
f89b08d0-77ad-4728-817b-9b16c5a69c7a
Status
test
Level
high
Type
Detection
Created
Tue Dec 27
Modified
Mon Feb 13
Path
rules/windows/process_creation/proc_creation_win_hktl_sharp_impersonation.yml
Raw Tags
attack.privilege-escalationattack.defense-evasionattack.t1134.001attack.t1134.003
View on GitHub