Skip to content

slyd0g/SharpCrashEventLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpCrashEventLog

SharpCrashEventLog

Description

A port of limbenjamin's LogServiceCrash project to C#.

Crashes the Windows eventlog service locally or remotely using OpenEventLogA/ElfClearEventLogFileW.

  • Added the ability to specify a remote server from the cmdline

From limbenjamin's blogpost:

Windows Event Logging service will crash with an Access Violation when advapi32.dll!ElfClearEventLogFileW is called with a handle obtained from advapi32.dll!OpenEventLogA. By default, The service is restarted after the first and second failure only. Hence an adversary can crash the service 3 times after which he is able to execute further malicious commands without being logged. The fail count will be reset after 1 day by default.

Usage

  • Crash the local computer's event log service
    • .\SharpCrashEventLog \\localhost
  • Crash a remote computer's event log service
    • .\SharpCrashEventLog \\targetcomputer

About

C# port of LogServiceCrash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages