WSBang – Python Based SOAP Services Testing Tool


WSBang is designed to be a lightweight, open source fuzzer for web services. It takes as input the URL or file system location of a WSDL for the web service to be tested. Upon completion, a simple HTML view of the test results will be displayed.

Method parameters are fuzzed based on their type as specified by the WSDL. The data used for each type can be specified in the “DataDef.xml” file supplied. In addition, default arguments for parameters can be specified in the same file in the Argument definitions.

  • Takes URL of WSDL as input
  • Fuzzes all methods and parameters in the service
  • Identifies all methods and parameters, including complex parameters
  • Fuzzes parameters based on type specified in WSDL
  • Reports SOAP responses and faults

Prerequisites:
SOAPpy version 0.11.6.

Use:
WSBang.py [URL of WSDL]

Files included:
WSBang.py – The main execution code for WSBang.
Fuzzer.py – Classes that support WS analysis and the fuzz engine.
DataProvider.py – Classes that provide fuzz data and default arguments.

You can download WSBang here:

WSBang.zip
WSBang.tar.gz

Or you can read more here.

Posted in: Hacking Tools, Secure Coding, Web Hacking

, , ,


Latest Posts:


RandIP - Network Mapper To Find Servers RandIP – Network Mapper To Find Servers
RandIP is a nim-based network mapper application that generates random IP addresses and uses sockets to test whether the connection is valid or not with additional tests for Telnet and SSH.
Nipe - Make Tor Default Gateway For Network Nipe – Make Tor Default Gateway For Network
Nipe is a Perl script to make Tor default gateway for network, this script enables you to directly route all your traffic from your computer to the Tor network.
Mosca - Manual Static Analysis Tool To Find Bugs Mosca – Manual Static Analysis Tool To Find Bugs
Mosca is a manual static analysis tool written in C designed to find bugs in the code before it is compiled, much like a grep unix command.
Slurp - Amazon AWS S3 Bucket Enumerator Slurp – Amazon AWS S3 Bucket Enumerator
Slurp is a blackbox/whitebox S3 bucket enumerator written in Go that can use a permutations list to scan externally or an AWS API to scan internally.
US Government Cyber Security Still Inadequate US Government Cyber Security Still Inadequate
Surprise, surprise, surprise - an internal audit of the US Government cyber security situation has uncovered widespread weaknesses, legacy systems and poor adoption of cyber controls and tooling.
BloodHound - Hacking Active Directory Trust Relationships BloodHound – Hacking Active Directory Trust Relationships
BloodHound is for hacking active directory trust relationships and it uses graph theory to reveal the hidden and often unintended relationships within an AD environment.


8 Responses to WSBang – Python Based SOAP Services Testing Tool

  1. dre November 6, 2007 at 5:21 pm #

    WSBang and the iSecPartners’ tools are nice.

    Most recently, I have been using SOAPSonar Enterprise from Crosscheck Networks because of its inclusion of a very nice vulnerability assessment engine, as well as support for almost everything related to web services. The Personal Edition is also downloadable for free.

    For general XML fuzzing – check out untidy. Another tool worth mentioning is wsScanner from BlueInfy, whose creator – Shreeraj Shah – wrote the book on Hacking Web Services

  2. dirty November 6, 2007 at 6:07 pm #

    havent got a chance to test this out but seems interesting…btw…the isec website has a lot of free python based tools available.

    the author, Andres Riancho, of untidy also wrote w3af (http://w3af.sourceforge.net/)
    w3af is a Web application attack and Audit Framework. The project goal is to create a framework to find and exploit web application vulnerabilities that is easy to use and extend.

  3. Darknet November 7, 2007 at 6:17 am #

    dre: Yeah they have some pretty cool Python based stuff, I have a draft on untidy which is pretty useful – I haven’t really checked out an of the others yet. Will look at wsScanner.

    dirty: We have written about w3af before :)

  4. dirty November 7, 2007 at 8:58 pm #

    darknet
    sorry, sometimes i forget where i have read about something (w3af). BTW a new version (Beta5) is out since the last time darknet reported on it…..

  5. fazed November 8, 2007 at 1:22 am #

    nice tool, w3af is good. :)
    I don’t usually do anything with SOAP.

  6. dirty November 8, 2007 at 4:05 pm #

    fazed:
    I know what you mean about SOAP. Never get a chance to do anything with it, customers not using it.

  7. CG November 15, 2007 at 4:11 am #

    Does anyone know of any good test sites for SOAP/WSDL or have some instructions on building one. that’s really the big issue with all these cool SOAP fuzzers and auditing tools that there arent too many places running running apps you can play with.

    guess i need to get off my butt and build one…

  8. Saam Choy January 19, 2008 at 8:56 pm #

    All of the tools mentioned are pretty good but really dont address SOAP security testing in its entirety. That is why many tools must be combined with solid manual testing. Also check out OWASP’s WSFuzzer as it does nasty testing against SOAP services. Their XML Fuzz Generator class is pretty interesting and worth analyzing. That neurofuzz team also has text web services on their site. xmethods also has tons of free services you can mess with.