Saturday 16 January 2016

WS-Attacker A Modular Framework For Web Services Penetration Testing

Web Services Penetration Testing

WS-Attacker is a modular framework for web services penetration testing.

It is developed by the Chair of Network and Data Security, Ruhr University Bochum ( ) and the 3curity GmbH ( ).

The basic idea behind WS-Attacker is to provide a functionality to load WSDL files and send SOAP messages to the Web Service endpoints (which is executed using the underlying SoapUI framework). This functionality can be extended using various plugins and libraries to build specific Web Services attacks. You can find more information on the WS-Attacker architecture and its extensibility in our paper: Penetration Testing Tool for Web Services Security (

In the current version, WS-Attacker supports the following attacks:

  • SOAPAction spoofing: see
  • WS-Addressing spoofing: see
  • XML Signature Wrapping: see
  • XML-based DoS attacks: see
  • New Adaptive and Intelligent Denial-of-Service Attacks (AdIDoS)
  • XML Encryption attacks: see this blogpost ( for a general overview on the attacks and on further references to the scientific papers

Obtaining Runnable File

The first option to obtain a WS-Attacker jar file is from the sourceforge website:

The second option is to build it directly from the Github sources. For this purpose, you need:

  • Java 7 or higher
  • maven
  • git

You procede as follows. You first need to clone WS-Attacker sources (you can of course also download a ZIP file):

$ git clone 
Then you go to the WS-Attacker directory and use maven to build and package the files:

$ cd WS-Attacker
$ mvn clean package -DskipTests
Afterwards, you are able to go to the runnable directory and execute WS-Attacker:

$ cd runnable
$ java -jar WS-Attacker-1.6-SNAPSHOT.jar

If you want to practice the attacks and you do not have any Web Service, we encourage you to use the Apache Rampart framework. This framework provides several Web Services examples and is vulnerable to the most of the provided attacks, including XML Signature Wrapping and the attacks on XML Encryption



Post a Comment

Note: only a member of this blog may post a comment.

Toggle Footer