Anvilogic medium experimental spl

Bypass or Unrestricted PowerShell Execution [splunk-powershell]

This use case identifies instances where PowerShell is executed with specific, potentially insecure execution policies such as Unrestricted, Bypass, or RemoteSigned. Threat actors may exploit these settings to execute malicious scripts or commands, as they allow scripts to run without the usual restrictions and without requiring digital signatures. -- Threat Actor Association: UNC4990 - Software Association: Rhysida

View Source

Detection Logic

`get_endpoint_data` `get_endpoint_data_powershell` (TERM(EventCode=4103) 
OR "<EventID>4103<" 
OR TERM(EventCode=4104) 
OR "<EventID>4104<") (" -ExecutionPolicy " 
OR " -ep " 
OR " -exec ") ("Unrestricted" 
OR "bypass" 
OR "RemoteSigned")
| where not match(process, "(?i):\x5c(Program\sFiles
| ProgramData
| AppData\x5cRoaming\x5cCode\x5c)")
| table _time, host, user process, process_*, signature_id
| bin span=1s
| stats values(*) as * by _time, host

Field Validations

Loading…

Comments (0)

Loading comments...