Forum Discussion
ASM IP Exceptions
We are new to having ASM implemented on our main virtual servers, over the past couple months I keep having to add IP exceptions for for valid customer IP's that get blocked as "malicious". I assume the goal would not be to have a large list of IP's in this list, any advice on how to tune this a little better, docs etc? I'm have around 50's IP's currently whitelisted due to being blocked as malicious, any advice would be great!
You need to leave Alarm enabled for malicious IP - in such case you will have ability to monitor how it works and detect (but not prevent) possible attack
- youssef1Cumulonimbus
Hi,
the most important is when building your security policy. You can deploy your policy in staging mode (learning and automatic deployment when required). this will allow you to have an optimal security policy, because as soon as you have a false positive you can create an exception in an explicit way...
to summarize it is relatively important to deploy your security policy in an optimal way and indeed avoid whitelisting. if you have a blocking you must see if it is a false positive and if yes, make the necessary exception at the ASM level (explicitly so as not to make an opening too wide)...
Users are blocked by IP intelligence or by security policy?
regards
- croweCirrus
Hi Youssef, thanks for the reply. We do have IP intelligence enabled, so I take it when this happens that is what is causing the request to be blocked. I came in after this was all implemented and it was done by a third party consulting firm. We were told they did it using the learning procedures and once we started having the weekly whitelisting taking place they slowly stopped responding to my emails of concern.
It sounds like things need to go back to a learning mode to get this fine tuned. My colleague that worked with them is no longer with us so I'm trying to get caught up and lined out so we are not getting these false positives.
Would allowing these request via the ASM Utility as they are blocked cause it to learn and possibly line out or should we take it back to transparent mode to do so?
Thanks in advance.
- Ivan_ChernenkiiEmployee
Hello Crowe,
- Is your IP Intelligence database update periodically?
- In what IP Intelligence category do you have false-positives? Only in one or in several? If in one, then may be you can just disable this category.
- Learning works in any mode (Transparent or Blocking). You should see learning suggestions on "Security ›› Application Security : Policy Building : Traffic Learning" page.
Thanks, Ivan
- croweCirrus
- Hello, the category that seems to be blocking the valid traffic is "Botnets", you would still recommend removing that category? or would I make adjustments on the policy learning section?
- Ivan_ChernenkiiEmployee
Hello Crowe,
Image is not available...
If these are different IP addresses, but from the same subnet, then you can just add this subnet into Application Security : IP Addresses : IP Address Exceptions and Ignore IP Intelligence for it.
If these are totally different IP addresses, but all of them are valid - it sounds strange for me, but in this case you can disable the whole category, to not add them one by one as exception via learning.
If both case aren't good for you, then yes - proceed through the learning.
Thanks, Ivan
- croweCirrus
Hello Ivan,
- Yes, I have it set to autoupdate and it is staying current as you can see below:
Last time the server was contacted for updates 06/25/2020 14:05:08
Last time an update was received 06/25/2020 14:05:09
Total number of IP Addresses in the database 4473532
Number of IP Addresses received in the last update 37
2. I don't have any in the logs to look at the movement, I will make note as they come in regarding categories and take your advice on disabling it only one.
3. Thank you for pointing this out, I will start monitoring as valid blocks occur.
- ragunath154Cirrostratus
the F5 IP Intelligence is maintained by brightcloud(thirdparty)
you may request them to whitelist the IP with proper reason.(not sure whether they will do for free or charge some amount)
- croweCirrus
It is always different IPs so I feel like there is something not set right with what the consultant setup in our policy etc. Thanks though for the idea.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com