Bash Bunny
  • Bash Bunny by Hak5
  • Getting Started
    • Switch Positions
    • Mass Storage Structure
    • LED Status Indications
    • Installing Additional Tools
    • Installing Additional Languages
    • Considerations for Mark II
  • Writing Payloads
    • Payload Development Basics
    • DuckyScript™ on the Bash Bunny
    • QUACK
    • Extensions
    • ATTACKMODE
      • VID, PID, MAN, PROD, SN
    • LED
    • Working with the File System
    • CPU Control
    • Contributing Best Practices
    • Submitting Payloads
    • WAIT_FOR_PRESENT
  • Internet Connectivity
    • Getting the Bash Bunny Online
    • Sharing an Internet connection from Windows
    • Sharing an Internet connection from Linux
    • Sharing an Internet connection from MacOS
  • Software Updates
    • Updating the Bash Bunny Firmware
  • Troubleshooting
    • Factory Reset
    • Password Reset
  • Beginner Guides
    • Writing Keystroke Injection Payloads for the Bash Bunny
    • Network Hijacking Attacks with the Bash Bunny
    • Top 5 Bash Bunny Exfiltration Payloads to "steal files"
    • Getting Root on a Bash Bunny from the Serial Console
    • Remote Triggers for the Bash Bunny Mark II
    • Geofencing for the Bash Bunny Mark II
  • Video Guides
    • Bash Bunny Primer
    • Bash Bunny Phishing Attack with Hamsters
    • Password Grabber Bash Bunny Payload
    • Operating System Detection with the Bash Bunny
    • Bash Bunny Extensions
    • Reverse Shells on Linux with Bash Bunny
    • Bash Bunny Payload - Sudo Bashdoor on Linux
    • Bash Bunny Payload - 1990's Prank
    • Bash Bunny Dev - Behind the Scenes
    • Concealed Exfiltration - Pocket Network Attacks with the Bash Bunny
    • How to write Bash Bunny payloads and contribute on GitHub
Powered by GitBook
On this page
  • LED COLORS
  • LED STATE
  • EXAMPLES
  1. Writing Payloads

LED

The multi-color RGB LED status indicator on the Bash Bunny may be set using the LED command. It accepts either a combination of color and pattern, or a common payload state.

LED COLORS

COMMAND
Description

R

Red

G

Green

B

Blue

Y

Yellow (AKA as Amber)

C

Cyan (AKA Light Blue)

M

Magenta (AKA Violet or Purple)

W

White

LED PATTERNS

PATTERN
Description

SOLID

Default No blink. Used if pattern argument is ommitted

SLOW

Symmetric 1000ms ON, 1000ms OFF, repeating

FAST

Symmetric 100ms ON, 100ms OFF, repeating

VERYFAST

Symmetric 10ms ON, 10ms OFF, repeating

SINGLE

1 100ms blink(s) ON followed by 1 second OFF, repeating

DOUBLE

2 100ms blink(s) ON followed by 1 second OFF, repeating

TRIPLE

3 100ms blink(s) ON followed by 1 second OFF, repeating

QUAD

4 100ms blink(s) ON followed by 1 second OFF, repeating

QUIN

5 100ms blink(s) ON followed by 1 second OFF, repeating

ISINGLE

1 100ms blink(s) OFF followed by 1 second ON, repeating

IDOUBLE

2 100ms blink(s) OFF followed by 1 second ON, repeating

ITRIPLE

3 100ms blink(s) OFF followed by 1 second ON, repeating

IQUAD

4 100ms blink(s) OFF followed by 1 second ON, repeating

IQUIN

5 100ms blink(s) OFF followed by 1 second ON, repeating

SUCCESS

1000ms VERYFAST blink followed by SOLID

1-10000

Custom value in ms for continuous symmetric blinking

LED STATE

These standardized LED States may be used to indicate common payload status. The basic LED states include SETUP, FAIL, ATTACK, CLEANUP and FINISH. Payload developers are encouraged to use these common payload states. Additional states including multi-staged attack patterns are shown in the table below.

STATE
COLOR PATTERN
Description

SETUP

M SOLID

Magenta solid

FAIL

R SLOW

Red slow blink

FAIL1

R SLOW

Red slow blink

FAIL2

R FAST

Red fast blink

FAIL3

R VERYFAST

Red very fast blink

ATTACK

Y SINGLE

Yellow single blink

STAGE1

Y SINGLE

Yellow single blink

STAGE2

Y DOUBLE

Yellow double blink

STAGE3

Y TRIPLE

Yellow triple blink

STAGE4

Y QUAD

Yellow quadruple blink

STAGE5

Y QUIN

Yellow quintuple blink

SPECIAL

C ISINGLE

Cyan inverted single blink

SPECIAL1

C ISINGLE

Cyan inverted single blink

SPECIAL2

C IDOUBLE

Cyan inverted double blink

SPECIAL3

C ITRIPLE

Cyan inverted triple blink

SPECIAL4

C IQUAD

Cyan inverted quadriple blink

SPECIAL5

C IQUIN

Cyan inverted quintuple blink

CLEANUP

W FAST

White fast blink

FINISH

G SUCCESS

Green 1000ms VERYFAST blink followed by SOLID

EXAMPLES

LED Y SINGLE
LED M 500
LED SETUP

Last updated 11 months ago