Notice

Join This Channel To Get Latest Phone Tips,Tricks,News,Network Security Course,Hacks etc. For Free on Your Mobile!! ... Join our Facebook Discussion Group -Regards Ankit

27 November 2009

Netbios Hack



NetBIOS Hacking-What is it?-
NetBIOS Hacking is the art of hacking into someone else’s computer through your computer. NetBIOS stands for “Network Basic Input Output System.” It is a way for a LAN or WAN to share folders, files, drives, and printers.

-How can this be of use to me?-
Most people don’t even know, but when they’re on a LAN or WAN they could possibly have their entire hard drive shared and not even know. So if we can find a way into the network, their computer is at our disposal.

-What do I need?-
Windows OS
Cain and Abel (http://www.oxid.it/)
==========================
-[Step 1, Finding the target.]-
==========================
So first off we need to find a computer or the computer to hack into. So if your plugged in to the LAN, or connected to the WAN, you can begin. Open up Cain and Abel. This program has a built in sniffer feature. A sniffer looks for all IP addresses in the local subnet. Once you have opened up the program click on the sniffer tab, click the Start/Stop sniffer, and then click the blue cross

Another window will pop up, make sure “All host in my subnet” is selected, and then click ok.

It should begin to scan.

Then IP’s, computer names, and mac addresses will show up.
Now remember the IP address of the computer you are going to be breaking into.
If you can’t tell whether the IP address is a computer, router, modem, etc, that’s ok.
During the next step we will begin our trial and error.
==========================
-[Part 2, Trial and Error]-
==========================
Now, we don’t know if we have our designated target, or if we have a computer or printer, or whatever else is on the LAN or WAN.
If you did get the IP of the target though, I still recommend reading through this section, for it could be helpful later on.
Click on the start menu and go to run, type in cmd, and click ok.
This should bring up the command prompt.
From here we will do most of the hacking.
Now I will be referring to certain commands that need to be inputted into the command prompt.
I will put these commands in quotes, but do not put the quotes in the code when you type it into the prompt.
I am only doing this to avoid confusion.
Let’s get back to the hacking.
Type in “ping (IP address of the target).” For example in this tutorial, “ping 192.168.1.103.”
This will tell us if the target is online.
If it worked, it will look something like this (note, I have colored out private information):

IF it didn’t work, meaning that the target is not online, it will look something like this:

If the target is not online, either switch to a different target, or try another time. If the target is online, then we can proceed.
==========================
-[Part 3, Gathering the Information.]-
==========================

Now, input this command “nbtstat –a (IP address of target).” An example would be “nbtstat –a 192.168.1.103.”
This will show us if there is file sharing enabled, and if there is, it will give us the: currently logged on user, workgroup, and computer name.
Link Quebrado/Link para figura'" oncontextmenu="if(aa44==0){if(imgh44>imgw44){document.getElementById('bfimg44').height=imgh44};if(imgw44>imgh44){document.getElementById('bfimg44').width=imgw44};aa44=1}else{if(this.height>200 && this.height>=this.width){this.height=200};if(this.width>200 && this.width>=this.height){this.width=200};aa44=0};return false" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvE4NbqK2bRNbFFCkbJYAJS2HnZMKfc_yHD-nGfTqES9nm9V6aTY3JVBKikwDVjunrShSe_pnG4CYxhXcR-68Ma0Sb2hzUGxNFqCT8wuUwXCKM_Re6ghHE62_uL_Eyc2_XdF55CK0KcoA/s400/netbios1.jpg" style="" id="bfimg44" onload="aa44=0;imgh44=this.height;imgw44=this.width;if(this.height>200 && this.height>=this.width){this.height=200}else if(this.width>800 && this.width>=this.height){this.width=800;};this.style.display='';document.getElementById('loadi44').style.display='none';" border="0">

Ok, you’re probably wondering, “What does all this mean to me?” Well, this is actually very important, without this, the hack would not work. So, let me break it down from the top to bottom. I will just give the first line of information, and then explain the paragraph that follows it.

The information right below the original command says: “Local Area Connection,” this information tells us about our connection through the LAN, and in my case, I am not connected through LAN, so the host is not found, and there is no IP.
The information right below the “Local Area Connection,” is “Wireless Network Connection 2:” It gives us information about the connection to the target through WAN. In my case I am connected through the WAN, so it was able to find the Node IpAddress. The Node IpAddress is the local area IP of the computer you are going to break into.

The NetBIOS Remote Machine Name Table, give us the workgroup of our computer, tells us if it is shared, and gives us the computer name. Sometimes it will even give us the currently logged on user, but in my case, it didn’t. BATGIRL is the name of the computer I am trying to connect to. If you look to the right you should see a <20>. This means that file sharing is enabled on BATGIRL. If there was not a <20> to the right of the Name, then you have reached a dead end and need to go find another IP, or quit for now. Below BATGIRL is the computers workgroup, SUPERHEROES. If you are confused about which one is the workgroup, and the computer, look under the Type category to the right of the < > for every Name. If it says UNIQUE, it is one system, such as a printer or computer. If it is GROUP, then it is the workgroup
==========================
-[Step 4, Breaking In]-
==========================

Finally it’s time.
By now we know: that our target is online, our target has file sharing, and our target’s computer name.
So it’s time to break in.
We will now locate the shared drives, folders, files, or printers. Type in “net view \\(IP Address of Target)”
An example for this tutorial would be: “net view \\192.168.1.103”
Link Quebrado/Link para figura'" oncontextmenu="if(aa51==0){if(imgh51>imgw51){document.getElementById('bfimg51').height=imgh51};if(imgw51>imgh51){document.getElementById('bfimg51').width=imgw51};aa51=1}else{if(this.height>200 && this.height>=this.width){this.height=200};if(this.width>200 && this.width>=this.height){this.width=200};aa51=0};return false" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh0gUO3s6_Vr3AgBHT6XJTmZu6NxA6sd2BYlsbMIYTdc4GxlgZ2ItSrX6By_bdsWeOsKqZrUoY7TQQonmHA7-Jz3MnbClnmD-d12kF8MjB3xUIHlxxRzVeOAlacuhVJVwy0MM_UFxsabc/s400/netbios2.jpg" style="" id="bfimg51" onload="aa51=0;imgh51=this.height;imgw51=this.width;if(this.height>200 && this.height>=this.width){this.height=200}else if(this.width>800 && this.width>=this.height){this.width=800;};this.style.display='';document.getElementById('loadi51').style.display='none';" border="0">
We have our just found our share name. In this case, under the share name is “C,” meaning that the only shared thing on the computer is C. Then to the right, under Type, it says “Disk.” This means that it is the actual C DISK of the computer. The C DISK can sometimes be an entire person’s hard drive.
Link Quebrado/Link para figura'" oncontextmenu="if(aa55==0){if(imgh55>imgw55){document.getElementById('bfimg55').height=imgh55};if(imgw55>imgh55){document.getElementById('bfimg55').width=imgw55};aa55=1}else{if(this.height>200 && this.height>=this.width){this.height=200};if(this.width>200 && this.width>=this.height){this.width=200};aa55=0};return false" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglBdIDW9R25BJzrgzGhc82F7CaaknPwQebxf5ECSEQ_2Lrek5YAsmTOtznWD-ZsznjuQmnVvGEWu4JH-OeRYkmVKQ-obVeECcuX9kftCbCKeKyr8BNU8FRMqahphhDSf5d3ZaiprGTCyw/s400/netbios3.jpg" style="" id="bfimg55" onload="aa55=0;imgh55=this.height;imgw55=this.width;if(this.height>200 && this.height>=this.width){this.height=200}else if(this.width>800 && this.width>=this.height){this.width=800;};this.style.display='';document.getElementById('loadi55').style.display='none';" border="0">
All's that is left to do is “map” the shared drive onto our computer. This means that we will make a drive on our computer, and all the contents of the targets computer can be accessed through our created network drive. Type in “net use K: \\(IP Address of Target)\(Shared Drive). For my example in this tutorial, “net use K: \\192.168.1.103\C.” Ok, let’s say that you plan on doing this again to a different person, do u see the “K after “net use?” This is the letter of the drive that you are making on your computer. It can be any letter you wish, as long as the same letter is not in use by your computer. So it could be “net use G...,” for a different target.
As you can see, for my hack I have already used “K,” so I used “G” instead.
You may also do the same for multiple hacks.
If it worked, it will say “The command completed successfully.”
If not, you will have to go retrace you steps.
Now open up “my computer” under the start menu, and your newly created network drive should be there.
Link Quebrado/Link para figura'" oncontextmenu="if(aa56==0){if(imgh56>imgw56){document.getElementById('bfimg56').height=imgh56};if(imgw56>imgh56){document.getElementById('bfimg56').width=imgw56};aa56=1}else{if(this.height>200 && this.height>=this.width){this.height=200};if(this.width>200 && this.width>=this.height){this.width=200};aa56=0};return false" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj46b889Z-q8acjHcG8U53xojNRnyw6xhI-hOJao47aD7fZaRBn2XyD844baS_f86PXNkIDvCLG7spI-CtAgPvVLf0VLiQytLTx3IqOQGB97BTeoYJ4WkUGwkkCtUvsm1MPmESiyATwmUI/s400/netbios4.jpg" style="" id="bfimg56" onload="aa56=0;imgh56=this.height;imgw56=this.width;if(this.height>200 && this.height>=this.width){this.height=200}else if(this.width>800 && this.width>=this.height){this.width=800;};this.style.display='';document.getElementById('loadi56').style.display='none';" border="0" height="200">Now, if you disconnect from the WAN or LAN, you will not be able to access this drive, hence the name Network Drive.
The drive will not be deleted after you disconnect though, but you won’t be able to access it until you reconnect to the network.
So if you are doing this for the content of the drive, I recommend dragging the files and folders inside of the drive onto your computer,
because you never know if the target changes the sharing setting.
If you are just doing this to hack something, then go explore it and have some well deserved fun!

Congratulations! You’re DONE!

-Commands used in this tutorial:
PING
NBTSTAT -a (IP Address of Target)
NET VIEW \\(IP Address of Target)
NET USE K: \\(IP Address of Target)\(SHARENAME)




Enjoy...

Views This Month

 

HaCk-O-PeDia - The Hacker's Encyclopedia. Copyright 2010 All Rights Reserved To Ankit