This repo contains my implementation of Stanford's CS155 Computer Security course Project #3, which focused on network security.
- Port Scanning: Used nmap to analyze open ports and services on a remote server
- Packet Sniffing: Analyzed network traffic using Wireshark to understand protocol behaviors
- Programmatic Packet Processing: Implemented a network traffic analyzer in Go to detect port scanning and ARP spoofing attacks
- Monster-in-the-Middle Attack: Created a DNS spoofing attack that hijacks HTTP connections, implementing ARP spoofing, DNS spoofing, and HTTP traffic interception
- Go (golang)
- nmap
- Wireshark
- Docker
- gopacket library
-
Install required tools:
- nmap
- Wireshark
- Go
- Docker
-
Install Go dependencies:
go mod download
- For Part 4 testing:
bash start_images.sh
bash run_client.sh
bash stop_images.sh