Skip to content

Using the DigiSpark to "Unicorn" work colleague who don't lock their computers

Notifications You must be signed in to change notification settings

ntoenis/Digicorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digicorn

Using the DigiSpark to "Unicorn" work colleague who don't lock their computers.

The Digispark is an Attiny85 based microcontroller development board similar to the Arduino line, only cheaper, smaller, and a bit less powerful.

Prerequisites

  1. Digispark

  2. Arduino IDE installed:

  3. Victim must have Outlook installed since that's how I programmed this script.

Setup

  1. First, get the drivers for the digispark and install DPinst64:

  2. Then in the Arduino IDE go to File->Prefrences->Additional Boards Manger URLs.

  3. Next click on Tools in the Arduino IDE->Boards->Boards Manager.

    1. Where it says Type, you want to click the box and go to Contributed.
    2. Now click anywhere on Digistump AVR Boards by Digistump.
    3. An install button should appear in the lower right corner for you to click. (This may take a bit to install)
  4. Once finished go back into Tools->Boards->Digispark(Default - 16.5mhz)

  5. While the Digispark is unplugged open DigicornV1.ino

  6. Finally Click upload and wait for it to compile you will be promted to plug in the device.

    1. Plug in your Digispark and wait till it says completed.
    2. Unplug the Digispark quickly or it will start to run the script on your system.
  7. Now you are ready to plug the Digicorn into your victims system.

Multi OS Version

In the testing folder you will find a version of Digicorn that requires a switch attached to pin 2. Digispark with switch

Tips & Tricks

The Digispark has a five second delay on start up to allow it to be programmed but this can be removed with a custom firmaware online. You will have to add a button or wire to the digispark to override this for programming, but I do like this idea for this solution.

DigiKeyboard Source Code: https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/DigiKeyboard.h

Here are the specs for you nerds:

  • Support for the Arduino IDE 1.0+ (OSX/Win/Linux)
  • Power via USB or External Source - 5v or 7-35v (12v or less recommended, automatic selection)
  • On-board 500ma 5V Regulator
  • Built-in USB
  • 6 I/O Pins (2 are used for USB only if your program actively communicates over USB, otherwise you can use all 6 even if you are programming via USB)
  • 8k Flash Memory (about 6k after bootloader) <- So script sizes can be limited
  • I2C and SPI (vis USI)
  • PWM on 3 pins (more possible with Software PWM)
  • ADC on 4 pins
  • Power LED and Test/Status LED

About

Using the DigiSpark to "Unicorn" work colleague who don't lock their computers

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Other 100.0%