Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Wednesday, 25 March 2015


Gain knowledge about Router, Router Internal Components and Router Booting process


                      What is Router
A Router is Network Layer or layer3 based device this device is used to route packets from one network to the other network or we can say that router is used to route packets from local network to wide area network. Router always uses the best path to route packets on networks.
As we know that our Desktop computers and Servers have Operating System (O.S.).
Example: Windows XP, Windows 7, Windows Server 2003,2008,2012, Linux, Centos, Ubuntu and more.
Cisco devices also have an OS which is called the IOS (Internetwork Operating System).
The IOS is the command line (CLI) interface which through we can done all the configurations for network devices.
The IOS is stored into the Flash memory.
The Flash memory is a non-volatile memory. Example: In case, the device lost the power the configuration remain saved into the memory and not lost. The configuration can be changed or edit when required.
Here we are showing the router panel from backside that mostly common for most of the models. Look the below screen shot.


Router Ports:
LAN Port: FastEthernet or Giga Ethernet port
WAN port: Serial port
Administration Port: Console Port and AUX Port


Internal Parts of Router:
Read Only Memory (ROM): This is a chip on the motherboard which is coded with a bootstrap program which tells how the IOS should be loaded.
It starts and maintains the router. It contains the POST, mini-IOS and the Bootstrap program.
Random Access Memory (RAM): This holds the running or temporary config, the ARP cache, the routing tables and the software that help router to run.
It is also known as the running config. During boot, the IOS is loaded from the flash to the RAM
Flash Memory: the place where the IOS is actually stored. It DOES NOT erase when we reload the router.
Non Volatile RAM (NVRAM): This holds the configuration for router and switch. The IOS is not stored here, but the configuration register is stored here. NVRAM will not erase if a switch or router is reloaded.

Power On Self-Test (POST): This does automatically check the basic functionality of hardware for router and determines the interfaces present on it.

Mini-IOS: This is the boot loader or RXBOOT, provided by Cisco. This is a small IOS used to bring up and interface and help load the Cisco IOS into flash memory. It is stored in the ROM.
Configuration Register File: This controls how the router should boot up. Usually used while doing password recovery on router. The show version output shows this file. The default value set is 0×2102, which informs to load IOS from flash and to load the configuration to NVRAM.


Router Booting Process:
·         Post to identify the hardware Components.
·         Bootstrap Program is looked up from the ROM
·         IOS is loaded from the Flash memory
·         Flash memory contacting to NVRAM
·         NVRAM configuration is copied into RAM

Thanks,
NetworkSupportSolution

Expert Advice about Router

Read More

Tuesday, 3 March 2015

TCP/IP protocol suite


TCP/IP is not a single protocol, but rather an entire family of protocols.

The network concept of protocols establishes a set of rules for each system to speak the others language in order for them to communicate.  Protocols describe both the format that a message must take as well as the way in which messages are exchanged between computers.

Protocol stack decribes a layered set of protocols working together to provide a set of network functions. Each protocol/layer services the layer above by using the layer below.



Transmission Control Protocol (TCP) and the Internet Protocol (IP), were the first two members of the family to be defined, consider them the parents of the family.

Internet Protocol (IP) envelopes and addresses the data, enables the network to read the envelope and forward the data to its destination and defines how much data can fit in a single packet. IP is responsible for routing of packets between computers.

Internet Protocol (IP) is a connectionless protocol, which means that a session is not created before sending data. It does not guarantee delivery  and does not give acknowledgement of packets that are lost or sent out of order as this is the responsibility of higher layer protocols such as  TCP.

Transmission Control Protocol (TCP) breaks data up into packets that the network can handle efficiently, verifies that all the packets arrive at  their destination, and reassembles the data.

Transmission Control Protocol (TCP) is connection oriented, which means an acknowledgement (ACK) verifies that the host has received each segment  of the message, reliable delivery service.  Acknowledgements are sent by receiving computer, unacknowledged packets are resent. Sequence number are used with acknowledgements to track successful packet transfer

Once the basic concept of the TCP/IP family was developed, many more members of the family were added. Some of the more common protocols are listed here.

Simple Mail Transfer Protocol (SMTP) is used for transferring email across the internet.

File Transfer Protocol (FTP) is used to upload and download files. 

Hyper Text Transfer Protocol (HTTP) is the protocol used to transport web pages.

Address Resolution Protocol (ARP) translates a host's software address to a hardware (or MAC) address (the node address that is set on the network interface card).

Reverse Address Resolution Protocol (RARP) adapted from the ARP protocol and provides reverse functionality. It determines a software address from a hardware (or MAC) address. A diskless workstation uses this protocol during bootup to determine its IP address.

BOOTP is used by diskless workstations. It enables these types of workstations to discover their IP addresses, the address of a server host, and the name of the file that should be loaded into memory and run at bootup.

Dynamic Host Configuration Protocol (DHCP) is used to centrally administer the assignment of IP addresses, as well as other configuration information such as subnet masks and the address of the default gateway. When you use DHCP on a TCP/IP network, IP addresses are assigned to clients dynamically instead of manually.

Internet Control Message Protocol (ICMP) enables systems on a TCP/IP network to share status and error information such as with the use of PING and TRACERT utilities.

Simple Network Management Protocol (SNMP) was designed to enable the analysis and troubleshooting of network hardware. For example, SNMP enables you to monitor workstations, servers, minicomputers, and mainframes, as well as connectivity devices such as bridges, routers, gateways, and wiring concentrators.




Thanks,
NetworkSupportSolution


Understand TCP/IP Protocol suite

Read More

Transport layer is fourth layer of the OSI model.


In computing and telecommunications, the transport layer is layer four of the seven layer OSI model. It responds to service requests from the session layer and issues service requests to the network layer.

Transport Layer is responsible for packet handling, ensures error free delivery, repackages messages, divides messages into smaller packets, and handles error handling.

The purpose of the Transport layer is to provide transparent transfer of data between end users, thus relieving the upper layers from any concern with providing reliable and cost-effective data transfer.

On the Internet there are a variety of Transport services, but the two most common are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).

TCP is the more complicated, providing a connection and byte oriented stream which is almost error free, with flow control, multiple ports, and same order delivery. UDP is a very simple datagram service, which provides limited error reduction and multiple ports.

Transmission Control Protocol (TCP) breaks data up into packets that the network can handle efficiently, verifies that all the packets arrive at their destination, and reassembles the data.

Transmission Control Protocol (TCP) is connection oriented, which means an acknowledgement (ACK) verifies that the host has received each segment of the message, reliable delivery service.  Acknowledgements are sent by receiving computer, unacknowledged packets are resent. Sequence number are used with acknowledgements to track successful packet transfer

If the ACK is not received after a given time period, then the data is resent. If segments are not delivered to the destination device correctly, then the Transport layer can initiate retransmission or inform the upper layers. Uses segmentation, flow control, and error checking to insure packet delivery the purpose of name resolution, either to an IP/IPX address or a network protocol name resolution helps upper layer services communicate segment destinations with lower layer services.

User Datagram Protocol (UDP) provides same services as TCP but is connectionless and unacknowledged.  UDP lets applications send datagrams without the overhead involved in acknowledging packets and maintaining a virtual circuit. UDP is therefore used to broadcast messages across an internetwork, because acknowledgment is unnecessary and overhead is undesirable.





Thanks,

NetworkSupportSolution



Fourth layer of OSI model (transport layer)

Read More

The Network Layer of the OSI model

The Network Layer is Layer 3 of the seven layer OSI model of computer networking.  The key element of the Network Layer are addressing and routing. 

The Network Layer defines how information moves to the correct network address, how messages are addressed and how logical addresses and names are translated into physical  addresses, as well as enabling the option of specifying a service address, known as a sockets or ports. to point the data to the correct program on the destination computer.

Addressing

Each computer on a TCP/IP network has to have a unique, numeric IP address. The IP address is like a mailing address, some of the bits represent the network segment that the computer is on, like the street name of a mailing address. Other bits represent the particular host on the segment, like the house number of a mailing address.

IP addresses have 4 bytes, each of which is referred to as an octet. Since each byte in the address has 8 bits, an IP address is 32 bits long. IP addresses are usually displayed in decimal format where the value of each byte is converted from binary to decimal. This makes them easier to remember. For example, an IP address of 74.52.151.178 is much easier to remember than its binary equivalent of: 01001010.00110100.10010111.10110010

If an IP address represents a mailing address, thing of the service address as a specific room in the house.  The service address is a number that is appended to the IP Address  such as 74.52.151.178:25 where 74.52.151.178 is the IP address and 25 is the service address. In the early days of computer networking the term socket number was use. A well-known range of port numbers is reserved by convention to identify specific service types on a host computer.

On most IP networks, computers have not only IP addresses, but they also have descriptive names that are easier for people to remember and use. This name is called the host name. It's a friendly name assigned to a computer that people can use instead of the numeric IP address

Routing

Routing is the process of selecting which physical path the information should follow from its source to its destination.  The Network Layer manages data traffic and congestion involved in packet switching and routing

Routers are devices that play a significant role in directing the flow of data between two or more networks. Routers make sure that information makes it to the intended destination as well as ensure that information does not go where it is not needed. This is crucial for keeping large volumes of data from clogging connections.

One of the tools a router uses to decide where a packet should go is a configuration table. A configuration table identifies which connections lead to particular groups of addresses and sets priorities for connections to be used and establishes rules for handling both routine and special cases of traffic.

A configuration table can be as simple as a half-dozen lines in the smallest routers, but can grow to massive size and complexity in the very large routers that handle the bulk of Internet messages.

Internet Protocol (IP) envelopes and addresses the data, enables the network to read the envelope and forward the data to its destination and defines how much data can fit in a single packet. 
Internet Protocol (IP)   is a connectionless protocol, which means that a session is not created before sending data. IP is responsible for addressing and  routing of packets between computers. It does not guarantee delivery and does not give acknowledgement of packets that are lost or sent out of order as this is the responsibility of higher layer protocols such as Transmission Control Protocol (TCP).

Time To Live (TTL) is a concept in IP that prevents packets from endlessly looping around the Internet. When a packet leaves a computer the TTL is set to a maximum of 256 Each  router will decrease the TTL by one or more If the TTL reaches Zero, the Router Sends the Source Computer a ICMP-Time Exceeded and discards the packet

Packet Switching
Throughout the standard for Internet Protocol you will see the description of packet switching, "fragment and reassemble internet datagrams when necessary for transmission through small packet networks." A message is divided into smaller parts know as packets before they are sent. Each packet is transmitted individually and can even follow different routes to its destination. Once all the packets forming a message arrive at the destination, they are recompiled into the original message.



Thanks,


NetworkSupportSolution



Third layer of the OSI model (Network Layer)

Read More

The Data Link Layer of the OSI model

The Data Link Layer is Layer 2 of the seven-layer OSI model of computer networking.  The Data Link layer deals with issues on a single segment of the network.

The IEEE 802 LAN/MAN Standards Committee develops Local Area Network standards and Metropolitan Area Network standards. In February 1980, the Institute of Electrical and Electronics Engineers (IEEE) started project 802 to standardize local area networks (LAN). IEEE 802 splits the OSI Data Link Layer into two sub-layers named Logical Link Control (LLC) and Media Access Control (MAC),

The lower sub-layer of the Data Link layer, the Media Access Control (MAC), performs Data Link layer functions related to the Physical layer, such as controlling access and encoding data into a valid signaling format.

The upper sub-layer of the Data Link layer, the Logical Link Control (LLC), performs Data Link layer functions related to the Network layer, such as providing and maintaining the link to the network.

The MAC and LLC sub-layers work in tandem to create a complete frame. The portion of the frame for which LLC is responsible is called a Protocol Data Unit (LLC PDU or PDU).

IEEE 802.2 defines the Logical Link Control (LLC) standard that performs functions in the upper portion of the Data Link layer, such as flow control and management of connection errors.

LLC supports the following three types of connections for transmitting data:
  • Unacknowledged connectionless service:does not perform reliability checks or maintain a connection, very fast, most commonly used
  • Connection oriented service. Once the connection is established, blocks of data can be transferred between nodes until one of the nodes terminates the connection.
  • Acknowledged connectionless service provides a mechanism through which individual frames can be acknowledged

IEEE 802.3 is an extension of the original Ethernet
. includes modifications to the classic Ethernet data packet structure.

The Media Access Control (MAC) sub-layer contains methods that logical topologies can use to regulate the timing of data signals and eliminate collisions.

The MAC address concerns a device's actual physical address, which is usually designated by the hardware manufacturer. Every device on the network must have a unique MAC address to ensure proper transmission and reception of data.  MAC communicates with adapter card.

Carrier Sense Multiple Access / Collision Detection is (CSMA/CD) a set of rules determining how network devices respond when two devices attempt to use a data channel simultaneously (called a collision). Standard Ethernet networks use CSMA/CD. This standard enables devices to detect a  collision.

After detecting a collision, a device waits a random delay time and then attempts to re-transmit the message. If the device detects a collision again, it waits twice as long to try to re-transmit the message. This is known as exponential back off.

IEEE 802.5 uses token passing to control access to the medium. IBM Token Ring is essentially a subset of IEEE 802.5.

The IEEE 802.11 specifications are wireless standards that specify an "over-the-air" interface between a wireless client and a base station or access point, as well as among wireless clients. The 802.11 standards can be compared to the IEEE 802.3™ standard for Ethernet for wired LANs.

The IEEE 802.11 specifications address both the Physical (PHY) and Media Access Control (MAC) layers and are tailored to resolve compatibility issues between manufacturers of Wireless LAN equipment

The IEEE 802.15 Working Group provides, in the IEEE 802 family, standards for low-complexity and low-power consumption wireless connectivity.

IEEE 802.16 specifications support the development of fixed broadband wireless access systems to enable rapid worldwide deployment of innovative, cost-effective and interoperable multi-vendor broadband wireless access products.



Second layer of the OSI Model (Data Link layer)

Read More

The Physical Layer of the OSI model

The Physical Layer is the lowest layer in the seven layer OSI model of computer networking.

The Physical Layer consists of the basic hardware transmission technologies of a network sometime referred to as the physical media.  Physical media provides the electro-mechanical interface through which data moves among devices on the network.

Initially physical media is though of as some sort of wire.  As technology progresses the types of media grows.


Bounded media transmits signals by sending electricity or light over a cable. Unbounded media transmits data without the benefit of a conduit-it might transmit data through open air, water, or even a vacuum.  Simply put, media is the wire, or anything that takes the place of the wire, such as fiber optic, infrared, or radio spectrum technology.

Definitions from the wired world of data transmission:

Public Switched Telephone Network (PSTN), also referred to as Plain Old Telephone Service (POTS), connections run over the standard copper phone lines found in most homes

Integrated Services Digital Network (ISDN) uses a single wire or fiber optic line to carry voice, data, and video signals.

Basic Rate Interface (BRI) is most commonly used in residential ISDN connections. It's composed of two bearer (B) channels at 64 Kbps each for a total of 128 Kbps (used for voice and data) and one delta (D) channel at 16 Kbps (used for controlling the B channels and signal transmission). The total bandwidth is up to 144 Kbps.

Primary Rate Interface (PRI) is most commonly used between a PBX (Private Branch Exchange) at the customer's site and the central office of the phone company. It is composed of  23 B channels at 64 Kbps and one D channel at 64 Kbps. The total bandwidth is up to 1,536 Kbps.

Digital Subscriber Line (DSL) technologies use existing, regular copper phone lines to transmit data. DSL hardware can transmit data using three channels over the same wire.  In a typical set up, a user connected through a DSL hookup can send data at 640 Kbps, receive data at 1.5 Mbps, and still carry on a standard phone conversion over one line.

T-Carrier Technology is a digital transmission service used to create point-to-point private networks and to establish direct connections to Internet Service Providers. It uses  four wires, one pair to transmit and another to receive.

T-1 lines support data transfer at rates of 1.544 megabits per second. Each T-1 line contains 24 channels. The E1 line is the European counterpart that transmits data at 2.048 Mbps.

T-3 has 672 (64 Kbps) channels, for a total data rate of 44.736 Mbps. The E3 line is the European counterpart that transmits data at 34.368 Mbps.

Cable connections provide access to the Internet through the same coaxial cable that brings cable TV into your home. A signal splitter installed by the cable company isolates the Internet signals from the TV signals. The two-way cable connection is always available and can be very fast. Speeds up to 30 Mbps are claimed to be possible, although speeds in the 1 to 2 Mbps range are more typical.

Unbounded media examples of data transmission:

Narrow band radio, laser, and microwave , transmission cannot occur through steel or load bearing walls.

Satellite has a transmission delay of 240 to 300 milliseconds

Terrestrial microwave  is commonly used for long distance voice and video transmissions, and for short distance high speed links between buildings.

Laser is resistant to eavesdropping and capable of high transmission rates; susceptible to attenuation and interference.

Spread spectrum radio frequencies are divided into channel or hops.



Thanks,

NetworkSupportSolution



First layer of the OSI Model (Physical layer)

Read More

Define OSI Model


In our previous article, OSI model explained in simple terms, we kept it simple. 
We will continue on from there to explain some of the details of  the OSI model.  We will do our best to break it down into bite sized chunks to help you understand the concepts.

The OSI (Open Systems Interconnect) reference model was developed in the early 1970s by the International Standards Organization (ISO). Provides a  set of general design guidelines for data-communications systems and also gives a standard way to describe how various portions (layers) of  data-communication systems interact.

The hierarchical layering of protocols on a computer that forms the OSI model is known as a stack. A given layer in a stack sends commands to  layers below it and services commands from layers above it.

The Purpose of the OSI Model:
  • breaks network communication into smaller, simpler parts that are easier to develop.
  • facilitates standardization of network components to allow multiple-vendor development and support.
  • allows different types of network hardware and software to communicate with each other.
  • prevents changes in one layer from affecting the other layers so that they can develop more quickly.
  • breaks network communication into smaller parts to make learning it easier to understand.

The seven layers in order from highest to lowest are Application, Presentation, Session, Transport, Network, Data Link, and Physical can be remembered by using the following memory aide: All People Seem To Need Data Processing.

The Application layer includes network software that directly serves the user, providing such things as the user interface and application features. The Application layer is usually made available by using an Application Programmer Interface (API), or hooks, which are made available by the networking vendor.

The Presentation layer translates data to ensure that it is presented properly for the end user, also handles related issues such as data encryption and compression, and how data is structured, as in a database.

The Session layer comes into play primarily at the beginning and end of a transmission. At the beginning of the transmission, it makes known its intent to transmit. At the end of the transmission, the Session layer determines if the transmission was successful. This layer also manages errors that occur in the upper layers, such as a shortage of memory or disk space necessary to complete an operation, or printer errors.

The Transport layer provides the upper layers with a communication channel to the network. The Transport layer collects and reassembles any packets, organizing the segments for delivery and ensuring the reliability of data delivery by detecting and attempting to correct problems that occurred.

The Network layer main purpose is to decide which physical path the information should follow from its source to its destination.

The Data Link layer provides a system through which network devices can share the communication channel. This function is called media-access control (MAC).

The Physical layer provides the electro-mechanical interface through which data moves among devices on the network.

In the articles that follow we will break down each layer in more detail, covering topics you will need to know as a networking professional.



simply understand it by Ap, pappu,Se, To, Nahi, darte, papa




Thanks,

NetworkSupportSolution





Understand OSI Model in simple terms

Read More

Wednesday, 18 February 2015

How can we HACK a Wi-Fi (WPA) Network? 


Hello Friends!!!

This was the most requested post. You guys wanted to know how to HACK A WIFI. Before starting, please be advised that this is a very long procedure and may take upto 2.5 HOURS. Please remember, this trick will hack a Wi-Fi that is encrypted with WPA. So Let’s get started.
Your Wi-Fi network is your gate to the internet, and since you’re not keen on sharing your connection with any old hooligan who happens to be walking past your home, you secure your network with a password, right? Knowing, as you might, how easy it is to crack a WEP password, you probably secure your network using the more bulletproof WPA security protocol.P
Here’s the bad news: A new, free, open-source tool called Reaver exploits a security hole in wireless routers and can crack most routers’ current passwords with relative ease. Here’s how to crack a WPA or WPA2 password, step by step, with Reaver—and how to protect your network against Reaver attacks. P
In the first section of this post, I’ll walk through the steps required to crack a WPA password using Reaver. You can follow along with either the pictures and the text below. After that, I’ll explain how Reaver works, and what you can do to protect your network against Reaver attacks.
_______________________________________________________________

First, a quick note: As we remind often remind readers when we discuss topics that appear potentially malicious: Knowledge is power, but power doesn’t mean you should be a jerk, or do anything illegal. Knowing how to pick a lock doesn’t make you a thief. Consider this post educational, or a proof-of-concept intellectual exercise. The more you know, the better you can protect yourself.

What You’ll Need

You don’t have to be a networking wizard to use Reaver, the command-line tool that does the heavy lifting, and if you’ve got a blank DVD, a computer with compatible Wi-Fi, and a few hours on your hands, you’ve got basically all you’ll need. There are a number of ways you could set up Reaver, but here are the specific requirements for this guide:



  • The BackTrack 5 Live DVD. BackTrack is a bootable Linux distribution that’s filled to the brim with network testing tools, and while it’s not strictly required to use Reaver, it’s the easiest approach for most users. Download the Live DVD from BackTrack’s download page and burn it to a DVD. You can alternately download a virtual machine image if you’re using VMware, but if you don’t know what VMware is, just stick with the Live DVD. As of this writing, that means you should select BackTrack 5 R3 from the Release drop-down, select Gnome, 32- or 64-bit depending on your CPU (if you don’t know which you have, 32 is a safe bet), ISO for image, and then download the ISO.
  • A computer with Wi-Fi and a DVD drive. BackTrack will work with the wireless card on most laptops, so chances are your laptop will work fine. However, BackTrack doesn’t have a full compatibility list, so no guarantees. You’ll also need a DVD drive, since that’s how you’ll boot into BackTrack. I used a six-year-old MacBook Pro.
  • A nearby WPA-secured Wi-Fi network. Technically, it will need to be a network using WPA security with the WPS feature enabled. I’ll explain in more detail in the “How Reaver Works” section how WPS creates the security hole that makes WPA cracking possible.
  • A little patience. This is a 4-step process, and while it’s not terribly difficult to crack a WPA password with Reaver, it’s a brute-force attack, which means your computer will be testing a number of different combinations of cracks on your router before it finds the right one. When I tested it, Reaver took roughly 2.5 hours to successfully crack my password. The Reaver home page suggests it can take anywhere from 4-10 hours. Your mileage may vary.

Let’s Get Crackin’P

At this point you should have BackTrack burned to a DVD, and you should have your laptop handy.

Step 1: Boot into BackTrackP

To boot into BackTrack, just put the DVD in your drive and boot your machine from the disc. (Google around if you don’t know anything about live CDs/DVDs and need help with this part.) During the boot process, BackTrack will prompt you to to choose the boot mode. Select “BackTrack Text – Default Boot Text Mode” and press Enter.
Eventually BackTrack will boot to a command line prompt. When you’ve reached the prompt, type startx and press Enter. BackTrack will boot into its graphical interface.

Step 2: Install ReaverP

Update: This step is no longer necessary, as Reaver comes pre-installed on Backtrack 5 R3. Skip down to Step 3.
Reaver has been added to the bleeding edge version of BackTrack, but it’s not yet incorporated with the live DVD, so as of this writing, you need to install Reaver before proceeding. (Eventually, Reaver will simply be incorporated with BackTrack by default.) To install Reaver, you’ll first need to connect to a Wi-Fi network that you have the password to.
  1. Click Applications > Internet > Wicd Network Manager
  2. Select your network and click Connect, enter your password if necessary, click OK, and then click Connect a second time.
Now that you’re online, let’s install Reaver. Click the Terminal button in the menu bar (or click Applications > Accessories > Terminal). At the prompt, type:
 
apt-get update
P
 
And then, after the update completes:P
 
apt-get install reaver
P
 
If all went well, Reaver should now be installed. It may seem a little lame that you need to connect to a network to do this, but it will remain installed until you reboot your computer. At this point, go ahead and disconnect from the network by opening Wicd Network Manager again and clicking Disconnect. (You may not strictly need to do this. I did just because it felt like I was somehow cheating if I were already connected to a network.)

Step 3: Gather Your Device Information, Prep Your Crackin’P

In order to use Reaver, you need to get your wireless card’s interface name, the BSSID of the router you’re attempting to crack (the BSSID is a unique series of letters and numbers that identifies a router), and you need to make sure your wireless card is in monitor mode. So let’s do all that.
Find your wireless card: Inside Terminal, type:
 
iwconfig
P
 
Press Enter. You should see a wireless device in the subsequent list. Most likely, it’ll be named wlan0, but if you have more than one wireless card, or a more unusual networking setup, it may be named something different.




Put your wireless card into monitor mode: Assuming your wireless card’s interface nameis wlan0, execute the following command to put your wireless card into monitor mode:
airmon-ng start wlan0
P
This command will output the name of monitor mode interface, which you’ll also want to make note of. Most likely, it’ll be mon0, like in the screenshot below. Make note of that.


Find the BSSID of the router you want to crack: Lastly, you need to get the unique identifier of the router you’re attempting to crack so that you can point Reaver in the right direction. To do this, execute the following command:
airodump-ng wlan0
P
(Note: If airodump-ng wlan0 doesn’t work for you, you may want to try the monitor interface instead—e.g., airodump-ng mon0.)P
You’ll see a list of the wireless networks in range—it’ll look something like the screenshot below:P




When you see the network you want, press Ctrl+C to stop the list from refreshing, then copy that network’s BSSID (it’s the series of letters, numbers, and colons on the far left). The network should have WPA or WPA2 listed under the ENC column. (If it’s WEP, use our previous guide to cracking WEP passwords.)P
Now, with the BSSID and monitor interface name in hand, you’ve got everything you need to start up Reaver.P

Step 4: Crack a Network’s WPA Password with ReaverP

Now execute the following command in the Terminal, replacing bssid and moninterface with the BSSID and monitor interface and you copied down above:
reaver -i moninterface -b bssid -vv
P
For example, if your monitor interface was mon0 like mine, and your BSSID was 8D:AE:9D:65:1F:B2 (a BSSID I just made up), your command would look like
reaver -i mon0 -b 8D:AE:9D:65:1F:B2 -vv
P
Press Enter, sit back, and let Reaver work its disturbing magic. Reaver will now try a series of PINs on the router in a brute force attack, one after another. This will take a while. In my successful test, Reaver took 2 hours and 30 minutes to crack the network and deliver me with the correct password. As mentioned above, the Reaver documentation says it can take between 4 and 10 hours, so it could take more or less time than I experienced, depending. When Reaver’s cracking has completed, it’ll look like this



A few important factors to consider:Reaver worked exactly as advertised in my test, but it won’t necessarily work on all routers (see more below). Also, the router you’re cracking needs to have a relatively strong signal, so if you’re hardly in range of a router, you’ll likely experience problems, and Reaver may not work. Throughout the process, Reaver would sometimes experience a timeout, sometimes get locked in a loop trying the same PIN repeatedly, and so on. I just let it keep on running, and kept it close to the router, and eventually it worked its way through.
Also of note, you can also pause your progress at any time by pressing Ctrl+C while Reaver is running. This will quit the process, but Reaver will save any progress so that next time you run the command, you can pick up where you left off-as long as you don’t shut down your computer (which, if you’re running off a live DVD, will reset everything).

How Reaver WorksP

Now that you’ve seen how to use Reaver, let’s take a quick overview of how Reaver works. The tool takes advantage of a vulnerability in something called Wi-Fi Protected Setup, or WPS. It’s a feature that exists on many routers, intended to provide an easy setup process, and it’s tied to a PIN that’s hard-coded into the device. Reaver exploits a flaw in these PINs; the result is that, with enough time, it can reveal your WPA or WPA2 password.



How to HACK a Wi-Fi (WPA) Network

Read More

Copyright © 2014 Network Support Solution | Designed With By Blogger Templates
Scroll To Top