Skip to content

Commit

Permalink
Update 100535-win_powershell_rules.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton authored Nov 7, 2022
1 parent b44f48c commit 23fbc10
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions Windows Powershell/100535-win_powershell_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<group name="windows,">
<rule id="100535" level="1">
<if_sid>60009</if_sid>
<field name="win.system.providerName">^Microsoft-Windows-PowerShell$</field>
<field name="win.system.providerName">^PowerShell$</field>
<mitre>
<id>T1086</id>
</mitre>
Expand Down Expand Up @@ -66,22 +66,49 @@
<mitre>
<id>T1087.002</id>>
</mitre>
<options>no_full_log</options>
</rule>
<rule id="100542" level="1">
<if_sid>100541</if_sid>
<field name="win.eventdata.scriptBlockText">prompt|PSMessageDetails|ErrorCategory_Message|OriginInfo</field>
<description>Disregard Powershell prompt</description>
<field name="win.system.eventID">^4105$|^4106$</field>
<description>Disregard Powershell Text</description>
<mitre>
<id>T1087.002</id>>
</mitre>
</rule>
<!--https://bradleyjkemp.dev/sigmadoc/rules/windows/powershell/powershell_script/posh_ps_powerview_malicious_commandlets.yml/-->
<rule id="100543" level="12">
<if_sid>100541</if_sid>
<list field="win.eventdata.scriptBlockText" lookup="match_key">etc/lists/malicious-powershell</list>
<description>Malicious Powershell Command $(win.eventdata.scriptBlockText) Executed</description>
<mitre>
<id>T1087.002</id>>
</mitre>
<options>no_full_log</options>
</rule>
<rule id="100544" level="1">
<if_sid>100541</if_sid>
<field name="win.eventdata.scriptBlockText">PSMessageDetails|ErrorCategory_Message|OriginInfo</field>
<description>Disregard Powershell Prompt Text</description>
<mitre>
<id>T1087.002</id>>
</mitre>
</rule>
<rule id="100545" level="1">
<if_sid>100541</if_sid>
<field name="win.eventdata.scriptBlockText">^prompt$</field>
<description>Disregard Powershell Prompt Text</description>
<mitre>
<id>T1087.002</id>>
</mitre>
</rule>
<rule id="100550" level="3">
<if_sid>100535</if_sid>
<field name="win.system.eventID">^400$</field>
<mitre>
<id>T1086</id>
</mitre>
<options>no_full_log</options>
<group>windows_powershell,</group>
<description>Powershell Information EventLog</description>
</rule>
</group>

0 comments on commit 23fbc10

Please sign in to comment.