Skip to content

ASkyeye/SharpEventPersist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharpEventPersist

Persistence by writing/reading shellcode from Event Log.

Usage

The SharpEventPersist tool takes 4 case-sensitive parameters:

  • --file "C:\path\to\shellcode.bin"
  • --instanceid 1337
  • --source Persistence
  • --eventlog "Key Management Service".

The shellcode is converted to hex and written to the "Key Management Service", event level is set to "Information" and source is "Persistence".
Run the SharpEventLoader tool to fetch shellcode from event log and execute it. Ideally this should be converted to a DLL and sideloaded on program start/boot.
Remember to change the Event Log name and instanceId in the loader, if not running with default values.

image info

About

Persistence by writing/reading shellcode from Event Log

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%