1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz...

39
1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal Institute of Technology ETH-Z

Transcript of 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz...

Page 1: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

1

VPN with Network Access Quarantine Control

ETH Windows Treffen vom 3. Oktober 2006

Dr. P. FritzInstitute for Geotechnical Engineering IGT

Swiss Federal Institute of Technology ETH-Z

Page 2: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

2

Motivation

Nessus

HFNetChkWSUS

AntiVirusAntiSpam

PestPatrol

NTLMv2

Kerberos

IPSec

GPO

SSL/TLS

CAs

Domain IsolationPw Policy

MOMMSBSA

high security standard with

in LAN !

Page 3: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

3

Motivation

high security at p

erimeter !

Page 4: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

4

Motivation

neglected security fo

r VPN!

Page 5: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

5

Motivation

Security Policies for VPN

Authentication (MS-CHAPv2, Kerberos, …)

Authorization (RA policies)

Tunnel Protocol (L2TP, …)

Data Encryption (IPSec, …)

Page 6: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

6

Motivation

Security Policies for VPN

Authentication (MS-CHAPv2, Kerberos, …)

Autorization (RA policies)

Tunnel Protocol (L2TP, …)

Data Encryption (IPSec, …)

Client Health

Page 7: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

7

Motivation VPN Client Health

OS PatchesVirus Definitions…….Routing enabled…….

health checked and assured by

Network Access Quarantine Control (NAQC)

Page 8: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

8

Motivation VPN Client Health

health checked and assured by

Network Access Quarantine Control (NAQC)

QuarantineControl

on Client

Page 9: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

9

Motivation

1.Motivation for NAQC2.Components3.How NAQC works4.Deployment5.Configuration (dialer, RA policy)6.Requirement Scripts7.Conclusion

Agenda Network Access Quarantine Control (NAQC)

Page 10: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

10

ComponentsConventional Remote Access via VPN

Page 11: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

11

ComponentsNAQC Remote Access

NAQC = Network Access Quarantine Control

Page 12: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

12

How NAQC works

NAQC = Network Access Quarantine Control

Page 13: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

13

Deploying NAQC

NAQC = Network Access Quarantine Control

1.Define Quarantine Resources (DHCP, …)

2.Create Network Policy Requirements Client Script

3.Create a dialer (CM Quarantine Profile) with CMAK

4.Configure Quarantine RA Policy on Server

5.Run Listener on RA Server

6.Distribute and run the Dialer

Page 14: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

14

Creating a VPN Dialer

NAQC = Network Access Quarantine Control

= Connection ManagerQuarantine Profile

→ trivial, so skip it

• Download and install MS’s Connection Manager Administration Kit (CMAK)

• Run CMAK to create the Dialer

Page 15: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

15

Creating a VPN Dialer

Page 16: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

16

Creating a VPN Dialer

Page 17: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

17

Creating a VPN Dialer

Page 18: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

18

Creating a VPN Dialer

Page 19: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

19

Creating a VPN Dialer

Page 20: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

20

Configuring an RA Policy

using the RRA Management Console

→ trivial, so skip it

Page 21: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

21

Configuring an RA Policy1st Policy: Connection to RA server without Quarantine Check

Page 22: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

22

Configuring an RA Policy2nd Policy: Connection to RA server with Quarantine Check

Page 23: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

23

Configuring an RA Policy2nd Policy: Connection to RA server wit Quarantine Check

Edit NAS-Port Type

Page 24: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

24

Configuring an RA Policy2nd Policy: Connection to RA server with Quarantine Check

Edit MS-Quarantine-IP Filter

Page 25: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

25

Configuring an RA Policy2nd Policy: Connection to RA server with Quarantine Check

Edit MS-Quarantine-IP Filter

Page 26: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

26

Configuring an RA Policy2nd Policy: Connection to RA server with Quarantine Check

Edit Quarantine Session Timeout

Page 27: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

27

Configuring an RA Policy

using the RRA Management Console

Page 28: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

28

Configuring an RA Policy3rd Policy: Deny Connection to RA server

Page 29: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

29

Network Policy Requirements Script • Script is called by Dialer on Client PC• Script has two duties:

Shortest Script possible (a 1-line batch file):

%1\RQC.EXE /conn %2 /domain %3 /user %4 /sig ValidationOK

Client configured to be called with parameters%ServiceDir% %ServiceName% %Domain% %UserName%

1.check Client Health, and2. inform Server of Result

Page 30: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

30

Network Policy Requirements Script General Script Structure

REM Network policy compliance testsREM Set CHECKED to 1 if the tests pass. Set CHECKED=1REM insert code here for checking health Call check1.cmd IF ERRORLEVEL 1 Set CHECKED=0REM add code for additional checks REM Based on the test results, run RQC.EXEIF "%CHECKED%" == "0" GOTO TESTFAIL %1\RQC.EXE /conn %2 /port 7250 /domain %3 /user %4 /sig CheckOK ECHO Successfully passed network compliance tests. GOTO EXIT_SCRIPT:TESTFAIL ECHO Error: network compliance tests failed.:EXIT_SCRIPT

Page 31: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

31

Network Policy Requirements Script Excerpt VBS-Script for OS-Version

strComputer = "."

Set objWMI = GetObject("winmgmts:{impersonationLevel= impersonate}!\\" & strComputer & "\root\cimv2")Set colItems = objWMI.ExecQuery("Select * from Win32_OperatingSystem")

For Each objItem In colItemsstrOsCaption = objItem.CaptionstrOsVersion = objItem.Version ' e.g. 5.1.2600nSpMajor = Int(objItem.ServicePackMajorVersion)nSpMinor = Int(objItem.ServicePackMinorVersion)

Next

Page 32: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

32

Network Policy Requirements Script Compliance Tests

• OS version ?

• latest Patches installed ?

• Virus Scanner with latest signature files ?

• Firewall enabled on all interfaces ?

• Internet Connection Sharing disabled ?

• sufficient Password Strength enabled ?

• Screen Saver enabled and Password protected ?

………

Page 33: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

33

Network Policy Requirements Script Special Problems Compliance Tests

• Virus Scanner with latest signature files ?

• Firewall enabled on all interfaces ?

? Checking all Antivir-Progs and Signature Files ?

XP Security Center

WMI Namespace \root\SecurityCenter

Page 34: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

34

Network Policy Requirements Script Scripts to download

• From Microsoft Technet

• From IGT Website

http://www.microsoft.com/technet/security/prodtech/ windowsserver2003/quarantineservices/vppgappa.mspx

Disadvantage: they don't work

http://www.igt.ethz.ch/?event=130

Page 35: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

35

Conclusions The Client Side

VPN with Network Access

Quarantine Control

Page 36: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

36

Conclusions VPN with Network Access

Quarantine ControlThe Client Side

Page 37: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

37

Conclusions VPN with Network Access

Quarantine ControlThe Client Side

Page 38: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

38

Conclusions

• delays normal remote access to a LAN until client health has been examined.

• for RA connections only (VPN and dial-up).

• target: remote computers, e.g. at home.

Advantage: simplicityDisadvantage: limitations

VPN with Network Access Quarantine Control (NAQC)

Page 39: 1 VPN with Network Access Quarantine Control ETH Windows Treffen vom 3. Oktober 2006 Dr. P. Fritz Institute for Geotechnical Engineering IGT Swiss Federal.

39

Dr. P. Fritz VPN with NAQC

http://www.igt.ethz.ch/?event=130

or search for VPN

or search for VPN