Skip to content

s3l33/Minitrue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitrue

Manufacturing Truth since 1984

What It Is

Minitrue is a malicious document generator that can run on Linux without having the need to install MS Office products

Disclaimer

This tool is designed to help make the maldoc generation easier for you. However, I highly recommend NOT skipping the manual method taught in the PEN-200 course materials

Target Audience

PEN-200 Students

Features

  • VBA Macro
  • OLE (Embedded icon)
  • Mouse selection
  • TAB completion
  • Embedded simple HTTP server to host generated documents
  • Clipboard-friendly payload URLs

Project Dependencies

Aspose.Words relies on a specific version of ICU (libicu63) for unicode/ico support
However, this package is no longer in the Kali repos, so we have to install it manually from the Debian buster repo

# Download libicu63
kali@kali:~$ wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu63_63.1-6+deb10u3_amd64.deb

# Verify SHA256 checksum one-liner
# Provided SHA256 hash is 38f65aaec4ee088f65330cf636c1cd6edef38109c80559836ecf38e2390a5761 at the time of writing this guide
kali@kali:~$ [ "$(sha256sum libicu63_63.1-6+deb10u3_amd64.deb | cut -d ' ' -f1)" == "38f65aaec4ee088f65330cf636c1cd6edef38109c80559836ecf38e2390a5761" ] && echo '[+] SHA256 checksum OK' || echo "[-] SHA256 checksum mismatch"

kali@kali:~$ sudo apt install ./libicu63_63.1-6+deb10u3_amd64.deb
kali@kali:~$ sudo apt update && sudo apt install libssl-dev libssl-1.1

Note for future readers

I have archived the download page and package in case the link goes dead at any point

Credit to @securingdev for bringing this issue to my attention

Environment Setup

# NOTE: consider installing libgdiplus via apt to avoid seeing irrelevant ImportErrors
#       related to the aspose library
kali@kali:~$ sudo apt install libgdiplus

# clone the repo into a directory of your choice
kali@kali:~$ git clone https://github.com/X0RW3LL/Minitrue.git

# cd into the repo after it's been cloned locally
kali@kali:~$ cd Minitrue

# install package requirements inside the packages directory
kali@kali:~/Minitrue$ pip3 install -t packages/ -r requirements.txt

# grant execute permissions to the script
kali@kali:~/Minitrue$ chmod +x minitrue

Usage

kali@kali:~/Minitrue$ ./minitrue

Screenshots

minutrue-overview.png minitrue-poc.png

FAQs

  • Should I be worried about potential backdoors?
    • The short answer: no
    • The long answer: your concerns are valid, and I encourage everyone to practice due diligence by going through the code and keeping an eye out for changes. However, I would not 1) do something unethical, and 2) jeopardize my reputation by pulling off such a silly stunt
  • How do I report bugs?
    • You may create an issue with all the relevant bits of information; full Traceback calls, pasted payload and stack dump, and screenshots
  • What about contribution?
    • Contribution is highly encouraged. Create a PR and we may discuss it
  • How can I contact you?
    • You may reach out via Twitter or Discord: X0RW3LL#6548

Credits

Special thanks to the entire Offensive-Security team, as well as the amazing community that's helped me through my journey ❤️

Links

Offensive-Security Official Website
Offensive-Security Community Discord
Kali Linux & Friends Discord

ko-fi

About

Manufacturing Truth since 1984

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages