Today´s DiaryIf you have more information or corrections regarding our diary, click here to contact us.
Published: 2008-11-20,
0 comment(s)
Last Updated: 2008-11-20 04:00:28 UTC by Jason Lam (Version: 1) As botnets and other automated tools are hammering at websites trying to exploit SQL injection vulnerabilities, site operators are trying hard at defending their websites. ASProx and other botnets were hitting hard at the ASP + MS SQL platform, millions of websites fell victims to the SQL injection vulnerabilities already. Although there has been a decline of wild SQL scanning by ASPRox type of botnet, we are still not in the clear yet. The unauthenticated portion of some sites might be secure, but the authenticated portion might be totally vulnerable. Since most scans only target what can be seen by Googlebots, there are still tons of web pages out there vulnerable waiting for exploitation. If you have tons of vulnerabilities on your site, you likely will take some time to fix all of it as fixing code isn't the easiest and fastest thing to be done. A short term remediation to SQL injection can be web application firewall. Web application firewall (WAF) is similar to a network firewall except it also inspect the application layer information, such as cookies, form fields and HTTP headers. With Microsoft IIS as web server, one of the quickest and easiest WAF solution maybe Microsoft's Urlscan, it is an addon to IIS5 and built-in for later versions of IIS. Urlscan runs as an ISAPI filter, so it can be easily deployed and removed. Since version 3.0 of Urlscan, there are decent level of coverage on SQL Injection capabilities. The biggest complaint is that Urlscan do not inspect HTTP request body (POST data), so it could be missing attacks that are submitted using POST. I have recently played with another free WAF product on IIS called Webknight and found it to be easy to config and full of nice features. The default configuration file is reasonably tight. In most cases, you would probably want to loosen things up so Webknight won't break your site with false positives. It inspects SQL injection in header, cookies, URL and in POST data. The detection is based on hitting two of the preset SQL keywords. For most cases, this generally works well. It may render false positives with some more complex textarea field that expect various text. Overall, Webknight is a good WAF that can fulfill basic protection needs. Remember that WAF products are meant to be an extra layer of defense and/or a very short term mitigation until you fix up all the code. For mitigation, you are really just buying yourself more time before a compromise happens. While WAF do a good job at making the site harder to compromise, they have various limitation, the most effective long term mitigation is still fixing up the code. -------
Keywords: SQL Injection Web application firewall
0 comment(s)
Published: 2008-11-19,
0 comment(s)
Last Updated: 2008-11-20 03:58:30 UTC by Lenny Zeltser (Version: 3) The incident handling cheat sheets in an earlier diary applied to many types of security incidents. Some incidents, such as DDoS attacks, can benefit from specialized guidelines. As suggested by one of our readers, we'd like to create a cheat sheet that helps organizations during a DDoS attack. We would love for you to contribute. If you have handled a DDoS attack, send us your advice on dealing with such incidents faster and more effectively. The tips should assume that the organization is reactive, and has not had much time to prepare for the incident in advance. We're looking for suggestions arelated to all stages of the DDoS incident, including detection, analysis, and mitigation. Update: Here's my attempt at organizing the tips we received so far. (Thanks, Chris, Daniel, Donald and Peter!) It's still a work in progress: Prepare These steps can greatly assist if your attacked. If you haven't done this and you get attacked you will spend the first few hours trying to get some of these steps done.
Analyze Detect the incident and assess its scope. Which infrastructure components are affected, and what is the logical flow of the attack? Understand the nature of the attack.
Mitigate DDoS attacks often take the form of flooding the network with unwanted traffic, in which case it will be very difficult to defend against the attack without specialized equipment or your ISP's help. There are steps you can take to mitigate the effect of some DDoS attacks, though.
Additional Tips
-- Lenny Lenny Zeltser Lenny teaches a SANS course on analyzing malware.
Keywords:
0 comment(s)
Published: 2008-11-19,
1 comment(s)
Last Updated: 2008-11-20 03:57:24 UTC by Lenny Zeltser (Version: 1) The oldfashioned way to launch a network DDoS attack involved building one's own bot network that would flood the victim with unwanted traffic. However, the illicit marketplace for such services has matured, allowing a person to purchase DDoS services on demand, effectively renting a botnet for the event. Here's one ad for such services. It's in Russian; the translation follows.
The ad scrolls through several messages, including: "Will eliminate competition: high-quality, reliable, anonymous." -- Lenny Lenny Zeltser Lenny teaches a SANS course on analyzing malware.
Keywords:
1 comment(s)
If you have more information or corrections regarding our diary, click here to contact us. Diary Archive
Search Diaries: |
Featured EventLatest Reading Room Papers
PollTrends
more details
World Map
|