Saturday, 16 January 2016
0 comments

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 (http://nds.rub.de/ ) and the 3curity GmbH (http://3curity.de/ ).


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 (https://www.nds.rub.de/research/publications/ws-attacker-paper/)

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

  • SOAPAction spoofing: see http://www.ws-attacks.org/index.php/SOAPAction_Spoofing
  • WS-Addressing spoofing: see http://www.ws-attacks.org/index.php/WS-Addressing_spoofing
  • XML Signature Wrapping: see http://nds.rub.de/media/nds/arbeiten/2012/07/24/ws-attacker-ma.pdf
  • XML-based DoS attacks: see https://www.nds.rub.de/research/publications/ICWS_DoS
  • New Adaptive and Intelligent Denial-of-Service Attacks (AdIDoS)
  • XML Encryption attacks: see this blogpost (http://web-in-security.blogspot.de/2015/05/how-to-attack-xml-encryption-in-ibm.html) 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: http://sourceforge.net/projects/ws-attacker/files/

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 https://github.com/RUB-NDS/WS-Attacker.git 
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

Download

0 comments:

Post a Comment

 
Toggle Footer
Top