Detectionhightest
HackTool - SharpLdapWhoami Execution
Detects SharpLdapWhoami, a whoami alternative that queries the LDAP service on a domain controller
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems)Created Mon Aug 29Updated Sat Feb 04d9367cbb-c2e0-47ce-bdc0-128cb6da898dwindows
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_name:
Image|endswith: '\SharpLdapWhoami.exe'
selection_pe: # in case the file has been renamed after compilation
- OriginalFileName|contains: 'SharpLdapWhoami'
- Product: 'SharpLdapWhoami'
selection_flags1:
CommandLine|endswith:
- ' /method:ntlm'
- ' /method:kerb'
- ' /method:nego'
- ' /m:nego'
- ' /m:ntlm'
- ' /m:kerb'
condition: 1 of selection*False Positives
Programs that use the same command line flags
References
MITRE ATT&CK
Tactics
Techniques
CAR Analytics
2016-03-001 · CAR 2016-03-001
Rule Metadata
Rule ID
d9367cbb-c2e0-47ce-bdc0-128cb6da898d
Status
test
Level
high
Type
Detection
Created
Mon Aug 29
Modified
Sat Feb 04
Path
rules/windows/process_creation/proc_creation_win_hktl_sharpldapwhoami.yml
Raw Tags
attack.discoveryattack.t1033car.2016-03-001