這個指令做什麼?
事件調查:The share denied access to the client.。固定提供者 Microsoft-Windows-SMBServer;事件 ID 1006。讀取事件證據,不代表偵測到入侵;需結合上下文判讀。 The share denied access to the client. Client Name: %10 Client Address: %6 User Name: %8 Session ID: %17 Share Name: %2 Share Path: %4 Status: %16 (%15) Mapped Access: %11 Granted Access: %12 Security Descriptor: %14 Guidance: You should expect access denied errors when a principal accesses a share without the necessary permissions. Usually, this indicates that the principal does not have direct security permissions or lacks membership in a group that has direct access permissions. To determine and correct the permissions on the specified share, an administrator can use the Security tab in File Explorer Properties dialog, the SMBSHARE Windows PowerShell module, or the NET SHARE command. You can also use the Effective Access tab in File Explorer to help diagnose the issue. Applications may generate access denied errors if they attempt to open files in a writable mode first, and then reopen the files in a read-only mode. In this case, no user action is required. If access to the share is denied and this event is not logged, you can examine the file and folder NTFS/REFS permissions. This error does not indicate a problem with authentication, only authorization.
PARAMETERS
參數怎麼填?
回溯時數
必填以本次執行時間往前計算;離線 EVTX 也套用時間範圍。 範圍:1~8760。 預設/範例:24。 必填。
24最多回傳筆數
必填限制輸出筆數;不會變更資料來源。 範圍:1~5000。 預設/範例:100。 必填。
100最多讀取候選事件
必填先以提供者、事件 ID、時間查詢,再比對資料欄位;此上限可能截斷結果。 範圍:1~10000。 預設/範例:1000。 必填。
1000事件通道
必填此事件原始通道;不同 Windows 版本可手動調整。通道未啟用時不會自動啟用。 預設/範例:Microsoft-Windows-SMBServer/Security。 必填。
Microsoft-Windows-SMBServer/Security離線 EVTX 檔案路徑(選填)
選填填寫後讀取既有 EVTX,不讀取本機通道;空白表示本機。 可留空。
留空;必填時請於執行前設定資料欄位比對方式
必填套用到下方事件專屬欄位;所有非空條件須同時成立。 可選:包含、等於、正規表示式。 必填。
包含事件讀取順序
必填一般日誌可選順序;Analytic/Debug 日誌若要求由舊到新,會自動改採最舊優先。掃描上限會依此順序截斷。 可選:最新優先、最舊優先。 必填。
最新優先ShareNameLength(win:UInt16)
選填僅篩選此事件的 ShareNameLength;空白不限制。原始型別 win:UInt16,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定ShareName(win:UnicodeString)
選填僅篩選此事件的 ShareName;空白不限制。原始型別 win:UnicodeString,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定SharePathLength(win:UInt16)
選填僅篩選此事件的 SharePathLength;空白不限制。原始型別 win:UInt16,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定SharePath(win:UnicodeString)
選填僅篩選此事件的 SharePath;空白不限制。原始型別 win:UnicodeString,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定ClientAddressLength(win:UInt32)
選填僅篩選此事件的 ClientAddressLength;空白不限制。原始型別 win:UInt32,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定ClientAddress(win:Binary)
選填僅篩選此事件的 ClientAddress;空白不限制。原始型別 win:Binary,以事件中的文字值比對。 可留空。
留空;必填時請於執行前設定其他事件欄位條件 JSON(選填)
選填例如 {"ProcessId":"1234"}。支援此事件的其餘欄位;此物件只用於比對,不執行程式碼。 可留空。
留空;必填時請於執行前設定