收集 Lookout Mobile Endpoint Security 記錄
本文說明如何使用 Bindplane 代理程式,將 Lookout Mobile Endpoint Security 記錄擷取至 Google Security Operations。
Lookout Mobile Endpoint Security (MES) 是一套全面的行動安全解決方案,可保護 iOS、Android 和 ChromeOS 裝置免受網路釣魚、惡意軟體、網路攻擊和裝置安全漏洞的侵害。這項服務會運用 AI 驅動的威脅情報,偵測及防範行動威脅,同時維護使用者隱私。Lookout MES 支援透過 syslog 將 CEF (通用事件格式) 的安全事件轉送至外部 SIEM 系統。
事前準備
請確認您已完成下列事前準備事項:
- Google SecOps 執行個體
- Windows Server 2016 以上版本,或搭載
systemd的 Linux 主機 - Bindplane 代理程式與 Lookout MES SIEM 連接器主機之間的網路連線
- 如果透過 Proxy 執行,請確保防火牆通訊埠已根據 Bindplane 代理程式需求開啟
- Lookout MES 控制台的管理員存取權
- 在 Lookout MES 控制台中產生的應用程式金鑰,用於 SIEM 連接器驗證
取得 Google SecOps 擷取驗證檔案
- 登入 Google SecOps 控制台。
- 依序前往「SIEM 設定」>「收集代理程式」。
- 下載擷取驗證檔案。將檔案安全地儲存在要安裝 Bindplane 的系統上。
取得 Google SecOps 客戶 ID
- 登入 Google SecOps 控制台。
- 依序前往「SIEM 設定」>「設定檔」。
- 複製並儲存「機構詳細資料」部分中的客戶 ID。
安裝 Bindplane 代理程式
請按照下列操作說明,在 Windows 或 Linux 作業系統上安裝 Bindplane 代理程式。
Windows 安裝
- 以管理員身分開啟「命令提示字元」或「PowerShell」。
執行下列指令:
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet等待安裝完成。
執行下列指令,確認安裝成功:
sc query observiq-otel-collector
服務應顯示為「RUNNING」。
Linux 安裝
- 開啟具有根層級或 sudo 權限的終端機。
執行下列指令:
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh等待安裝完成。
執行下列指令,確認安裝成功:
sudo systemctl status observiq-otel-collector
服務應顯示為有效 (執行中)。
其他安裝資源
如需其他安裝選項和疑難排解資訊,請參閱 Bindplane 代理程式安裝指南。
設定 Bindplane 代理程式,擷取系統記錄檔並傳送至 Google SecOps
找出設定檔
Linux:
sudo nano /etc/bindplane-agent/config.yamlWindows:
notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
編輯設定檔
將
config.yaml的所有內容替換為下列設定:receivers: tcplog: listen_address: "0.0.0.0:6514" exporters: chronicle/lookout_mes: compression: gzip creds_file_path: '/etc/bindplane-agent/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: LOOKOUT_MOBILE_ENDPOINT_SECURITY raw_log_field: body ingestion_labels: log_type: LOOKOUT_MOBILE_ENDPOINT_SECURITY service: pipelines: logs/lookout_mes_to_chronicle: receivers: - tcplog exporters: - chronicle/lookout_mes
設定參數
替換下列預留位置:
接收器設定:
listen_address:要接聽的 IP 位址和通訊埠:0.0.0.0會監聽所有介面- 建議使用通訊埠
6514搭配支援 TLS 的系統記錄;如要使用通訊埠514或1514,請自行設定
- 建議使用
tcplog接收器,因為 Lookout SIEM 連接器支援 TCP Syslog,且 TCP 可穩定傳送 CEF 事件
匯出工具設定:
creds_file_path:擷取驗證檔案的完整路徑:- Linux:
/etc/bindplane-agent/ingestion-auth.json - Windows:
C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
- Linux:
customer_id:您的 Google SecOps 客戶 IDendpoint:區域端點網址:- 美國:
malachiteingestion-pa.googleapis.com - 歐洲:
europe-malachiteingestion-pa.googleapis.com - 亞洲:
asia-southeast1-malachiteingestion-pa.googleapis.com - 如需完整清單,請參閱「區域端點」
- 美國:
儲存設定檔
編輯完成後,請儲存檔案:
- Linux:依序按下
Ctrl+O、Enter和Ctrl+X - Windows:依序點選「檔案」>「儲存」
- Linux:依序按下
重新啟動 Bindplane 代理程式,以套用變更
如要在 Linux 中重新啟動 Bindplane 代理程式,請執行下列指令:
sudo systemctl restart observiq-otel-collector確認服務正在執行:
sudo systemctl status observiq-otel-collector檢查記錄中是否有錯誤:
sudo journalctl -u observiq-otel-collector -f
如要在 Windows 中重新啟動 Bindplane 代理程式,請選擇下列其中一個選項:
以管理員身分開啟命令提示字元或 PowerShell:
net stop observiq-otel-collector && net start observiq-otel-collector
服務控制台:
- 按下
Win+R,輸入services.msc,然後按下 Enter 鍵。 - 找出 observIQ OpenTelemetry Collector。
- 按一下滑鼠右鍵,然後選取「重新啟動」。
確認服務正在執行:
```cmd sc query observiq-otel-collector ```檢查記錄中是否有錯誤:
```cmd type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log" ```
- 按下
設定 Lookout Mobile Endpoint Security 系統記錄轉送
Lookout MES 會使用 SIEM 連接器應用程式,透過系統記錄將安全事件匯出為 CEF 格式。SIEM 連接器會向 Lookout Mobile Risk API 進行驗證、擷取威脅事件,並以 CEF 格式的系統記錄訊息轉送至 Bindplane 代理程式。
為 SIEM 連接器產生應用程式金鑰
前往
https://app.lookout.com登入 Lookout MES Console。在左側導覽列中,依序前往「系統」>「應用程式金鑰」。
按一下右上角的「產生金鑰」。
在「Label」(標籤) 欄位中輸入描述性名稱 (例如
Bindplane-Chronicle-CEF)。點選「下一步」。
按一下「Click to Copy Application Key to Clipboard」(按一下即可將應用程式金鑰複製到剪貼簿),複製系統產生的應用程式金鑰。
重要事項:請立即複製並儲存應用程式金鑰。關閉這個對話方塊後,您就無法再取得金鑰。
從「系統」設定記錄「企業 GUID」。這是 Lookout 租戶的專屬 ID。
安裝及設定 Lookout SIEM 連接器
- 從 Lookout 說明入口網站下載 Lookout SIEM 連接器應用程式,或聯絡 Lookout Enterprise 支援團隊,取得最新發行套件。
- 在主機上安裝 SIEM 連接器,該主機必須具備 Lookout API 端點 (
https://api.lookout.com) 和 Bindplane 代理程式的網路存取權。 - 開啟 SIEM 連接器設定檔。
請提供下列設定詳細資料:
- 應用程式金鑰:您從 Lookout MES 控制台產生的應用程式金鑰
- 企業 GUID:Lookout 租戶 ID
- API 基礎網址:
https://api.lookout.com - 輸出格式:選取「CEF」
- 傳輸通訊協定:選取「TCP」
- 系統記錄檔伺服器主機:輸入 Bindplane 代理程式主機的 IP 位址 (例如
192.168.1.100)。 - 系統記錄檔伺服器通訊埠:輸入與 Bindplane 代理程式接收器設定相符的通訊埠號碼 (例如
6514)。
儲存設定檔。
啟動 SIEM 連接器服務。
確認系統記錄傳送情形
- 檢查 SIEM 連接器記錄,確認系統是否從 Lookout Mobile Risk API 擷取事件,並轉送至 Bindplane 代理程式。
在 Bindplane 代理程式主機上,檢查代理程式記錄,確認是否收到 CEF 事件:
Linux:
sudo journalctl -u observiq-otel-collector -fWindows:
type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"在 Google SecOps 控制台中,確認 Lookout Mobile Endpoint Security 事件是否顯示在搜尋結果中。
UDM 對應表
| 記錄欄位 | UDM 對應 | 邏輯 |
|---|---|---|
| deviceNtDomain | about.administrative_domain | 直接複製值 |
| deviceExternalId | about.asset.asset_id | 由 device_vendor、device_product、deviceExternalId 串連而成 |
| filePath | about.file.full_path | filePath 中的值,或 fileHash 中的值 (如果不是雜湊) |
| fileHash | about.file.full_path | |
| fname | about.file.names | 直接複製值 |
| _hash | about.file.sha256 | 來自 _hash 或 fileHash 的值 |
| fileHash | about.file.sha256 | |
| fsize | about.file.size | 已轉換為 uinteger |
| dvchost | about.hostname | 直接複製值 |
| dvc | about.ip | 從 dvc 擷取 IP,然後分割並驗證 |
| dvcmac | about.mac | 直接複製值 |
| deviceTranslatedAddress | about.nat_ip | 直接複製值 |
| deviceProcessName | about.process.command_line | 來自 deviceProcessName、Subject、Emne 或 Path 的值 |
| 主旨 | about.process.command_line | |
| Emne | about.process.command_line | |
| 路徑 | about.process.command_line | |
| dvcpid | about.process.pid | 直接複製值 |
| filePermission | about.resource.attribute.permissions | 直接複製值 |
| device_security_result | about.security_result | 直接複製值 |
| 已接收 | metadata.collected_timestamp | 從「已接收」剖析,使用 yyyy-MM-ddTHH:mm:ss 日期格式 |
| msg | metadata.description | 直接複製值 |
| file_full_path | metadata.event_type | 如果已設定 file_full_path,請設為 SCAN_UNCATEGORIZED;如果存在 principal_hostname、principal_ip、principal_mac,請設為 STATUS_UPDATE;否則請設為 GENERIC_EVENT;如果存在 has_principal_user,請設為 USER_UNCATEGORIZED;如果存在 has_principal_host,請設為 STATUS_UPDATE |
| principal_hostname | metadata.event_type | |
| has_principal_user | metadata.event_type | |
| principal_ip | metadata.event_type | |
| principal_mac | metadata.event_type | |
| device_event_class_id | metadata.product_event_type | 從 device_event_class_id - event_name 或類型串連 |
| event_name | metadata.product_event_type | |
| 類型 | metadata.product_event_type | |
| externalId | metadata.product_log_id | 來自 externalId 或 target.id 的值 |
| target.id | metadata.product_log_id | |
| device_product | metadata.product_name | 直接複製值 |
| device_version | metadata.product_version | 直接複製值 |
| device_vendor | metadata.vendor_name | 直接複製值 |
| app_protocol_src | network.application_protocol | 使用預先定義的通訊協定規則,從 app_protocol_src 對應 |
| deviceDirection | network.direction | 設為 0 代表「INBOUND」,設為 1 代表「OUTBOUND」 |
| requestMethod | network.http.method | 直接複製值 |
| requestClientApplication | network.http.user_agent | 直接複製值 |
| proto | network.ip_protocol | 使用 IANA 通訊協定號碼從 protocol_number_src 對應 |
| 在 | network.received_bytes | 已轉換為 uinteger |
| out | network.sent_bytes | 已轉換為 uinteger |
| sntdom | principal.administrative_domain | 來自 sntdom、Domain 或 Domene 的值 |
| 網域 | principal.administrative_domain | |
| Domene | principal.administrative_domain | |
| sourceServiceName | principal.application | 來自 sourceServiceName 或 details.applicationName 的值 |
| details.applicationName | principal.application | |
| 援助 | principal.asset.asset_id | 由 metadata.vendor_name、metadata.product_name、aid 串連而成 |
| _hardware | principal.asset.hardware | 直接複製值 |
| principal_hostname | principal.asset.hostname | principal_hostname 的值 (如果不是 IP,則為 Device_name、Enhetsnavn、shost 或 entName) |
| av | principal.asset.platform_software.platform_version | 直接複製值 |
| agentZoneURI_label | principal.asset.attribute.labels | 從各種標籤合併 |
| agentTimeZone_label | principal.asset.attribute.labels | |
| agentType_label | principal.asset.attribute.labels | |
| agentReceiptTime_label | principal.asset.attribute.labels | |
| token_new | principal.asset.attribute.labels | |
| details.path | principal.file.full_path | 直接複製值 |
| Group_name | principal.group.group_display_name | 來自 Group_name 或 Gruppenavn 的值 |
| Gruppenavn | principal.group.group_display_name | |
| Device_name | principal.hostname | 如果不是 IP,則為 Device_name、Enhetsnavn、shost 或 entName 的值 |
| Enhetsnavn | principal.hostname | |
| shost | principal.hostname | |
| entName | principal.hostname | |
| src | principal.ip | 如果 IP 有效,則為 src 中的值;如果為 IP,則為 shost;如果為 agt,則為 agt |
| shost | principal.ip | |
| agt | principal.ip | |
| smac | principal.mac | 直接複製值 |
| sourceTranslatedAddress | principal.nat_ip | 直接複製值 |
| sourceTranslatedPort | principal.nat_port | 已轉換為整數 |
| target.platform | principal.platform | 如果是 IOS,請設為 MAC;如果是 ANDROID,請設為 ANDROID |
| target.osVersion | principal.platform_version | 直接複製值 |
| spt | principal.port | 已轉換為整數 |
| sproc | principal.process.command_line | 來自 sproc 或 about.process.command_line 的值 |
| about.process.command_line | principal.process.command_line | |
| details.fileName | principal.process.file.full_path | 直接複製值 |
| spid | principal.process.pid | 直接複製值 |
| old_permissions | principal.resource.attribute.permissions | 直接複製值 |
| target.type | principal.resource.name | 直接複製值 |
| principal_role | principal.user.attribute.roles | 直接複製值 |
| suser | principal.user.user_display_name | 如果 suser 不為空白,則為 suser 的值,否則為 CustomerName |
| CustomerName | principal.user.user_display_name | |
| suid | principal.user.userid | suid 或 target.emailAddress 的值 |
| target.emailAddress | principal.user.userid | |
| oldFilePath | src.file.full_path | 直接複製值 |
| oldFileSize | src.file.size | 已轉換為 uinteger |
| old_permissions | src.resource.attribute.permissions | 直接複製值 |
| dntdom | target.administrative_domain | 直接複製值 |
| destinationServiceName | target.application | 直接複製值 |
| target_hostname | target.asset.hostname | target_hostname 的值 (來自 temp_dhost) |
| token_new | target.asset.attribute.labels | 從 token_new 合併 |
| temp_dhost | target.hostname | 直接複製值 |
| dst_ip | target.ip | 直接複製值 |
| mac_address | target.mac | 直接複製值 |
| destination_translated_address | target.nat_ip | 直接複製值 |
| destinationTranslatedPort | target.nat_port | 已轉換為整數 |
| dpt | target.port | 已轉換為整數 |
| dproc | target.process.command_line | 直接複製值 |
| file_full_path | target.process.file.full_path | file_full_path 中的值 (來自 File_name、Object、Objekt、Infected_Resource) |
| dpid | target.process.pid | 直接複製值 |
| 要求 | target.url | 來自要求或 details.url 的值 |
| details.url | target.url | |
| target_role | target.user.attribute.roles | 直接複製值 |
| temp_duser | target.user.user_display_name | 來自 temp_duser 或 CustomerName 的值 |
| CustomerName | target.user.user_display_name | |
| temp_duid | target.user.userid | 來自 temp_duid、User 或 Bruker 的值 |
| 使用者 | target.user.userid | |
| Bruker | target.user.userid | |
| _action | security_result.action | 如果動作符合 accept/notified/REDIRECTED_USER_MAY_PROCEED/Success,請設為 ALLOW;如果動作符合 deny/blocked/BLOCKED/Failure/Failed,請設為 BLOCK;如果動作符合 Failure,請設為 FAIL |
| act | security_result.action_details | 來自 act、details.action 或 Action_Taken 的值 |
| details.action | security_result.action_details | |
| Action_Taken | security_result.action_details | |
| cat | security_result.category_details | cat 或 sec_result_category_details 的值 |
| sec_result_category_details | security_result.category_details | |
| catdt_field | security_result.detection_fields | 從各種標籤合併 |
| categorySignificance_label | security_result.detection_fields | |
| categoryBehavior_label | security_result.detection_fields | |
| categoryDeviceGroup_label | security_result.detection_fields | |
| categoryOutcome_label | security_result.detection_fields | |
| categoryObject_label | security_result.detection_fields | |
| operation_label | security_result.detection_fields | |
| operasjon_label | security_result.detection_fields | |
| permission_label | security_result.detection_fields | |
| tillatelse_label | security_result.detection_fields | |
| infection_channel_label | security_result.detection_fields | |
| spyware_Grayware_Type_label | security_result.detection_fields | |
| threat_probability_label | security_result.detection_fields | |
| categoryOutcome_label | security_result.outcomes | 直接複製值 |
| mwProfile | security_result.rule_name | 直接複製值 |
| 嚴重性 | security_result.severity | 如果分數為 0 到 3 分,則對應到「LOW」;如果分數為 4 到 6 分,則對應到「MEDIUM」、「INFO」或「SUBSTANTIAL」;如果分數為 7 到 8 分,則對應到「HIGH」或「SEVERE」;如果分數為 9 到 10 分,則對應到「CRITICAL」或「VERY-HIGH」 |
| details.severity | security_result.severity | |
| 原因 | security_result.summary | 原因、appcategory 或結果的值 |
| appcategory | security_result.summary | |
| 結果 | security_result.summary | |
| 間諜軟體 | security_result.threat_name | 間諜軟體、Virus_Malware_Name 或 Unknown_Threat 的值 |
| Virus_Malware_Name | security_result.threat_name | |
| Unknown_Threat | security_result.threat_name | |
actor.type |
event.idm.read_only_udm.additional.fields |
從變更記錄對應 |
actor_type |
event.idm.read_only_udm.additional.fields |
從變更記錄對應 |
changeType |
event.idm.read_only_udm.additional.fields |
從變更記錄對應 |
id |
event.idm.read_only_udm.principal.resource.product_object_id |
從變更記錄對應 |
CustomerName |
event.idm.read_only_udm.target.user.userid |
從變更記錄對應 |
details.type", "details.packageSha", "details.packageName", "details.assessments", "details.activationStatus", "details.securityStatus", and "details.protectionStatus |
additional.fields |
從變更記錄對應 |
target.manufacturer |
principal.asset.hardware.manufacturer |
從變更記錄對應 |
變更記錄
還有其他問題嗎?向社群成員和 Google SecOps 專業人員尋求答案。