Home

Awesome

SharpCrashEventLog

SharpCrashEventLog

Description

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

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

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