Detectionmediumtest

HackTool - Impersonate Execution

Detects execution of the Impersonate tool. Which can be used to manipulate tokens on a Windows computers remotely (PsExec/WmiExec) or interactively

Open in Detection LabConvert ruleBuild Package
Sai Prashanth PulisettiCreated 2022-12-21Updated 2024-11-23cf0c254b-22f1-4b2b-8221-e137b3c0af94windows
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 Logic3 selectors
detection:
    selection_commandline_exe:
        CommandLine|contains: 'impersonate.exe'
    selection_commandline_opt:
        CommandLine|contains:
            - ' list '
            - ' exec '
            - ' adduser '
    selection_hash:
        Hashes|contains:
            - 'MD5=9520714AB576B0ED01D1513691377D01'
            - 'SHA256=E81CC96E2118DC4FBFE5BAD1604E0AC7681960143E2101E1A024D52264BB0A8A'
            - 'IMPHASH=0A358FFC1697B7A07D0E817AC740DF62'
    condition: all of selection_commandline_* or selection_hash
False Positives
Unknown

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

Rule Metadata
Rule ID
cf0c254b-22f1-4b2b-8221-e137b3c0af94
Status
test
Level
medium
Type
Detection
Created
2022-12-21
Modified
2024-11-23
Path
rules/windows/process_creation/proc_creation_win_hktl_impersonate.yml
Raw Tags
attack.privilege-escalationattack.stealthattack.t1134.001attack.t1134.003
View on GitHub