Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Deploying Network Access Quarantine Control, Part 1

Understand Deploying Network Access Quarantine Control, Part 1 with clear explanations, practical examples, and useful tips. This updated guide covers the...

Table of Contents

Deploying Network Access Quarantine Control, Part 1 is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.

  • Nh?ng b?n cài ??t các gói m?i và các phiên b?n hotfix Security ???c cài ??t.

  • The corporation - standard antivirus software is installed and running, and the latest signature files are being used.

  • Internet or network routing is disabled.

  • Windows XP ICF, or any other approved firewall, is installed, enabled, and actively protects ports on the computer.

How Network Access Quarantine Works

A Step-by-Step Overview of NAQC

Here is a detailed outline of HOW k?t n?i và quarantining process works, assuming b?n s? d?ng RQC.EXE trên k?t thúc máy ph?c v? t? CMAK và RQS.EXE trên k?t thúc cu?i t? các tài nguyên Kit.

  1. Ng??i dùng k?t n?i v?i máy tính này, s? d?ng quarantine CM profile, ?? quarantine-enable k?t n?i thi?t b?, th??ng, m?t trình ?i?u khi?n and Remote Access Service (RRAS).

  2. The remote user authenticates.

  3. RRAS sends a RADIUS Access-Request message to the RADIUS server-in case, a Server 2003 machine running the Internet Authentication Service.

  4. Máy ph?c v? IAS xác ??nh tên ng??i dùng remote K?t n?i th? k?t qu? có c?u hình quarantine

  5. Nh?ng k?t n?i ???c ???c xác ??nh, nh?ng v?i ch? ?? in quarantine. The IAS server sends a RADIUS Access-Accept message, including the MS-Quarantine-IPFilter and MS-Quarantine-Session-Timeout attributes, to RRAS.

  6. Nh?ng ng??i dùng remote ?ã th?c hi?n k?t n?i truy c?p xa v?i máy ph?c v? RRAS, mà ??a ra m?t ??a ch? IP và ??t các m?ng khác.

  7. The CMAK profile runs the quarantine script, currently defined as the "post-connect action."

  8. RQC.EXE sends a notification to RRAS, indicating that the script ended successfully.

  9. The notification is received by RQS.EXE on the back end.

  10. N?u câu l?nh phiên b?n ???c phép, RQS.EXE c?n call MprAdminConnectionRemoveQuarantine () API, which indicates to RRAS that it's time to remove the MS-Quarantine-IPFilter and MS-Quarantine-Session-Timeout settings from the connection and reconfigure the Session-Timeout settings from the connection and reconfigure the session normal network access.

  11. N?u này là th?c hi?n, ng??i dùng remote có quy?n c?p nh?t các c? s? d? li?u trên m?ng.

  12. RQS.EXE creates an event describing the quarantined connection in the event System log.

Deploying NAQC

Creating Quarantined Resources

T?p tin ??u tiên ?? t?o các tài nguyên này có th? ???c truy c?p trong gói gói quarant ???c có trong ??a ch? cho m?t client xa. Ví d? contact IT support via e-mail if any problems occur.

Writing the Baselining Script

Hành ??ng ti?p theo ???c th?c hi?n ghi m?t b?n ghi Baselining s? s? ch?y trên máy ph?c v?. ?ây không ph?i là duy nh?t và duy nh?t c?a organization, nh?ng các script c?n ch?y RQC.EXE n?u ki?m tra Baselining xác th?c ?ã có và bao g?m các tham s? sau:

 rqc ConnName TunnelConnName TCPPort Username Domain ScriptVersion 

C?u hình chuy?n ??i và ??i s? ???c xác ??nh trong danh sách sau.

  • S? ??i s? Connename là tên c?a k?t n?i vào máy ph?c v? remote, nhi?u nh?t h?p l? t? dial-in bi?n profile% DialRasEntry%.

  • S? ??i s? TCPPort là, xác ??nh, c?ng ???c dùng b?i khôngifier ?? g?i m?t thông báo success This default is 7250.

  • S? ??i s? Domain là tên mi?n Windows b?o m?t c?a ng??i dùng xa, nhi?u th??ng inherited t? dial-in profile% Domain%.

  • S? ??i s? ScriptVersion là m?t v?n b?n chu?i mà ch?a phiên b?n script này s? ???c kh?p vào máy ph?c v? RRAS. B?n có th? s? d?ng bàn phím nào except / 0 trong m?t liên k?t th? t?.

Installing the Listening Components

  1. Open the Registry Editor.

  2. Navigate to the HKEY_LOCAL_MACHINE / System / CurrentControlSet / Services / Rqs key.

  3. Right-click in the right pane, and select New String.

  4. Tên ???c phépValue chu?i.

  5. Then, double-click on the new entry, and nh?p chu?i và k?t n?i ??n m?t phiên b?n c?n thi?t.

Alternatively, you can modify the batch RQS_SETUP file, so this step can be automated for future deployments. Big due to:

  1. Open the RQS_SETUP.BAT file in Notepad.

  2. Select Find from the Edit menu.

  3. Print Find what, enter Version1, and click OK. Các cursor text c?n ph?i trên m?t dòng mà nói:

     REM REG ADD% ServicePath% / v AllowedSet / t REG_MULTI_SZ / d Version1Version1aTest 
  4. ?? thêm m?t phiên b?n c?n dùng, xoá "REM" t? ??u c?a dòng.

  5. Now, replace the text "Version1Version1aTest" with the version script string you want to be passed by RQC.EXE.

  6. N?u b?n mu?n thêm thêm m?t tùy ch?n phiên b?n, thay th? m?t v?n b?n "Version1Version1aTest" with acceptable version strings, m?i g? b? b?i a "" dòng.

  7. L?u t?p tin, và Then exit Notepad.

Two notes: RQS is set as a dependency of RRAS. Tuy nhiên, khi ch?y l?i RRAS, RQS không t? ??ng kh?i ??ng, so b?n c?n t? ch?y nó if you ever stop RRAS manually. Also, by default, RQS.EXE listens on TCP port 7250. To change the default TCP port, navigate to the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesrqs key, create a new REG_DWORD value called Port and set it to the desired port.

Creating a Quarantined Connection Profile

Hành ??ng ti?p theo ???c t?o m?t c?u hình k?t n?i quarantine, mà b? l?i ?? có m?t ki?u Plain-vanilla profile with a few modifications. For one, b?n c?n ph?i thêm m?t bài vi?t - k?t n?i hành ??ng v?i ?ó, b?n Baselining script s? ch?y và tr? l?i thông báo Success ho?c l?i v?i máy ph?c v? RRAS. B?n c?n ph?i thêm m?t không h?p l? ?? c?u hình nh? là.

  1. ?ang hi?n th? ??n các màn hình Custom hành ??ng, ??y ?? trong các tùy ch?n tr??c tr??c khi có.

    Deploying Network Access Quarantine Control, Part 1 example image 1 Figure 1: The Custom Actions screen of the CMAK Wizard

  2. Ch?n Bài vi?t - k?t n?i t? hành ??ng ?ã b? qua th? m?c ?ã thoát, và Then click các New button ?? thêm m?t hành ??ng. New Custom Action dialog dialog ???c hi?n th?, nh? hi?n th? Figure 2.

    Deploying Network Access Quarantine Control, Part 1 example image 2 Figure 2: the New Custom Action dialog box

  3. Click OK, and you should return to the Custom Actions screen. Click Next. ?ang ti?p t?c ??y ?? trong ch? ?? ch? ?? tùy ch?n, cho b?n ??n các Additional Files screen, Depicted printing Figure 3.

    Deploying Network Access Quarantine Control, Part 1 example image 3 Figure 3: the CMAK Wizard Additional Files screen

  4. Click Add, and then enter RQC.EXE in the dialog presented next. You can use the button Browse to search for it graphically. Once you're finished, click OK. S? ???c tr? l?i ?? ch? ?? khác Files, Where s? xem RQC.EXE listed. Click Next.

  5. ?ang th?c hi?n ?ang th? l?i t? khóa khi tùy ch?n.

Next Time

Deploying Network Access Quarantine Control, Part 1 example image 4

About the author

Jonathan Hassell is an author and consultant specializing in Windows administration and security. He is the author of Managing Windows Server 2003 and RADIUS, both published by O'Reilly & Associates, and Hardening Windows, published by Apress. He also holds the periodic public seminars; see www.hardeningwin.com for details. He ???c ghi ???c cho Windows &.NET Thông báo và WindowsITSecurity.COM and là m?t contributor to PC Pro, leading computer magazine in the United Kingdom.

FAQ

How Network Access Quarantine Works A Step-by-Step Overview of NAQC?

Here is a detailed outline of HOW k?t n?i và quarantining process works, assuming b?n s? d?ng RQC.EXE trên k?t thúc máy ph?c v? t? CMAK và RQS.EXE trên k?t thúc cu?i t? các tài nguyên Kit.

What should you know about deploying NAQC Creating Quarantined Resources?

T?p tin ??u tiên ?? t?o các tài nguyên này có th? ???c truy c?p trong gói gói quarant ???c có trong ??a ch? cho m?t client xa. Ví d? contact IT support via e-mail if any problems occur.

What should you know about writing the Baselining Script?

Hành ??ng ti?p theo ???c th?c hi?n ghi m?t b?n ghi Baselining s? s? ch?y trên máy ph?c v?. ?ây không ph?i là duy nh?t và duy nh?t c?a organization, nh?ng các script c?n ch?y RQC.EXE n?u ki?m tra Baselining xác th?c ?ã có và bao g?m các tham s? sau:

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.