unknown 95f153361a small fix 2 gadi atpakaļ
..
README.md 87394fa0a9 Update README.md 2 gadi atpakaļ
beacon.h db89d9b285 first commit 2 gadi atpakaļ
bofcompile.bat db89d9b285 first commit 2 gadi atpakaļ
silencesysmon.c 66368f4738 small cleanup 2 gadi atpakaļ
silencesysmon.cna 95f153361a small fix 2 gadi atpakaļ
silencesysmon.h db89d9b285 first commit 2 gadi atpakaļ
silencesysmon.o bf580750a5 update 2 gadi atpakaļ

README.md

SilenceSysmon

Silence the Sysmon service by patching its capability to write ETW events to the log.

Restarting the Sysmon service or the system itself will clear the patch and Sysmon will resume working normally. Altough this will not leave any traces in the log, there will be a time gap between the last and first new event.

Options

  • <pid>: the process ID of the Sysmon service running on the system.

Usage

  • silencesysmon <sysmon pid>

Compile

  • 1. Make sure Visual Studio is installed and supports C/C++.
  • 2. Open the x64 Native Tools Command Prompt for VS <2019/2022> terminal.
  • 3. Run the bofcompile.bat script to compile the object file.
  • 4. In Cobalt strike, use the script manager to load the .cna script to import the tool.