Skip to content

jakeotte/Mallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mallet

Modular malware generation framework. Intended to produce functional albeit simple shellcode droppers while being easily accessible and educational.

Mallet is unlikely to receive further significant updates - see Shroud instead.

Usage

Clone the repo and start Mallet.bat. Use the menu to select your settings and generate a payload. The output dropper and keychain will be stored in the Output folder.

Menu

Quick Mode

Quick mode can be used to generate a runner payload with default options - a .text payload with a single round of AES encryption and local thread execution. Windows Defender is pretty bad so this is likely all you will need.

Results

Using quick mode alone yields a somewhat concerning result of only 18 detections out of the 70 top AV solutions according to VirusTotal:

Quickmode

Troubleshooting

Mallet requires VS version 2022 - specifically the Developer Powershell script for auto-compilation. Mallet also uses Qt for the GUI which may have dependency issues in some cases. Consider installing Qt on your machine if you run into any trouble.

Disclaimer

Mallet is just a way for me to make quick-and-dirty droppers and learn more about C and the Win32 API. This tool isn't going to save you from an EDR or any competent AV solution, and is currently held together by Elmer's glue and small strips of construction paper.

This tool is only to be used for authorized testing or educational purposes. I do not condone the use of this tool in any criminal or malicious activities.

To-Do

  • Execution methods will be getting an overhaul eventually (NT API and indirect calls).
  • DLL format support
  • RC4
  • Msfvenom templates
  • Error handling (currently none lol)

About

Educational and modular malware tool with GUI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages