Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 932 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 932 Bytes

ActiveMaim

A PoC generator for this research.

Takes the .mht file macro-enabled document as input.

usage: activemaim.py [-h] --infile INFILE --outfile OUTFILE [--inprocedure INPROCEDURE] [--outprocedure OUTPROCEDURE] [--remote REMOTE] [--prependfile PREPENDFILE | --prependrandom]

options:
  -h, --help            show this help message and exit
  --infile INFILE       Input .mht file
  --outfile OUTFILE     Resulting manipulated file with embedded payload
  --remote REMOTE       Address for remote payload
  --prependfile PREPENDFILE
                        File to prepend before MHTML contents
  --prependrandom       Prepend random bytes and OLEVBA bypass

  --inprocedure INPROCEDURE
                        Procedure name to be manipulated
  --outprocedure OUTPROCEDURE
                        Resulting procedure name