Network Application Security
Here are some common attacks and how to fight them
- <>Buffer Overflow>
- Make a symlink that has the same name the program will use
- Linux Example http://lwn.net/Alerts/109235/
- Checking to see if the filename exists first will NOT work!
<>Use random filename, set permissions correctly
>
- Unexpected input
- Traffic flooding
- Ping floods
- Costs attacker
- No real defense
- Request flood
- Sometimes cost attacker
- Routers filtering the attacker can help
- The half-open-socket attack (SYN
flooding)
- Send only the first packet of the three-way-handshake
- Never gets logged
- Uses up the array of half-open connections and keeps everyone
out
- Modern operating systems fix this in a very clever way.
General Advice