On mySimon: Issey Miyake Automatic Watch for Men
BNET Business Network:
BNET
TechRepublic
ZDNet

June 24th, 2008

Microsoft ships free code auditing tools to thwart SQL injection attacks

Posted by Ryan Naraine @ 1:34 pm

Categories: Arbitrary Code Execution, Botnets, Browsers, Complex Attacks, Data theft, Exploit code, Hackers, Locally Running Web Servers, Microsoft, Patch Watch, Pen testing, Vulnerability research, Zero-day attacks

Tags: Vulnerability, Auditing, SQL, Microsoft Corp., SQL Injection, Tool, Scrawlr, Programming Languages, Security, Databases

Microsoft ships free code auditing tools to thwart SQL injection attacks On the heels of a dramatic rise in SQL injection attacks linked to drive-by malware downloads, Microsoft has released aimed at helping Webmasters and IT administrators block and eradicate this attack class.

According to a security advisory from the Redmond, Wash. software giant, the tools are available for free and cover detection, defense, and identifying possible coding which may be exploited by an attacker.

One of the tools, called Scrawlr, was created in partnership with the HP Web Security Research group (formerly SPI Dynamics).

Here’s the skinny on the three new tools:

Scrawlr:  The tool will crawl a website, simultaneously analyzing the parameters of each individual web page for SQL Injection vulnerabilities. Scrawlr uses some of the same technology found in HP WebInspect but has been built to focus only on SQL Injection vulnerabilities. This will allow an IT/DB admin to easily find vulnerabilities similar to the ones that have been used to compromise sites in recent attacks. No source code is required to run this tool. From a starting URL, the tool recursively crawls that URL in order to build up a site tree that will be then analyzed for SQL injection vulnerabilities.

Microsoft Source Code Analyzer for SQL Injection:  Called MSCASI, this  is a static code analysis tool that identifies SQL Injection vulnerabilities in ASP code (ASP pages are the ones that have been under attack). In order to run MSCASI you will need source code access and MSCASI will output areas vulnerable to SQL injection (i.e. the root cause and vulnerable path is identified). It scans ASP source code and generates warnings for first order and second order SQL Injection vulnerabilities.

URLScan 3.0: This tool restricts the types of HTTP requests that Internet Information Services (IIS) will process. By blocking specific HTTP requests, UrlScan helps prevent potentially harmful requests from being executed on the server. It uses a set of keywords to block certain requests.  If a bad request is detected, the filter will drop the request and it will not be processed by SQL. That said, if a SQL injection flaw has been identified, you are encouraged to fix the root cause of the problem instead of attempting to produce the perfect filter (since in our view this is error prone).

* Image source: pvera’s Flickr photostream (Creative Commons 2.0)

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 4 Talkback(s)
Scrawlr is a joke
Ryan, have you tried it? I ran it against my blog. After finding 14 links, it quit. Apparently at 14 links, it times out and says that it has been limited to 14 links. Oh and you can go purchase t... (Read the rest)
Posted by: mtgarden Posted on: 06/26/08 You are currently: a Guest | | Terms of Use
SQLs failure  cmdrrickhunter@... | 06/24/08
Can you elaborate?  NonZealot | 06/24/08
Not sure what you're getting at...  storm14k | 06/25/08
Scrawlr is a joke  mtgarden | 06/26/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

Meet Doc

  • Here to help you with your Document Management Needs
  • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
  • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
  • Produced by
    ZDNet and