• Stars
    star
    115
  • Rank 304,482 (Top 7 %)
  • Language
    C#
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

nuke that event log using some epic dinvoke fu

SharpNukeEventLog

nuke that event log using some epic dinvoke fu

Inspired by https://www.ired.team/offensive-security/defense-evasion/disabling-windows-event-logs-by-suspending-eventlog-service-threads and https://github.com/hlldz/Invoke-Phant0m

in order for this to compile you'll have to add System.Management to your refferences, which should be found here: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Management.dll

Tested for x64 systems, pretty sure it wont work for x86 unless you do some magic with the IntPtr marshalling.

For red teamer, by a red teamer. I will not take part in the whole OST debate.

              /\                       |\**/|
             /  \                      \ == /
             |  |                       |  |
             |  |     EventlogNuker     |  |
            / == \       @jfmaes        \  /
            |/**\|                       \/



target found, nuke launched on the eventlog threads of PID: 1380
wevtsvc.dll found at 0x140733035708416
suspending eventlog thread 2204
suspending eventlog thread 2564
suspending eventlog thread 2568
suspending eventlog thread 2580


                  _.-^^---....,,--
             _--                  --_
            <                        >)
            |                         |
             \._                   _./
               ```--. . , ; .--'''
                     | |   |
                  .-=||  | |=-.
                  `-=#$%&%$#=-'
                     | ;  :|
            _____.,-#%&$@%#&#~,._____

        Eventlog nuked successfully!
        

More Repositories

1

LazySign

Create fake certs for binaries using windows binaries and the power of bat files
PowerShell
542
star
2

SharpZipRunner

Executes position independent shellcode from an encrypted zip
C#
301
star
3

Invoke-DLLClone

Koppeling x Metatwin x LazySign
PowerShell
200
star
4

SharpHandler

C#
181
star
5

AmsiHooker

Hookers are cooler than patches.
C#
167
star
6

GG-AESY

Hide cool stuff in images :)
C#
146
star
7

TrustJack

Yet another PoC for https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
C#
142
star
8

SharpLNKGen-UI

UI for creating LNKs
C#
97
star
9

SharpRDPDump

Create a minidump of TermService for clear text pw extraction
C#
87
star
10

Backdoorplz

adding a backdooruser using win32api
C++
79
star
11

Red-EC2

Spin up RedTeam infrastructure on AWS via Ansible
58
star
12

DeepSleep

all credits go to @mgeeky
C
57
star
13

CSharpReflectionWorkshop

The repository that complements the From zero to hero: creating a reflective loader in C# workshop
C#
37
star
14

Clippi-B

C#
34
star
15

FunWithServerless

Python
23
star
16

Emulation-Workshop

The repository accompanying the Buer Emulation workshop
C#
23
star
17

Ansible-EmpireSuite

ansible roles to download and install empire (BC-Security),deathstar(byt3bl33der) and starkiller (BC-Security)
23
star
18

CMDLL

the most basic DLL ever to pop a cmd.
C++
22
star
19

talks-cons

aggregated repo for all conferences and talks I am giving
C#
17
star
20

Ansible-Cobalt-Strike

An Ansible role to install cobalt-strike
17
star
21

Red-Route53-Interactive

13
star
22

SharpXOR

XOR crypt/decrypt using C#
C#
12
star
23

blogposts-talks-and-tidbits

all random stuff that dont warrant a seperate repo
C
12
star
24

Parsers

parsers to make life easier
Python
12
star
25

DRegHide

fun stuff with null bytes and dinvoke
C#
8
star
26

sharpbysentinel

lol firewall
C#
7
star
27

impacket-nomulti-adcs-shadowcreds

in case clients are annoying with enforcing signing :)
Python
7
star
28

SEC565-Tools

PowerShell
5
star
29

NerveGas

messing around with ETW in C#
C#
4
star
30

x33fcon-workshop

PowerShell
3
star
31

RegFetch

Interfaces with winsockets to fetch a txt file, parses the file and changes the registry accordingly
C++
2
star
32

BeFree

get rid of pesky registry restrictions.
PowerShell
2
star
33

Get-ServiceACL

courtesey of a gist I found on github
PowerShell
1
star