Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Commit

Permalink
Issue 997: securityonion-elsa-extras: better parsing for event id 4776
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks committed Sep 26, 2016
1 parent 86c8b60 commit 8548d70
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
securityonion-elsa-extras (20151011-1ubuntu1securityonion38) trusty; urgency=medium

* Issue 997: securityonion-elsa-extras: better parsing for event id 4776

-- Doug Burks <doug.burks@gmail.com> Mon, 26 Sep 2016 15:44:09 -0400

securityonion-elsa-extras (20151011-1ubuntu1securityonion37) trusty; urgency=medium

* securityonion-elsa-extras: add "AR-LOG" header to autoruns pattern #983
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
securityonion-elsa-extras (20151011-1ubuntu1securityonion38) trusty; urgency=medium
.
* Issue 997: securityonion-elsa-extras: better parsing for event id 4776
Author: Doug Burks <doug.burks@gmail.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- securityonion-elsa-extras-20151011.orig/contrib/parsers/windows
+++ securityonion-elsa-extras-20151011/contrib/parsers/windows
@@ -258,12 +258,15 @@
</ruleset>


-<!-- v. 7/20/2015 --- Brian Kellogg -->
+<!-- v. 9/23/2016 --- Brian Kellogg -->
<ruleset name="WINDOWS" id='4'>
<pattern>ossec_archive</pattern>
<rules>
<rule provider="ELSA" class='4' id='4'>
<patterns>
+ <!-- 4776s -->
+ <pattern>@NUMBER::@@ESTRING::) @@IPv4::->@@ESTRING::(@@ESTRING:i0:): @@ESTRING:: The domain controller attempted to validate the credentials for an account.@@ESTRING::Logon Account: @@ESTRING:s1: Source Workstation: @@ESTRING:s0: Error@</pattern>
+
<!-- 4740s -->
<pattern>@NUMBER::@@ESTRING::) @@IPv4::->@@ESTRING::(@@ESTRING:i0:): @@ESTRING::A user account was locked out.@@ESTRING::Account Domain: @@ESTRING:s2: @@ESTRING::Account That Was Locked Out: @@ESTRING::Account Name: @@ESTRING:s1: @@ESTRING::Caller Computer Name: @@ESTRING:s0:@</pattern>
<pattern>@NUMBER::@@ESTRING::) @@IPv4::->@@ESTRING::(@@ESTRING:i0:): @@ESTRING:::@@ESTRING:::@@ESTRING::: @@ESTRING:s0:: @@ESTRING::A user account was locked out.@@ESTRING::Account Domain: @@ESTRING:s2: @@ESTRING::Account That Was Locked Out: @@ESTRING::Account Name: @@ESTRING:s1: @</pattern>
@@ -602,6 +605,15 @@
<!-- Source Network Address -->
<test_value name="i1">192.1.2.3</test_value>
</example>
+ <example>
+ <test_message program="ossec_archive">2015 Nov 03 19:57:04 (SERVER01) 10.1.1.1->WinEvtLog 2015 Nov 03 14:57:03 WinEvtLog: Security: AUDIT_FAILURE(4776): Microsoft-Windows-Security-Auditing: (no user): no domain: SERVER01.contoso.com: The domain controller attempted to validate the credentials for an account. Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 Logon Account: ttest Source Workstation: WORK01 Error Code: 0xc0000064</test_message>
+ <!-- Event ID -->
+ <test_value name="i0">4776</test_value>
+ <!-- Source Name -->
+ <test_value name="s0">WORK01</test_value>
+ <!-- User -->
+ <test_value name="s1">ttest</test_value>
+ </example>
</examples>
</rule>
</rules>
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ securityonion-elsa-extras:-merge-additional-patterns-#827
change-autorun-to-autoruns
Issue-979:-securityonion-elsa-extras:-additional-patterns-for-Sysmon-4-and-4.11
securityonion-elsa-extras:-add-"AR-LOG"-header-to-autoruns-pattern-#983
Issue-997:-securityonion-elsa-extras:-better-parsing-for-event-id-4776

0 comments on commit 8548d70

Please sign in to comment.