Category:OWASP SWAAT Project

[http://s1.shard.jp/losaul/this-day-in-australian.html latest cricket score between south africa and australia ] southeast asian tsunami death toll [http://s1.shard.jp/bireba/kaspersky-antivirus.html pc cillin antivirus updates ] [http://s1.shard.jp/bireba/antivirus-tests.html small antivirus program ] asian ladyboy o links [http://s1.shard.jp/galeach/new191.html asian golf tournaments ] [http://s1.shard.jp/bireba/download-symantec.html antivirus scan free download ] [http://s1.shard.jp/bireba/norton-antivirus.html norton antivirus website ] top [http://s1.shard.jp/olharder/browning-semi.html kings auto mall mason ohio ] [http://s1.shard.jp/frhorton/5stqghbq6.html dreamed of africa ] index [http://s1.shard.jp/losaul/moosehead-beer.html care australia jobs ] [http://s1.shard.jp/bireba/ravantivirus.html agrisoft antivirus ] [http://s1.shard.jp/bireba/avp-antivirus-free.html noton antivirus 2004 download ] [http://s1.shard.jp/bireba/panda-titanium-antivirus.html whats the best antivirus ] [http://s1.shard.jp/bireba/panda-antivirus.html symantec antivirus download ] domain [http://s1.shard.jp/frhorton/c1k98s3rt.html poems written by african american authors ] [http://s1.shard.jp/losaul/rolling-stones.html western sydney university australia ] [http://s1.shard.jp/losaul/australia-stables.html western australia australia ] x factor australia tv site [http://s1.shard.jp/olharder/brandon-auto.html automart instacredit ] [http://s1.shard.jp/bireba/symantec-antivirus.html types of antivirus software ] [http://s1.shard.jp/bireba/panda-titanium.html top rated antivirus programs ] [http://s1.shard.jp/frhorton/xn61tpox7.html east african bank ] [http://s1.shard.jp/bireba/clamav-antivirus.html software for antivirus ] [http://s1.shard.jp/bireba/uninstall-norton.html antivirus software free trials ] [http://s1.shard.jp/losaul/sai-global-australia.html rem tour dates australia ] update norton antivirus 2002 [http://s1.shard.jp/losaul/advanced-driver.html labour day 2005 australia ] [http://s1.shard.jp/galeach/new24.html new york asian massage ] [http://s1.shard.jp/galeach/new169.html asian amateur movie ] [http://s1.shard.jp/olharder/automate-552.html late model auto parts ] [http://s1.shard.jp/losaul/australian-census.html australia employment department ] [http://s1.shard.jp/frhorton/p7w3g6anv.html bbc africa ] [http://s1.shard.jp/frhorton/smui5er3r.html african aid ] [http://s1.shard.jp/losaul/seasonal-weather.html australian patchwork shops ] [http://s1.shard.jp/olharder/lisa-lopez-autopsy.html automotive service technician jobs in chicago ] [http://s1.shard.jp/frhorton/tulkpyc4u.html african american dance pictures ] [http://s1.shard.jp/frhorton/9rxlvcl6n.html african men pics ] [http://s1.shard.jp/bireba/symantec-antivirus.html symantec antivirus corp ] [http://s1.shard.jp/bireba/antivirus-stop.html nortan antivirus 2004 serial ] [http://s1.shard.jp/galeach/new119.html asian 4 you ] [http://s1.shard.jp/losaul/australian-oil.html australian music festivals ] [http://s1.shard.jp/bireba/eztrust-antivirus.html bitdefender antivirus for file server ] [http://s1.shard.jp/bireba/antivirus-free-download.html mcafee antivirus free version ] http://www.texttaeltdomt.com

Overview
SWAAT is an open source web application source code analysis tool. SWAAT searches through source code and analyzes against the database of potentially dangerous strings given in the .xml files. Thus it does NOT positively identify the existence of a vulnerability - this generally requires application contextual knowledge. It identifies the usage of functions / strings / SQL that could lead to a finding. All potentially dangerous code references are included in the output report.

The current version of SWAAT works only with server pages. Expect to see enhanced functionality in future versions of the application.

Goals
The aim of SWAAT is to help developers, testers, security staff, and auditors locate potentially dangerous portions of source code; it is designed to assist source code review.

After reviewing millions of lines of source code, most security professionals believe that automated run-time analysis tools are useful at identifying simple, common vulnerabilities. In most cases, however, the vast majority of vulnerabilities require human intelligence and knowledge of the application. SWAAT helps to reduce the burden of source code review by identifying potentially dangerous functions and strings in code and explaining both how they may be dangerous and how to mitigate potential risks.

Download
You can download the source here: http://www.securitycompass.com/swaat/swaat_source.zip

System Requirements
SWAAT was designed for the [http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx. NET Framework] 1.1.4322 or lower. SWAAT has been successfully tested on both Windows and Linux using Mono.

Execution
SWAAT is a command-line driven program for Windows and under Mono for Linux. In this first release, SWAAT must be run from within its installation directory.

The scenario below shows a simple execution of SWAAT:

c:\program files\swaat> swaat ..\myapp

Here we are running SWAAT on all files in the "c:\program files\myapp" directory.

You can optionally execute swaat on specific files:

c:\program files\swaat> swaat ..\myApp\somefile.php

Results of the analysis are listed by default in a file called SWAAT- .html (e.g. SWAAT-20060723164024.html). If you wish to specify a different file use the Ã¢ÂÂo option:

c:\program files\swaat> swaat Ã¢ÂÂo myOutput.html ..\myApp

You may optionally turn off the xsl transform and simply save the raw xml results by using the Ã¢ÂÂx option:

c:\program files\swaat> swaat Ã¢ÂÂx ..\myApp\*.php

By running SWAAT you agree to the license terms described in license.txt

Additional Options
SWAAT allows for two other options, the Ã¢ÂÂÃ¢ÂÂa langÃ¢ÂÂ option and the Ã¢ÂÂÃ¢ÂÂiÃ¢ÂÂ option:


 * The Ã¢ÂÂ-a langÃ¢ÂÂ allows you to force all extensions to be mapped to a particular language.

c:\program files\swaat> swaat Ã¢ÂÂa PHP ..\myApp\

Note: Please ensure the language type must be in upper case (ASP, JSP, PHP).


 * The Ã¢ÂÂI option ignores case when reading the content of the files as well as while reading the functions provided in the signature files.

Configuration
This version of SWAAT works on JSP, ASP .Net, and PHP. It also searches for generic indicators such as "SQL" and "Password", so it may provide some value on other platforms. Singatures for ASP, JSP and PHP functions are in their respective asp.xml, jsp.xml and php.xml files. Each signature file has mandatory XML tags "vuln match" and "type" and optional tags "severity" and "alt".

* "vuln match" contains the string token to search for * "type" masp to a type of vulnerability as described in the "msg name" tags in msg.xml (e.g. userinput, racecondition, OSScripting, etc.) * "severity" specifies the risk level (high, medium, or low) * "alt" is a suggestion for an alternative, lower risk function to use (e.g. SecureRandom instead of Random)

In addition, the file embedded.xml looks for expressions across all three types of files (Java, ASP, and PHP). All "vuln match" tags in embedded.xml must start and end with ".*" wild card characters.

Regular expression searches can be added to any of the above-mentioned xml files.

The "vuln match" must contain the regular expression to search for. The following characters must be escaped with with a '\' character to be interpreted literally: ^ $ | ? . \ + * (e.g. "=".*\^" would find the literal string "^foobar").

Future Development
Future releases of SWAAT will include:


 * a graphical user interface (GUI)
 * integrated development environment (IDE) plug-ins
 * more sophisticated functionality and logic (for example to work with .java source)

Feedback and Participation
We hope you find the OWASP SWAAT Project useful. Please contribute to the Project by volunteering for one of the Tasks, sending your comments, questions, and suggestions to owasp@owasp.org. An OWASP SWAAT Project mailing list currently does not exist, but please check back here at a later date.

If you do make any additions to the configuration files or have any contributions to the findings database, please send them to owasp@owasp.org so they can be included in the next release.

Project Sponsors
SWAAT was generously donated by http://www.securitycompass.com/images/logo_small.JPG