news.volyx.in

I looked through attacks in my access logs (nishtahir.com)

516 points by thunderbong · 933 days ago · 284 comments on HN

Article summary

The author analyzed their access logs and found various types of attacks, including directory traversal attacks, Shellshock exploits, and LuCI injection attempts. The attacks were trying to access sensitive files, execute arbitrary commands, or inject malicious code. The author notes that exposing the bare minimum to the public internet and adding authentication and IP restrictions can help prevent such attacks. The author also highlights the importance of understanding and mitigating these types of attacks.

Main themes

  • web security
  • access logs analysis
  • attack mitigation
  • WAF configuration
  • security best practices
  • Docker container security

What commenters say

  • Using a Web Application Firewall (WAF) can help block malicious traffic, but it requires careful configuration to avoid false positives.
  • Fail2ban and other automated tools can help limit traffic from malicious activity, but they are not a replacement for good security practices.
  • Some commentators argue that WAFs can give a false sense of security and may not be effective against determined attackers.
  • Regular software updates and isolation technologies like Docker containers can help mitigate attacks, but they must be used correctly to be effective.
  • Overly broad WAF rules can block legitimate traffic and cause more harm than good.
  • A layered approach to security, including firewalls, authentication, and intrusion detection, is necessary to protect against various types of attacks.
  • Some commentators believe that WAFs are not necessary for modern web applications, while others argue that they can be a useful tool in the right context.