SSH Proxy decryption disables vulnerability protection?

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

SSH Proxy decryption disables vulnerability protection?

L3 Networker

Hello everyone,

 

  I'm doing some tests with decryption and vulnerability protection. I configured NAT and security policies to permit ssh access to an internal ssh server from the outside and I attached a vulnerability protection profile to the policy. In the vulnerability protection profile I set an exception to block bruteforce login attacks after 2 failed attempts:

 

panos_bruteforce_exception.png

 

This configuration works fine and connections are reset after 2 failed login. Anyway, if I add a SSH decryption policy (SSH proxy) to this connection, the bruteforce login signature is no more triggered by the failed login attempts, so it is no more effective.

 

Is this an issue or is it "by design", due to the fact that the firewall acts as a man in the middle for the ssh connections?

Linus does not push the flush toilet button. He simply says: make clean!
6 REPLIES 6

L7 Applicator

That's an interesting find. Please open a case with Support.

I opened a case with the support and they confirmed this issue. Waiting for their research and feedback.

 

Thanks.

Linus does not push the flush toilet button. He simply says: make clean!

The engineering team confirmed that this is an expected behavior. This is their explanation:

 

In case SSH-proxy is enabled, the signature 31914 will act on decrypted traffic. Hence, this sig will not trigger because it can not detect the pattern of the failed authentication in the decrypted traffic.

 

Linus does not push the flush toilet button. He simply says: make clean!

L1 Bithead

I've got an interesting variation on this issue. I have an SSH proxy that inspects all incoming SSH traffic going to various SFTP servers. I have one particular SFTP server that has a security rule that allows SSH, but this one rule ( to just one server) also has a VPP with the same 40015 exception with the action set to alert. Despite the SSH proxy rule covering all incoming SSH, any SSH traffic to that server is showing as NOT decrypted. All the other traffic hitting any other security rules without that exception shows as decrypted. Would adding the Brute Force exception cause the firewall to not decrypt the traffic so the exception can work?

Cyber Elite
Cyber Elite

Hi @GM001 ,

 

SSH proxy only allows the detection and block (if configured in the security policy) of the ssh-tunnel App-ID.  https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/decryption/decryption-concepts/ssh-proxy  "The firewall can’t decrypt traffic inside an SSH tunnel."  It only identifies the channel type.

 

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.

L1 Bithead

Thanks Tom, but I'm not sure how that's relevant to my issue. I'm trying to understand how a VPP exception in a security rule can stop an SSH decryption rule from applying.

  • 4453 Views
  • 6 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!