mdecrevoisier high experimental sigma
Service permissions hijacked for privileges abuse (Reg via PowerShell)
Detects scenarios where an attacker modify the permissions of a service using native PowerShell commands in order to abuse its privileges. Note that it requires PowerShell 7 or higher.
Detection Logic
{
"selection_powershell_native": {
"EventID": 800,
"EventData
| re": "\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\.*\\\\Security",
"EventData
| contains
| all": [
"-ItemProperty",
"Security"
]
},
"selection_powershell_modern": {
"EventID": 4103,
"Payload
| re": "\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\.*\\\\Security",
"Payload
| contains
| all": [
"-ItemProperty",
"Security"
]
},
"selection_powershell_block": {
"EventID": 4104,
"ScriptBlockText
| re": "\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\.*\\\\Security",
"ScriptBlockText
| contains
| all": [
"-ItemProperty",
"Security"
]
},
"condition": "1 of selection*"
} False Positives
- ⚠ administrator reconfiguring service
Field Validations
Loading…
Comments (0)
Loading comments...