Suspicious TLS Evasion Found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Suspicious TLS Evasion Found

L0 Member

PA-3020

 

Recently I've had several users get a "Virus/Spyware Download Blocked" page on random sites.  Normally they get it on google searches.  If they refresh, sometimes the error stays, and sometimes it just takes them to the page.  

 

It even happened to me the first time I tried coming to this site, but a refresh took me here.  Here's an example of the error for another site I tried to go to.

 

virusSpywareDownloadBlocked.png

 

When I log into the PA, and look under Monitor->Threat, I have the following errors:

 

Monitor_Spyware.png

 

 

I'm fairly new to PA systems, and it seemed odd to me, that my IP address was listed as the Attacker, and google was listed as the Victim.  Also, for my traffic at least, they are listed as Suspicious TLS Evasion Found, on what looks to be google ads.  I listed the URL's at the top right of the above image.  Any ideas on what could be causing this.  

 

In addition, we've also seen things like broken images from sites, that show as the same error in the PA "Suspicious TLS Evasion Found", or Suspicious HTTP Evasion Found.

1 accepted solution

Accepted Solutions

L6 Presenter

Looks like this threat has been out for a while and only modified back in April.  Also the default action is set to allow, so by chance do you know have you modified some default actions for "Informational" threats?

 

 It also might be worth getting a PCAP of your traffic and opening a ticket with support and let them analyze the traffic to see if something is getting misidentified. TLS_Threat.PNG

View solution in original post

5 REPLIES 5

L6 Presenter

Looks like this threat has been out for a while and only modified back in April.  Also the default action is set to allow, so by chance do you know have you modified some default actions for "Informational" threats?

 

 It also might be worth getting a PCAP of your traffic and opening a ticket with support and let them analyze the traffic to see if something is getting misidentified. TLS_Threat.PNG

This signature seems a little too trigger happy.  I see it get detected frequently.  What constitutes a "suspicious TLS evasion"?

This signature works best when you're using the dns-proxy feature on the firewall.  I'd recommend either configuring the dns-proxy on the firewall (and pointing your clients to use the dns-proxy as their DNS server) or disable that particular signature.  

Do you know why that is?  What is it about DNS proxy that reduces matches against Suspicious TLS Evasion?

Main article with details on TLS and HTTP evasion is available at:

https://live.paloaltonetworks.com/t5/Customer-Advisories/Information-regarding-TLS-HTTP-header-evasi...

 

The inclusion of DNS proxy ensures that the client will receive exactly same server IP address that the firewall has resolved.

There are three possible scenarios:

 

1) Client does not send a DNS requests and connects directly to the IP with specific SNI header on Client Hello request. Firewall performs a lookup on the domain in SNI header and if the IP address returned by DNS server matches destination IP of clients request, the traffic will be passed, else it will trigger evasion signature.

2) Client sends DNS request directly to external DNS server and subsequently connects to the IP address that was returned by the server with corresponding SNI header. Firewall performs a lookup on the domain in SNI header and if the IP address matches, the traffic will be passed, else it will trigger evasion signature. Note that firewall's and client's DNS requests are independent, and thus each can have a different IP address returned. This is common for large, cloud-based websites (Google, Facebook etc.) that use this for load-balancing purposes.

3) Client send DNS request to DNS proxy on the firewall. Firewall performs DNS lookup and sends client the IP address returned by DNS server. In this case client and firewall have received same IP address for the domain and therefore the subsequent connection from client will match the IP with the SNI header (the result from DNS query is cached on the firewall and no further lookup is necessary). Traffic is therefore allowed.

 

For associated Suspicious HTTP Evasion Found feature the mechanism is the same, except the lookup is done for Host header in HTTP request instead of SNI.

  • 1 accepted solution
  • 18858 Views
  • 5 replies
  • 1 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!