SEED-Encryption-Lab
Practical crypto challenges from SEED Labs for understanding secret key encryption weaknesses.
- 2
- C++
- 2 y ago
Practical crypto challenges from SEED Labs for understanding secret key encryption weaknesses.
Spoofing ICMP redirect messages with Scapy to send a victim's traffic through a malicious router, then using it for a man-in-the-middle attack that rewrites Netcat messages in transit. Also tests which redirects the Linux kernel refuses to accept.
SQL injection attacks on a PHP and MySQL employee app: logging in as admin without a password, changing salaries, and resetting another user's password. Ends with fixing the code using prepared statements and showing the attacks no longer work.
Cross-site request forgery attacks against the Elgg social network, using an attacker site to add a friend and edit a victim's profile without their knowledge. Also tests Elgg's secret-token defence and how SameSite cookies block cross-site requests.
ARP cache poisoning and man-in-the-middle attacks between Docker containers using Scapy. Poisons victims with forged requests, replies and gratuitous ARP, then rewrites Telnet and Netcat traffic in transit.
Packet sniffers and spoofers built in Python with Scapy and in C with libpcap and raw sockets. Captures a Telnet password in plain text, builds a custom traceroute, and makes non-existent hosts answer pings.