a Payload that run on a Digispark 16.5mhz, and using digispark as a Rubber Ducky
This Ardunio code can steal so many information about your target machine from Windows 7/8/8.1/10 OS with a Visual Basic Script and Procdump that are in a flash memory.
- Install arduino IDE Arduino IDE 1.0+.
- Download Digispark driver From >> (https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip).
- Follow the Digispark configuration instructions from >> (http://digistump.com/wiki/digispark/tutorials/connecting)
-
Format your flash Drive to
FAT32
and change flash drive label to: ==>D
. -
Move
Proc.vbs, Procdump
&Procdump64
files to your Flash drive. You can download Procdump from >>>> (https://docs.microsoft.com/en-us/sysinternals/downloads/procdump) -
Open the flash drive and Make a new text file and named it: ==>
R
. -
Configure you Digispark, open
DigiSpark_RubberDucky.ino
click on Upload but DO NOT plug in your digispark until you can see this message:[Plug in device now... (will timeout in 60 seconds)]
. -
If your flash memory is unplugged, first UNPLUGGED your digispark after uploading sketch.
-
After plugged your flash memory drive then plugging your digispark.
-
After runnig the code by digispark, open your flash drive, you should see the
dump
file : ==>dump.dmp
. -
Now you need
Mimikatz
, for checking the results. you can download mimikatz from >> (https://github.com/gentilkiwi/mimikatz). -
For using mimikatz for first time, you need to bulid the tool with Visual studio depends on your
x86
orx64
processor:- Open
Visual Studio
and open up mimikatz files to it after extracting the zip file. - From menu go to:
Project
>>Properties
, from the left bar click onConfiguration properties
>>Configuration
. - if you have a
x64-bit
processor fromPlatform
you should selectx64
, by default it'sWin32
(the Best thing is to compile both version x64 an Win32). 4.From theBuild
menu chooseBuild solution
.
- Open
-
Moving the
dump.dmp
file tomimkatz win32 or x64 folder
(depends on your Processor) (that is inmimkatz folder
). -
open your
CMD
asAdminstrator
and go to mimkatz win32 or x64 folder. -
For executing commands type:
1.
mimkatz
2.sekurlsa::minidump dump.dmp
3.sekurlsa::logonPasswords