Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion etc/rules/msauth_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,13 @@
<description>User Logoff Exchange.</description>
</rule>


<rule id="18262" level="3">
<if_sid>18107</if_sid>
<id>^4624$</id>
<match>Logon Type: 2</match>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think this would be better if you matched with something like:

<match>Logon Type:\W+2 </match>
                  ^   ^-notice the space
                   \--- Anything other then A-Z, a-z, 0-9, '-', '@'

The reason is that this will match 2, 211, 21 just about anything starting with a 2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it's 3 spaces, default by microsoft win event. And i see windows logon event only maxium logon type =11

<description>Local Logon Success.</description>
</rule>

<!-- Composite rules -->
<rule id="18151" level="10" frequency="$MS_FREQ" timeframe="240">
<if_matched_sid>18108</if_matched_sid>
Expand Down