Skip to content

Set of hand-written DigiSpark scripts for the Arduino IDE

Notifications You must be signed in to change notification settings

mishqatabid/DigiSpark-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigiSpark-Scripts

The Digispark is a tiny development board powered by the ATtiny85 microcontroller, known for its compact size, affordability, and USB interface. With limited I/O pins and flash memory, it is suitable for small-scale projects and offers compatibility with the Arduino IDE, making it accessible to hobbyists and makers.

image

This is a set of hand-written DigiSpark sketches for the Arduino IDE that utilize the DigiKeyboard.h library making the DigiSpark to act as a keyboard and execute a variety of actions.

INSTRUCTIONS

  • To deploy the payload, we will download the Arduino IDE
  • Open the IDE, create a new sketch file and write down the code for Digispark Attiny85.
  • The script is then compiled and uploaded on Arduino present in Digispark Attiny85

SCRIPTS DESCRIPTION

  • Create_Account: Creates a new admin account and optionally hides it
  • DNS Poisoner: Injects lines into the Windows hosts file and redirects URLs to wherever you want
  • Execute_Powershell_Script: Downloads and executes a powershell script in hidden mode
  • Fake_Apple_Update: Open a fake apple update that will never end
  • Fake_Windows_10_Update: Opens a fake windows update that will never end
  • Fork_Bomb: Opens up an obfuscated windows terminal and makes it multiply itself uncontrolably causing the machine to either lock or crash
  • Hi_Chewy: Opens a hidden powershell window, downloads a 60 second wav file of random Chewbacca from Star Wars clips, waits 5 minutes and then plays it.
  • Instant_Shell: Get instant interactive reverse powershell in less than a minute and send commands remotely to victim machine
  • KeyLogger: Drops a payload in the temp directory, runs it in the background, records keystrokes for a set duration, then sends the recorded keystrokes to webhook.site and deletes all keylogger data from the temp directory.
  • Remote BackDoor: Creates account with admin privileges with name blanka and passwd Ping@123. Also hides it from login screen and turn on remote desktop to be accessible from remote location.
  • RickRoll: Plays Never Gonna Give you up while performing a fake windows update
  • Silly_Mouse: Switches primary and secondary mouse buttons, display mouse trails, decreases mouse speed and other mouse related pranks
  • Talker: Makes the computer speak out a message using powershell
  • UAC_Bypass_Taskmanager: Starts taskmgr throw some keys and launch cmd in Admin mode. For the sake of POC it executes regedit and stops
  • Wallpaper_Changer: Downloads and applies a wallpaper via powershell.
  • Wallpaper_Changer_macOS: Downloads and applies a wallpaper via applescript on macOS.
  • Wallpaper_Prank: Takes a screenshot of the desktop, sets it as the wallpaper, hides desktop icons
  • WiFi_Profile_Grabber: Extracts wifi profiles and saves the csv to a USB drive
  • WiFi_Profile_Mailer: Writes the wireless network credentials to a csv file and emails it
  • Window_Jammer: Spams ALT + F4 and CTRL + W key combos to force close all active windows
  • Windows_Phisher: Logs all entered credentials inculding the invalid ones. It stores them in temporary directory on file rake and in the end delete the created file after sending them when correct credentials are entered.