OWASP ZAP Tutorial - Part 2: Crawling
Have you ever worked on a blue team and had your email inbox explode with alerts because some jackhole decided to scan your company's website? If so, then you understand why running a full scan might not be desirable (you may also want to tune the tools that fired those alerts). Crawling a site is less noisy than a full scan and it also is less risky. Scans can knock down websites. Crawls are far less likely to do so. With a crawl, you can identify interesting components of a website and maybe even some directories that the designer didn't want you to know about (security through obscurity). So let's look at how to crawl with ZAP. We will build off of the work that was done in the last post.
- In ZAP, right-click on the URL of the application in the Target pane (left-side of the screen). In the options that appear, choose Attack > Spider (Spider's crawl, get it?).
- In the Spider window, make sure that you are in the scope tab and that the scope is properly defined. For those of you that have read the last post, you know that holing up in an Equadorian consulate isn't a great career move. Leave the other options on this screen as is.
- While still in the spider window, click on the Advanced tab. In this screen, we will want to make some changes to how deep the crawler goes and how many children it is allowed to crawl. Failure to do this can cause the crawl to last for a very long time, and it can also cause the application to run out of resources and crash. As a rule of thumb, I set the max depth to 3 (at least to start) and the number of children to 3 as well. You can fiddle with these settings to find what works best for you. Each situation is different, so these rules certainly aren't hard rules. Leave the other settings as they are.
- Click the Start Scan button. While the crawl is running, expand the tree for your target and watch for any newly identified application locations or components.
- Note that you can pause or stop the crawl at any time by using the crawl control buttons. You can also monitor the status of the scan by watching the progress bar and the percent complete. If the scan is taking far longer than you anticipated or wanted, stop the scan and modify the settings in step 3 (smaller numbers = quicker scans but fewer details).
Well, you have successfully crawled a site with OWASP ZAP. Pop the cork on the champagne, were don... wait, what? You still want to learn how to scan? Well crap. OK, check out my next post and we will hit that topic next.
I read your blog now share great information here. Business IT SupportReplyDelete
8bitx 9.0 Mobile AppReplyDelete
8bitx, 8Bitdo J-pin, and the best games on mobile betway platform They william hill have been making it possible for players to make games at all times using software bet365