Skip to content

i-am-cjc/CyberWALLET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CyberWALLET

Inspired by the USB Rubber Ducky / BadUSB, but in a different formfactor that I might actually carry and use.

Hardware

The current iteration of the CyberWALLET is a Raspberry Pi Pico, and an SSD1306 0.9inch 128x32 screen. There are two buttons on the front that will be used for menu navigation as well as interaction in scripts.

Alt text

Multiple scripts can be loaded and then selected upon boot using the buttons on the device.

Scripting Language

The CyberWALLET uses a pretty simple scripting language, again inspired mostly by the Hak5 USB Rubber Ducky, but with some other stuff based around the buttons on the front of the device.

  • TYPE - Types out the string, but doesn't press enter
  • RTYPE - Types out the string and presses enter (ps RType is a great game)
  • SLEEP - Sleeps for the float number of seconds
  • RSLEEP int:x,int:y - Sleeps for random number of seconds between the x and y
  • DELAY - Sets the default sleep time between commands (default: 0.1)
  • RETURN - Presses Return
  • TAB - Presses Tab
  • MOD4 - Presses the MOD4 / Windows key with the optional key (i.e. "MOD4 l" would lock a windows machine)
  • CTRL - Presses the control key with an optional key (i.e. "CTRL a" would select all in a lot of applications)
  • MOUSE int:x,int:y - Moves the Mouse by x,y
  • CLICK - Clicks the left mouse
  • SET - Sets a variable to true
  • UNSET - Sets a variable to false
  • LABEL - A label in code to jump to
  • JUMP - Jumps to a specific label
  • VJUMP - Jumps to label is variable is set, otherwise carries on down the script
  • BJUMP - waits for a button press. If the left button is pressed, JUMP to target, otherwise carry on down the script.
  • REM - A comment
  • SCREEN - Writes the string to the internal screen, great for debugging / amusement.
  • INC - Saves the current state of the file and includes another file for command tasks. The filename should not include the .card extension, variables set in one file are present throughout the others and are not cleared when switching between files.

Hello World!

Here is an example script that will open up notepad on a windows computer, and write hello world.

DELAY 1
MOD4 r
RTYPE notepad
TYPE Hello World

About

A card holder / wallet that contains a Microcontroller to perform keyboard based attacks

Resources

Stars

Watchers

Forks