Skip to content

Instantly share code, notes, and snippets.

@Samirbous
Created October 12, 2022 16:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Samirbous/8fd02d50125732283dc750ebc3b60d44 to your computer and use it in GitHub Desktop.
Save Samirbous/8fd02d50125732283dc750ebc3b60d44 to your computer and use it in GitHub Desktop.
sequence by host.id with maxspan=1m
[registry where registry.path : "*\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\*"] by registry.data.strings
[process where event.action == "start" and
/* recently created files */
process.Ext.relative_file_creation_time < 500] by process.executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment