-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SID syntax for group membership changes (#125)
SIDs in logs from Active Directory are not contained within curly brackets, nor are they prefixed with a %. Perhaps this is from old NT days. This is an example log: 2018 Mar 01 00:00:00 WinEvtLog: Security: AUDIT_SUCCESS(4728): Microsoft-Windows-Security-Auditing: (no user): no domain: domaincontroller.lan.local: A member was added to a security-enabled global group. Subject: Security ID: S-1-5-21-0000000000-0000000000-000000000-00012 Account Name: admin_account Account Domain: LAN Logon ID: 0x11cc0174 Member: Security ID: S-1-5-21-0000000000-000000000-000000000-00675 Account Name: CN=added_account,OU=lan,DC=lan,DC=local Group: Security ID: S-1-5-21-0000000000-0000000000-000000000-512 Group Name: Domain Admins Group Domain: LAN Additional Information: Privileges: - Retaining old syntax and added fixed syntax as an OR regex.
- Loading branch information
1 parent
359d40c
commit 8ffd38f
Showing
1 changed file
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters