Credential Access (TA0006)(external, opens in a new tab or window)
Execution (TA0002)(external, opens in a new tab or window)
Lateral Movement (TA0008)(external, opens in a new tab or window)
text code block:event.category:process and host.os.type:windows and powershell.file.script_block_text : ( ("NTLMSSPNegotiate" and ("NegotiateSMB" or "NegotiateSMB2")) or "4E544C4D53535000" or "0x4e,0x54,0x4c,0x4d,0x53,0x53,0x50" or "0x4e,0x54,0x20,0x4c,0x4d" or "0x53,0x4d,0x42,0x20,0x32" or "0x81,0xbb,0x7a,0x36,0x44,0x98,0xf1,0x35,0xad,0x32,0x98,0xf0,0x38" ) and not file.directory : "C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\Downloads"
Install detection rules in Elastic Security
Detect Potential PowerShell Pass-the-Hash/Relay Script in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).