Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW FEATURE: ETW Interfacing #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ablescia
Copy link

PersistenceSniper is an excellent tool for detecting persistences on a system. I use it regularly in my daily Threat Hunting activities. But I believe also this tool could significantly enhance a Detection Engineer's program.

For this reason, the Write-ToETW module is essential to forward the PersistenceSniper result to ETW (Event Trace for Windows) and then ingest into a SIEM.

By using a custom provider, we can have preformatted events that do not require parsing during the ingestion phase.
write-toetw

To avoid retro-compatibility problems, this pull request contains a separate folder called Plugins/Write-ToETW that contains the following files:

  • ETWLib.cs: C# file that contains the EventSource source code
  • PersistenceSniper.man: ETW instrumentation file for PersistenceSniper logs
  • WinSDKInstaller: script used to install the Windows SDK. It is necessary to compile the Instrumentation Manifest
  • Write-ToETW.psm1: PowerShell module that contains the function used to ship the result to the ETW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant