Giter Club home page Giter Club logo

windowseventlogsbypass_csharp's Introduction

WindowsEventLogsBypass_Csharp

Blog link: working on it

  • Bypass windows eventlogs & Sysmon,only tested in win10_x64.

  • Only for red team purpose, and you need to change the codes if u use it for pentest.

  • You need administrator privilege to run it.

  • You also need administrator privilege to debug or test the code(In VS).

  • Feel free to make any issues or advice.

Process Explorer

avatar

avatar

Usage

  1. Remove the “System.Threading.Thread.Sleep” in main function,the “System.Threading.Thread.Sleep” is for debugging purpose.

    avatar

  2. Run it with administrator privilege, for that you gonna need to bypass UAC first.(which I will update a bypass UAC project soon).

  3. if u need to debug or test it you need to run VS with administrator privilege first, open a powershell or a cmd with administrator privilege and run your VS(

    • for example

      • cd “C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE”;

      • .\devenv.exe

        avatar

TO-DO list

  1. Restruct code

Update history

  • NONE

Reference link

  1. https://www.pinvoke.net/search.aspx?search=NtWriteVirtualMemory&namespace=[All]

  2. https://wj32.org/wp/2010/03/30/howto-use-i_querytaginformation/

  3. https://github.com/3gstudent/Eventlogedit-evtx--Evolution/blob/master/SuspendorResumeTidEx.cpp

  4. https://0cch.com/2015/01/24/e794a8service-tage58cbae58886e585b1e4baabe7b1bbe59e8be69c8de58aa1e7babfe7a88b/

  5. https://artofpwn.com/2017/06/05/phant0m-killing-windows-event-log.html

  6. https://www.ired.team/offensive-security/defense-evasion/disabling-windows-event-logs-by-suspending-eventlog-service-threads

  7. https://blog.csdn.net/singleyellow/article/details/93394557

  8. https://github.com/3gstudent/Windows-EventLog-Bypass/blob/master/WindowsEventLogBypass.cpp

  9. https://www.pinvoke.net/default.aspx/advapi32.adjusttokenprivileges

  10. https://www.cnblogs.com/DeeLMind/p/7194102.html

  11. https://www.pinvoke.net/default.aspx/kernel32/SuspendThread.html

windowseventlogsbypass_csharp's People

Contributors

kara-4search avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

phuong39

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.