r/blueteamsec • u/Prior_Reward5991 • 2h ago
malware analysis (like butterfly collections) VoidBox: Open-source behavioral malware analyzer built natively for Windows Sandbox (pure ctypes, MITRE ATT&CK, ClickFix mode, AI reports)
https://github.com/ParityLock/VoidBoxI built VoidBox, an open-source, lightweight dynamic analyzer designed to run directly inside built-in Windows Sandbox - meant for quick local triage when you don't want to upload private samples to cloud sandboxes or spin up a full CAPEv2 VM.
Repo: https://github.com/ParityLock/VoidBox
How it works under the hood
- Pre-armed launch (
t = 0 ms): Captures a Before-Snapshot, arms all monitors and Windows Firewall rules, spawns the target viaCreateProcessW(CREATE_SUSPENDED)inside a Win32 Job Object (IOCP), and only then callsResumeThread. - Zero drivers / minimal deps: All Win32 APIs (
ReadDirectoryChangesW,RegNotifyChangeKeyValue,DnsGetCacheDataTable,SetTcpEntry,VirtualQueryEx/ReadProcessMemory,NtSuspendProcess) are wrapped in pure Pythonctypes+winreg. OnlyPyQt5andpsutilas external deps. - Win+R (ClickFix) mode: Statically strips
^/ backtick obfuscation and decodes-enc/FromBase64Stringpayloads before detonating inside the Job Object. - Self-protect kill-switch: Watches for
DisableTaskMgr/DisableRegistryTools/taskkilltampering; freezes the process tree, dumps RAM strings, kills the Job Object, and remediates HKCU policies. - Live scoring & exports: Maps detections to MITRE ATT&CK IDs, supports external JSON/YAML community rules, streams
FILE_SHARE_READ-lockedevents.jsonlback toC:\SandboxShare\Reports, and generates token-efficientAI_Analysis_Report.mdwith defanged IOCs (hxxps://,1[.]2[.]3[.]4).
There's a 1-click .bat + standalone release bundle (built via GitHub Actions with SHA256SUMS.txt), or you can run directly from source (python main.py).
Would genuinely appreciate technical feedback, edge cases I missed, or suggestions for v1.2 (planning YARA scanning + TLS SNI capture next).