Sigma medium test sigma
Potential Registry Reconnaissance Via PowerShell Script
Detects PowerShell scripts with potential registry reconnaissance capabilities. Adversaries may interact with the Windows registry to gather information about the system credentials, configuration, and installed software.
Detection Logic
{
"selection": {
"ScriptBlockText
| re": "(Get-Item
| gci
| Get-ChildItem).{1,64}-Path.{1,64}\\\\(currentcontrolset\\\\services
| CurrentVersion\\\\Policies\\\\Explorer\\\\Run
| CurrentVersion\\\\Run
| CurrentVersion\\\\ShellServiceObjectDelayLoad
| CurrentVersion\\\\Windows\\winlogon)\\\\"
},
"condition": "selection"
} False Positives
- ⚠ Due to the nature of the script block, the matching of the string could sometimes result in a false positive. Use this rule to hunt for potential malicious or suspicious scripts.
Field Validations
Loading…
Comments (0)
Loading comments...