mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 17:35:19 +00:00
add powershell_trigger_profiles
This commit is contained in:
parent
efcf1d9019
commit
48d0846b53
29
rules/windows/powershell/powershell_trigger_profiles.yml
Normal file
29
rules/windows/powershell/powershell_trigger_profiles.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
title: Powershell Trigger Profiles by Add_Content
|
||||||
|
id: 05b3e303-faf0-4f4a-9b30-46cc13e69152
|
||||||
|
status: experimental
|
||||||
|
author: frack113
|
||||||
|
date: 2021/08/18
|
||||||
|
description: Adversaries may gain persistence and elevate privileges by executing malicious content triggered by PowerShell profiles.
|
||||||
|
references:
|
||||||
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1546.013/T1546.013.md
|
||||||
|
tags:
|
||||||
|
- attack.privilege_escalation
|
||||||
|
- attack.t1546.013
|
||||||
|
logsource:
|
||||||
|
product: windows
|
||||||
|
service: powershell
|
||||||
|
definition: EnableScriptBlockLogging must be set to enable
|
||||||
|
detection:
|
||||||
|
selection:
|
||||||
|
EventID: 4104
|
||||||
|
ScriptBlockText|contains|all:
|
||||||
|
- 'Add-Content'
|
||||||
|
- '$profile'
|
||||||
|
- '-Value'
|
||||||
|
ScriptBlockText|contains:
|
||||||
|
- 'Start-Process'
|
||||||
|
- '""' #cleanup action
|
||||||
|
condition: selection
|
||||||
|
falsepositives:
|
||||||
|
- Unknown
|
||||||
|
level: medium
|
Loading…
Reference in New Issue
Block a user