Skip to content

Commit

Permalink
Merge pull request #674 from 90N45-d3v/TV-Menu-Trigger
Browse files Browse the repository at this point in the history
Add TV-Menu-Trigger
  • Loading branch information
hak5peaks authored Jun 7, 2024
2 parents fd26d8b + f2eb8d8 commit e43de0e
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

0 comments on commit e43de0e

Please sign in to comment.