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.