Use and skills of Iris network sniffer

Source: Internet
Author: User

(The following content is translated from the help file provided by IRIS.

1. [Iris overview]

A good sniffer. Sniff is an English sniffing device. It is a computer-mounted bug that monitors data transmitted through the computer.
  

2. [Iris installation location]

As a sniffer, it can only capture packets from the machine where it is located. Therefore, if you want to enable it to capture as much information as possible, you should understand the network structure before installation. For example, in a network with a ring topology, any machine installed on the network can capture information packages of other machines (not all of them, of course, it is very likely that data from the other two machines cannot be captured, but only information related to the machine can be captured. For example, if you want to detect the filtering effect of a firewall, you can install Iris inside and outside the firewall to capture and compare the information.

3. [configure iris]

Capture)

Run continuously: When the storage data buffer is insufficient, iris will overwrite the original data packet.

Stop capture after filling Buffer: When the buffer for storing data is full, iris stops data packet interception and stops recording.

Load this filter at startup: When the capture function is started, import the filter file and apply the file, so that you can debug the file using the command line.

Scroll packets list to ensure last packet visible: Generally, it is to attach the captured data packet to the back of the previous capture result and scroll forward.

Use Address Book: Use address book to save the MAC address and remember the MAC address and network host name. The IP address is also displayed by NetBIOS name.

Decode)

Use DNS: Use domain name resolution

Edit DNS File: You can use this option to edit the local resolution file (host ).

HTTP Proxy: Use http to use the proxy server and edit the port number. Port 80 by default

Decode UDP protocol rams: Decode UDP protocol

Scroll sessions list to ensure last session visible: displays the intercepted data packets at the top of the capture window.

Use Address Book: Same as the use address book in capture

Adapters (Network configurator)

Select the network configurator (NIC) from which to intercept data.

Guard (alarm and log options)

Enable alarm sound

Play this wave file: select audio and audio. The sound format is .wav.

Log to file: Start the log file. If this option is selected, data packets that meet the rules are intercepted and recorded in the log file.

Ignore all LAN connections: Iris can identify whether the address is a local address through a local IP address and subnet mask. If this option is not selected, iris will accept all data packets (including packets sent and received by the local machine ). If selected, packets from the local network are not accepted.

Ignore connections on these>: filter the specified port, which can be selected from the list.

Use software filter: The software filter solution takes effect. When not selected, the software accepts all data. In addition, you can use the software filter only when the apply filter to incoming packets is selected.

Miscellaneous (miscellaneous functions)

Option description

Packet Buffer: set the maximum number of captured data packets to be saved (the default value is 2000)

Stop when free disk space DROPS: When the disk space is lower than the specified value, iris will stop capturing and recording data.

Enable CPU overload protection when the CPU usage reaches 100% for four consecutive seconds, iris stops running. The record does not start until it returns to normal.

Start automatically with Windows: Click here to add Iris to the Startup Group.

Check update when program start: whether to check the updates of the software when started.

4 [task]

SCHEDULE: Configure Iris to capture data packets at the specified time. Blue indicates capture, and white indicates stop capture.

5. [Create a filter condition]

A. hardware filter ):

Promiscuous (noisy mode): enables the NIC to be in the out-of-band status, which is the default status.

Directed: only packets sent to the network configurator are accepted, while others are not.

Multicast (multi-target): capture multi-point transmitted data packets

All multicast (all targets): capture all multi-target packets

Broadcast (broadcast) only captures broadcast streams, which have the same characteristics. The target MAC addresses are all FF: FF
  

B. packet capture type matching (Layer 2, 3 ):

This filtering setting is located on the second and third layers of the DOD model (Layer 4)-network layer and transport layer.

You can use this filter setting to filter data of different protocol types.

Include: data including this protocol type will be captured;

Exclude: indicates that data including this protocol type will be ignored;

You can also customize the protocol type by configuring the Proto. dat file. For Layer 2, edit [Protocol], and for Layer 3, edit the corresponding [IP Protocol]. We use NotePad to open Proto. dat. Many protocols can be modified and added here.

C. Word Filter)

Add the key characters you want to filter to the list. The list contains the "all" and "or" options. "any" indicates that a packet must match at least one key character in the list, the "all" option means that all data in the list must be matched to be displayed.

Apply filter to packets refers to displaying data frames with keywords, while other data frames are discarded.

Mark sessions containing words indicates that all data frames are intercepted, but data frames with specified characters are marked.

D. MAC address filter)

The first window is the hardware address identified by IRIS. You can click these addresses to add them to the address 1 or address 2 below. If you do not do this, you can also enter the address to window 2 by yourself;

E. IP address matching layer (IP address)

Similar to the MAC address filter option, this is the IP address matching layer.

F. Port matching layer (ports)

CP and UDP use 16-bit port numbers to identify applications. The TCP port number of the FTP server is 2 1, the TCP port number of the Telnet server is 23, and the UDP port number of the TFTP (simple File Transfer Protocol) server is 69. The services provided by any TCP/IP implementation are well-known 1 ~ Port number between 1023. For example, if we want to intercept the username and password in Telnet, we should select port 23.

G. Advanced option configuration (advanced)

Data size matching option (size): You can select the size of the received data packet.

Hexadecimal data matching: specify that the hexadecimal characters of the data contained in the Data Packet match.

6. [capture data packets]

The complete data packet is displayed in the data packet editing area. The window consists of two parts. The data on the left is displayed in hexadecimal notation, and the data on the Right corresponds to ASCII. Click any part of the hexadecimal code. The corresponding ASCII code is displayed on the right side for analysis.

The hexadecimal code allows you to edit and regenerate existing data packets. New data packets can be sent or saved to the disk.
 

7. [data packet editing]

Capture> show packet editor click to display

You can use the toolbar options to save, change, and add data packets to the list, send, and other operations.

For example, to generate a series of TCP data packets, first click to generate an empty data packet. Refer to the data packet format so that each part is represented in hexadecimal notation. Assume that a packet is composed of 100 bytes (assuming that 20 bytes are IP information, 20 bytes are TCP information, and 60 bytes are transmitted data ). Now, send the package to the Ethernet, put 14 bytes before the MAC address of the destination, and set the source MAC address to a 0x0800 mark, it indicates the data structure after the TCP/IP stack. At the same time, four bytes are appended for CRC verification (CRC verification is used to check the correctness of the transmitted data). Then we click send.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.