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
FAT32and change flash drive label to: ==>D. -
Move
Proc.vbs, Procdump&Procdump64files 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.inoclick 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
dumpfile : ==>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
x86orx64processor:- Open
Visual Studioand 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-bitprocessor fromPlatformyou should selectx64, by default it'sWin32(the Best thing is to compile both version x64 an Win32). 4.From theBuildmenu chooseBuild solution.
- Open
-
Moving the
dump.dmpfile tomimkatz win32 or x64 folder(depends on your Processor) (that is inmimkatz folder). -
open your
CMDasAdminstratorand go to mimkatz win32 or x64 folder. -
For executing commands type:
1.
mimkatz2.sekurlsa::minidump dump.dmp3.sekurlsa::logonPasswords