packet sniffer is a wiretap that eavesdrops network traffic.
Ethernet defines the way the data gets transmitted and sniffers catch this.
Ethernet actually uses sublayers to transmit data.
The physical takes care of the wires.
The logical retransmits data if neccesary.
The MAC is responsible for the formating of the data once it hits the wires.
Now you have probably heard the term MAC before but what exactly is it?
MAC stands for Media Acces Control. Your ethernet adapter has an ethernet (mac) address.
In windows you can check this by typing 'winipcfg' from a run box and choosing the appropriate network adapter (ipconfig /all for NT). This adress is a 48 bit number, displayed in Hex. The number is divided into two sections and should provide a unique adress for every network adapter.
The first halve identifies the manufacturer of the NIC and the second provides a serial number.
Now once an ethernet packet enters the wires it contains the following data:
Source MAC
Destination MAC
:HEX code:
IP packet
CRC
Explanation follows:
Simple.
The source and destination MAC should be clear.
The HEX code contains hexidecimal values so that the recieving computer knows what to do with it.
/*note: ethernet works with different protocols like netbeui and ipx/spx
The IP packet is the incapsulated "".
CRC, Webopedia says this:
Abbreviation of cyclic redundancy check, a common technique for detecting data transmission errors.
More.
TCP/IP decides, after negotiation, how to transmit data and then turns packets over to ethernet. Ethernet puts the right wrappings around it and sends it to the next destination. Once a packet hits the next destination, ethernet deciphers it and hands over control to the appropriate protocol. It might be forwarded, the protocol decides.
The Adres Resolution Protocol which is defined in: (rfc's are available from rfc-editor.org) might be worth checking out.
Typing arp -a from a command prompt gives you some information too.
So once a packet hits the ethernet wires it looks like this:
[ethernet[ip[tcp]]].
Packets vary in size. Sniffing on complete packets would not be a logic thing to do.
There are various reason you would like to sniff the network:
- Intrusion detection
- Network fault analysis
- Spying on conversation
- Stealing passwords
- Curiosity
Now normally when your box recieves a packet that should be forwarded that is the only thing done. A sniffer will capture data for analysis and send it through to the destination anyway. That makes it hard to detect sniffer attacks. A good placed sniffer can collect tons of valuable information. You could for example use a sniffer to find out what data you transmit to MS when you use update.
Now any good sniffer will decode the packets it filters for you and give you somewhat readable text. It will help you a great deal if you know your way around the various numbersystems as well as ascii.
To use a sniffer to attack somebody you will have to break in on the conversation somewhere.
That means either the victim or the victims ISP's computer.
Setting up an ICMP redirect could also do the trick.
Different protocols send passwords in clear text over the wires. These include:
Ftp
Telnet/rlogin
Http
POP.
Now to get you started you could get Windump which is the Windows porting off the popular Unix based Tcpdump.
Windump is available from http://windump.polito.it
It comes as source code distribution as well as binary.
Read the online manual for the parameters.
For a quick start 'windump -D (gives you available adapters)
windump -i 1 (starts windump with the first listed adapter)
Now after you capture packets you will have to use some sort of protocol analyzer to decode it.
Some sniffers include these where others do not.
Here come some sources where you can obtain packet-sniffers (msdos/windows):
ethereal:
http://www.ethereal.com/
etherpeek:
http://www.wildpackets.com/
gobbler:
http://nmrc.org/files/msdos/gobbler.zip
ethload:
http://ftp://ftp.simtel.net/pub/simtelnet/m...n/ethld200.izp
(linux):
tcpdump:
http://www.tcpdump.org/
LinSniff:
http://packetstorm.securify.com/
- Anonymous Mass Mailers (1)
- bots (1)
- browser (1)
- cool links (1)
- cracking tools (3)
- dos commands (3)
- ebooks (104)
- Exploits (14)
- file upload (3)
- firefox (1)
- flash games (2)
- free space (2)
- gmail (1)
- google (7)
- google chrome Vulnerability (7)
- graphics (5)
- greasemonkey scripts (8)
- gtalk (4)
- hacking (12)
- hacking ebooks (45)
- hacking tools (42)
- hacking tutorials (22)
- haking tutorials (37)
- hosting (1)
- image hosting (1)
- information (11)
- invisible (2)
- IP Scanner (14)
- java (2)
- javascript (4)
- keygen (1)
- Keyloggers (3)
- magazine (1)
- Mail Bombers (1)
- mcse (1)
- muliti login (1)
- networking (2)
- news (9)
- orkut (15)
- Port Scanner (14)
- proxy (2)
- RapidShare Libraries (1)
- regedit (1)
- Sniffers (1)
- sniffing (1)
- sql injection (5)
- tips n trics (41)
- upload sites (3)
- virus (9)
- virus removal (6)
- visual c++ (2)
- Vulnerability Scanner (1)
- wallpapers (5)
- web based hackiing (1)
- web design (1)
- web templates (1)
- Wireless Hacking (5)
-
▼
2009
(127)
-
▼
August 2009
(33)
- CBT In-House IT Training Library
- Lynda.com Web Design Tutorials Collection
- Learnkey MCSE Training Suite 64 CDs Complete
- Huge Collection Of Hack Tutorial Videos
- Disabling Display of Drives in My Computer
- Pop a banner each time Windows Boots
- Deleting System Options from the Start menu
- Deleting System Options from the Start menu
- Cleaning Recent Docs Menu and the RUN MRU
- Can u Delete Recycle Bin?Attributes
- To change the icons used for specific drives in ex...
- How to remove the shortcut arrow from the desktop ?
- TURN NUMLOCK ON AT LOGON.!!
- REMOVING SERVICES DEPENDENCIES.!!
- TURN ON UR PC IN JUST 10 SECONDS
- Structure of Windows XP Registry
- Customize Windows Media Player Title Bar
- Specify Default IE Download Directory
- Force Use of Classic Start Menu
- Hide/Show Internet Explorer Desktop Icon
- Increase Menu Display Speed
- Change the Location of Special Folders
- Add Administrator Account to Log In Screen
- Increase Internet Download Connections
- Hide/Show My Documents Folder on Desktop
- Create a Hidden User Account
- Welcome Screen Logon Vs Classic Logon
- Enable/Disable Save Password in DUN
- Complete Batch Tutorial By "ANKIT FADIA"
- bitdefender.exe virus in c++
- Make & Distribute Infected CD
- remote admin tool for free
- aradamax keylogger
- ► March 2009 (40)
- ► February 2009 (17)
-
▼
August 2009
(33)
-
►
2008
(211)
- ► November 2008 (13)
- ► September 2008 (198)
Blog Archive
Subscribe to:
Posts (Atom)