Skip to content

Commit

Permalink
Merge pull request ossec#1874 from ddpbsd/win_decoder_pcre
Browse files Browse the repository at this point in the history
pcre2 fix for windows1 decoders
  • Loading branch information
atomicturtle authored Aug 9, 2023
2 parents 0e70ff3 + 811bdfc commit c8a36b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions etc/decoder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2030,18 +2030,17 @@ Jan 8 19:32:41 tp.lan dropbear[15165]: Pubkey auth succeeded for 'root' with ke
<decoder name="windows1">
<type>windows</type>
<parent>windows</parent>
<pcre2> Account Name:[ ]+?([A-Za-z0-9@_-]+?.+)[ ]+?Account</pcre2>
<pcre2> Account Name:[ ]+?([A-Za-z0-9@_-]+?)[ ]+?Account</pcre2>
<order>user</order>
</decoder>

<decoder name="windows1">
<type>windows</type>
<parent>windows</parent>
<pcre2>Account Domain:[ ][ ]+?([A-Za-z0-9@_-].+)[ ][ ]+?Logon ID:</pcre2>
<pcre2>Account Domain:[ ]+?([A-Za-z0-9@_-]+?)[ ]+?Logon ID:</pcre2>
<order>extra_data</order>
</decoder>


<!-- Windows decoder -NTsyslog format
- Will extract extra_data (as win source),action (as win category), id,
- username and computer name (as url).
Expand Down

0 comments on commit c8a36b0

Please sign in to comment.