diff --git a/BadUSB/GoodUSB.txt b/BadUSB/GoodUSB.txt new file mode 100644 index 00000000..5ac443d6 --- /dev/null +++ b/BadUSB/GoodUSB.txt @@ -0,0 +1,55 @@ +GUI r +DELAY 1000 +STRING notepad.exe +ENTER +DELAY 1000 +STRING Greetings! +ENTER +STRING You've just launched GoodUSB! +ENTER +ENTER +STRING This script will take the following actions: +ENTER +STRING 1) Download ClamAV +ENTER +STRING 2) Update ClamAV to the latest malware definitions. +ENTER +STRING 3) Scan your system memory for any malicious processes. +ENTER +STRING 4) If any are found, TERMINATE THEM! +ENTER +ENTER +STRING This process may take a very long time, about 30 minutes to an hour. +ENTER +STRING You can abort now by unplugging this device. +ENTER +STRING Otherwise, the process will begin in 5... +DELAY 3000 +STRING 4... +DELAY 3000 +STRING 3... +DELAY 3000 +STRING 2... +DELAY 3000 +STRING 1... +DELAY 3000 +STRING 0 +ENTER +STRING Away we go! +DELAY 2000 +ALT F4 +DELAY 1000 +ALT N +GUI r +DELAY 1000 +STRING powershell.exe +ENTER +DELAY 1000 +STRING Start-Process powershell -Verb runAs ; exit +ENTER +DELAY 4000 +LEFT +ENTER +DELAY 4000 +STRING mkdir $env:USERPROFILE\AppData\Local\Temp ; cd $env:USERPROFILE\AppData\Local\Temp ; Invoke-WebRequest -Uri https://www.clamav.net/downloads/production/clamav-0.105.0.win.x64.zip -OutFile clam.zip ; Expand-Archive -Force clam.zip ; del clam.zip ; cd clam\* ; mv .\conf_examples\freshclam.conf.sample freshclam.conf ; mv .\conf_examples\clamd.conf.sample clamd.conf ; Set-Content -Path "freshclam.conf" -Value (get-content -Path "freshclam.conf" | Select-String -Pattern 'Example' -NotMatch) ; Set-Content -Path "clamd.conf" -Value (get-content -Path "clamd.conf" | Select-String -Pattern 'Example' -NotMatch) ; Start-Process -Wait .\freshclam.exe ; Start-Process -NoNewWindow -Wait .\clamscan.exe "--memory --kill" ; cd $env:USERPROFILE\AppData\Local\Temp ; rmdir -R clam +ENTER \ No newline at end of file diff --git a/BadUSB/Show_WiFi_Passwords.txt b/BadUSB/Show_WiFi_Passwords.txt index 57516e25..d7ddf6d1 100644 --- a/BadUSB/Show_WiFi_Passwords.txt +++ b/BadUSB/Show_WiFi_Passwords.txt @@ -1,37 +1,7 @@ GUI r DELAY 1000 -STRING powershell +STRING cmd ENTER DELAY 1000 -STRING mkdir \temp ; cd \temp ; Invoke-WebRequest -Headers @{'Referer' = 'https://www.nirsoft.net/utils/wireless_key.html'} -Uri https://www.nirsoft.net/toolsdownload/wirelesskeyview.zip -OutFile wkv.zip ; Invoke-WebRequest -Uri https://www.7-zip.org/a/7za920.zip -OutFile 7z.zip ; Expand-Archive 7z.zip ; .\7z\7za.exe e wkv.zip +STRING for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | netsh wlan show profiles %j key=clear | findstr /C:"SSID name" /C:"Key Content" ENTER -DELAY 5000 -STRING WKey4567# -ENTER -STRING .\WirelessKeyView.exe /export keys.txt -ENTER -DELAY 1000 -LEFT -ENTER -DELAY 1000 -STRING NOTEPAD.EXE keys.txt -ENTER -DELAY 1000 -CTRL A -CTRL C -ALT F4 -DELAY 1000 -STRING cd \ -ENTER -STRING rmdir -R /temp -ENTER -STRING EXIT -ENTER -GUI r -DELAY 1000 -STRING notepad.exe -ENTER -DELAY 1000 -CTRL V -ENTER -STRING Done... \ No newline at end of file