Skip to content
ac0d3rPublic

About

A macOS sandbox for malware analysis 📦

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

49 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machbox

Machbox is a lightweight, native macOS sandbox for malware analysis, built on Apple native frameworks (Virtualization.framework, EndpointSecurity.framework, DTrace, etc.).

Analysis Reports

Supported Formats

  • mach-o
  • Application Bundle
  • Disk Image(.dmg)
  • Package(.pkg)
  • zip archive (supports password extraction)

System Requirements

  • Apple Silicon Mac
  • macOS 13+

Download

brew install ac0d3r/tap/machbox

Prebuilt Apple Silicon binaries are also on the GitHub Releases page.

curl -L -o machbox https://github.com/ac0d3r/machbox/releases/latest/download/machbox-darwin-arm64
chmod +x machbox

The release binary is ad-hoc signed, macOS Gatekeeper will block it until you remove the quarantine attribute with xattr -d com.apple.quarantine.

Build from Source

  • Go 1.27+
  • Bun 1.4+
  • Swift 5.9+
  • Xcode, for the macOS SDK, codesign, pkgbuild, and hdiutil
git clone https://github.com/ac0d3r/machbox.git
cd machbox
make build

The compiled binary will be at bin/machbox.

Usage

  • Environment Setup: prepare a VirtualBuddy VM once before analyzing samples.
  • Usage: analyze samples and read reports.

Acknowledgments

About

A macOS sandbox for malware analysis 📦

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages