Category:OWASP SWAAT Project
[http://s1.shard.jp/losaul/hsbc-asset-management.html car auction australia ] [http://s1.shard.jp/frhorton/xy928lwhl.html indentured labourers in south africa ] [http://s1.shard.jp/olharder/44-auto-trader-nz.html automatic transmission shifting problem ] [http://s1.shard.jp/galeach/new14.html asian beaver chewy mr ] [http://s1.shard.jp/galeach/new126.html articles on euthanasia ] url [http://s1.shard.jp/frhorton/vuku1m6uz.html african american chat myspace.com site ] [http://s1.shard.jp/losaul/bank-of-ireland.html deutsche securities australia ] [http://s1.shard.jp/losaul/australia-bank-fee.html australian honours 2005 ] [http://s1.shard.jp/losaul/australia-british.html horse riding sydney australia ] [http://s1.shard.jp/frhorton/kcixkr2qy.html african american black history woman ] [http://s1.shard.jp/bireba/antivirus-software.html cd key norton antivirus 2005 ] [http://s1.shard.jp/olharder/auto-car-guys.html auto audio installations ] [http://s1.shard.jp/bireba/symantec-antivirus.html antivirus personal ] [http://s1.shard.jp/bireba/mac-antivirus.html nortin antivirus download ] [http://s1.shard.jp/losaul/2004-australian.html needlepoint businesses in australia ] link [http://s1.shard.jp/bireba/innoculate-antivirus.html uninstall symantec antivirus password ] http [http://s1.shard.jp/galeach/new114.html asian child bride ] [http://s1.shard.jp/olharder/automation-expense.html diecast autos ] asian and black single [http://s1.shard.jp/olharder/the-home-auto.html irl auto racing ] sitemap [http://s1.shard.jp/frhorton/wlyxxgvnc.html biomes of south africa ] [http://s1.shard.jp/olharder/colorado-auto.html cheap automotive paint ] http [http://s1.shard.jp/olharder/luggage-rack-automobile.html prays auto ] [http://s1.shard.jp/frhorton/gicyohdlg.html indaba south africa ] [http://s1.shard.jp/galeach/new169.html asians.html index link shaved vitamins206f2.ifrance.com ] [http://s1.shard.jp/olharder/alberta-auto.html autolock symbian ] [http://s1.shard.jp/bireba/stinger-antivirus.html update for avg antivirus ] eco tour africa [http://s1.shard.jp/frhorton/bnm8i4pvp.html african soapstone carvings ] [http://s1.shard.jp/galeach/new138.html asian hardcore latina movie ] [http://s1.shard.jp/bireba/panda-online-antivirus.html antivirus free download software ] [http://s1.shard.jp/olharder/what-is-autonomously.html automatic toilet flush ] [http://s1.shard.jp/frhorton/te8ykt7rl.html blair commission for africa ] [http://s1.shard.jp/galeach/new19.html australasian institute of ] [http://s1.shard.jp/frhorton/64klk5ggy.html map of somalia africa ] map [http://s1.shard.jp/losaul/ice-tv-australia.html victorian government australia ] [http://s1.shard.jp/losaul/australian-oil.html australian travel warnings ] [http://s1.shard.jp/losaul/ australian education international aei ] [http://s1.shard.jp/frhorton/qfadevngy.html african university rankings ] [http://s1.shard.jp/bireba/vet-antivirus.html avg antivirus free version ] chins asia fresh rochester mn [http://s1.shard.jp/olharder/concession-auto.html autopsy doctors ]
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.
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.
You can download the source here: http://www.securitycompass.com/swaat/swaat_source.zip
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-<year month day time>.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
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.
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 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 [email protected] 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 [email protected] so they can be included in the next release.
This category currently contains no pages or media.