使用記錄檔稽核權限提升

Jamf Connect 說明文件

Solution
Application
Jamf Connect
Content Type
技術說明文件
Utilities & Services
ft:locale
zh-TW

Self Service+會在統一記錄檔的類別PrivilegeElevation下記錄所有提升事件。啟用使用者權限提升原因UserPromotionReason)設定將在Self Service+記錄檔目錄中建立一個ElevationReasons記錄檔,其中詳細說明了請求提升的使用者、提升的原因,以及提升請求的時間戳記。

需求條件

已啟用權限提升的Self Service+配置。

管理員可以在macOS中使用log二進位,在本機收集權限提升記錄檔。以下範例命令在終端機視窗中直接顯示全部Self Service+權限提升記錄檔訊息:

log stream --style compact --predicate '(subsystem == "com.jamf.connect.daemon.ssp") && (category == "PrivilegeElevation")'

log stream --style compact --predicate '(subsystem == "com.jamf.connect") && (category == "PrivilegeElevation")'

管理員也可以使用Jamf Protect的統一記錄檔過濾器,自動從Jamf Connect權限提升事件收集記錄檔,並將其直接從電腦傳送到配置的SIEM整合。有關要新增至Jamf Protect的可用統一記錄檔過濾器,請參閱jamf/jamfprotect(GitHub)。SIEM管理員可以查詢以下訊息的來源,從而剖析Jamf Protect傳送的權限提升記錄檔:

Checking for existing elevation timers for [user]
Failed to check elevation time remaining because no user elevation previously occurred.
No running elevation timers for [user]
User elevation time remaining: [duration in minutes:seconds]
[user] has reached their maximum amount of elevations for this month
Request Admin Privileges menu item selected
Privilege Elevation limit has been set
No promotion roles or groups found
Elevation blocked by group - user's roles are not listed in UserPromotionRole
Elevation duration specified by group lookup [duration in minutes] minutes
Elevation blocked by group lookup - default elevation time of 0
[user] elevated to admin for stated reason: [reason]
User [user] elevated to admin for [duration in minutes] minutes
Added user [user] to admin group.
[user]'s elevations this month: [no. of monthly elevations]
Removed user [user] from admin group
User [user] has been demoted back to standard macOS user
[user] has reached their maximum amount of elevations for this month.

如果使用者嘗試透過修改其主程式庫中的偏好設定來啟用權限提升,系統記錄檔將透過類似於以下內容的訊息指示此資訊:2024-03-07 09:38:01.529 E JCDaemon[246:21ee] [com.jamf.connect.daemon:PrivilegeElevation] Privilege elevation requested but not enabled at the device level. A user has likely attempted to enable elevation without admin knowledge。來自Self Service+的啟動服務程式會忽略使用者層級偏好設定並防止意外提升。

注意:

Jamf建議僅向不會因管理員權限,而使您的組織面臨風險的使用者部署權限提升功能。

存取權限提升記錄檔資訊現在將有助於識別組織中的所有提升記錄。