PolyCaptcha is a Flask‑based web application that mimics Google’s image‑based reCAPTCHA flow to demonstrate how attackers can use visual deception, clipboard poisoning, and file‑format spoofing (via I‑Espresso) to trick users into downloading and executing malicious code. This PoC is strictly for educational, research, and security‑testing purposes.
- Blurred‑Image Challenge: Prompts the user to “Identify the object” using a blurred picture.
- Forced Download: Requires downloading
reCAPTCHA.png
(a dual‑format EXE/PNG) to continue. - Clipboard Poisoning: Automatically copies the full malicious Win+R command to the clipboard.
- Dual‑Format Payload: Uses I‑Espresso to wrap a Windows PE inside a
.png
. - AV Evasion Demo: Shows how extension spoofing and user‑driven execution bypass antivirus.
-
Python 3.7+
-
Flask
-
I‑Espresso – PE File Generator with Extension Spoofing by AnonKryptiQuz (Polyglot Generator)
-
Clone the repository:
git clone https://github.com/AnonKryptiQuz/PolyCaptcha.git cd PolyCaptcha
-
Install required Python packages:
pip install -r requirements.txt
Ensure that
requirements.txt
contains the following:flask
-
Start the Flask server:
python app.py
-
Open your browser and navigate to:
http://localhost:5000/
-
Follow the on‑screen prompts:
-
You’ll see a blurred image and the text:
“Identify the object in the image to continue. This helps prevent bots from solving the challenge.”
-
Click Download to save
reCAPTCHA.png
(actually a PE wrapped as PNG via I‑Espresso). -
The tool automatically copies this command into your clipboard:
cmd /c start "" "%USERPROFILE%\Downloads\reCAPTCHA.png" & echo # ✅ 'I am not a robot - reCAPTCHA Verification ID: 83472'
-
Press Win + R, paste (Ctrl+V), and Enter.
- Only the “I am not a robot…” text is visible at a glance, hiding the
cmd /c start…
launch. - The embedded payload (e.g. Calculator in PoC) executes while the image displays.
- Only the “I am not a robot…” text is visible at a glance, hiding the
-
- Educational Purposes Only PolyCaptcha is intended solely for awareness, research, and security testing.
- Legal Notice Unauthorized use against real users or live environments is unethical and may violate laws.
Created by: AnonKryptiQuz