Saturday, 19 January 2013

Talking a look at how AppScan Source creates WAFL files for ASP.NET ASMX WebServices

To try to understand how to improve AppScan’s Source support for ASP.NET based Frameworks (see Ian’s post Extending AppScan's Web Application Framework to support ASP.NET MVC) a good place to start is to look at how AppScan’s Source already does (a bit of) that for ASP.NET *.asmx based WebServices (where AppScan Source is able to successfully create Tainted Callbacks for methods tagged with the [WebMethod] attribute)

AppScan Source uses the powerful IBM research technology called F4F (Framework For Frameworks) which in practice is a bunch of *.jar files that create WAFL files.



If you have access to a box with of AppScan Source, find these files.

image

And drop them into a Java Decompiler like this 'JAD based' from O2 (used on the screenshot below)

And take a look at the com.ibm.appscan.frameworks.aspdotnet.jar file:

image

For example here is the function that seems to be doing all the heavy lifting:

image

References on F4F and WAFL:
Post a Comment