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

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.