- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-08-2020 01:29 AM
Our Palo Alto is running 8.1.10, and we integrate it with TrendMicro to receive dynamic URL lists.
We would like to know if Palo Alto can block URLs with queries, what I mean by queries is the part of the URL which comes after the “?”,
for example, http://www.test.com/search?q=test&rlz=1C1GCEA http://www.test.com/en/search/Pages/results.aspx?k=test
06-08-2020 04:48 AM
Hi @Mohammed_Yasin ,
If you want to block this specific URL then you can add it into a custom URL category and block the category.
Alternatively you can create a custom signature and match a pattern for anything after the "?" and block that.
Maybe try a custom signature with a pattern match on "keywords=bats"
As this is SSL traffic you'll also need to make sure to decrypt the traffic first ...
Looks kinda ugly though and difficult to manage if you need to add more of those regularly.
-Kiwi.
06-08-2020 02:31 AM - edited 06-08-2020 02:31 AM
Hi @Mohammed_Yasin ,
Not sure how granular you want to go but you could create custom signatures using regex pattern matches. This has some limitations though. The pattern must have string of at least 7 bytes to match. It can contain more than 7 bytes, but not fewer.
Cheers,
-Kim.
06-08-2020 02:35 AM
Thanks for the update...
I mean..For example, can Palo Alto block this exact URL,
But allow all other AMAZON URLs
06-08-2020 04:48 AM
Hi @Mohammed_Yasin ,
If you want to block this specific URL then you can add it into a custom URL category and block the category.
Alternatively you can create a custom signature and match a pattern for anything after the "?" and block that.
Maybe try a custom signature with a pattern match on "keywords=bats"
As this is SSL traffic you'll also need to make sure to decrypt the traffic first ...
Looks kinda ugly though and difficult to manage if you need to add more of those regularly.
-Kiwi.
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!