With particular because of Pete Bryan, Principal Safety Analysis Supervisor, Microsoft Safety.
The SQL injection assault stays one of many vital assaults within the OWASP Prime 10, and it includes injecting a SQL question by way of the enter information area into an internet software with out enter validation. In line with Microsoft Digital Protection Report 2022, 67 % of internet software exploits embrace SQL injections.
Azure Net Utility Firewall (Azure WAF) gives centralized safety of your internet purposes from exploits and vulnerabilities. It protects in opposition to OWASP Prime 10 assaults, bot assaults, software layer Distributed Denial of Service (DDoS) assaults, and different internet assaults.
Azure WAF detects SQL injection assaults and blocks them by default. In sure situations, this could possibly be a false constructive that requires investigation and creation of Azure WAF exclusions. To finish a profitable investigation, full context concerning the assault is required and a course of that guides you thru the investigation is required.
We’re happy to announce a brand new Azure WAF guided investigation to tune WAF coverage Pocket book in preview. It guides you thru an investigation expertise to know the Azure WAF incidents in Microsoft Sentinel, establish false positives, and routinely apply exclusions to WAF guidelines to handle the false positives. This Pocket book permits you to perceive the WAF alert and pivot on key entities of the WAF occasion such because the request URI, consumer IP, hostname, and correlate with Risk Intelligence feeds to get a holistic view of the assault floor.
Azure WAF investigations powered by Microsoft Sentinel
Azure WAF is deeply built-in with Microsoft Sentinel, Microsoft’s Safety Info and Occasion Administration (SIEM) answer. Utilizing the present Azure WAF information connector, WAF logs are ingested and later analyzed for a wide range of internet software assaults and highly effective visualizations pivoting on the total assault sample are offered to you. This Pocket book is constructed utilizing Microsoft Risk Intelligence Middle’s MSTICpy packages. With this Pocket book, you may entry wealthy historic contextual info utilizing Microsoft Sentinel’s capabilities like incident era, entity graph, and menace intelligence correlation, along with Azure WAF’s SQL injection detections primarily based on OWASP guidelines and Microsoft Risk Intelligence guidelines.
Automated investigation and mitigation of internet software assaults
Our new Azure WAF guided investigation to tune WAF coverage Pocket book gives an automatic guided investigation for triaging Sentinel incidents triggered by Azure WAF SQL injection guidelines.
The answer contains the next parts:
- Azure WAF information connector in Microsoft Sentinel.
- Microsoft Sentinel incidents which are generated as a result of SQL injection assault detected by the Microsoft Sentinel analytic guidelines.
- Azure WAF Pocket book that helps examine Azure WAF logs and routinely applies WAF exclusions to the WAF coverage.
A high-level diagram explaining the information movement is given under:
Allow us to have a look at two use case eventualities for utilizing this Pocket book:
Understanding the assault panorama when there’s a true constructive
Utilizing the Pocket book, you may pivot on numerous assault artifacts reminiscent of IP, URL, or area menace intelligence, and perceive the entity graph. This Pocket book retrieves the WAF SQLi rule that generated the detection and appears up associated SQLi rule occasions throughout the pre-selected time. Primarily based on the above particulars, in case you resolve that the SQL injection assault is legitimate then you may replace the incident severity and precedence. On this state of affairs, the net software stays protected by Azure WAF.
Perceive the assault sample and create exclusions if there is a false constructive
Utilizing the Pocket book, you may pivot on numerous assault artifacts reminiscent of IP, URL, or area menace intelligence, and perceive the entity graph. This Pocket book retrieves the WAF SQLi rule that generated the detection and appears up associated rule occasions. It additionally retrieves uncooked WAF logs to know the relations between the request URI, consumer Ips, hostname entities and permits you to dynamically entry the OWASP rule set in GitHub to know the rule match sample. Primarily based on the investigations, in case you resolve this incident is a false constructive, the method to routinely create granular exclusions is offered to you and the exclusions are utilized to the Azure WAF coverage utilizing Azure WAF APIs.
The next personas would profit from this Pocket book:
Persona: Developer at SomeUnionFlight.com
Understanding SQL injection detection logic
Chris is a developer at SomeUnionFlight.com. His firm hosts an internet site for customers to seek for flights and make flight reservations. They’ve hosted their web site behind WAF with Azure Entrance Door (AFD) the place AFD accepts person requests to go looking their web site. SomeUnionFlight.com has an SQL backend the place they retailer flight info. He notices that when customers attempt to entry the web site, their entry is getting blocked as a result of the URL has “Union” key phrase which is triggering the SQL injection rule. This detection is taken into account as a false constructive as a result of the “Union” key phrase is used to say an internet site identify and never an SQL injection assault. He would really like an investigation expertise that helps him perceive how one can analyze this detection utilizing Microsoft Sentinel and decide if it’s a false constructive. He would additionally prefer to routinely create exclusions for false positives for the URL with out having to disable all the rule.
Persona: SecOps analyst at Contoso.com
Understanding collateral assault vectors
Ashley is a Safety Operations analyst at Contoso.com. Her firm has bought each Azure WAF and Microsoft Sentinel. She oversees analyzing WAF logs and figuring out assault patterns. She want to perceive if the consumer IP or the request URI related to the WAF rule that triggered the SQL injection are Indicators of Compromise (IoC). By understanding associated Risk Intelligence Indicators of Compromises, she will forestall future assaults on her group.
Get began immediately
SQL injection assaults are getting extra prevalent by the day and Azure WAF protects internet purposes from these assaults. To allow a high-quality investigation expertise for Azure WAF clients, we now have created this new Azure WAF guided investigation Pocket book that permits you shortly perceive full assault floor and take actions on the incidents. You’ll be able to observe our step-by-step directions to discover ways to use the Pocket book.
This new Azure WAF Pocket book could be present in Microsoft Sentinel underneath the Notebooks within the Risk Administration part.