Protection from Multi-Attack Perpetrators¶
When Wallarm is in blocking mode, it automatically blocks all requests with malicious payloads, letting only legitimate requests through. You can configure additional protection for your applications and API by setting the Wallarm reaction in case if number of different malicious payloads from the same IP (often referred to as multi-attack perpetrator) exceeds specified threshold.
Such perpetrators can be automatically placed into the denylist, which starts blocking all requests from them, not spending time on analysis of whether they are malicious or not, just basing of the fact that this source produced a lot of malicious requests in the past.
To configure protection from sources originating malicious requests:
Open Wallarm Console → Triggers and open the window for trigger creation.
Select the Number of malicious payloads condition.
Set number of different malicious payloads from one IP per time interval. On exceeding this number within the specified time, the trigger will be activated.
What is not counted
The experimental payloads based on the custom regular expressions.
If required, set one or several filters:
- Type is a type of attack detected in the request or a type of vulnerability the request is directed to.
- Application is the application that receives the request.
IP is an IP address from which the request is sent.
The filter expects only single IPs, it does not allow subnets, locations and source types.
Domain is the domain that receives the request.
- Response status is the response code returned to the request.
- Target is an application architecture part that the attack is directed at or in which the incident is detected. It can take the following values:
Select trigger reactions:
Denylist IP address originating malicious requests and the blocking period.
The Wallarm node will block both legitimate and malicious requests originating from the denylisted IP.
Graylist IP address originating malicious requests and the blocking period.
Save the trigger and wait for the Cloud and node synchronization completion (usually it takes 2-4 minutes).
New company accounts are featured by the pre-configured (default) Number of malicious payloads trigger which graylists IP for 1 hour when it originates more than 3 different malicious payloads within 1 hour.
Graylist is a list of suspicious IP addresses processed by the node as follows: if graylisted IP originates malicious requests, the node blocks them while allowing legitimate requests. In contrast to graylist, denylist points to IP addresses that are not allowed to reach your applications at all - the node blocks even legitimate traffic produced by denylisted sources. IP graylisting is one of the options aimed at the reduction of false positives.
The trigger is released in any node filtration mode, so that it will graylist IPs regardless of the node mode.
However, the node analyzes the graylist only in the safe blocking mode. To block malicious requests originating from graylisted IPs, switch the node mode to safe blocking learning its features first.
The hits with the Brute force, Forced browsing, Resource overlimit, Data bomb, or Virtual patch attack types are not considered in this trigger.
You can temporary disable, modify or delete the default trigger.
The following is the testing example for the pre-configured trigger. You can adjust it to your trigger view.
Send the following requests to the protected resource:
Open Wallarm Console → IP lists → Graylist and check that the IP address from which the requests originated is graylisted for 1 hour.
Open the section Attacks and check that the attacks are displayed in the list:
To search for the attacks, you can use the