Skip to content
프로젝트

chris408/digispark-usbkey-board

GitHub에서 보기

소개

Digispark ATtiny85 USB key "rubber ducky" clone

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Digispark attiny85 USB key

The Digispark attiny85 USB key is a super small Arduino compatible device that can be used for lots of different projects. This document and code helps you set one up as a virtual keyboard that will send characters of your choice to the host system.

You can buy one on eBay for around ~$2 USD: https://www.ebay.com/sch/i.html?_nkw=digispark+attiny85+usb

Arduino USB keyboard code

keyboard.ino is a Arduino sketch that I made for auto-navigating a MacOS host system. The idea is that you plug this into an unlocked computer that you find around the office. On the version of OSX that I use, the key will bring up Outlook and write an email to get you a free lunch. Obviously, you could do something much more aggressive, like download code or create a reverse shell. This is similar to the USB rubber ducky attack.

Installation steps

Apple keyboard spoof

The USB Arduino will pop up as a "new keyboard" after you plug it in. To avoid this you need to change the USB driver to make the Arduino appear to be a legit Apple keyboard by duplicating the device ID. I've modified usbconfig.h to fix this. Put it into /Users/<your username>/Library/Arduino15/packages/digistump/hardware/avr/1.6.7/libraries/DigisparkKeyboard/ (Note: The file path may change based on software versions in the path) and when you compile and load the code onto your Arduino, it should fix this problem. The changes in usbconfig.h should make your Arduino clone appear to be an authentic Apple keyboard. If you get stuck, try this link for more info on how to change this.

Caveat on MacBook Pros

The tiny USB key sized Digispark devices are occasionally too short to make proper contact in the port. I tried to dremel out the key to make it insert better without much success. It might be better to use a short USB extension cable instead.

관련 프로젝트 살펴보기

불러오는 중…