+ All Categories
Home > Internet > How to prevent ssh-tunneling using Palo Alto Networks NGFW

How to prevent ssh-tunneling using Palo Alto Networks NGFW

Date post: 09-Jan-2017
Category:
Upload: yudi-arijanto
View: 244 times
Download: 7 times
Share this document with a friend
15
1 | © 2015, Palo Alto Networks. Confidential and Proprietary. Prevent SSH Tunneling using NGFW Yudi Arijanto CISSP, CISM, GWAPT, PCNSE System Engineer
Transcript
Page 1: How to prevent ssh-tunneling using Palo Alto Networks NGFW

1 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Prevent SSH Tunneling using NGFW

Yudi Arijanto CISSP, CISM, GWAPT, PCNSE

System Engineer

Page 2: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Diagram

2 | © 2015, Palo Alto Networks. Confidential and Proprietary.

L3-untrust 192.168.55.20/24

L3-trust 192.168.45.20/24

Web-server 192.168.45.65/24

SSH Server 192.168.45.132/24

Win7 client 192.168.55.64/24

Page 3: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Port Forwarding

3 | © 2015, Palo Alto Networks. Confidential and Proprietary.

SSH Client Localhost:8888 SSH Server Web Server

http://192.168.45.65:80

Port 80

ssh tunnel (port 22)

NGFW

Page 4: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Win7 – SSH Client

4 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 5: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Setup SSH Tunneling using Putty.exe

5 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 6: How to prevent ssh-tunneling using Palo Alto Networks NGFW

SSH warning!

6 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 7: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Tunnel is ready! Localhost listening on port 8888

7 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 8: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Access remote web server through SSH

8 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 9: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Network Connection in Win7

9 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 10: How to prevent ssh-tunneling using Palo Alto Networks NGFW

NGFW Traffic Logs

10 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 11: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Now, we want to block ssh-tunnel

11 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 12: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Security Policy

12 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Decryption Policy

We allow only ssh app-id

Page 13: How to prevent ssh-tunneling using Palo Alto Networks NGFW

Remote access to web server using SSH tunneling is blocked !

13 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 14: How to prevent ssh-tunneling using Palo Alto Networks NGFW

NGFW Traffic Logs

14 | © 2015, Palo Alto Networks. Confidential and Proprietary.

Page 15: How to prevent ssh-tunneling using Palo Alto Networks NGFW

15 | © 2015, Palo Alto Networks. Confidential and Proprietary.


Recommended