Bash Bunny
Search…
WAIT_FOR_PRESENT
With the Bash Bunny Mark II, payload stages may be triggered using the WAIT_FOR_PRESENT and WAIT_FOR_NOT_PRESENT extensions.
Geofencing may be achieved by profiling the bluetooth wireless environment of the target. Multiple WAIT_FOR_PRESENT commands may be "stacked" one after another.

WAIT_FOR_PRESENT

1
# Pauses payload execution until specified bluetooth identifier IS present# Usage: WAIT_FOR_PRESENT devicename
Copied!

Example

1
# Stage 1: Enumerate as mass storage with silent HID device
2
ATTACKMODE HID STORAGE
3
WAIT_FOR_PRESENT my-bluetooth-device-name
4
5
# Stage 2: Type Hello World into Notepad
6
WIN RUN notepad.exe
7
QUACK DELAY 1000
8
QUACK STRING Hello World
Copied!

WAIT_FOR_NOT_PRESENT

1
# Pauses payload execution until specified bluetooth identifier IS NOT present
2
# Usage: WAIT_FOR_NOTPRESENT devicename
Copied!