Guide to Win7 Access Kali: Detecting Web, FTP, and ICMP Traffic

In 1998, Martin Roesch developed the open-source intrusion detection system Snort using the C programming language. Today, Snort has evolved into a powerful network intrusion detection/prevention system with features such as multi-platform, real-time traffic analysis, and network IP packet logging, making it one of the top open-source intrusion detection systems in the world. The Snort IDS uses a series of rules to define malicious network activity, matches packets against them, and alerts the user.

Main Uses of Snort:

1. Similar to TCP dump, used as a network sniffer for debugging network traffic.

2. Network intrusion detection for signature recognition.

Example of Using Snort Intrusion Detection System:

1. Capture packets by combining three Snort modes

Win7 access Kali through the following method: ![Insert image description here](https://www.ids-sax2.com/wp-content/uploads/picture/i-blog-csdnimg-cn-20e79c141fd2a83431c8c6d2583448a4.png)

2. Log packets to a specified location

Win7 access Kali
Win7 access Kali
Insert image description here

3. Edit Snort configuration files to add custom rules

Insert image description here
Insert image description here
Insert image description here
Insert image description here

(1) Alert on request packets from external hosts targeting the current host’s 80/TCP port.

Add the following rule: Insert image description hereInsert image description hereInsert image description here

Win7 accessing the Kali server website Insert image description here

Detect web access Insert image description here

(2) String matching: Alert and capture the username and password if a machine logs into the Kali local FTP server.

Insert image description hereInsert image description here FTP connecting to Kali on Win7 Insert image description here Detect FTP access, inspect the packets to find plaintext username and password Insert image description hereInsert image description here

(3) Alert on ICMP echo request Add the following rule: Insert image description hereInsert image description here

Win7 ping Kali Insert image description here Detect ICMP responseInsert image description here