Detection rules › Sigma

HackTool - Impacket Tools Execution

Severity
high
Author
Florian Roth (Nextron Systems)
Source
upstream

Detects the execution of different compiled Windows binaries of the impacket toolset (based on names or part of their names - could lead to false positives)

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1557.001 Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay
CollectionT1557.001 Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

or:
Image|endswith: '\GetADUsers_windows.exe'
Image|endswith: '\GetNPUsers_windows.exe'
Image|endswith: '\GetUserSPNs_windows.exe'
Image|endswith: '\atexec_windows.exe'
Image|endswith: '\dcomexec_windows.exe'
Image|endswith: '\dpapi_windows.exe'
Image|endswith: '\findDelegation_windows.exe'
Image|endswith: '\getPac_windows.exe'
Image|endswith: '\getST_windows.exe'
Image|endswith: '\getTGT_windows.exe'
Image|endswith: '\ifmap_windows.exe'
Image|endswith: '\mimikatz_windows.exe'
Image|endswith: '\netview_windows.exe'
Image|endswith: '\nmapAnswerMachine_windows.exe'
Image|endswith: '\opdump_windows.exe'
Image|endswith: '\psexec_windows.exe'
Image|endswith: '\rdp_check_windows.exe'
Image|endswith: '\sambaPipe_windows.exe'
Image|endswith: '\smbclient_windows.exe'
Image|endswith: '\smbserver_windows.exe'
Image|endswith: '\sniff_windows.exe'
Image|endswith: '\sniffer_windows.exe'
Image|endswith: '\split_windows.exe'
Image|endswith: '\ticketer_windows.exe'
Image|contains: '\goldenPac'
Image|contains: '\karmaSMB'
Image|contains: '\kintercept'
Image|contains: '\ntlmrelayx'
Image|contains: '\rpcdump'
Image|contains: '\samrdump'
Image|contains: '\secretsdump'
Image|contains: '\smbexec'
Image|contains: '\smbrelayx'
Image|contains: '\wmiexec'
Image|contains: '\wmipersist'

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.

FieldKindValues
Imageends_with
  • \GetADUsers_windows.exe corpus 2 (sigma 2)
  • \GetNPUsers_windows.exe corpus 2 (sigma 2)
  • \GetUserSPNs_windows.exe corpus 2 (sigma 2)
  • \atexec_windows.exe corpus 2 (sigma 2)
  • \dcomexec_windows.exe corpus 2 (sigma 2)
  • \dpapi_windows.exe corpus 2 (sigma 2)
  • \findDelegation_windows.exe corpus 2 (sigma 2)
  • \getPac_windows.exe corpus 2 (sigma 2)
  • \getST_windows.exe corpus 2 (sigma 2)
  • \getTGT_windows.exe corpus 2 (sigma 2)
  • \ifmap_windows.exe corpus 2 (sigma 2)
  • \mimikatz_windows.exe corpus 2 (sigma 2)
  • \netview_windows.exe corpus 2 (sigma 2)
  • \nmapAnswerMachine_windows.exe corpus 2 (sigma 2)
  • \opdump_windows.exe corpus 2 (sigma 2)
  • \psexec_windows.exe corpus 2 (sigma 2)
  • \rdp_check_windows.exe corpus 2 (sigma 2)
  • \sambaPipe_windows.exe corpus 2 (sigma 2)
  • \smbclient_windows.exe corpus 2 (sigma 2)
  • \smbserver_windows.exe corpus 2 (sigma 2)
  • \sniff_windows.exe corpus 2 (sigma 2)
  • \sniffer_windows.exe corpus 2 (sigma 2)
  • \split_windows.exe corpus 2 (sigma 2)
  • \ticketer_windows.exe corpus 2 (sigma 2)
Imagematch
  • \goldenPac corpus 2 (sigma 2)
  • \karmaSMB corpus 2 (sigma 2)
  • \kintercept corpus 2 (sigma 2)
  • \ntlmrelayx corpus 3 (sigma 3)
  • \rpcdump corpus 2 (sigma 2)
  • \samrdump corpus 2 (sigma 2)
  • \secretsdump corpus 2 (sigma 2)
  • \smbexec corpus 2 (sigma 2)
  • \smbrelayx corpus 3 (sigma 3)
  • \wmiexec corpus 2 (sigma 2)
  • \wmipersist corpus 2 (sigma 2)