Skip to content

Collection of experiments on malware dev for red teaming

Notifications You must be signed in to change notification settings

himazawa/maldev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MalDev

This is a collection of malware development techniques in Golang. The main (and only) target is Windows.

Payload Injection

This is a simple injection, using VirtualAlloxEx and CreateRemoteThread to execute a payload from a target process.

Build:

go build codeinjection/main.go

Usage:

codeinjection.exe -target="msdev.exe"

The shellcode is located in codeinjection/data/shellcode.bin and will be embedded at build time, feel free to change it or write your own.

DLL Injection

Same as payload injection but instead of injecting the full payloads, it writes the path to a dll in the target process and then execute it using LoadLibraryA

Build:

go build dllinjection/main.go

Usage:

dllInjection.exe -target="msdev.exe" -dll="C:\fullpath\to\inject.dll

About

Collection of experiments on malware dev for red teaming

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages