- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-09-2024 12:14 AM
Hi All,
Good morning!
I would like to get guidance from you regarding how to block user agents on Paloalto NGFW. I mean, when I am managing Web Application Firewalls (WAF) from other provider. I am able to configure a section within the security section in the WAF, where I can block bad bots, and any other bad user agent (e.g. python, Go lang, Java, etc) used by not authorised external users to scan the website for vulnerabilities, etc.
Is there a way to setting up a similar security measure within Paloalto NGFW? If it is so. Could you help providing guidance for this security setting for me please?
Thanks in advance.
Elias
04-09-2024 06:30 AM
You could setup a custom vulnerability signature and set it up so it's blocked across your network. As an example, blocking GPTBot you could do the following assuming that you're decrypting inbound traffic.
<pattern-match>
<pattern>User-Agent:.+GPTBot/</pattern>
<context>http-req-headers</context>
<negate>no</negate>
</pattern-match>
04-09-2024 06:30 AM
You could setup a custom vulnerability signature and set it up so it's blocked across your network. As an example, blocking GPTBot you could do the following assuming that you're decrypting inbound traffic.
<pattern-match>
<pattern>User-Agent:.+GPTBot/</pattern>
<context>http-req-headers</context>
<negate>no</negate>
</pattern-match>
04-09-2024 07:35 AM
Thanks a lot for the information!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!