Palo Alto can block URLs with queries which comes after the “?”,

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Palo Alto can block URLs with queries which comes after the “?”,

L4 Transporter

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

1 accepted solution

Accepted Solutions

Community Team Member

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.

 

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

View solution in original post

3 REPLIES 3

Community Team Member

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.

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Thanks for the update...

 

I mean..For example, can Palo Alto block this exact URL,

 

https://www.amazon.com/Bats-Lou-Diamond-Phillips/dp/B006FDT6L0/ref=sr_1_1?dchild=1&keywords=bats&qid...

But allow all other AMAZON URLs

Community Team Member

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.

 

 
LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.
  • 1 accepted solution
  • 2958 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!