cscli scenarios install sigmahq/proc_creation_win_hktl_sharpldapwhoami1type: trigger2name: sigmahq/proc_creation_win_hktl_sharpldapwhoami3description: |4 Detects SharpLdapWhoami, a whoami alternative that queries the LDAP service on a domain controller5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.Image endsWith '\\SharpLdapWhoami.exe' || evt.Parsed.OriginalFileName contains 'SharpLdapWhoami' || evt.Parsed.Product == 'SharpLdapWhoami' || evt.Parsed.CommandLine endsWith ' /method:ntlm' || evt.Parsed.CommandLine endsWith ' /method:kerb' || evt.Parsed.CommandLine endsWith ' /method:nego' || evt.Parsed.CommandLine endsWith ' /m:nego' || evt.Parsed.CommandLine endsWith ' /m:ntlm' || evt.Parsed.CommandLine endsWith ' /m:kerb')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t10331516 label: "HackTool - SharpLdapWhoami Execution"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324