Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xflux/gosneak

DLL injector POC written currently in C++ to be wrapped with Go and CGO.
https://github.com/0xflux/gosneak

dll-injection dll-injector malware-research syscall syscalls

Last synced: 5 days ago
JSON representation

DLL injector POC written currently in C++ to be wrapped with Go and CGO.

Awesome Lists containing this project

README

        

# GoSneak

A small snippet from my private Go based malware (for red team operations NOT criminal / malicious) and server control framework, showcasing some simple process injection written in Go and C.

Note: The Go 'bridge' is not currently implemented, I will look to implement the Go wrapper after the C++ POC is done. To see my blog post about this: https://fluxsec.red/dll-injection-edr-evasion-1

**Important**

This is purely PROOF OF CONCEPT and simply injects a DLL into a process for it to be run. This is in NO WAY to be used for malicious purposes and I DO NOT ENDORSE this code being used for malicious purposes.

A screenshot from my [blog](https://fluxsec.red/dll-injection-edr-evasion-1), proof that we are in fact using the assembly, and not the Windows API:

![image](https://github.com/0xflux/GoSneak/assets/49762827/ead5660f-1c47-4aca-9d2e-cd59b42b7e2d)

Proof of injection:

![image](https://github.com/0xflux/GoSneak/assets/49762827/835cae74-920b-4279-bd50-0171c736cacb)

The injector is mostly in C, wrapped in some Go for fun, showing cross compatability of classical C development with a higher level language such as Go. I have found there are actual benefits to doing this in respect of anti-detection; something I may blog about in the future!