My organization has recently been dealing with a spate of SQL injection attacks and I read about Havij, apparently one of the most popular tools available to hackers for delivering these attacks. Can you suggest some methods for dealing with Havij? Is there anything that makes this specific tool stand out above others for hackers?
Ask the expert!
Have questions about enterprise information security threats for expert Nick Lewis? Send them via email today! (All questions are anonymous.)
The SQL injection tool Havij stands outs from other SQL injection (SQLi) tools like SQL Ninja or SQL map because of its comprehensive features. Some Web application security scanners include functionality to check for SQLi, but Havij is much more thorough on this front. There are other SQL injection tools available that have evolved over time to include more functionality and improved ease of use, even offering GUIs. Many pen testers and attackers craft tools to look for specific attack vectors that they have discovered to be the most effective.
Some database firewalls can protect against SQL injection, which could help enterprises defend against Havij attacks on the database level. You might be able to detect a remote host that is using Havij to scan for SQL injection and then block the host before it is able to compromise the security of the system. Havij could be blocked by a web application firewall, but it also has capabilities to bypass certain WAFs or IDSs.
While Havij might be responsible for certain SQL injection attacks, there are other SQL injection tools, including Web application security scanners and manual testing, that will also cause issues for enterprises only focused on defending against a specific tool like Havij. So even if an enterprise can block attacks from Havij, it may not be able to block all SQL injection attacks. Following the guidance from OWASP via its SQL Injection Cheat Sheet is the best place to start when putting mitigations in place to protect against Havij and other SQL injection tool attacks.
Dig Deeper on Application attacks (buffer overflows, cross-site scripting)
Related Q&A from Nick Lewis
Cloud penetration testing presents new challenges for information security teams. Here's how a playbook from the Cloud Security Alliance can help ... Continue Reading
Island hopping attacks create enterprise risk by threatening their business affiliates. Here's how to create an incident response plan to mitigate ... Continue Reading
Many cloud providers are tight-lipped about internal security control details. Learn how to evaluate cloud security providers with certifications and... Continue Reading