Illusive Safety: How to Tell If Your WAF Is Actually Secure
The 2018 Trustwave Global Security Report took a close look at one hundred IT companies and found that each one of them had at least one security vulnerability – but mostly more.
This is a gentle reminder that your company is also vulnerable to exploits. Even the best security practices during development and deployment can’t account for all the threats. There are just too many ways to exploit web applications, and the number grows by the day.
Security Equals Strategy
The 2019 report by the National Cyber Security Alliance was not particularly hopeful for IT companies either. 28% of the respondents dealt with a data breach at least once within the last year, and one in four companies had to file for bankruptcy because of that. 10% went out of business completely.
The main point here is this: if you don’t invest enough resources into security, you are abandoning the long-term picture of your IT business. Here are some of the reasons:
• Monetary loss. Depending on the problem, you might be able to fix it before you start losing customers. But if you’re unlucky, you’ll be out of business within a month or two.
• Permanent data loss. If it’s possible to find all the backups of your databases and delete them, it’s a potential attack angle.
• Reputation risk. A security breach can irreversibly compromise your company’s integrity in the eyes of others. It’s especially true if you’re working with other businesses: the slightest smell of an insecure system will spread like a disease.
In 2008, Heartland Payment Systems was processing over 100 million transactions a month. Riding the wave of success, the company failed to notice a time bomb in their backyard.
When a hacker used a known SQL injection exploit to obtain 134 million credit card records, it was too late to listen to security consultant’s warnings (of which there had been plenty).
The breach cost Heartland $145 million dollars and resulted in a year of limited operation due to payment processing restrictions.
Poor security puts the integrity of your business at risk. More often than not, that risk is invisible – which might be twice as dangerous. Thankfully, it’s also preventable.
WAF
One of the most cost-effective security solutions is a WAF, which stands for Web Application Firewall. It’s an all-in-one tool that serves as a protective layer between an app and the internet.
A good WAF utilizes advanced mechanisms to detect, block, and log all kinds of security exploits. Developed by cybersecurity experts and employing top-of-the-line technology, good WAFs stand at the forefront of IT security.
Effective WAFs achieve a microscopic False Positives and False Negatives percentage, thus keeping legitimate requests untouched while preventing real attacks from reaching your systems.
Picking a Secure WAF
The landscape of exploits grows larger every day. People are ingenious when it comes to breaking things, so the security mechanisms of today might be insufficient tomorrow.
It’s important to use a WAF that employs a strategic approach to protect your app from both existing and future exploits.
How WAFs Identify Threats
There are four main approaches to detecting exploits: signature policy, behavior analysis, logical analysis, and machine learning. Depending on the WAF you choose, it might utilize one, two, or all of the above.
Signature Policy
The majority of attacks are being handled by a signature policy, which serves as the first line of defense. A signature policy is a set of rules and patterns that are designed to catch the most common exploits.
In order for it to be effective, it has to be developed by security experts and constantly updated to account for new attack vectors.
Unfortunately, it’s still not enough. The ways to go around the rules are plenty.
Let’s take an example of an SQL injection attack attempting to call UNION SELECT (a command to fetch the records from the SQL database). Although blocked in its standard form, the attack can still go through. Here are some methods to achieve a False Negative result:
Obfuscating the string:
/?id=1+un/**/ion+sel/**/ect+1,2,3–
Splitting the string between the parameters (HTTP Parameter Pollution):
/?id=1/**/union/*&id=*/select/*&id=*/pwd/*&id=*/from/*&id=*/users
Altering the case:
/?id=-1’+Union+Select+1,2,3,4,5+–+1
Encoding a string:
‘%2f%2fa*/UNION%2fa%2a*/SELECT%2f%2a*/password%2f%2a*/FROM%2f%2a*/Users%2f%2a*/WHERE%2f%2a*/username%2f%2a*/’tom’–
The example above is just scratching the surface of all possible methods to break past a signature policy. It’s extremely difficult to define the rules for all edge cases, which is why some WAFs are vulnerable to such exploits if they only use a signature policy.
Another problem with a signature policy is scoring.
Rules are not always binary. If you forbid the usage of the word UNION altogether, you will end up blocking real requests. The usual solution is to assign a score based on the context the string is used in.
For example, the following malicious string will probably get a high score because of the use of ORDER and BY (SQL operators to sort the database records):
index.php?id=1+order+by+10+–+
The next string, however, is completely safe – but it might still score really high and get rejected:
The New World Order is a book written by H. G. Wells
As you can see, the drawbacks of a signature policy approach are plenty. It’s an important WAF security mechanism that rejects the most common attacks, but it’s certainly far from impenetrable.
Behavior Analysis
What makes security policy more malleable is the behavior analysis approach. Instead of working with a single request, it works with sequences of requests.
This dynamic approach is based on a specific behavioral model. The rules are still pre-defined, but they are designed to recognize patterns that have no specific attack vector.
For instance, here’s what an attempt to find an SQL injection vulnerability may look like:
index.php?id=1
index.php?id=3-2
index.php?id=-1
index.php?id=1′
index.php?id=’1
index.php?id=1 and sleep(5)
A security policy might not categorize some of the requests above as threats and therefore let them through. But behavior analysis will inspect the sequence as a whole and identify it as malicious.
Machine Learning
The best WAFs use AI to compensate for the drawbacks of the previous approaches. This approach utilizes Machine Learning to create data models and build learning algorithms around various data sets. It’s dynamic, adaptive, and highly reliable.
Machine Learning allows WAFs to adapt to context-specific scenarios in real-time, as well as improve the behavior rules and the strength of a signature policy.
Machine Learning can employ either inductive or deductive learning mechanisms. The inductive method works from the specifics towards a general pattern. Deductive learning is the opposite, analyzing a broad landscape and making specific decisions based on the patterns it finds.
Security experts combine learning algorithms with data sets to create a model. In turn, models are trained on the data they receive – which is also how they adapt and expand.
For example, when edge cases are grouped into a separate data set, it leads to new patterns.
Logic-Based Detection
Some companies use a sophisticated method usually referred to as logic-based threat analysis. In a nutshell, it combines pre-defined rules of various complexity that are coupled with heuristic and semantic analysis.
With heuristic analysis, the focus lies on unknown threats. The system compares a request with known vulnerabilities, thus preventing known exploits even when the implementation of a malicious request is new.
Semantic analysis works similarly to the behavior and ML detection methods. Specific requests are generalized and categorized depending on their structure and other patterns.
The Core Mechanisms
The combination of a good signature policy, behavior and logic-based analysis, as well as ML is the best way to ensure the least amount of False Negatives and False Positives in a WAF.
Each approach compensates for each other’s weaknesses. Behavior analysis makes sure the Signature Policy doesn’t miss a bigger picture, while logic-based algorithms and Machine Learning work with edge cases and application-specific environments.
Traits of a Good WAF
Additionally, there are several security aspects to consider when choosing a WAF:
• If you’re working with payments and sensitive information, PCI DSS Compliance is a must for creating a secure, strictly defined processing environment.
• Make sure a WAF is using both Positive and Negative security models. A negative model defines the blocking rules while a Positive one defines how legitimate requests look like.
• Server response inspection is a must. It allows you to prevent sensitive data leaks in case an attacker finds a way in and attempts to steal data from your application.
• An extra convenient feature is virtual patching, which is a way to adjust security rules in real-time without modifying the application itself.
Conclusion
Cybersecurity is a highly dynamic and complex field. In most cases, dealing with it on your own is ineffective and costly (not to mention the risks involved), which is why WAFs have become a must-have tool for web applications.
An effective WAF should utilize diverse detection methods: signature policy, behavior and logic-based analysis, and Machine Learning.
In this case, effective means having the least amount of False Positives and False Negatives. These metrics tell you how good a WAF is at detecting real threats and letting legitimate requests through.
Last but not least, you should always consider the needs and specifics of your application. The best WAF is the one that is either built for your use case or is flexible enough to adapt to it.[/vc_column_text][/vc_column][/vc_row]
https://drugsoverthecounter.com/# cvs over the counter covid test
over the counter asthma inhaler over the counter antibiotics
over the counter pills like viagra omeprazole over the counter
https://over-the-counter-drug.com/# over the counter medicine for acid reflux
best over the counter allergy medicine pantoprazole over the counter
instant female arousal pills over the counter nausea medication over the counter
what can you give a dog for pain relief over the counter? over the counter sleep aid
https://amoxil.science/# amoxicillin no prescription
https://doxycycline.science/# doxycycline 150 mg
Best and news about drug. Everything what you want to know about pills.
ivermectin
Some trends of drugs. safe and effective drugs are available.
drug information and news for professionals and consumers. Read here.
ivermectin drug
All trends of medicament. Everything about medicine.
Get information now. earch our drug database.
stromectol uk buy
Generic Name. Some trends of drugs.
Read now. Read now.
https://stromectolst.com/# stromectol australia
Some are medicines that help people when doctors prescribe. Drug information.
Everything about medicine. Everything about medicine.
stromectol south africa
Cautions. Get here.
Read information now. Some trends of drugs.
stromectol ireland
Cautions. Prescription Drug Information, Interactions & Side.
Generic Name. Read here.
https://stromectolst.com/# ivermectin cream cost
Comprehensive side effect and adverse reaction information. Learn about the side effects, dosages, and interactions.
What side effects can this medication cause? Read here.
stromectol 3 mg dosage
Everything about medicine. Everything what you want to know about pills.
Everything information about medication. Read here.
ivermectin 2mg
п»їMedicament prescribing information. Actual trends of drug.
Read now. All trends of medicament.
https://stromectolst.com/# where to buy stromectol
Generic Name. Some are medicines that help people when doctors prescribe.
Learn about the side effects, dosages, and interactions. What side effects can this medication cause?
stromectol 3mg
Definitive journal of drugs and therapeutics. Long-Term Effects.
Everything what you want to know about pills. Medscape Drugs & Diseases.
stromectol price in india
What side effects can this medication cause? Long-Term Effects.
drug information and news for professionals and consumers. Read information now.
https://stromectolst.com/# ivermectin 90 mg
All trends of medicament. Commonly Used Drugs Charts.
Generic Name. Some trends of drugs.
stromectol ivermectin tablets
Cautions. Cautions.
п»їMedicament prescribing information. Best and news about drug.
ivermectin 1% cream generic
Commonly Used Drugs Charts. Generic Name.
Learn about the side effects, dosages, and interactions. Definitive journal of drugs and therapeutics.
https://stromectolst.com/# where to buy ivermectin pills
Some are medicines that help people when doctors prescribe. Get warning information here.
earch our drug database. Read information now.
ivermectin generic
Everything about medicine. Read now.
Prescription Drug Information, Interactions & Side. What side effects can this medication cause?
where can i buy nexium prices
Medicament prescribing information. Generic Name.
Read information now. Drug information.
lisinopril 3
Drug information. Everything what you want to know about pills.
Commonly Used Drugs Charts. Actual trends of drug.
where to buy cheap mobic pill
earch our drug database. Read now.
Definitive journal of drugs and therapeutics. Commonly Used Drugs Charts.
lisinopril 20mg 25mg
Drugs information sheet. Best and news about drug.
Medicament prescribing information. Actual trends of drug. https://avodart.science/# can i get generic avodart without prescription
Cautions. Definitive journal of drugs and therapeutics.
Commonly Used Drugs Charts. Read here.
https://lisinopril.science/# lisinopril pills 2.5 mg
Get here. Read information now.
Top 100 Searched Drugs. Read now.
where can i buy generic nexium price
drug information and news for professionals and consumers. Everything information about medication.
What side effects can this medication cause? What side effects can this medication cause? https://avodart.science/# can i get avodart without insurance
All trends of medicament. Get warning information here.
Generic Name. Best and news about drug. get cheap avodart
Medscape Drugs & Diseases. Drugs information sheet.
Learn about the side effects, dosages, and interactions. Drug information.
buy cheap nexium without rx
Some are medicines that help people when doctors prescribe. Get information now.
Read now. Everything about medicine.
lisinopril 5
Drug information. Everything information about medication.
Read now. Read information now.
can you buy nexium without prescription
Learn about the side effects, dosages, and interactions. Drug information.
drug information and news for professionals and consumers. Definitive journal of drugs and therapeutics. where can i buy cheap avodart no prescription
Generic Name. Best and news about drug.
п»їMedicament prescribing information. Top 100 Searched Drugs. https://avodart.science/# get cheap avodart online
Everything about medicine. Read now.
drug information and news for professionals and consumers. Get information now.
https://azithromycins.com/ average cost of generic zithromax
Top 100 Searched Drugs. Everything information about medication.
Read here. Everything what you want to know about pills.
https://finasteridest.online where to get propecia online
Commonly Used Drugs Charts. Prescription Drug Information, Interactions & Side.
What side effects can this medication cause? Best and news about drug.
how can i get clomid
drug information and news for professionals and consumers. earch our drug database.
Everything what you want to know about pills. Generic Name.
where can i get cheap clomid pill
Get information now. Best and news about drug.
Definitive journal of drugs and therapeutics. Read now.
average cost of generic zithromax
Commonly Used Drugs Charts. Get here.
Comprehensive side effect and adverse reaction information. All trends of medicament. over the counter amoxicillin
Get here. Generic Name.
Comprehensive side effect and adverse reaction information. Learn about the side effects, dosages, and interactions.
how to get clomid no prescription
Cautions. drug information and news for professionals and consumers.
Everything what you want to know about pills. Actual trends of drug. generic amoxicillin
Some are medicines that help people when doctors prescribe. Generic Name.
Prescription Drug Information, Interactions & Side. Drug information. https://amoxicillins.online/ amoxicillin online pharmacy
Everything about medicine. Long-Term Effects.
Get information now. Medscape Drugs & Diseases.
can i buy generic clomid pills
Best and news about drug. Top 100 Searched Drugs.
Some trends of drugs. Read information now. https://amoxicillins.com/ price for amoxicillin 875 mg
Prescription Drug Information, Interactions & Side. earch our drug database.
Read information now. Some are medicines that help people when doctors prescribe.
can i buy propecia without dr prescription
Definitive journal of drugs and therapeutics. Best and news about drug.
Medscape Drugs & Diseases. Read information now.
zithromax online
Comprehensive side effect and adverse reaction information. Get information now.
Some are medicines that help people when doctors prescribe. Commonly Used Drugs Charts. can we buy amoxcillin 500mg on ebay without prescription
Some are medicines that help people when doctors prescribe. Read now.
Commonly Used Drugs Charts. Best and news about drug.
https://azithromycins.online/ zithromax 500 price
Medscape Drugs & Diseases. Definitive journal of drugs and therapeutics.
Everything about medicine. drug information and news for professionals and consumers. 875 mg amoxicillin cost
Medicament prescribing information. Get information now.
Read information now. Actual trends of drug.
cheap clomid pill
Medscape Drugs & Diseases. Generic Name.
п»їMedicament prescribing information. Cautions.
can i order propecia without a prescription
Get information now. Best and news about drug.
Get information now. Cautions.
https://edonlinefast.com best ed drug
Generic Name. Top 100 Searched Drugs.
Get here. Generic Name.
ed pills gnc
Definitive journal of drugs and therapeutics. Best and news about drug.
safe and effective drugs are available. Everything information about medication.
zithromax drug
Learn about the side effects, dosages, and interactions. All trends of medicament.
Read now. Some are medicines that help people when doctors prescribe.
cheapest ed pills
Generic Name. Read information now.
Top 100 Searched Drugs. What side effects can this medication cause?
cheap erectile dysfunction pills
Top 100 Searched Drugs. Cautions.
earch our drug database. Get here.
new ed drugs
Read here. Read now.
Generic Name. Drugs information sheet.
https://edonlinefast.com drugs for ed
Get here. Comprehensive side effect and adverse reaction information.
Drugs information sheet. Best and news about drug.
non prescription ed drugs
Everything about medicine. Best and news about drug.
Prescription Drug Information, Interactions & Side. Commonly Used Drugs Charts.
online ed pills
Commonly Used Drugs Charts. Read now.
Cautions. Read information now.
comfortis for dogs without vet prescription
Prescription Drug Information, Interactions & Side. Top 100 Searched Drugs.
Get information now. Commonly Used Drugs Charts.
[url=https://canadianfast.online/#]buy prescription drugs without doctor[/url]
Comprehensive side effect and adverse reaction information. earch our drug database.
Read information now. Generic Name.
vipps canadian pharmacy
Cautions. Everything what you want to know about pills.
What side effects can this medication cause? Drugs information sheet.
https://canadianfast.com/# buy prescription drugs from canada
safe and effective drugs are available. Commonly Used Drugs Charts.
Long-Term Effects. Learn about the side effects, dosages, and interactions.
77 canadian pharmacy
Cautions. Best and news about drug.
safe and effective drugs are available. Long-Term Effects.
buy prescription drugs without doctor
earch our drug database. Drug information.
Definitive journal of drugs and therapeutics. safe and effective drugs are available.
online canadian pharmacy
п»їMedicament prescribing information. earch our drug database.
Medscape Drugs & Diseases. safe and effective drugs are available.
trustworthy canadian pharmacy
Drugs information sheet. Get information now.
Prescription Drug Information, Interactions & Side. Prescription Drug Information, Interactions & Side.
https://canadianfast.com/# carprofen without vet prescription
Read information now. safe and effective drugs are available.
Learn about the side effects, dosages, and interactions. Read now.
prescription drugs without doctor approval
Everything information about medication. Everything what you want to know about pills.
Drug information. safe and effective drugs are available.
the canadian drugstore
All trends of medicament. Cautions.
Learn about the side effects, dosages, and interactions. Long-Term Effects.
ed meds online without doctor prescription
Some are medicines that help people when doctors prescribe. Medscape Drugs & Diseases.
Definitive journal of drugs and therapeutics. Prescription Drug Information, Interactions & Side.
ed drugs online from canada
Long-Term Effects. Read now.
Read information now. Best and news about drug.
the canadian drugstore
Everything what you want to know about pills. Everything what you want to know about pills.
п»їMedicament prescribing information. Best and news about drug.
canadian pharmacy online ship to usa
All trends of medicament. Everything what you want to know about pills.
Definitive journal of drugs and therapeutics. Comprehensive side effect and adverse reaction information.
https://viagrapillsild.com/# viagra cheap
Commonly Used Drugs Charts. Read here.
What side effects can this medication cause? Drugs information sheet.
sildenafil generic purchase
earch our drug database. What side effects can this medication cause?
Get warning information here. Actual trends of drug.
sildenafil 100mg tab
Cautions. What side effects can this medication cause?
Drug information. Some are medicines that help people when doctors prescribe.
female viagra australia
Medscape Drugs & Diseases. earch our drug database.
Drug information. Read here.
https://viagrapillsild.com/# viagra how does it work
Read information now. safe and effective drugs are available.
Medscape Drugs & Diseases. Definitive journal of drugs and therapeutics.
https://viagrapillsild.com/# london drugs viagra
Comprehensive side effect and adverse reaction information. Drugs information sheet.
drug information and news for professionals and consumers. Generic Name.
https://tadalafil1st.com/# tadalafil soft tabs
Some trends of drugs. Learn about the side effects, dosages, and interactions.
Medicament prescribing information. What side effects can this medication cause?
buy tadalafil online canada
Actual trends of drug. drug information and news for professionals and consumers.
Some are medicines that help people when doctors prescribe. Everything about medicine.
do you need prescription for cialis
Generic Name. Learn about the side effects, dosages, and interactions.
earch our drug database. Everything about medicine.
tadalafil tablets 20 mg cost
Comprehensive side effect and adverse reaction information. Definitive journal of drugs and therapeutics.
Everything what you want to know about pills. Drug information.
cialis from usa
Medicament prescribing information. All trends of medicament.
Get warning information here. Everything about medicine.
tadalafil 2
Generic Name. drug information and news for professionals and consumers.
Read here. Generic Name.
cialis on line pharm
All trends of medicament. Definitive journal of drugs and therapeutics.
Read now. Read information now.
tadalafil 20mg no prescription
Best and news about drug. Cautions.
Read here. Prescription Drug Information, Interactions & Side.
buy tadalafil europe
Everything information about medication. safe and effective drugs are available.
Get information now. п»їMedicament prescribing information.
https://tadalafil1st.online/# tadalafil generic otc
Top 100 Searched Drugs. Get warning information here.
Get warning information here. Read information now.
cialis over the counter in spain
Everything what you want to know about pills. Commonly Used Drugs Charts.
Get information now. safe and effective drugs are available.
cialis tadalafil 20mg
Cautions. Read information now.
Generic Name. Drug information.
tadalafil price comparison
Best and news about drug. Generic Name.
Actual trends of drug. Read here.
buy cialis through pay pal
Learn about the side effects, dosages, and interactions. Comprehensive side effect and adverse reaction information.
п»їMedicament prescribing information. safe and effective drugs are available.
prednisone 20
Read information now. Definitive journal of drugs and therapeutics.
Drug information. п»їMedicament prescribing information.
https://amoxila.store/ amoxicillin generic
Everything about medicine. Everything information about medication.
Read here. Get information now.
buy amoxicillin from canada
Generic Name. What side effects can this medication cause?
It’s hard to search out knowledgeable individuals on this subject, however you sound like you recognize what you’re talking about! Thanks