Skip to content
Threats Guide

01

Network Security

Network security involves protecting the usability, reliability, integrity, and safety of network infrastructure. This section covers various network-based threats, their detection methods, and prevention strategies.

4 topics, 14 scripts

Read the full category guide

Back to Main

Overview

Network security involves protecting the usability, reliability, integrity, and safety of network infrastructure. This section covers various network-based threats, their detection methods, and prevention strategies.

Categories Covered

  1. DDoS Attacks
  2. Man-in-the-Middle (MITM)
  3. Port Scanning
  4. DNS Spoofing
  5. ARP Poisoning (planned)

Common Network Threats

ThreatDescriptionRisk Level
DDoSOverwhelming resources with trafficHigh
MITMIntercepting communicationCritical
Port ScanningReconnaissance for vulnerabilitiesMedium
DNS SpoofingRedirecting to malicious sitesHigh
ARP PoisoningManipulating network mappingsCritical

Quick Start

# Navigate to specific threat directory
cd ddos-attacks/detection/

# Run detection scripts with appropriate permissions
sudo python3 ddos_detection.py --interface eth0

# Check prevention examples
cd ../prevention/
python3 rate_limiting.py --help

Network Monitoring Tools

  • Wireshark/TShark - Packet analysis

  • Snort/Suricata - IDS/IPS

  • ntopng - Network traffic monitoring

  • Nagios - Infrastructure monitoring

Important Notes

  • Some scripts require root/administrator privileges

  • Always test in isolated environments first

  • Monitor performance impact of detection scripts

  • Combine multiple detection methods for accuracy

Additional Resources

Source folder: 01-network-security