Problem
Snort-based IDS deployed to monitor and analyze simulated network traffic, identifying malicious patterns using Wireshark for traffic analysis and Python for automation and alert handling.
Case study
Snort-based IDS deployed to monitor and analyze simulated network traffic, identifying malicious patterns using Wireshark for traffic analysis and Python for automation and alert handling.
Security engineer and full-stack developer
Snort-based IDS deployed to monitor and analyze simulated network traffic, identifying malicious patterns using Wireshark for traffic analysis and Python for automation and alert handling.
The implementation combines the following technologies and system concerns.
Verified evidence
Screenshots and access
A scoped, fully functional recreation of this project's core feature runs below, live in your browser. Reset it, resize it, or expand it to full screen.
network-intrusion.zainkhalilkhan.com
Network Intrusion Detection System
Security platform
A Snort-style engine matching a live packet capture against signature rules. Distinct-port and SYN-burst counters run in sliding windows, so injecting a scan or flood trips detection the same way the real Snort plus Wireshark build does. Toggle any rule to change detection live.
SSH brute force / auth scan
alert tcp any any -> $HOME_NET 22 (msg:"SSH auth scan"; flags:S; detection_filter:track by_src, count 5, seconds 10; sid:1000001; rev:3;)
TCP SYN horizontal port scan
alert tcp any any -> $HOME_NET any (msg:"TCP SYN port scan"; flags:S; threshold:type both, track by_src, count 15, seconds 10; sid:1000002; rev:2;)
Oversized ICMP (ping flood / tunnel)
alert icmp any any -> $HOME_NET any (msg:"Oversized ICMP payload"; itype:8; dsize:>1000; sid:1000003; rev:1;)
Traffic from known-bad host
alert ip [185.220.101.4,45.153.160.2,193.42.33.8] any -> $HOME_NET any (msg:"Known-bad source IP"; sid:1000004; rev:7;)
Oversized outbound TLS (possible exfil)
alert tcp $HOME_NET any -> $EXTERNAL_NET 443 (msg:"Possible data exfiltration"; flow:established; dsize:>1400; sid:1000005; rev:1;)
No alerts yet. Inject an attack or enable more rules.
Waiting for traffic...
Client-side sandbox. State is in memory and nothing is sent to a server.