0 如何使用 NXLOG 管理配置 Windows AD Server 日誌 如何使用 NXLOG 管理配置 Windows Server AD 日誌 V ( 繁體 ) 0 Copyright All rights are reserved by N-Partner Technologi

Similar documents
0 如如何使用 NXLOG 管理配置 Windows Server 日誌 如何使用 NXLOG 管理配置 Windows Server 日誌 V ( 繁體 ) 0 Copyright All rights are reserved by N-Partner Technologies Co

前言 此文件主要描述如何使用 N-Reporter 接收 SQL Server 的 log 首先必須開啟 SQL Server 的 C2 audit mode 功能, 透過 C2 audit mode, 系統將 SQL Server 的 log 送至 Windows 的 eventlog 接著利用

前言 此文件主要描述如何使用 N-Reporter 接收 SQL Server 的 log 首先必须开启 SQL Server 的 C2 audit mode 功能, 透过 C2 audit mode, 系统将 SQL Server 的 log 送至 Windows 的 eventlog 接着利用

前言 本文件描述 N-Reporter 使用者如何使用 Open Source 工具 NXLOG 管理配置 Windows Server 2003/2008/2012 的日志 (Eventlog), 将事件 (Event) 转成 syslog, 再转发到 N-Reporter 做正规化 审核与分析

使用者如何管理 Exchange Server 郵件追蹤記錄稽核 V 005 ( 繁體 ) 2017/09/14

前言 這份文件主要描述如何使用 N-Reporter 管理 IIS 稽核 第一跟第二章節分為 Windows 2003 安裝 IIS 6 環境與 Windows 2008 安裝 IIS 7 環境兩個部份分別說明如何設定 IIS 第三章節為配置 NXLOG, 將 IIS 稽核 log 轉成 syslo

如何管理 IIS 稽核 0 如何管理 IIS 审核 V ( 简体 ) 0 ( ) 2017/4/17

前言 本文件描述如何使用 N-Reporter 接收 MySQL Audit syslog 先介紹如何開啟 MySQL general log 功能, 並將 general log 寫入系統日誌 syslog 中, 然後利用 Linux 的 software Syslogd Rsyslog 或 Sy

0 配置 Host MIB 设备 V ( 简体版 ) 0 Update: 2016/1/30

0 如何管理 MySQL 稽核 如何管理 MySQL 稽核 V 005 ( 繁體 ) 0 Copyright All rights are reserved by N-Partner Technologies Co. 2017/09/15

前言 本文件描述 N-Reporter ESX/ESXi 虛擬機環境如何配置 Probe 功能 第一章說明如何配置 N-Probe 虛擬機, 將來自交換機的 mirror 流量轉成 NetFlow, 再轉發到 N-Reporter 分析統計 第二章說明配置 N-Reporter 虛擬機的 Probe

SyncMail AJAX Manual

SSL 數位憑證 OpenVPN 安裝說明

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

The golden pins of the PCI card can be oxidized after months or years

IT Essentials 5

untitled

(Microsoft Word - wes _\246p\246\363\250\317\245\316LED\277O\305\343\245\334\252\254\272A.doc)

TPM BIOS Infineon TPM Smart TPM Infineon TPM Smart TPM TPM Smart TPM TPM Advanced Mode...8

Spyder Anaconda Spyder Python Spyder Python Spyder Spyder Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Sp

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1

Outlook 2007 設定說明 Offic 企業郵件 / 虛擬主機郵件 / Office 365

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco

AL-M200 Series

Outlook 2010 設定說明 Offic 企業郵件 / 虛擬主機郵件 / Office 365

文件章節如下 : 連絡信息 下載 N-Reporter VMware Image 前置準備 安裝流程 ESXi 部署 OVA Trouble Shooting...11 連絡信息 N-Partner 公司連絡方式 : TEL:

Oxford iSolution下載及安裝指南

封面-12

使用手冊

0 VMware ESX/ESXi 配置 N-Reporter 虛擬機器 V 016 ( 繁體 ) 0 Copyright All rights are reserved by N-Partner Technologies Co. 2018/08/30

ansoft_setup21.doc

Guide to Install SATA Hard Disks

ebook140-9

穨UPSentry_SC_.PDF

IP505SM_manual_cn.doc

epub 61-2

C35_RG_E.book

Chapter 2

untitled

第三篇 第 10 章 - 管理者登入第 11 章 - 更改網路商店 Logo 第 12 章 - 系統設定第 13 章 - 商品上架第 14 章 - 付款方式設定第 15 章 - 出貨方式設定第 16 章 - 特價商品 oscommerce 103

PowerPoint 簡報

Simulator By SunLingxi 2003

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

ebook

簡報題目

實驗 使用 IPv4 和 IPv6 計算摘要路由 拓樸 位址分配表 子網 IPv4 位址 IPv6 位址 HQ 的 LAN / :DB8:ACAD:E::/64 HQ 的 LAN / :DB8:ACAD:F::/64 EAS

一、考試宗旨:考選風險管理人才,提升風險管理水準。

未命名 -1

Microsoft Word - 事務培訓招生簡章(含報名表).doc

1. Install the software Note: You should logon with administrator privileges to Windows 7, Vista or XP in order to install the software properly. You

HP 3PAR StoreServ 7000 Storage SmartStart 1.3 软件发行说明

1 IT IT IT IT Virtual Machine, VM VM VM VM Operating Systems, OS IT

1 SQL Server 2005 SQL Server Microsoft Windows Server 2003NTFS NTFS SQL Server 2000 Randy Dyess DBA SQL Server SQL Server DBA SQL Server SQL Se

輕鬆學 Dreamweaver CS5 網頁設計..\Example\Ch0\ \.html..\example\ch0\ \mouse.txt..\example\ch0\ \ _Ok.html 學習重點 JavaScript 複製程式碼 mouse.txt Ctrl+C Ctrl+C 0-4

Some experiences in working with Madagascar: installa7on & development Tengfei Wang, Peng Zou Tongji university

穨IC-1000

PHOTON Web Hosting

1.ai

ebook140-8

簡報題目

一 安裝前準備 Windows sever 環境 IP: 主機名稱 :winad 網域 :aaa.bbb.edu.tw FQDN:winad. aaa.bbb.edu.tw CentOS7 環境 IP: 主機名稱 :centos 網域 :aaa.bbb

Pro/ENGINEER 訓練教材 ( 曲面 ) 目錄 1. Creo2.0 設定工作目錄 圖形

<55342D323637CBB5C3F7CAE92E786C73>

cosa Quick Start Manual

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

前言 本文件描述如何使用 N-Reporter 接收 MySQL Audit syslog 先介绍如何开启 MySQL general log 功能, 并将 general log 写入系统日志 syslog 中, 然后利用 Linux 的 software Syslogd Rsyslog 或 Sy

PTS7_Manual.PDF

Outlook Express 設定說明 Offic 企業郵件 / 虛擬主機郵件 / Office 365

untitled

Maasa停車場管理系統

常見 SAS 9.3 Foundation 安裝問題 一 安裝注意事項 當您安裝上發生任何問題時, 須請先確認以下事項 : 1. 確認電腦作業系統是否符合 SAS 軟體安裝要求 確認方法 : 請至 p.2 (1) 確認系統資訊 2. 請依照 安裝導引 進行安裝, 首先確認安裝步驟是否正確 3. 安裝

Please choose the VBIOS update guide according to your language. 請依據您的語言選擇以下的 VBIOS 更新指南 请依据您的语言选择以下的 VBIOS 更新指南 English 繁體中文 简体中文 1

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

ch08.PDF

目 錄 第 一 章 weberp 簡 介... 6 第 一 節 概 述... 6 第 二 節 安 全 性... 7 第 三 節 功 能... 7 一 銷 售 及 訂 單... 7 二 稅... 8 三 應 收 帳 款... 8 四 存 貨... 8 五 購 買... 9 六 應 付 帳 款... 9

AutoCAD 用戶如何使用 ArchiCAD

Sophos Central 快速安裝手冊

软件概述

f2.eps

Microsoft PowerPoint - C_Structure.ppt

Basic System Administration

RUN_PC連載_10_.doc

SA-DK2-U3Rユーザーズマニュアル

財金資訊-84期.indd

User Group SMTP

V A. 1 Hyper-V R2 V C. A. Hyper-V B. Microsoft SCOM 20 V C. MAP D. Microsoft SCVMM 2008 V B. V D. 2. IT IT 2

K7VT2_QIG_v3

Mizuho Bank QR Code 匯出匯款申請書 ( 外匯用 ) 自動化 安裝手冊 ( 中文 ) 第 1 頁, 共 20 頁

《计算机网络》实验指导书

Transcription:

0 如何使用 NXLOG 管理配置 Windows AD Server 日誌 如何使用 NXLOG 管理配置 Windows Server AD 日誌 V 1.1.4 ( 繁體 ) 0 (01-DOC-CHT-002) 2017/05/24

前言 本文件描述 N-Reporter 使用者如何使用 Open Source 工具 NXLOG 管理配置 Windows Server AD 2003/2008/2012 的日誌 ( Eventlog ), 將事件 (Event) 轉成 syslog, 再轉發到 N-Reporter 做正規化 稽核與分析 本文件配置的環境分別為 Windows Server 2003 AD Windows Server 2008 AD Windows Server 2012 AD NXLOG 適用於記錄大量事件的環境 當 Windows Server 日誌 ( Eventlog ) 每秒最大記錄速率超過 700 筆, 請選用本文件介紹的 NXLOG 的配置方式 文件章節如下 : 1 安裝設定 Windows Server AD 環境中的 NXLog... 2 1.1 For Windows Server 2003 AD... 2 1.2 For Windows Server 2008 AD... 5 1.3 For Windows Server 2012 AD... 10 2 Windows 2003 Active Directory Server 稽核設定... 14 2.1 設定網域使用者登入登出的稽核原則... 14 2.2 設定共享資料夾權限與稽核原則... 18 3 Windows 2008 Active Directory Server 稽核設定... 25 3.1 設定網域使用者登入登出的稽核原則... 25 3.2 設定共享資料夾權限與稽核原則... 31 4 Windows 2012 Active Directory Server 稽核設定... 42 4.1 設定網域使用者登入登出的稽核原則... 42 4.2 設定共享資料夾權限與稽核原則... 47 連絡資訊... 48 1

2 如何使用 NXLOG 管理配置 Windows AD Server 日誌 1 安裝設定 Windows Server AD 環境中的 NXLog 1.1 For Windows Server 2003 AD 1. 下載 NXLOG: 前往 URL: http://nxlog.org/products/nxlog-community-edition/download 請下載網頁中提供的最新版 nxlog-ce-x.x.xxxx.msi, 本例為下載 nxlog-ce-2.9.1716.msi 2. 安裝 NXLOG: 滑鼠雙點 nxlog-ce-2.9.1716.msi, 點選 [ Install ], 執行 NXLog 程式安裝步驟 3. 下載設定 Windows 2003 的 NXLOG 配置檔 nxlog_win2k3.conf: 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2k3.conf 開啟並編輯此檔案路徑 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 的 NXLOG 配置檔, 將上面的 URL 上的 nxlog_win2k3.conf 檔案裡的設定內容複製, 然後將其貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 檔案中的參數設定後存檔 註 1 : 預設建議使用者採用此設定檔. 此設定只輸出主機稽核 物件存取 帳戶管理等 Eventlog, 會過濾大部分非必要的 Eventlog 雜訊, 減輕 NXLOG 程式對 Windows AD 主機效 能的負擔 註 2:32 位元 OS 的 NXLOG 安裝路徑在 "C:\Program Files\nxlog\conf\nxlog.conf" 64 位元 OS 的 NXLOG 安裝路徑在 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 4. 下載設定 Windows 2003 的 NXLOG 配置檔 nxlog_win2k3_all.conf ( 輸出全部的 Eventlog) 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2k3_all.conf N-Reporter 提供法規報表統計 Windows AD 所有 Eventlog 使用者若是需要 Windows AD 的法規報表, 請將 nxlog_win2k3_all.conf 檔案裡的設定內容複製, 然後將其貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 的參數設定後存檔 此設定將會輸出所有 Windows AD 的 Eventlog, 此設定檔會需要 Windows AD 主機配備較高的硬體效能來執行 NXLOG 2

## This is a sample configuration file. See the nxlog reference manual about the ## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html ## Please set the ROOT to the folder your nxlog was installed into, ## otherwise it will not start. #define ROOT C:\Program Files\nxlog define ROOT C:\Program Files (x86)\nxlog Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid SpoolDir %ROOT%\data LogFile %ROOT%\data\nxlog.log <Extension syslog> Module xm_syslog </Extension> <Input in_eventlog> # For windows 2003 and earlier use the following: Module im_mseventlog Exec parse_syslog_bsd(); \ if ($EventID == 672 or $EventID == 673 or $EventID == 675 or $EventID == 528 or $EventID == 529 or $EventID == 538 or $EventID == 540 or $EventID == 551 or $EventID == 560 or $EventID == 612 or $EventID == 624 or $EventID == 626 or $EventID == 627 or $EventID == 628 or $EventID == 629 or $EventID == 630 or $EventID == 631 or $EventID == 632 or $EventID == 633 or $EventID == 634 or $EventID == 635 or $EventID == 636 or $EventID == 637 or $EventID == 638 or $EventID == 641 or $EventID == 642 or $EventID == 645 or $EventID == 646 or $EventID == 647) { $SyslogFacilityValue = 13; } \ else if ($SourceName == "Service Control Manager") { $SyslogFacilityValue = 13; } \ else if ($SourceName =~ /^MSSQL*/) { $SyslogFacilityValue = 18; } \ else\ {\ drop();\ } </Input> <Output out_eventlog> Module om_udp Host 192.168.2.64 Port 514 Exec $Message = string($eventid) + ": " + $Message; Exec if ($EventType == 'ERROR' or $EventType == 'AUDIT_FAILURE') { $SyslogSeverityValue = 3; } \ else if ($EventType == 'WARNING') { $SyslogSeverityValue = 4; } \ else if ($EventType == 'INFO' or $EventType == 'AUDIT_SUCCESS') { $SyslogSeverityValue = 5; } Exec to_syslog_bsd(); </Output> <Route eventlog> Path in_eventlog => out_eventlog </Route> 綠色文字部位請依 OS 環境為 32 位元或 64 位元選擇 NXLOG 正確的安裝路徑, 本文件範例環境為 64 位元 OS 系統, 選擇 "define ROOT C:\Program Files (x86)\nxlog" 紅色文字部位請輸入 N-Reporter 機器 IP, 本文件範例為輸入 "192.168.2.64" 3

4 如何使用 NXLOG 管理配置 Windows AD Server 日誌 設定範例如下圖 : 5. 啟動 NXLOG 程式 : a. 以系統管理員身份執行 [ 命令提示字元 ] 啟動 NXLOG : [ 開始 ] [ 所有程式 ] [ 應用附屬程式 ] [ 命令提示字元 ], 滑鼠右鍵點 [ 命令提示字元 ], 選擇 [ 以系統管理員身分執行 ] 命令提示字元輸入 : net stop nxlog net start nxlog # 會看到以下訊息 The nxlog service is starting. The nxlog service was started successfully. b. [ 開始 ] [ 所有程式 ] [ 系統管理工具 ] [ 服務 ] 找到 [ nxlog ], 右鍵點服務 [ nxlog ], 點選 [ 啟動 ] 或 [ 重新啟動 ] 4

6. 檢查 NXLOG 是否正常啟動 : 開啟檢查 NXLOG 的 log 檔, 檔案路徑為 "C:\Program Files (x86)\nxlog\data\nxlog.log" 若沒有顯示 Error 的訊息, 表示正常啟動 7. 新增 Windows Server 2003 AD Syslog 設備時, 資料格式請選擇 [ Windows AD ] 註 : 因 NXLOG 沒有 Eventlog to Syslog Utility 將事件編碼轉成 UTF8 編碼的功能, 所以新增 Windows Server 2003 AD 設備時請注意語系選擇, 避免出現亂碼 8. 語系選擇 : OS Windows Server 2003 AD 繁體版請選擇 [ BIG5 ] 編碼 OS Windows Server 2003 AD 簡體版請選擇 [ GB2312 ] 編碼 OS Windows Server 2003 AD 英文版請選擇 [ UTF8 ] 編碼 1.2 For Windows Server 2008 AD 1. 下載 NXLOG: 前往 URL http://nxlog.org/products/nxlog-community-edition/download 請下載網頁中提供的最新版 nxlog-ce-x.x.xxxx.msi, 本例為下載 nxlog-ce-2.9.1716.msi 2. 安裝 NXLOG: 滑鼠雙點 nxlog-ce-2.9.1716.msi, 點選 [ Install ], 執行 NXLog 程式安裝步驟 3. 下載設定 Windows 2008 NXLOG 配置檔 nxlog_win2k8.conf: 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2k8.conf 開啟並編輯此檔案路徑 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 NXLOG 配置檔, 將上面的 URL 上的 nxlog_win2k8.conf 裡的設定內容複製, 然後貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 檔案中的參數設定後存檔 註 1 : 預設建議使用者採用此設定檔. 此設定只輸出主機稽核 物件存取 帳戶管理等 Eventlog, 會過濾大部分非必要的 Eventlog 雜訊, 減輕 NXLOG 程式對 Windows AD 主機效能的負擔 註 2:32 位元 OS NXLOG 安裝路徑在 "C:\Program Files\nxlog\conf\nxlog.conf" 64 位元 OSNXLOG 安裝路徑在 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 5

6 如何使用 NXLOG 管理配置 Windows AD Server 日誌 4. 下載設定 Windows 2008 的 NXLOG 配置檔 nxlog_win2k8_all.conf ( 輸出全部 Eventlog) 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2k8_all.conf N-Reporter 提供法規報表統計 Windows AD 所有 Eventlog 使用者若是需要 Windows AD 的法規報表, 請將 nxlog_win2k8_all.conf 檔案裡的設定內容複製, 然後將其貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 的參數設定後存檔 此設定將會輸出所有 Windows AD 的 Eventlog, 此設定檔會需要 Windows AD 主機配備較高的硬體效能來執行 NXLOG 6

## This is a sample configuration file. See the nxlog reference manual about the ## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html ## Please set the ROOT to the folder your nxlog was installed into, ## otherwise it will not start. #define ROOT C:\Program Files\nxlog define ROOT C:\Program Files (x86)\nxlog Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid SpoolDir %ROOT%\data LogFile %ROOT%\data\nxlog.log <Extension syslog> Module xm_syslog </Extension> <Input in_eventlog> # For windows 2008/vista/7/8/2012/2012r2 and latter use the following: Module im_msvistalog ReadFromLast TRUE SavePos TRUE Query <QueryList> \ <Query Id="0"> \ <Select Path="Security">*[System[(EventID=4768)]]</Select> \ <Select Path="Security">*[System[(EventID=4769)]]</Select> \ <Select Path="Security">*[System[(EventID=4771)]]</Select> \ <Select Path="Security">*[System[(EventID=4624)]]</Select> \ <Select Path="Security">*[System[(EventID=4625)]]</Select> \ <Select Path="Security">*[System[(EventID=4634)]]</Select> \ <Select Path="Security">*[System[(EventID=4647)]]</Select> \ <Select Path="Security">*[System[(EventID=4648)]]</Select> \ <Select Path="Security">*[System[(EventID=4656)]]</Select> \ <Select Path="Security">*[System[(EventID=4719)]]</Select> \ <Select Path="Security">*[System[(EventID=4720)]]</Select> \ <Select Path="Security">*[System[(EventID=4722)]]</Select> \ <Select Path="Security">*[System[(EventID=4723)]]</Select> \ <Select Path="Security">*[System[(EventID=4724)]]</Select> \ <Select Path="Security">*[System[(EventID=4725)]]</Select> \ <Select Path="Security">*[System[(EventID=4726)]]</Select> \ <Select Path="Security">*[System[(EventID=4727)]]</Select> \ <Select Path="Security">*[System[(EventID=4728)]]</Select> \ <Select Path="Security">*[System[(EventID=4729)]]</Select> \ <Select Path="Security">*[System[(EventID=4730)]]</Select> \ <Select Path="Security">*[System[(EventID=4731)]]</Select> \ <Select Path="Security">*[System[(EventID=4732)]]</Select> \ <Select Path="Security">*[System[(EventID=4733)]]</Select> \ <Select Path="Security">*[System[(EventID=4734)]]</Select> \ <Select Path="Security">*[System[(EventID=4735)]]</Select> \ <Select Path="Security">*[System[(EventID=4737)]]</Select> \ <Select Path="Security">*[System[(EventID=4738)]]</Select> \ <Select Path="Security">*[System[(EventID=4739)]]</Select> \ <Select Path="Security">*[System[(EventID=4741)]]</Select> \ <Select Path="Security">*[System[(EventID=4742)]]</Select> \ <Select Path="Security">*[System[(EventID=4743)]]</Select> \ <Select Path="System">*[System[(EventID=7036)]]</Select> \ <Select Path="Application">*[System[(EventID=18454)]]</Select> \ <Select Path="Application">*[System[(EventID=18456)]]</Select> \ </Query> \ </QueryList> </Input> <Output out_eventlog> Module om_udp Host 192.168.2.64 Port 514 Exec $Message = string($sourcename) + ": " + string($eventid) + ": " + $Message; Exec if ($EventID == 18454 or $EventID == 18456 ) { $SyslogFacilityValue = 18; } \ else { $SyslogFacilityValue = 13; } Exec if ($EventType == 'ERROR' or $EventType == 'AUDIT_FAILURE') { $SyslogSeverityValue = 3; } \ else if ($EventType == 'WARNING') { $SyslogSeverityValue = 4; } \ else if ($EventType == 'INFO' or $EventType == 'AUDIT_SUCCESS') { $SyslogSeverityValue = 5; } Exec to_syslog_bsd(); </Output> <Route eventlog> Path in_eventlog => out_eventlog </Route> 7

8 如何使用 NXLOG 管理配置 Windows AD Server 日誌 綠色文字部位請依 OS 環境為 32 位元或 64 位元選擇 NXLOG 正確的安裝路徑本文件範例環境為 64 位元 OS 系統, 選擇 "define ROOT C:\Program Files (x86)\nxlog" 紅色文字部位請輸入 N-Reporter 機器 IP, 本文件範例為輸入 "192.168.2.64" 設定範例如下圖 : 5. 啟動 NXLOG 程式 : a. 以系統管理員身份執行 [ 命令提示字元 ] 啟動 NXLOG : [ 開始 ] [ 所有程式 ] [ 應用附屬程式 ] [ 命令提示字元 ], 滑鼠右鍵點 [ 命令提示字 元 ], 選擇 [ 以系統管理員身分執行 ] 命令提示字元輸入 : net stop nxlog net start nxlog # 會看到以下訊息 The nxlog service is starting. The nxlog service was started successfully. b. [ 開始 ] [ 所有程式 ] [ 系統管理工具 ] [ 服務 ] 找到 [ nxlog ], 右鍵點服務 [ nxlog ], 點 [ 啟動 ] 或 [ 重新啟動 ] 8

6. 檢查 NXLOG 是否正常啟動 : 開啟檢查 NXLOG 的 log 檔, 檔案路徑為 "C:\Program Files (x86)\nxlog\data\nxlog.log" 若沒有顯示 Error 的訊息, 表示正常啟動 7. 新增 Windows Server 2008 AD Syslog 設備時, 資料格式請選擇 [ Windows AD ] 9

10 如何使用 NXLOG 管理配置 Windows AD Server 日誌 1.3 For Windows Server 2012 AD 6. 下載 NXLOG: 前往 URL http://nxlog.org/products/nxlog-community-edition/download 請下載網頁中提供的最新版 nxlog-ce-x.x.xxxx.msi, 本例為下載 nxlog-ce-2.9.1716.msi 6. 安裝 NXLOG: 滑鼠雙點 nxlog-ce-2.9.1716.msi, 點選 [ Install ], 執行 NXLog 程式安裝步驟 3. 下載設定 Windows 2012 NXLOG 配置檔 nxlog_win2012.conf: 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2k3.conf 開啟並編輯此檔案路徑 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 NXLOG 配置檔, 將上面的 URL 上的 nxlog_win2k3.conf 檔案裡的設定內容複製, 然後將其貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 檔案中的參數設定後存檔 註 1 : 預設建議使用者採用此設定檔. 此設定只輸出主機稽核 物件存取 帳戶管理等 Eventlog, 會過濾大部分非必要的 Eventlog 雜訊, 減輕 NXLOG 程式對 Windows AD 主機效能的負擔 註 2:32 位元 OS NXLOG 安裝路徑在 "C:\Program Files\nxlog\conf\nxlog.conf" 64 位元 OS NXLOG 安裝路徑在 "C:\Program Files (x86)\nxlog\conf\nxlog.conf" 4. 下載設定 Windows 2012 的 NXLOG nxlog_win2012_all.conf ( 輸出全部 Eventlog) 前往 URL:http://www.npartnertech.com/download/tech/nxlog_win2012_all.conf N-Reporter 提供法規報表統計 Windows AD 所有 Eventlog 使用者若是需要 Windows AD 的法規報表, 請將 nxlog_win2012_all.conf 裡的設定內容複製, 然後將其貼上並覆蓋 C:\Program Files (x86)\nxlog\conf\nxlog.conf" 路徑中的 nxlog.conf 的參數設定後存檔 此設定將會輸出所有 Windows AD 的 Eventlog, 此設定檔會需要 Windows AD 主機配備較高的硬體效能來執行 NXLOG 10

## This is a sample configuration file. See the nxlog reference manual about the ## online at http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html ## Please set the ROOT to the folder your nxlog was installed into, ## otherwise it will not start. #define ROOT C:\Program Files\nxlog define ROOT C:\Program Files (x86)\nxlog Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid SpoolDir %ROOT%\data LogFile %ROOT%\data\nxlog.log <Extension syslog> Module xm_syslog </Extension> <Input in_eventlog> # For windows 2008/vista/7/8/2012/2012r2 and latter use the following: Module im_msvistalog ReadFromLast TRUE SavePos TRUE Query <QueryList> \ <Query Id="0"> \ <Select Path="Security">*[System[(EventID=4768)]]</Select> \ <Select Path="Security">*[System[(EventID=4769)]]</Select> \ <Select Path="Security">*[System[(EventID=4771)]]</Select> \ <Select Path="Security">*[System[(EventID=4624)]]</Select> \ <Select Path="Security">*[System[(EventID=4625)]]</Select> \ <Select Path="Security">*[System[(EventID=4634)]]</Select> \ <Select Path="Security">*[System[(EventID=4647)]]</Select> \ <Select Path="Security">*[System[(EventID=4648)]]</Select> \ <Select Path="Security">*[System[(EventID=4656)]]</Select> \ <Select Path="Security">*[System[(EventID=4719)]]</Select> \ <Select Path="Security">*[System[(EventID=4720)]]</Select> \ <Select Path="Security">*[System[(EventID=4722)]]</Select> \ <Select Path="Security">*[System[(EventID=4723)]]</Select> \ <Select Path="Security">*[System[(EventID=4724)]]</Select> \ <Select Path="Security">*[System[(EventID=4725)]]</Select> \ <Select Path="Security">*[System[(EventID=4726)]]</Select> \ <Select Path="Security">*[System[(EventID=4727)]]</Select> \ <Select Path="Security">*[System[(EventID=4728)]]</Select> \ <Select Path="Security">*[System[(EventID=4729)]]</Select> \ <Select Path="Security">*[System[(EventID=4730)]]</Select> \ <Select Path="Security">*[System[(EventID=4731)]]</Select> \ <Select Path="Security">*[System[(EventID=4732)]]</Select> \ <Select Path="Security">*[System[(EventID=4733)]]</Select> \ <Select Path="Security">*[System[(EventID=4734)]]</Select> \ <Select Path="Security">*[System[(EventID=4735)]]</Select> \ <Select Path="Security">*[System[(EventID=4737)]]</Select> \ <Select Path="Security">*[System[(EventID=4738)]]</Select> \ <Select Path="Security">*[System[(EventID=4739)]]</Select> \ <Select Path="Security">*[System[(EventID=4741)]]</Select> \ <Select Path="Security">*[System[(EventID=4742)]]</Select> \ <Select Path="Security">*[System[(EventID=4743)]]</Select> \ <Select Path="System">*[System[(EventID=7036)]]</Select> \ <Select Path="Application">*[System[(EventID=18454)]]</Select> \ <Select Path="Application">*[System[(EventID=18456)]]</Select> \ </Query> \ </QueryList> </Input> <Output out_eventlog> Module om_udp Host 192.168.2.64 Port 514 Exec $Message = string($sourcename) + ": " + string($eventid) + ": " + $Message; Exec if ($EventID == 18454 or $EventID == 18456 ) { $SyslogFacilityValue = 18; } \ else { $SyslogFacilityValue = 13; } Exec if ($EventType == 'ERROR' or $EventType == 'AUDIT_FAILURE') { $SyslogSeverityValue = 3; } \ else if ($EventType == 'WARNING') { $SyslogSeverityValue = 4; } \ else if ($EventType == 'INFO' or $EventType == 'AUDIT_SUCCESS') { $SyslogSeverityValue = 5; } Exec to_syslog_bsd(); </Output> <Route eventlog> Path in_eventlog => out_eventlog </Route> 11

12 如何使用 NXLOG 管理配置 Windows AD Server 日誌 綠色文字部位請依 OS 環境為 32 位元或 64 位元選擇 NXLOG 正確的安裝路徑本文件範例環境為 64 位元 OS 系統, 選擇 "define ROOT C:\Program Files (x86)\nxlog" 紅色文字部位請輸入 N-Reporter 機器 IP, 本文件範例為輸入 "192.168.2.64" 設定範例如下圖 : 6. 啟動 NXLOG 程式 : a. 以系統管理員身份執行 [ 命令提示字元 ] 啟動 NXLOG : [ 開始 ] [ 所有程式 ] [ 應用附屬程式 ] [ 命令提示字元 ], 滑鼠右鍵點 [ 命令提示字元 ], 點選 [ 以系統管理員身分執行 ] [ Windows PowerShell ] 輸入 : net stop nxlog net start nxlog # 會看到以下訊息 nxlog 服務正在啟動. 12

nxlog 服務已經啟動成功. b. [ 開始 ] [ 所有程式 ] [ 系統管理工具 ] [ 服務 ] 找到 [ nxlog ], 右鍵點服務 [ nxlog ], 點 選 [ 啟動 ] 或 [ 重新啟動 ] 6. 檢查 NXLOG 是否正常啟動 : 開啟檢查 NXLOG 的 log 檔, 檔案路徑為 "C:\Program Files (x86)\nxlog\data\nxlog.log" 若沒有顯示 Error 的訊息, 表示正常啟動 13

14 如何使用 NXLOG 管理配置 Windows AD Server 日誌 2 Windows 2003 Active Directory Server 稽核設定 本章節主要說明以下操作設定 : 1. 設定網域使用者登入登出的稽核原則 2. 設定共享資料夾權限與稽核原則 Windows 2003 AD Server 登入登出的稽核原則和目錄分享的稽核原則, 預設是關閉的 安裝 NXLOG 的步驟, 詳細請參閱第一章節 2.1 設定 Windows 2003 AD Server 網域使用者登入登出的稽核原則 設定步驟如下 : 1. 以系統管理員權限的 Administrator 登入 Windows 2003 AD Server( 網域控制站 ) 點選 [ 開始 / 所有程式 / 系統管理工具 / 網域控制站安全性原則 ] 註 :[ 系統管理工具 ] 裡的 [ 網域安全性原則 ] 為設定整個網域裡的所有物件 ( 所有使用者與電腦 ), 而網域控制站安全性原則為設定所有網域控制站 (Domain Controllers) 建議將此兩種安全性稽 核原則設定為一致 14

2. 前往 [ Windows 設定 / 安全性設定 / 本機原則 / 稽核原則 ] 3. 定義下列的原則設定值 : (1) 稽核登入事件 : 滑鼠雙擊 [ 稽核登入事件 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 15

16 如何使用 NXLOG 管理配置 Windows AD Server 日誌 (2) 稽核帳戶登入事件 : 滑鼠雙擊 [ 稽核帳戶登入事件 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失 敗 ], 設定完成後按 [ 確定 ] 16

(3) 稽核物件存取 : 滑鼠雙擊 [ 稽核物件存取 ], 勾選 [ 定義這些原則設定值 ] 成功 : 若欲稽核成功事件的 Log, 請勾選 [ 成功 ] 核取方塊 失敗 : 若欲稽核失敗事件的 Log, 請勾選 [ 失敗 ] 核取方塊 設定完成後按 [ 確定 ] 註 : 若 Windows 2003 Active Directory Server 不做檔案伺服器稽核 (File server audit), 建議不要勾選成功與失敗的設定值, 僅需勾 [ 定義這些原則設定值 ] 即可. 以避免 Windows 稽核多餘且冗長的物件存取事件然後轉換成 syslog 後發送給 N-Reporter, 會影響主機的運作效能 (4) 稽核原則變更 : 滑鼠雙擊 [ 稽核原則變更 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] (5) 稽核帳戶管理 : 滑鼠雙擊 [ 稽核帳戶管理 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 17

18 如何使用 NXLOG 管理配置 Windows AD Server 日誌 2.2 設定共享資料夾權限與稽核原則 設定步驟如下 : 1. 在欲共用的資料夾上點擊滑鼠右鍵, 點選 [ 內容 ] 2. 點選 [ 共用 ] 索引標籤, 點選 [ 共用此資料夾 ] 點選 [ 使用權限 ] 3. 使用者權限設定 : (1) 點選 [ 新增 ], 來新增一使用者 (2) 若要選擇其他網域, 可點選 [ 位置 ] (3) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 (4) 若網域使用者帳號存在的話, 按 [ 確定 ] 完成設定 18

4. 設定使用者權限 : (1) 點選網域使用者帳號 (2) 勾選允許 [ 完全控制 ] 及 [ 變更 ] 權限 (3) 設定完成後按 [ 確定 ] 5. 安全性設定 : (1) 點選 [ 安全性 ] 索引標籤 (2) 點選 [ 新增 ], 來新增一使用者 (3) 若要選擇其他網域, 可點選 [ 位置 ] (4) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 19

20 如何使用 NXLOG 管理配置 Windows AD Server 日誌 (5) 若網域使用者帳號存在的話, 按 [ 確定 ] 完成設定 6. 設定使用者權限 : (1) 點選要設定的使用者帳號 (2) 勾選允許 [ 完全控制 ] 權限, 以取得所有權限 (3) 按 [ 套用 ] 及 [ 確定 ], 完成設定 7. 進階安全性設定 : (1) 點選 [ 進階 ] (2) 點選 [ 稽核 ] 索引標籤 (3) 點選 [ 新增 ], 來新增一使用者 (4) 若要選擇其他網域, 可點選 [ 位置 ] (5) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 20

(6) 若網域使用者帳號存在的話, 按 [ 確定 ] 完成設定 8. 稽核項目設定 : 點選並編輯稽核項目清單內所要的稽核項目 勾選該稽核項目的 [ 成功 ] 及 [ 失敗 ] 的項目, 設定完成後按 [ 確定 ] 21

22 如何使用 NXLOG 管理配置 Windows AD Server 日誌 9. 在進階安全性設定完成後, 點選 [ 確定 ] 22

在分享資料夾設定完成後, 點選 [ 確定 ] 10. 點選 [ 開始功能表 / 所有程式 / 系統管理工具 / 電腦管理 ] 23

24 如何使用 NXLOG 管理配置 Windows AD Server 日誌 11. 點選 [ 系統工具 / 共用資料夾 / 共用 ] 12. 滑鼠左鍵雙擊被設定分享的分享資料夾, 點選 [ 共用使用權限 ] 索引標籤 點選使用者名稱, 勾選允許 [ 完全控制 ] [ 變更 ] 及 [ 讀取 ] 權限, 設定完成後按 [ 確定 ] 24

3 Windows 2008 Active Directory Server 稽核設定 本章節主要說明以下操作設定 : 1. 設定網域使用者登入登出的稽核原則 2. 設定共享資料夾權限與稽核原則 Windows 2008 AD Server 登入登出的稽核原則和目錄分享的稽核原則, 預設是關閉的 安裝 NXLOG 的步驟, 詳細請參閱第一章節 3.1 設定網域使用者登入登出的稽核原則 設定步驟如下 : 1. 以系統管理員網域使用者權限的帳戶 Administrator 登入 Windows 2008 AD Server( 網域控制站 ) 開啟群組原則管理 點選 [ 開始功能表 / 執行 ] 輸入 :gpmc.msc, 完成後按 [ 確定 ] 註 : 若出現 Windows 找不到 gpmc.msc 的訊息, 請依下面步驟安裝群組原則管理 (gpmc) 1. 以系統管理員身分開啟命令提示字元 2. 在命令提示字元, 輸入 ServerManagerCmd -install gpmc 3. 安裝完成時請關閉命令提示字元 25

26 如何使用 NXLOG 管理配置 Windows AD Server 日誌 2. 以本文件為例子 ( 實際情況請依使用者的環境做調整 ), 點選 [ 樹系 / 網域 /win2k8cht.local/ Default Domain Policy ] 註 : 此步驟展開網域, 會有 [ Default Domain Policy ] ( 預設網域安全性原則 ); 另外展開 Domain Controllers( 網域控制站 ), 會有 [ Default Domain Controllers Policy] ( 預設網域控制站安全性原則 ) 建議將此兩種安全性稽核原則設定為一致 3. 在 Default Domain Policy 點擊滑鼠右鍵, 點選 [ 編輯 ] 26

4. 展開 [ 電腦設定 / 原則 / Windows 設定 / 安全性設定 / 本機原則 / 點選稽核原則 ] 27

28 如何使用 NXLOG 管理配置 Windows AD Server 日誌 5. 定義下列的原則設定值 : (1) 稽核登入事件 : 滑鼠雙擊 [ 稽核登入事件 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 28

(2) 稽核帳戶登入事件 : 滑鼠雙擊 [ 稽核帳戶登入事件 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失 敗 ], 設定完成後按 [ 確定 ] 29

30 如何使用 NXLOG 管理配置 Windows AD Server 日誌 (3) 稽核物件存取 : 滑鼠雙擊 [ 稽核物件存取 ], 勾選 [ 定義這些原則設定值 ] 成功 : 若欲稽核成功事件的 Log, 請勾選 [ 成功 ] 核取方塊 失敗 : 若欲稽核失敗事件的 Log, 請勾選 [ 失敗 ] 核取方塊 設定完成後按 [ 確定 ] 註 : 若 Windows 2008 Active Directory Server 不做檔案伺服器稽核 (File server audit), 建議不要勾選成功與失敗的設定值, 僅需勾選 [ 定義這些原則設定值 ] 即可. 以避免 Windows 稽核多餘且冗長的物件存取事件然後轉換成 syslog 後發送給 N-Reporter, 會影響主機的運作效能 (4) 稽核原則變更 : 滑鼠雙擊 [ 稽核原則變更 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] (5) 稽核帳戶管理 : 滑鼠雙擊 [ 稽核帳戶管理 ], 勾選 [ 定義這些原則設定值 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 30

3.2 設定共享資料夾權限與稽核原則 設定步驟如下 : 1. 在欲共用的資料夾上點擊滑鼠右鍵, 點選 [ 內容 ] 2. 點選 [ 共用 ] 索引標籤, 點選 [ 共用 ] 3. 在檔案分享權限設定中, 點下拉選單至 [ 尋找 ] 31

32 如何使用 NXLOG 管理配置 Windows AD Server 日誌 4. 使用者設定 : (1) 若要選擇其他網域, 可點選 [ 位置 ] (2) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 (3) 若網域使用者帳號存在的話, 按 [ 確定 ] 完成設定 5. 點選 [ 共用 ] 32

6. 等待共用設定完成後, 再按 [ 完成 ] 33

34 如何使用 NXLOG 管理配置 Windows AD Server 日誌 7. 安全性設定 : (1) 點選 [ 安全性 ] 索引標籤 (2) 點選 [ 編輯 ] (3) 點選 [ 新增 ] (4) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 (5) 若要選擇其他網域, 可點選 [ 位置 ] (6) 設定完成後按 [ 確定 ] 34

8. 設定使用者權限 : (1) 點選新增的使用者帳號 (2) 勾選允許 [ 完全控制 ] 權限, 以取得所有權限 (3) 設定完成後按 [ 確定 ] 35

36 如何使用 NXLOG 管理配置 Windows AD Server 日誌 9. 進階安全性設定 : (1) 點選 [ 進階 ] (2) 點選 [ 稽核 ] 索引標籤 (3) 點選 [ 編輯 ] (4) 點選 [ 新增 ], 來新增一使用者 (5) 若要選擇其他網域, 可點選 [ 位置 ] (6) 可於此空白處直接輸入已知的網域使用者帳號後, 按 [ 檢查名稱 ] 檢查存不存在 (7) 設定完成後按 [ 確定 ] 36

10. 稽核項目設定 : 點選並編輯稽核項目清單內所要的稽核項目 勾選該稽核項目的 [ 成功 ] 及 [ 失敗 ] 的項目, 設定完成後按 [ 確定 ] 11. 在進階安全性設定完成後, 點選 [ 確定 ] 37

38 如何使用 NXLOG 管理配置 Windows AD Server 日誌 12. 在分享資料夾設定完成後, 點選 [ 關閉 ] 38

13. 點選 [ 開始功能表 / 系統管理工具 / 電腦管理 ] 39

40 如何使用 NXLOG 管理配置 Windows AD Server 日誌 14. 點選 [ 系統工具 / 共用資料夾 / 共用 ] 40

15. 滑鼠左鍵雙擊被設定分享的分享資料夾, 點選 [ 共用使用權限 ] 索引標籤 點選使用者名稱, 勾 選允許 [ 完全控制 ] [ 變更 ] 及 [ 讀取 ] 權限, 設定完成後按 [ 確定 ] 41

42 如何使用 NXLOG 管理配置 Windows AD Server 日誌 4 Windows 2012 Active Directory Server 稽核設定 本章節主要說明以下操作設定 : 1. 設定網域使用者登入登出的稽核原則 2. 設定共享資料夾權限與稽核原則 Windows 2012 AD Server 登入登出的稽核原則和目錄分享的稽核原則, 預設是關閉的 安裝 NXLOG 的步驟, 詳細請參閱第一章節 4.1 設定網域使用者登入登出的稽核原則 設定步驟如下 : 1. 以系統管理員網域使用者權限的帳戶 administrator 登入 Windows 2012 Active Directory Server( 網域控制站 ) 開啟群組原則管理 : 點選 [ Windows PowerShell ], 輸入 :gpmc.msc, 完成後按 [ Enter ] 42

2. 以本文件為例子 ( 實際情況請依使用者的環境做調整 ), 點選 [ 樹系 / 網域 /NPWin2012r2.local / Domain Controllers / Default Domain Controllers Policy ] 3. 滑鼠右鍵點選 [ Default Domain Controllers Policy ], 按 [ 編輯 ], 開啟 [ 群組原則管理編輯器 ] 註 : 此步驟展開網域, 會有 [ Default Domain Policy ] ( 預設網域安全性原則 ); 另外展開 Domain Controllers( 網域控制站 ), 會有 [ Default Domain Controllers Policy] ( 預設網域控制站安全性原則 ) 建議將此兩種安全性稽核原則設定為一致 43

44 如何使用 NXLOG 管理配置 Windows AD Server 日誌 4. 點選 [ 電腦設定 / 原則 / Windows 設定 / 安全性設定 / 本機原則 / 稽核原則 ] 5. 定義下列的原則設定值 : (1) 稽核登入事件 : 滑鼠雙擊 [ 稽核登入事件 ], 勾選 [ 定義這些原則設定 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 44

(2) 稽核帳戶登入事件 : 滑鼠雙擊 [ 稽核帳戶登入事件 ], 勾選 [ 定義這些原則設定 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] 45

46 如何使用 NXLOG 管理配置 Windows AD Server 日誌 (3) 稽核原則變更 : 雙擊 [ 稽核原則變更 ], 勾選 [ 定義這些原則設定 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] (4) 稽核帳戶管理 : 雙擊 [ 稽核帳戶管理 ], 勾選 [ 定義這些原則設定 ], 再勾選 [ 成功 ] 及 [ 失敗 ], 設定完成後按 [ 確定 ] (5) 稽核物件存取 : 滑鼠雙擊 [ 稽核物件存取 ], 勾選 [ 定義這些原則設定 ] 成功 : 若欲稽核成功事件的 Log, 請勾選 [ 成功 ] 核取方塊 失敗 : 若欲稽核失敗事件的 Log, 請勾選 [ 失敗 ] 核取方塊 設定完成後按 [ 確定 ] 註 : 若 Windows 2012 Active Directory Server 不做檔案伺服器稽核 (File server audit), 建議不要勾選成功與失敗的設定值, 僅需勾 [ 定義這些原則設定值 ] 即可. 以避免 Windows 稽核多餘且冗長的物件存取事件然後轉換成 syslog 後發送給 N-Reporter, 會影響主機的運作效能 46

4.2 設定共享資料夾權限與稽核原則 設定步驟如下 : 1. 點選 [ 伺服器管理員 / 檔案和存放服務 / 共用 / 工作 / 新增共用...], 開啟新增共用精靈 47

48 如何使用 NXLOG 管理配置 Windows AD Server 日誌 2. 滑鼠左點 [ SMB 共用 - 快速 ], 左點 [ 下一步 ] 3. 左點 [ 輸入自訂路徑 ], 本例為輸入 "C:\share_folder", 左點 [ 下一步 ] 48

4. 在共用名稱欄位輸入所要共用的資料夾的名稱, 本例為輸入 [ share_folder ], 然後按 [ 下一 步 ] 5. 勾選 [ 啟用存取型列舉 ], 左點 [ 下一步 ] 49

50 如何使用 NXLOG 管理配置 Windows AD Server 日誌 6. 點選 [ 自訂權限... / 稽核 / 新增 ] 50

7. 左點 [ 選取一個主體 ], 如果欲稽核所有使用者, 在物件名稱欄位的空白處輸入 "everyone" 後, 點選檢查名稱, 按 [ 確定 ] ( 註 : 若要選擇其他網域, 可點選 [ 位置 ]) 8. 類型下拉選 [ 全部 ], 基本權限勾選 [ 完全控制 ], 然後按左點 [ 確定 ] 51

52 如何使用 NXLOG 管理配置 Windows AD Server 日誌 9. 若稽核設定完成後, 按 [ 確定 ] 按 [ 下一步 ] 按 [ 建立 ] / [ 關閉 ], 完成設定 52

連絡資訊 N-Partner 公司連絡方式 : TEL: +886-4-23752865 FAX: +886-4-23757458 有關技術問題請洽 : Email: support@npartnertech.com Skype:support@npartnertech.com 有關業務相關問題請洽 : Email: sales@npartnertech.com 53