This project automates the process of capturing screenshots from the Windows Credential Manager and sending them via email using DuckyScript 3.0 and PowerShell.
This project provides an automated solution for capturing screenshots from the Windows Credential Manager and securely sending them via email. It combines DuckyScript 3.0 for automation of user actions and PowerShell for handling screenshot captures and email sending. This tool is designed for use in offensive security assessments to demonstrate vulnerabilities in physical access and credential management.
- Automated Screenshot Capture: Uses DuckyScript to open the Windows Credential Manager and execute a PowerShell script.
- Multiple Screenshots: Captures multiple screenshots of the Credential Manager for thorough documentation.
- Secure Storage: Stores screenshots in a zip file encrypted with a specified password.
- Email Delivery: Automatically sends the encrypted zip file to a specified email address using various email services.
- Cleanup: Deletes all temporary files after the email is sent to avoid detection.
-
DuckyScript Execution:
- Opens the Windows Credential Manager.
- Executes a PowerShell script to handle the rest of the process.
-
PowerShell Script Execution:
- Creates a directory to store screenshots.
- Captures multiple screenshots at defined intervals.
- Compresses and encrypts the screenshots into a zip file.
- Sends the encrypted zip file via email to a pre-configured address using one of several supported email services.
- Cleans up all temporary files and directories to leave no trace.
- A USB Rubber Ducky with DuckyScript 3.0 or a Flipper Zero configured as a BadUSB.
- PowerShell configured on the target Windows machine.
- Valid SMTP server credentials or API keys for the selected email service.
- Outlook
- Outlook REST API
- Gmail SMTP
- Thunderbird SMTP
- Office 365 SMTP
- Yahoo Mail SMTP
- SendGrid SMTP
- Mailgun API
- Sendinblue API
- Permission: Ensure you have authorization to perform security assessments on the target machine.
- Confidentiality: Handle captured data securely and responsibly.
- Legality: Use this tool only for ethical hacking and authorized security testing.