Packet analyzer explained
A packet analyzer (also packet sniffer or network analyzer)[1] [2] [3] [4] [5] [6] [7] [8] is a computer program or computer hardware such as a packet capture appliance that can analyze and log traffic that passes over a computer network or part of a network.[9] Packet capture is the process of intercepting and logging traffic. As data streams flow across the network, the analyzer captures each packet and, if needed, decodes the packet's raw data, showing the values of various fields in the packet, and analyzes its content according to the appropriate RFC or other specifications.
A packet analyzer used for intercepting traffic on wireless networks is known as a wireless analyzer - those designed specifically for WiFi networks are WiFi analyzers. While a packet analyzer can also be referred to as a network analyzer or protocol analyzer these terms can also have other meanings. Protocol analyzer can technically be a broader, more general class that includes packet analyzers/sniffers.[10] However, the terms are frequently used interchangeably.[11]
Capabilities
On wired shared-medium networks, such as Ethernet, Token Ring, and FDDI, depending on the network structure (hub or switch),[12] it may be possible to capture all traffic on the network from a single machine. On modern networks, traffic can be captured using a network switch using port mirroring, which mirrors all packets that pass through designated ports of the switch to another port, if the switch supports port mirroring. A network tap is an even more reliable solution than to use a monitoring port since taps are less likely to drop packets during high traffic load.
On wireless LANs, traffic can be captured on one channel at a time, or by using multiple adapters, on several channels simultaneously.
On wired broadcast and wireless LANs, to capture unicast traffic between other machines, the network adapter capturing the traffic must be in promiscuous mode. On wireless LANs, even if the adapter is in promiscuous mode, packets not for the service set the adapter is configured for are usually ignored. To see those packets, the adapter must be in monitor mode. No special provisions are required to capture multicast traffic to a multicast group the packet analyzer is already monitoring, or broadcast traffic.
When traffic is captured, either the entire contents of packets or just the headers are recorded. Recording just headers reduces storage requirements, and avoids some privacy legal issues, yet often provides sufficient information to diagnose problems.
Captured information is decoded from raw digital form into a human-readable format that lets engineers review exchanged information. Protocol analyzers vary in their abilities to display and analyze data.
Some protocol analyzers can also generate traffic. These can act as protocol testers. Such testers generate protocol-correct traffic for functional testing, and may also have the ability to deliberately introduce errors to test the device under test's ability to handle errors.[13] [14]
Protocol analyzers can also be hardware-based, either in probe format or, as is increasingly common, combined with a disk array. These devices record packets or packet headers to a disk array.
Uses
Packet analyzers can:
- Analyze network problems
- Detect network intrusion attempts
- Detect network misuse by internal and external users
- Documenting regulatory compliance through logging all perimeter and endpoint traffic
- Gain information for effecting a network intrusion
- Identify data collection and sharing of software such as operating systems (for strengthening privacy, control and security)
- Aid in gathering information to isolate exploited systems
- Monitor WAN bandwidth utilization
- Monitor network usage (including internal and external users and systems)
- Monitor data in transit
- Monitor WAN and endpoint security status
- Gather and report network statistics
- Identify suspect content in network traffic
- Troubleshoot performance problems by monitoring network data from an application
- Serve as the primary data source for day-to-day network monitoring and management
- Spy on other network users and collect sensitive information such as login details or users cookies (depending on any content encryption methods that may be in use)
- Reverse engineer proprietary protocols used over the network
- Debug client/server communications
- Debug network protocol implementations
- Verify adds, moves, and changes
- Verify internal control system effectiveness (firewalls, access control, Web filter, spam filter, proxy)
Packet capture can be used to fulfill a warrant from a law enforcement agency to wiretap all network traffic generated by an individual. Internet service providers and VoIP providers in the United States must comply with Communications Assistance for Law Enforcement Act regulations. Using packet capture and storage, telecommunications carriers can provide the legally required secure and separate access to targeted network traffic and can use the same device for internal security purposes. Collecting data from a carrier system without a warrant is illegal due to laws about interception. By using end-to-end encryption, communications can be kept confidential from telecommunication carriers and legal authorities.
Notable packet analyzers
See main article: Comparison of packet analyzers.
See also
External links
Notes and References
- Book: Chapple . Mike . Stewart . James Michael . Gibson . Darril . (ISC)2 CISSP Certified Information Systems Security Professional Official Study Guide . 2018 . John Wiley & Sons . 978-1-119-47587-3 . en . A sniffer (also called a packet analyzer or protocol analyzer) is a software application that captures traffic traveling over the network. . March 23, 2023 . April 5, 2023 . https://web.archive.org/web/20230405072609/https://books.google.com/books?id=psJVDwAAQBAJ&pg=PA647 . live .
- Book: Rakibul . Hoque, Md . Edward . Bashaw, R. . Cross-Border E-Commerce Marketing and Management . 2020 . IGI Global . 978-1-7998-5824-9 . 186 . Packet Sniffing: It is also known as packet analyzer, protocol analyzer . March 23, 2023 . April 5, 2023 . https://web.archive.org/web/20230405180903/https://books.google.com/books?id=xrkIEAAAQBAJ&pg=PA186 . live .
- Book: Trost . Ryan . Practical Intrusion Analysis: Prevention and Detection for the Twenty-First Century: Prevention and Detection for the Twenty-First Century . 2009 . Pearson Education . 978-0-321-59188-3 . A packet sniffer (also known as a packet analyzer, protocol analyzer, or networkanalyzer) monitors network traffic . March 23, 2023 . April 5, 2023 . https://web.archive.org/web/20230405072610/https://books.google.com/books?id=3y2fhCaJJA0C&pg=PT59 . live .
- Book: Cyber Law, Privacy, and Security: Concepts, Methodologies, Tools, and Applications . 2019 . IGI Global . 978-1-5225-8898-6 . 58 . Packet Sniffing: A packet analyzer, also called as a network analyzer, protocol analyzer or packet sniffer . March 23, 2023 . April 6, 2023 . https://web.archive.org/web/20230406043813/https://books.google.com/books?id=OpGbDwAAQBAJ&pg=PA58 . live .
- Asrodia . Pallavi . Patel . Hemlata . Analysis of Various Packet Sniffing Tools for Network Monitoring and Analysis . International Journal of Electrical, Electronics and Computer Engineering . 2012 . 55 . 10.1.1.429.567 . 2277-2626 . Packet Sniffing... also known as Network or Protocol Analyzer or Ethernet Sniffer.
- Web site: What is a Packet Sniffer? . www.kaspersky.com . 2018 . December 26, 2021 . August 30, 2023 . https://web.archive.org/web/20230830125455/https://www.kaspersky.com/resource-center/definitions/what-is-a-packet-sniffer . live .
- Web site: What is Network Packet Capture? . www.endace.com . 2023 . April 5, 2023 . July 30, 2023 . https://web.archive.org/web/20230730185317/https://www.endace.com/learn/what-is-network-packet-capture . live .
- Web site: Definition of network analyzer . PCMAG . December 26, 2021 . April 5, 2023 . https://web.archive.org/web/20230405180906/https://www.pcmag.com/encyclopedia/term/network-analyzer . live .
- Book: Law of Internet Security and Privacy. Kevin J. Connolly. 131. 2003. 978-0-7355-4273-0. Aspen Publishers.
- Sikos . Leslie F. . Packet analysis for network forensics: A comprehensive survey . Forensic Science International: Digital Investigation . 2020 . 32 . 200892 . 10.1016/j.fsidi.2019.200892 . 212863330 . 2666-2817 . Those protocol analyzers that are designed for packet analysis are called packet analyzers (packet sniffers, sometimes network analyzers).. free .
- Book: Poulton . Don . MCTS 70-642 Cert Guide: Windows Server 2008 Network Infrastructure, Configuring . 2012 . Pearson Education . 978-0-13-280216-1 . protocol analyzer. Also known as a network analyzer or packet analyzer, a protocol analyzer is a hardware device or software program that enables you to capture, store, and analyze each packet that crosses your network . March 23, 2023 . April 13, 2023 . https://web.archive.org/web/20230413100037/https://books.google.com/books?id=VQuWAAAAQBAJ&pg=PT1267 . live .
- Web site: Network Segment Definition . www.linfo.org . January 14, 2016 . June 7, 2023 . https://web.archive.org/web/20230607181215/http://www.linfo.org/network_segment.html . live .
- Web site: Lab Protocol Analyzers . 2023-06-30 . www.amilabs.com . June 30, 2023 . https://web.archive.org/web/20230630023940/https://www.amilabs.com/labanalyzers.htm . live .
- Web site: shivakumar . 2020-12-18 . Where is Protocol analyzer used? . 2023-06-30 . Prodigy Technovations . en-US . June 30, 2023 . https://web.archive.org/web/20230630025446/https://prodigytechno.com/where-protocol-analyzer-is-used/ . live .