Skip to content

Instantly share code, notes, and snippets.

View eduardomcm's full-sized avatar
🔬

eduardomcm

🔬
View GitHub Profile
@scudette
scudette / Custom.Windows.EventLog.BadAccounts.yaml
Last active June 6, 2021 17:23
Search event logs for bad user accounts
name: Custom.Windows.EventLog.BadAccounts
description: |
Parses all the event logs on the endpoint and sends back any single event that is
related to a certain user account or SID (or any string pattern actually).
This is very useful for finding unknown application event logs related to lateral
movement.
precondition: SELECT OS From info() where OS = 'windows'