Any globally public web site will be attacked. There various types of attacks:
- DDoS - Distributed Denial of Service
- Phishing attacks
- ATO - Account Take Over, e.g. password break using brute force for common passwords
- SQL Injection
- and many more...
On this post, I would like to address other type of attacks: Inventory Denial, and Web Scraping.
Inventory Denial attack, depletes the stock by starting a purchase process, but never commits the transaction. A known example is a flights company web site, that allows ordering flights seats online. Once a seat is selected, it is reserved for the customer for a limited time, e.g. 15 minutes, allowing the completion of the payment transaction. An attacker could use bots to preserve the flights seats every 15 minutes. This would mean a catastrophic implications for the flights company, whose plane would departure empty.
Web Scraping attack, scans a site to retrieve valuable information and create an unfair advantage for competitors. For example, if I can find out the price of every item in my competitor web site, I can tune my web site items' price to be just a bit lower.
Both of these attacks have a common attack vector: repeated requests to the web site from one of more web clients. Most of the protection solutions address this by identifying bots request. Assuming that the attacker uses a bot army to run many requests, the protection solution blocking the bots would prevent the attack. A question to be raised here is, what if the web clients are not bots, but instead, a cheap human labor army? But, lets focus, for now, on the bots.
Assuming that we are using a protection solution to protect our site. How can we check that it is indeed protection our site? For this we can use several tools:
- Burp Suite
- Google Chrome extensions:
- IPFuck
- User Agent Switcher
- Scraper.io
Burp Suite
- Open Burp Suite
- Click on Proxy, Intecept
- Change to "intercept is on"
- Send the request that you want to reshape
- Select the request on the Burp Suite
- Click on Action, Send to Intruder
- Change to "intercept is off"
- Select the value of the header that you want to change, and click the Add$ button
- Set Attack type to Pitchfork
- Select the Payload tab
- Choose a file containing a simple list of the values
- Mark the URL encode characters checkbox
- Click the Start Attack button
No comments:
Post a Comment