Capstone: review a web application and replay a mass-exploitation incident
Apply the class by deciding how to defend a web application when a flaw cannot be fixed immediately, then replay a real incident in which a flaw in a file-transfer web application was used against many organizations at once.
The capstone labs
- Put a Web Application Firewall in front of your web app: You put a web application firewall in front of an app you own and tune it, one layer of the defence in depth you have been building.
- Virtual-patch a SQL injection tonight, or wait for the code fix?: You decide between a quick virtual patch and waiting for a code fix, using what you know about injection and layers.
Chain Replay exercise
In 2023 attackers used a SQL injection flaw in a file-transfer web application to install a web shell and take stored files from many organizations. Replay it and test the controls from this class.
- Run the replay with no controls. Which stage is the injection, and which Top 10 category does it belong to?
- Turn on the web application firewall control. What does it detect, and why is it a second layer and not a substitute for fixing the code?
- Turn on the control that limits internet exposure of the web interface. Which principle from this track does it express?
- Turn on patching. Which stage does it stop, and what does the incident teach about patching when a flaw is not yet known?
Write it down
- Write a half-page review of the practice app you set up: three Top 10 categories that apply to it, one finding for each, and the fix.
You are done when
- You can review a small web application using the Top 10 categories as questions.
- You can explain the difference between fixing a flaw and putting a layer in front of it.
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.