So a little bit about us. We work for Fishnet Security but we're not sales people so you really don't have to worry about that portion of it. I'm a principal consultant on the AppSec team. I also am an associate professor of software engineering at the University of Advancing Technology. So they have a booth over there in the vendor area if you feel like talking to them. And even though we didn't change the slides, that's actually J-Rock, not Justin Engler. We went through our entire team and gave each other hip hop names. So that's J-Rock. Okay, Nate Dogg. I'm Nate Dogg. I'm Seth. I'm also a principal consultant at Fishnet. I'm Greg. I'm a senior security consultant at Fishnet as well. I'm Justin. I'm a regular consultant at Fishnet Security. So kind of what our talk is about here is we're going to provide a little bit of an overview of problems. We're going to talk a little bit about the specific problems with current testing tools that people may or may not be aware of. So kind of our modern landscape is that we end up with people who may be in a QA or security testing role who may have come from a different background that, like, they may not have had development experience. So when they run into problems or when they run into technologies they may or may not understand, they might not find vulnerabilities that are fairly easy to find. And some of that is a problem on the tools perspective. Like not being able to run a project based on a able to handle modern web applications. So we'll go through some of the current workarounds and how that, you know, how people are handling those. We'll go through a little bit of proposed solutions, like how those can be fixed. And then we wrote a tool to start addressing some of these issues. So we'll go into ‑‑ we'll skip some of the stuff and get right to the demos and show you the tool. So what we aren't going to do, which this is kind of a lie, so we aren't going to beat up on any particular vendor. So that's kind of sort of not true, but we're going to try to keep that. We didn't say tools, we just said vendor. Yeah, it said vendor, yes. We also currently can't solve every single problem that we outline, but we're working on it. And we're definitely not going to sell you a solution. So our goals for this is, one, to raise awareness for people who actually test applications. We want to put focus back on the data. So we're going to try to keep that in mind. So we're going to put focus back on the tester and not so much on the tool. And that's what our tool allows you to do. I know that sounds kind of weird, like we're giving you a tool so you don't have to use tools. So it sounds kind of strange, but you'll get it by the end of the talk, I promise. If not, you can punch me in the face afterwards. And also to get you to submit bug reports for Raft. I remember a couple of times when some tools came out, I don't want you guys to do what I did, so I would download the tool and give it a try and then something wouldn't work and I'm like, this sucks, I'm not going to look at it anymore. So we're going to try to do that. And so don't do what I've done in the past. I realize I'm, you know, not being a good advocate of that. But we will fix something and, you know, we will take feature requests and try to work things into the tool. So a little bit of clarification. Throughout the talk, we use terms fully automated and semi-automated. And sometimes we use those interchangeably. So that causes some confusion. And we're going to continue to be confusing about that. So sorry. So this slide is going to try to explain to you a little bit more about what we're going to do. So if you think of a fully automated testing tool, like your enterprise application testing tools, those are like the Mac 10 on the right-hand side, right? So basically what you're doing is you're loading up a bunch of bullets and you're just spraying them in a current. Anybody who's ever shot a Mac 10 knows that you can't hit anything with it. They might as well not even have any sights on it. You just point it in a general direction and you put holes and stuff. Not always the best solution. So semi-automated testing or how it should be, you're going to be sending data to something like running through a bunch of different test cases. That's more like the semi-automatic sniper rifle. So you're honing in on a problem. And you're really trying to focus on that problem and find vulnerabilities based on a specific set of test cases. And that's mostly what we're talking about during this talk, is we're talking about the left-hand side. We're talking about the sniper rifle. Okay. So I'm going to kind of talk a little bit about the current solutions that exist out there. I'm not sure how well you guys can hear me. Basically we test for a living, right? We're looking at web applications and we've kind of figured out that they all fall down in some way or another. I mean, you get a, you know, the fully automated tools where you click the start button and it's supposed to find every vulnerability under the sun. And I end up spending two to three days configuring the thing and it comes back and it tells me there's, you know, there's a SSL is misconfigured or some shit like that. So the automated tools fall down. I mean, there's the fully automated ones, the semi-automated ones. They have session and state problems. You've got scanners that will run and they, you know, pull what you did. And the next time that you go to the site and have the tool run, it's out of state and it can't figure out that it's out of state. So you've got hundreds or thousands of requests that are coming back. And there's a lot of stuff in the tool or that the tool is making to the website and they just aren't valid because they're all returning, you know, 302 redirects or something like that. They have problems with, you know, these complicated applications. The modern technologies we already talked about, you know, C surf tokens, web services. The tools just don't understand them very well. Furthermore, all this data that is collected is in disparate locations, right? You've got your proxy that you're using while you're testing. You've got the full blotter and the lot of the alone, app scanner, web inspector. Sorry, I probably wasn't supposed to mention that. But the fully commercial scanners, getting data out of those tools can be just one huge pain in the ass. And as you go further, you've got all this data that you've collected that there's no analysis that's run on it after the fact, right? You've got a single request response, the scanner goes in, it makes its assumptions about what's happened and then it basically discards that data. There should be some sort of analysis that goes on after the fact. As testers, we need more interaction, not abstraction. We need to be able to understand the application in order to break the application or in order to find the vulnerabilities. And if it's not ‑‑ I mean, if the tool is basically the point and click tool, you don't understand what it's doing behind the scenes. All the vulnerabilities that I find typically are because I'm in the application, I'm actually looking at the request and the response responses on a low, low level, not at the level that is being presented to me by the tool itself. Furthermore, we miss portions of the application. If you think about the mobile applications that exist in the space that's out there now, when your iPhone makes a request, you get a different application than you do when you're using your Firefox web browser. If the tool doesn't understand that, hey, it needs to fuzz the accept header or the user agent header to actually get into portions of the application, you're going to miss maybe percent of the application is developed by the developers. And there's some risk. We could go on forever. If you really want to know about the problems, we really beat up within the white paper that we presented. Can anybody tell, like anybody who tests web applications, so say you have an automated testing tool, can anybody see from the screen shot why it might have a problem? There you go. It says sign out. A lot of automated testing tools look for a regular expression to tell whether it's in state or out of state. So the application is clearly asking the user to authenticate, yet it says sign out, like they're already logged in. So a lot of tools will continue to send their tests and fail based on that. And then you've got things like this risk-based test. You've got the risk-based test. You've got the risk-based test. Login that we're talking about at the beginning. Financial applications. Depending on where you're coming from, if it's a new browser that it hasn't seen before, they're going to ask you for more layers of authentication. And the first time you step through it with your tool, it may ask two or three different questions and it will be different the next time that you hit the application. So these tools are just, you know, they're basically killing us when it comes to application testing. There's simple features we're missing, request times, authorization checks. Storage locations, the new HTML5 spec, flash objects. Things like that. Especially these tools that were built in, you know, 2001, 2002, they don't understand any of that new technology. So now that we've talked about why the existing tools can't do a good job on the whole picture, we're left with trying to figure out at the end of the day when I have to do an assessment, what am I going to do? So even though a lot of tools don't handle the whole picture, structure. There are some that can handle pieces. So we run a bunch of separate tools that do little pieces. And a lot of them don't have any analysis of their own. Sometimes we'll write our own custom scripts to do something custom to generate a whole bunch of requests. But then we don't have any way to analyze what we just did. And not only do we not have the way to analyze just the one thing from one tool, we've got all this stuff from all these different data formats and we don't have any way to get them all in one spot and then look for commonalities. Another problem with doing it this way is that most of these tools, even when they do have analysis, you can only do it on the stuff you just ran. If you've got data from a bunch of tools from last year and now some new type of vulnerability came out and you want to check, hey, do I still ‑‑ do I have that in any of my stuff, you're going to have to scan everything again. You can't just take the results that you had and run the analysis. So I'm going to go ahead and show you some examples of that. So instead you could try testing manually. But when you look at the scope of the assessments at least that we get, there's not really any chance that you would be able to get anything meaningful done by manually clicking things and manually looking at the responses. We've got, you know, thousands of pages to look at in the course of two weeks. You're not going to get it done. You need to have something that helps you reduce that burden. So just manually doing it isn't going to work. If you've got a crazy tool that almost does what you need, sometimes you can modify it. You can modify it. You can modify it. You can modify something to do what it wasn't supposed to do. But even that can be painful. And you're spending time writing scripts when you should be spending time testing the program that you're supposed to test. Has anyone in here ever had to use, like, Windmill or Selenium to do a security test? Anybody? A couple people. A couple hands. Okay. So that's kind of what we're talking about. Like, you know, Windmill and Selenium are more or less QA tools. They're not really made to find security vulnerabilities. So you might be looking for something specific. Like, let's say you modified and you had some security issues. You might be looking for Selenium scripts and you were looking for SQL injection. Well, you're kind of focused on SQL injection, but you might miss a whole slew of vulnerabilities in the same request that could be easily found if there was proper analysis done on it. So the other problem is many tools were fine when they were first written so that you could, you know, present at DEF CON a couple years ago. But they don't ‑‑ they've never really been kept up to date or they don't adapt. And so just like our picture ‑‑ You need to stay up to date with the times or you will become useless. I would argue ‑‑ I don't think she's ever been useful, but it was just a funny picture. So anybody here use NIC2 on a regular basis for doing web application testing? Raise your hand, please. We can get some kind of count. Okay. And how about Durbuster? A couple more hands. All right. Okay. So I'd say that was maybe 10 percent. So if people haven't figured it out yet, NIC2 is just a piece of crap. If you actually look at what it is, it's just a list of web request URLs that get sent and it has some pattern matching that comes back. There's no intelligence in it at all. I mean, about the only thing it's valuable for is testing very broken WAFs. And Durbuster, we're going to talk a little bit more about Durbuster. So those word lists that you guys are using in your Durbuster tests, if you're using Durbuster or if you're importing them into another tool, those haven't been updated since 2007. And if people haven't noticed, the web has moved on since then. And there's a lot of common words that we see all the time that aren't in those lists. So there's a couple reasons for this. When those lists were first generated, they were generated by going out to websites and spidering the website, seeing what directories existed and pulling words down. Well, if you think about that, you're interested in parts of the web that are not in those lists. You're interested in parts of the website that don't exist. Not the parts that do. So if you're just depending on values that come back, you're going to be missing all the stuff that you think you should find but aren't. And there's a lot of bad words in there, so you're wasting time. Because search engine optimizers do keyword stuffing, so you're going to end up with all these strange words that are completely useless. So here are some common words that, you know, we see in our assessments on web servers that aren't in the small and medium list. I mean, ASP.net, ASP.net client, that's pretty important. You know, the VTI directories. There's good information that can be pulled from that. So that's just something to be aware of. I mean, these are common things that are missing. So if you're depending on these tools and not actually looking at what they're doing, you have these big blind spots. And this is kind of ‑‑ you know, we were reviewing the Durr Buster list and we were like, what the heck is this? And we were like, what the hell is this? Jeremiah Grossman. I mean, I'm sure people know Jeremiah, either through his reputation or at events like this. You know, when was the last time you found Jeremiah Grossman, the Jeremiah Grossman directory on your web server? Really? You know? It doesn't make any sense. Why are you ‑‑ Maybe he just stopped by to say hello. Yeah. The thing I love is that the ASP.net client isn't in there but Jeremiah Grossman is. Yeah. It's like, really? Does nobody look at this stuff? So that let us say, well, we need to generate our own word lists. You know, how do you approach this problem? And we said, well, let's think about some way that we could go out and find words that people are telling us not to look for. And if you're familiar with the robots.txt exclusion standard, basically webmasters go through and they mark parts of the site that they don't want Google spidering. You know, maybe there's sensitive data there or maybe it's an underlying web application that they don't want to look at. And then they go through and they look at the web application components. So those are the kind of things that when we're doing an assessment we're very interested in. So we went through and we pulled down the robots.txt file from a lot of sites. We combined the Alexa and Quantcast top million site. And pulled down about 1.7 million ‑‑ we made about 1.7 million requests. And found 350,000 unique files. And we went through and we generated word lists based on how prevalent certain words were. So it's kind of like we crowd sourced what people are telling us not to look for. So we've been using those on our assessments. And we're seeing that we're getting better results back than when ‑‑ depending on the Durabuster list. So those are out in our SVN on Google code. You can pull them down. Right now they're just in a 7‑zip file. So pull them down. Look at them. If you think they suck, there's probably some stuff in there that doesn't make any sense. Let us know. Give us feedback. So one of the things that I always like to say is that tools don't find vulnerabilities like people do. So tools should be there to assist in identification of vulnerabilities, not exactly point them out. So if you have a tool that's telling you something is vulnerable, the tester has to have the knowledge to look at that data and say, yep, that's an actual vulnerability or it's not a vulnerability. So we decided that there's too many tools out there with absolutely no vulnerability. So that's one of the things that comes to the sort of fuzzing or fault injection testing of applications. So if you had a ‑‑ like say you were testing for SQL injection and you have a good SQL injection list that you want to test with different values, with modern applications, a lot of times those fall down. So if you've right‑clicked on your favorite tool and said send to, insert semi‑automated testing tool here, if there's a CSERF token that changes, everything will be fine. But if there's a C‑SERF token that changes, everything will be fine. If there's an error message every single time the page is laid out, that means every single one of your tests is going to fail. It's going to come back and say, you know, yep, not vulnerable or depending on the error message, it may come back, you might be able to identify that. But that's a big problem. So ‑‑ because often you can use, you know, automated tool, automated tool, and it might not find an instance of SQL injection that was very easy to find if the person would have tried to test manually. But they're using these semi‑automated testing tools and it's failing and they're assuming that they can move on to other tests. So a smart tool, a smart semi‑automated testing tool should have several components. It should have session management, obviously, because we want to make sure that our tool is smart enough to stay in session. It should have sequence building and running. So if you have a difficult test case, you might need to run a sequence of events prior to sending your test case and even a sequence of events after you've ran the test case. So, for instance, you may need to run a sequence of events to log you in, run a test case, and then log out. There are crazy weird applications like that. A lot of international money transfer applications have weird functionality like that to try to make them more difficult, I guess. So security through obscurity. But any tool that can handle those three things can test them rather easily. Also, content discovery and support for, like, modern technologies. So we all know that something new comes out, developers want to use it. It always takes testing tools time to catch up. So here's our tool. We're going to start talking about how we solve these problems and how you can use our tool to help you solve some of the same problems. So a little bit of history about Raft. It was written, it stands for response analysis and further testing, which is actually on the next slide. I probably shouldn't have said that. But you're probably wondering why there's a big red raft in the center of the screen right now. So this tool was created because I was on an engagement and I had to write some custom scripts to test some functionality of a web application. And I got to thinking, there's this data I'm collecting and I'm looking for something specific. Quite simply, I wanted to be able to see the data, syntax highlighted. I wanted to be able to see the data rendered in some sort of web view. And I wanted to be able to parse out scripts and comments and all the general things. So I created a simple QT interface that allowed me to do that. Of course, the tool today looks absolutely nothing like the beginnings of it. So. It used to be just basically a SQLite browser. Yep. With access, you know, focused towards web technology. So basically it's not an inspection proxy. So that might throw you for a loop a little bit. But we decided to take a different route and kind of change that paradigm that everybody's used to. Because if you think about it, you're just chaining responses through another device or another application. So. So that's really important. Because almost all of the work flow that you see on all the other tools is, well, you'll set up this inspection proxy, use whatever browser you want to go browse through the site and then come back and look at the tool again. We decided to just cut out that middle man. And instead, you can import data if you already have it or you can just use the browser that we have ourselves. So we actually built WebKit right into the thing. So it works just like your Safari or your Chrome does. And it renders things the same way. So a lot of tools that have their own browsers, they often have something that's kind of not as full featured or is just a little weird. This one is going to work just like you expect it to. We also, a big piece of this is we made a custom analyzer engine so you can write whatever it is you want to find easily and then run it against all of the stuff you have. It's all open source. It's Python and QT and it's designed for testers. It's not a fire and forget, click the button and your report is done tool. This is designed for testing. So it's a fine-tuned device that has a for someone who already knows how to test web apps, but they just need something to help out. So now we're going to have the demo. What you've all been waiting for. Yeah, we got through like the boring technical stuff, so we'll see if we can get this going. All right. This is the user interface and we're sorry about the screen resolution. Screen resolution looks like crap. Yeah. So this has a little bit different workflow like Nathan talked about. This started out as a way to look at data from other data sources. We have our own capture format that we have defined. It's an XML based format. And we have provided a DTD for you and there's a URLib2 module for people that do Python that you can just plug it in as a processor and it automatically generates this format. So we'll look at some data we've captured and, you know, I just want to point out here there's we're off the Internet anyway, but there's an important thing that we discovered is when you're looking at rendered data from old assessments, you know, you may have a limited time window for your testing. You're not supposed to be interacting with the site. So we have this black hole network. So if you're looking at old response data, there's no traffic being sent out to the Internet. But when you have captured data, if you have all the references, all the images, anything that was originally referenced, then the built in rendering will pull that out of your data and display the web pages that originally existed. We have responses. Here, I'll zoom this in so you guys can see. We have the zoom feature, which is really handy. You can see the request, the response. I don't know if there's any scripts on this, but we pull them out. I'll find some with comments. Links, we pull out all the links. So you get a quick view of what all the references are. Any form values. You can see that there's a lot of information in here. You can get those. We kind of go through and parse out of the DOM and generate the list of forms. And then one of the really handy features, you know, if you do a lot of assessments, especially with highly dynamic applications, you know that you have to do view source a lot, view generated source. So we have the generated source that we render the page and pull out of the DOM. And any of these, like, references, like links and forms that are dynamically added, those also get included here. So that's pretty handy. So that's imported data. We also support from the wrap format. We also support burp logs, burp state files. If you use burp pro, you know the saved state files. And the XML, saved XML. And web scare in Paris, message log formats. We don't do their storage. But we're working on that because it's not a good interface. We also have our own built-in web browser. So you can go and pull up sites. Let me copy this. I'm not sure if you can see it. I'm not sure if you can see it. Let me just type that in. Don't get into my porn. Yeah. Definitely. So we just have an instance of the broken web applications running locally here. So this is a simplistic ‑‑ I don't know why I'm bending over like that. That just looks strange. This is a simplistic view of our browser. It's made as a proof of concept. So in the future, we're going to have ‑‑ Yeah, there is ‑‑ and there is ‑‑ the question we got the most is, there is a back bug in the browser? Yeah, there is a back bug. You just have to right click in the page to go back. That's terribly intuitive. We understand. Yeah. We definitely have some UI. You know, we're not GUI designers. So we have some UI inconsistencies. So you just have to work through those. But as ‑‑ close that. And if you ‑‑ if I scroll down here, we'll see that those ‑‑ any requests that we've been making ‑‑ yeah. We have a zoomed in view. So those requests that we've just making are now being saved in our storage. We use SQLite in the back end. So those are just getting saved to a local storage database. Other interesting tools, we have a little search engine. You know, you can go through and type in, like, let's say you want to look for HTML comments. So this one will have some comments in there. And we offer, you know, a variety of stuff. So you can see, you know, if you want to look for HTML comments, you can do that. You can search routines. There's a built‑in differ. Let's see if I can find some pages that are similar. No. I'll just pick two that aren't. Just so you can see the differences. Yeah. This is like a really bad example. It's syntax highlighted. It's using the built‑in diff live in Python if you're familiar with that. So it's based on word matching and not byte positions. We're going to cover some of these things, like the analyzer. The requester, you know, like simple tasks. Like requesting a whole bunch of URLs that other ‑‑ you know, like going through and saying, well, copy my site, Matt, and re‑request them with a different authentication sequence. That's, like, really tough to do in a lot of tools. But, you know, here we have it all templated out. And you just copy the URLs in here, pick a sequence and re‑run it. Our crawler is a little bit different. It has the traditional web spidering approach. But in addition to just pulling down and analyzing the raw HTML, it also renders anything. So highly dynamic web applications that, you know, that are based on Ajax or some other rich client technology, we can go ahead and pull out any dynamically generated links and follow those. We generate mouse events. We can do a lot of different things with that. We can do mouse events, text events, submit forms, do clicking, all on dynamically generated basis. We have an encoder. Probably the most interesting thing was UTF‑7, generating malformed UTF‑7. There's a lot of WAFs out there that check for UTF‑7 and cross‑site scripting attacks, but they don't check for malformed versions. And web browsers are more than happy to render UTF‑7 if it's malformed. We have a data bank. It's going to hook into the system. It's going to be able to use both the spidering and any sort of sequence if you do replacement, dynamic data replacement. We'll cover that a little later. Site map. You get a view of the site. Cookies. In addition to your traditional cookies, we also have off‑reviews of flash cookies. So this is pretty uninteresting. Nathan cleaned all the porn off his machine, so all this flash cookies got deleted. Right now you can only view them, but we're going to give you the ability to see them and edit them. That's really important, like if you're testing risk‑based ‑‑ applications with risk‑based log‑ins that are storing data in those flash cookies, getting a good way to go in there and edit those values. And HTML5 local storage. I'll go through a little bit of a demo of that later. And that's about it for now. We're going to start covering some of the other interfaces. JROC doesn't know how to use a Mac, so ‑‑ Sorry, guys. ‑‑ we have to drive it. I'm sorry. So as the regular consultant, I get all the boring slides, too. So we run on Mac, we run on Linux, we run on Windows. We've ‑‑ Mac works pretty well. Windows, you've got to do some compiling. I'm not going to go into the boring details. The easiest way to use this right now, if you have backtrack 5, you have to do one app get install of Q scintilla and then just download our stuff and it works. We've been trying to keep everything that we need packaged in with it. There's just a few things that we've been trying to do. We've been trying to keep a few things that we don't, but this is the list. It's up right now in Google code. We will eventually have packages, so for those of you on Mac and Linux and Windows, it's easier for you to just download it and run it. And please, please, so how many of you are web application testers like us? Show of hands. Rough. Okay. How about functional testers of things that might use tools like this for security? A couple more. Okay. Who knows how to write documentation? We need those guys, too. So all you guys that are testers, whether it's functional or application, your specialty is telling developers how much their software sucks. So we need your help in telling us bug reports on what goes wrong and then hopefully some help on how to fix it, too. But even if you just tell us what went wrong, that would be great. Yeah, you're probably going to want to wait like a week or two so we can get back from Vegas and fix some of the problems that we found while we've been out here. You know, we're like 12th hour development, like running down, you know, ten minutes before we had to present writing code. So, you know, that's the way it goes. Yeah. We presented at Black Hat and we didn't see the outside of our hotel room pretty much the whole time. Okay. So now we're on to the analysis engine. Right? It's obviously in the title. This is a big portion of Raft. We wanted something that would actually analyze everything that we currently have. So we wanted something that would actually analyze what we currently had. Right? I don't want to have to spider the site again to figure out if there are comments that may, you know, have some data that are interesting. Yeah, I can go back through the burp state or whatever, but it's, you know, you always find yourself writing another manual tool to pull more data down. But if I've already got all that data, let's actually just analyze what's there. So our model here for analysis is something modular. Right? We want to be able to, you know, write one time and have it analyze all this data that we have. We want to be able to analyze sessions as a whole, not just, you know, single request responses. You know, if the first request is different from the last request, but we made the same ‑‑ or the responses are different, but we made the same request, we want to know that and we want to know why. So we want to find what others ignore. We want to look at timings, like how long it takes a page to respond. We want to do some image analysis. If you guys have looked at Google images lately, they now actually pull out exit data and will display where exactly a page is. So we want to be able to see where an image was taken or what camera was used for it, that type of information. And that's not something you typically look at during an assessment. But it could be useful information, especially for a social engineering engagement. Something along those lines. So the possibilities are really endless. These analyzers are extremely easy to write. Let me show you at least the demo, right? I guess we've got anal going on right now. But right now there's nothing in the analyzer. We haven't run the analysis or the analyzer in the analyzer. We haven't run the analyzers yet. But we are looking at actually hooking some of the scanner and fuzzers into the analyzer so it would kick off specific analyzers when we make a request and things like that. But currently we have to actually click this circle button up here which runs the analysis and we get back, in this case, 120 results. Now, these analyzers, this is currently what we've written. Some are in, you know, flux. Some do more than others do. Some do more than others do. And we've got, you know, we're looking for error messages, insecure cookies, I mean, the low hanging fruit, what's currently out there. We're analyzing some redirects to see, you know, if there is more information behind a redirect than is actually displayed to the browser. I mean, your browser takes a redirect, it just takes you to the next page. But I've seen applications where people actually allow you to spider the admin section because the developers didn't write the redirect portion of the application correctly. Timing analysis, you know, we're looking at the denial of service pages, you know, anything that would cause the server itself to spin longer and to take up more cycles so we could, you know, potentially execute a denial of service attack. So these are ones that we've currently written. If you've got other ideas for what can be implemented, let us know. We did implement simple rejects and we're going to do a couple of strings. So all you have to do is change the configuration, add your regular expression that you want to look for in all of these requests and it will display them to you. So currently I think we've got, you know, we're looking for personal information. So in Altaro mutual, we found some private information here, you know, a phone number. It will actually tell us in the response, I believe. Yeah. So it finds the phone number and it will show it to you. So it's easy to scope through there. And I think when we were building this, you know, we had a lot of problems with this. We decided, hey, we want to know if XSS has been found. It took us all 20 minutes to write the XSS finder to see if an alert box popped and if it did, then if it was in the request, then XSS is obviously within the application. And we'll get ‑‑ we'll do an example of that in just a minute. Yeah. So that's the analysis engine. Jump back over to keynote. So a little bit about our smart test environment. We're going to talk a little bit about testing components because we basically so far we've been talking about data you've already collected. So now you've already collected the data, you want to do some additional testing based on the data you've collected. So we created a requester and a fuzzer and those are templatized and we'll get into those in a second. We're about to do the demo. But we also have the ability to run sequences. So you can launch the sequence builder, build your sequence out and then import it into or just select it from the drop‑down box when you're doing your testing. And we have a browser object. So that browser object can be utilized during the testing as well. So this templating approach is probably better just to show you versus explain about it. So we'll go through a simple example of using the templated approach to fuzzing. So we'll grab our URL here. Make a request for the resource. So we want to actually replay this request first. So we're just using the open ‑‑ OOS broken web application. We know that this is vulnerable to XSS so it's a good place to test. Yeah. And we're using our own built‑in web browser. So any of the requests that you make through here end up in your data set automatically. So here's the request that I just made. The name equals test. Easy enough to send that over to the web fuzzer. And as you can see, the templates here, so there's, you know, some automatic templates. But there's a payload drop‑down box for, you know, where you want the payload to go. And here's the mapping screen. So you can map payload names to different sources. Yes, the two in there are hard‑coded. That will not be hard‑coded for long. We needed something for the demo. So we'll have a directory where you can load all your favorite lists and those will be automatically available to you in the interface. So ‑‑ go ahead. Yeah. So in this case, I need to fuzz the name equals test variable. So I'll add the marker just there at the end of the URL. This will be explained better in our documentation. So ‑‑ because we're working this out right now. Our copious documentation at this point. Yes. All right. So all we have to do is start the attack. You see it went really quick. Again, you know, these are hard‑coded lists. We have ‑‑ you know, it's not everything and anything. But you can actually view the results, what it did, all of them that it sent. And then we can look at them separately or we can go back and look at them in the response view. Now, at this point, you know, we've done these tests. We want to see if it found any XSS. So we're going to run the analyzer again. And now we have instead of 120 results from the first run that we did, we've got 162. And all those are in the XSS finder. It looks like we've got a couple here. If I actually render the page and it was successful, I get the XSS pop‑up. Because I am rendering it. I mean, we're actually running the web kit engine behind the scenes. Okay. So we're going to have a sequence fuzzer. And we were looking at his laptop. It's kind of funny because it locked on us. So we don't know where we are. So we're going to have a sequence fuzzer. And that sequence fuzzer is going to allow you to tag data in sequences. We call it a sequence of events. So you can import a sequence of events, tag that CSERV token, that elusive CSERV token that's making all of your requests fail. You can tag that and then place it into your payload. So now all of those previous tests that you were running that were failing will now become successful. And in the future, we're going to have the ability to do any kind of dynamic data on the DOM. So the really, really, really, really, really difficult to test applications. You'll now have visibility into doing those without having to do them by hand. Yeah. So I'll just do a quick sequence builder demo. This is obviously not completely functional yet. But at least give you an idea. Because we're still in the process of getting our dynamic data replacement features to work. So here we have a pretty typical log in form. We'll just log in. Foo foo. As that's submitting, we should start seeing cookies getting captured. If that ever comes back. We'll see the parameters. The network is down. The network is down, yeah. The local network. We're in bad shape. But you can come through here. And by default, any sort of media responses are excluded from sequences. This is where you configure the dynamic data replacement. We're going to offer the ability to run the sequence in a web browser so you can literally render the whole thing. You know, we discussed earlier about some of the session state problems. So we offer both an in session pattern and an out of session pattern so that you can figure out, well, do I have some specific request that's causing a problem. So let's see. I think I'll log out. Log out. People that are leaving are going to be really upset because we're giving away free data. So we're going to have to figure out how we're going to do this. We're going to have to find some of these cookies. Yeah. What am I looking for here? Log in? Log out? Could be. No, it's log out. All right. So if you've configured other tools, sometimes it can be a pain to figure out. So we actually search through it dynamically and mark it up for you. Yep. Yep. So how many people in here would like to search for DOM-based XSS without having to use a browser plug-in or having to send your website to some application off on the web and have it test? Anybody? That should be pretty much everybody. So we have a built-in DOM fuzzer so it's integrated into our tool so we can identify things like DOM-based cross-site scripting without you having to use another tool. We're going to do a demo of that right now. So I have imported a couple of web pages that are, I know, vulnerable to DOM-based cross-site scripting because I wrote them. I'll show you their response here. So if you look in the response, it just does a simple ‑‑ let's zoom this out a little bit. This resolution is just killing us. So it's just doing a document dot right location dot HRF so that's going to be vulnerable in some circumstances. This one is also doing something similar. Yeah, this is doing an un-escape. So if you come over, our DOM fuzzer is very basic, but it still finds stuff. So if you look at these tests, we've generated some unique script statements. Those are quite common. An alert that would go into a string, you can see that it's if you're doing a string and a pattern that's going to be pretty much unique on the page. So what we'll do is we'll go through and run the fuzzer based on the ‑‑ that is the absolute first time that that's happened, I swear. You know, that sounds like a joke, but it is the first time it's ever done that. So I guess we need to fill out some bug reports ourselves. Yeah, I guess so. So what this is doing is it's taking the saved HTML data and it's loading it into an instance of web kit and it's setting the base URL to the modified value. So this is not making any sort of network requests at all. But it's still replaying those values and rendering it as if it was on the original site. So we should start seeing some results coming through and we're doing a couple of matches here. The first one is high. We hook the alert box. So if we see an alert box, pop in the alert box, pop in the alert box, pop up with that number in there, we say, bang, found some DOM‑based cross‑site scripting. In other cases, we're just looking for pattern matches in the rendered DOM content. So like if we look at this guy, you can see that's written out. And if we render it, boom, right there. So we found DOM‑based cross‑site scripting without sending any network traffic at all. And ‑‑ is it ‑‑ are we ‑‑ yeah. Okay. So this we have set up in the HTML5 demo. And we're going to try ‑‑ I'm going to try it if this works. Uh‑oh. Yeah. I'm not sure if it's going to work. So one thing tools don't normally do is give you visibility into things like LSOs and allow you to modify those to test to see what would happen. Yeah. This is kind of a twitchy one. So the HTML5 demos, if I look at this and render it. So if you come over here, you should see the local storage now has a value in it. Yep. So if we set that ‑‑ and this is the part that doesn't always work. You're not supposed to tell them. Yeah. Well, like we said, this is still kind of a work in progress. But think, no other tool allows you to do this. So being the only one and it kind of sucks right now is better than being ‑‑ Yeah. Yep. You may disagree and that's okay. Yeah, that didn't work. So we'll switch back over. What happens is it gets cached, the browser is caching that local storage reference in. We're directly modifying it through SQLite. So you don't get to see it. So here's the way it actually should look. Here's the time that it did work. Yeah. It's fine. It works every time. You just have to restart it, which is annoying. So you modify the value and then when you go back and re‑ render the page, you get the pop‑up box. So that's actually modifying the local storage. And some people ask us, well, what is the attack scenario there? And we say, well, it's really no different than any other situation where one part of an application accepts data and it doesn't properly sanitize it. And then it gets replayed later. So let's say you have a web page that's storing some sort of user preference in a client‑side storage. I mean, that's not going to work. It's not going to work. And developers are starting to use this and not even realize it. Like they're importing J storage and using it without understanding where these values are actually being stored. And then later you come back and it pulls it out of there and it doesn't encode it or sanitize it. And then you have cross‑ site scripting. So let's say you do some sort of forced browsing to send a value to that web page and get it saved and then force the user to re‑ render that page and they themselves find out to be vulnerable. So we have some more slides and we have no more time. So what we're going to do is we're going to go through some of the stuff we weren't able to cover. As far as documentation goes, there's some on the project page as well as our slides. And a copy of these slides is already available on our project page. So if you have any questions, now is the time to ask them. We're actually going to be in the Q&A room as well. So we can actually go through some of the stuff we weren't able to cover. So thank you for coming out. We hope you use the tool. Please submit bug reports. Please submit feature requests. We had some people come up to us and say that they don't code but they'd like to help out. Well, we need people to submit bug reports and help us with documentation. Yeah, write docs, please. Oh, and we aren't an inspection proxy. Thanks.