איסוף יומנים של Veridium ID

נתמך ב:

במסמך הזה מוסבר איך להטמיע יומני Veridium ID ב-Google Security Operations באמצעות סוכן Bindplane.

‫Veridium ID היא פלטפורמת אימות ביומטרי שיוצרת הודעות syslog לאירועי אימות, לניהול חשבונות, לרישום מכשירים ולפעולות ניהוליות. המנתח מחלץ שדות מהודעות syslog באמצעות תבניות grok וניתוח של ערכי מפתח, וממפה אותם למודל הנתונים המאוחד (UDM).

לפני שמתחילים

חשוב לוודא שיש לכם את הדברים הבאים:

  • מכונה של Google SecOps
  • ‫Windows Server 2016 ואילך, או מארח Linux עם systemd
  • קישוריות רשת בין סוכן Bindplane לבין מארח Veridium ID
  • אם אתם משתמשים בשרת proxy, ודאו שהיציאות של חומת האש פתוחות בהתאם לדרישות של סוכן Bindplane.
  • גישה מיוחדת ל-Veridium ID

קבלת פרטי כניסה ל-Google SecOps בשביל סוכן Bindplane

כדי לאמת את סוכן Bindplane ב-Google SecOps, בוחרים באחת מהשיטות הבאות:

  • פריסות חדשות: משתמשים ב-Chronicle API (אפשרות 1).
  • פריסות קודמות: ממשיכים להשתמש בקובץ האימות להטמעת נתונים (אפשרות 2) עד שה-Ingestion API יופסק ב-20 ביולי 2027.
  1. נכנסים למסוףGoogle Cloud ובוחרים את הפרויקט ב- Google Cloud שמקושר למכונה של Google SecOps.
  2. נכנסים לדף IAM & Admin > Service Accounts.
  3. לוחצים על Create service account.
  4. מזינים את פרטי ההגדרה הבאים:
    • Service account name: מזינים שם לחשבון (לדוגמה, bindplane-ingest).
    • Service account description: מזינים תיאור (לדוגמה, Bindplane agent log ingestion).
  5. לוחצים על Create and continue.
  6. בקטע Grant this service account access to project, לוחצים על Select a role ובוחרים באפשרות Chronicle Editor.
  7. לוחצים על המשך ואז על סיום.
  8. לוחצים על חשבון השירות שיצרתם ועוברים לכרטיסייה Keys.
  9. לוחצים על Add key > Create new key.
  10. בוחרים באפשרות JSON ולוחצים על Create. קובץ המפתח יורד למחשב.
  11. שומרים את קובץ המפתח בתור ingestion-auth.json בספריית Bindplane collector (/opt/observiq-otel-collector/ingestion-auth.json ב-Linux או C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json ב-Windows), או מעדכנים את creds_file_path ב-config.yaml כך שיתאים לנתיב שבו שמרתם אותו.
  12. עוברים אל IAM & Admin > Settings ומעתיקים את הערך של Project number. תצטרכו אותו כדי להגדיר את הייצוא.

אפשרות 2: הורדה של קובץ האימות להטמעת נתונים (גרסה קודמת)

  1. נכנסים למסוף Google SecOps.
  2. עוברים אל הגדרות > ניהול נתונים > סוכני איסוף. אם אתם משתמשים בפלטפורמת SIEM בלבד, עוברים אל הגדרות > סוכני איסוף.
  3. מורידים את קובץ האימות להטמעת נתונים.
  4. שומרים את הקובץ בצורה מאובטחת במערכת שבה יותקן הסוכן של Bindplane.

איך מקבלים את מספר הלקוח ב-Google SecOps

  1. נכנסים למסוף Google SecOps.
  2. עוברים אל הגדרות > ניהול > פרופיל. אם אתם משתמשים בפלטפורמה של SIEM בלבד, עוברים אל הגדרות > פרופיל.
  3. מעתיקים את מספר הלקוח מהקטע פרטי הארגון ושומרים אותו.

התקנת הסוכן של Bindplane

מתקינים את הסוכן של Bindplane במערכת ההפעלה Windows או Linux לפי ההוראות הבאות.

התקנת חלונות

  1. פותחים את שורת הפקודה או את PowerShell כאדמין.
  2. מריצים את הפקודה הבאה:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    
  3. מחכים שההתקנה תסתיים.

  4. כדי לוודא שההתקנה בוצעה, מריצים את הפקודה:

    sc query observiq-otel-collector
    

    השירות אמור להופיע כ-RUNNING.

התקנה ב-Linux

  1. פותחים טרמינל עם הרשאות root או sudo.
  2. מריצים את הפקודה הבאה:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    
  3. מחכים שההתקנה תסתיים.

  4. כדי לוודא שההתקנה בוצעה, מריצים את הפקודה:

    sudo systemctl status observiq-otel-collector
    

    השירות אמור להופיע כפעיל (פועל).

מקורות מידע נוספים בנושא התקנה

לאפשרויות התקנה נוספות ולפתרון בעיות, עיינו במדריך להתקנת סוכן Bindplane.

הגדרת סוכן Bindplane להטמעת syslog ושליחה אל Google SecOps

מאתרים את קובץ התצורה

  • Linux:

    sudo nano /opt/observiq-otel-collector/config.yaml
    
  • Windows:

    notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
    

עריכת קובץ התצורה

  • מחליפים את כל התוכן של config.yaml בהגדרות הבאות:

    receivers:
      tcplog:
        listen_address: "0.0.0.0:514"
    
    exporters:
      chronicle/veridium_id:
        protocol: https
        # Region of your instance, for example us, europe, asia-southeast1
        location: <LOCATION>
        # Project number of the Google Cloud project linked to the instance
        project: '<PROJECT_NUMBER>'
        compression: gzip
        creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json'
        customer_id: '<customer_id>'
        endpoint: chronicle.googleapis.com
        log_type: VERIDIUM_ID
        raw_log_field: body
    
    service:
      pipelines:
        logs/veridium_id_to_chronicle:
          receivers:
            - tcplog
          exporters:
            - chronicle/veridium_id
    

פרמטרים להגדרה

מחליפים את ה-placeholders הבאים:

  • הגדרת המקלט:

    • ‫listen_address: כתובת ה-IP והיציאה להאזנה:
      • ‫0.0.0.0 כדי להאזין בכל הממשקים (מומלץ)
      • יציאה 514 היא יציאת syslog הרגילה (נדרש root ב-Linux; צריך להשתמש ב-1514 ללא root)
      • ‫Veridium ID משתמש ב-TCP (@@ ב-rsyslog), ולכן נדרש מקלט tcplog
  • הגדרת הייצוא:

    • ‫creds_file_path: הנתיב המלא לקובץ המפתח של חשבון השירות בפורמט JSON (אפשרות 1):
      • Linux: /opt/observiq-otel-collector/ingestion-auth.json
      • Windows: C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
    • ‫customer_id: מספר הלקוח שהועתק ממסוף Google SecOps
    • ‫location: מחליפים את <LOCATION> באזור של המכונה של Google SecOps (לדוגמה, us,‏ europe או asia-southeast1). המייצא מוסיף את הערך הזה בתחילת chronicle.googleapis.com. לרשימה המלאה, ראו נקודות קצה אזוריות.
    • ‫project: מחליפים את <PROJECT_NUMBER> במספר הפרויקט שמופיע בקטע IAM & Admin > Settings.
    • ‫endpoint: משאירים את הערך chronicle.googleapis.com.

מייצא API להטמעה מדור קודם

  • אם אתם משתמשים בקובץ האימות להטמעת נתונים מאפשרות 2, החליפו את הבלוק exporters בקוד הבא. מגדירים את creds_file_path לנתיב של קובץ האימות להטמעת נתונים. אם המכונה נמצאת מחוץ לארה"ב, מחליפים את malachiteingestion-pa.googleapis.com בנקודת הקצה האזורית (לדוגמה, europe-malachiteingestion-pa.googleapis.com).

    exporters:
      chronicle/veridium_id:
        compression: gzip
        creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json'
        customer_id: '<customer_id>'
        endpoint: malachiteingestion-pa.googleapis.com
        log_type: VERIDIUM_ID
        raw_log_field: body
    

שמירת קובץ התצורה

  • אחרי שמסיימים לערוך, שומרים את הקובץ:
    • Linux: לוחצים על Ctrl+O, אחר כך על Enter ואז על Ctrl+X
    • Windows: לוחצים על קובץ > שמירה

מפעילים מחדש את הסוכן של Bindplane כדי להחיל את השינויים.

  • כדי להפעיל מחדש את הסוכן של Bindplane ב-Linux, מריצים את הפקודה הבאה:

    sudo systemctl restart observiq-otel-collector
    
    1. מוודאים שהשירות פועל:

      sudo systemctl status observiq-otel-collector
      
    2. בודקים אם יש שגיאות ביומנים:

      sudo journalctl -u observiq-otel-collector -f
      
  • כדי להפעיל מחדש את הסוכן של Bindplane ב-Windows, בוחרים באחת מהאפשרויות הבאות:

    • שורת הפקודה או PowerShell כאדמין:

      net stop observiq-otel-collector && net start observiq-otel-collector
      
    • מסוף השירותים:

      1. לוחצים על Win+R, מקלידים services.msc ולוחצים על Enter.
      2. מאתרים את observIQ OpenTelemetry Collector.
      3. לוחצים לחיצה ימנית ובוחרים באפשרות הפעלה מחדש.
      4. מוודאים שהשירות פועל:

        sc query observiq-otel-collector
        
      5. בודקים אם יש שגיאות ביומנים:

        type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
        

הגדרת syslog ל-Veridium ID

  1. נכנסים למארח של Veridium ID באמצעות SSH או CLI.
  2. עורכים את הקובץ /etc/rsyslog.conf או /etc/rsyslog.d/events.conf:

    vi /etc/rsyslog.conf
    
  3. מוסיפים את ההגדרות הבאות, ומחליפים את <bindplane-ip> ו-<bindplane-port> בפרטים של סוכן Bindplane:

    module(load="imfile" PollingInterval="10")
    
    input(type="imfile"
      File="/var/log/veridiumid/websecadmin/events.log"
      Tag="ver-adminevents"
      reopenOnTruncate="on")
    
    input(type="imfile"
      File="/var/log/veridiumid/tomcat/events.log"
      Tag="ver-events"
      reopenOnTruncate="on")
    
    if $programname == 'ver-events' then @@<bindplane-ip>:<bindplane-port>
    if $programname == 'ver-adminevents' then @@<bindplane-ip>:<bindplane-port>
    
  4. שומרים את הקובץ ויוצאים.

טבלת מיפוי UDM

שדה ביומן מיפוי UDM Logic (פונקציה לוגית)
_caller.accountId principal.user.userid ממופה ישירות מהשדה _caller.accountId.
_caller.accountEmailAddressInfo principal.user.email_addresses ממופה ישירות מהשדה _caller.accountEmailAddressInfo.
_caller.accountExternalId principal.user.email_addresses ממופה ישירות מהשדה _caller.accountExternalId.
_caller.accountStatus principal.user.attribute.labels[account_status].value ממופה ישירות מהשדה _caller.accountStatus.
_caller.deviceId principal.asset.asset_id עם הקידומת "VERIDIUM_ID:‎" וממופה מהשדה _caller.deviceId.
_caller.deviceDescription principal.asset.attribute.labels[device_description].value ממופה ישירות מהשדה _caller.deviceDescription.
_caller.deviceManufacturer principal.asset.attribute.labels[device_manufacturer].value ממופה ישירות מהשדה _caller.deviceManufacturer.
_caller.deviceName principal.asset.attribute.labels[device_name].value ממופה ישירות מהשדה _caller.deviceName.
_caller.deviceOs principal.asset.platform_software.platform ממופה מהשדה _caller.deviceOs. אם הערך הוא "iOS", הוא ממופה ל-"IOS". אם הערך הוא "Android", הוא ממופה ל-"ANDROID". אם הערך הוא "WIN" או "Windows", הוא ממופה ל-"WINDOWS".
_caller.deviceStatus principal.asset.attribute.labels[device_status].value ממופה ישירות מהשדה _caller.deviceStatus.
_caller.deviceType principal.asset.attribute.labels[device_type].value ממופה ישירות מהשדה _caller.deviceType.
actionDate additional.fields[action_date].value.string_value ממופה ישירות מהשדה actionDate.
actionName metadata.product_event_type ממופה ישירות מהשדה actionName.
accountEmail principal.user.email_addresses ממופה ישירות מהשדה accountEmail.
accountExternalId principal.user.email_addresses ממופה ישירות מהשדה accountExternalId.
accountId principal.user.userid ממופה ישירות מהשדה accountId.
authenticatorDeviceContext.deviceMake intermediary.asset.hardware.manufacturer ממופה ישירות מהשדה authenticatorDeviceContext.deviceMake.
authenticatorDeviceContext.ip intermediary.ip ממופה ישירות מהשדה authenticatorDeviceContext.ip.
authenticatorDeviceContext.location.city intermediary.asset.location.city ממופה ישירות מהשדה authenticatorDeviceContext.location.coordinates.latitude.
authenticatorDeviceContext.location.coordinates.latitude intermediary.asset.location.region_latitude ממופה ישירות מהשדה authenticatorDeviceContext.location.coordinates.latitude.
authenticatorDeviceContext.location.coordinates.longitude intermediary.asset.location.region_longitude ממופה ישירות מהשדה authenticatorDeviceContext.location.coordinates.longitude.
authenticatorDeviceContext.location.countryName intermediary.asset.location.country_or_region ממופה ישירות מהשדה authenticatorDeviceContext.location.countryName.
authenticatorDeviceContext.location.ip intermediary.ip ממופה ישירות מהשדה authenticatorDeviceContext.location.ip.
authenticationDeviceDescription intermediary.asset.attribute.labels[authentication_device_description].value ממופה ישירות מהשדה authenticationDeviceDescription.
authenticationDeviceName intermediary.asset.asset_id עם הקידומת "VERIDIUM_ID:‎" וממופה מהשדה authenticationDeviceName.
authenticationDeviceOs intermediary.asset.platform_software.platform ממופה מהשדה authenticationDeviceOs. אם הערך הוא "iOS", הוא ממופה ל-"IOS". אם הערך הוא "Android", הוא ממופה ל-"ANDROID". אם הערך הוא "WIN" או "Windows", הוא ממופה ל-"WINDOWS".
authenticationDeviceOsVersion intermediary.asset.platform_software.platform_version ממופה ישירות מהשדה authenticationDeviceOsVersion.
authenticationDevicePhone intermediary.asset.attribute.labels[authentication_device_phone].value ממופה ישירות מהשדה authenticationDevicePhone.
authenticationDevicePhoneModel intermediary.asset.attribute.labels[authentication_device_phone_model].value ממופה ישירות מהשדה authenticationDevicePhoneModel.
authenticationDeviceRegistrationTime intermediary.asset.attribute.labels[authentication_device_registeration_time].value ממופה ישירות מהשדה authenticationDeviceRegistrationTime.
authenticationDeviceType intermediary.asset.attribute.labels[authentication_device_type].value ממופה ישירות מהשדה authenticationDeviceType.
authenticationResult extensions.auth.auth_details ממופה ישירות מהשדה authenticationResult.
context.deviceMake principal.asset.hardware.manufacturer ממופה ישירות מהשדה context.deviceMake.
context.ip principal.ip ממופה ישירות מהשדה context.ip.
context.location.countryName principal.location.country_or_region ממופה ישירות מהשדה context.location.countryName.
context.location.ip principal.ip ממופה ישירות מהשדה context.location.ip.
context.osVersion principal.asset.platform_software.platform_version ממופה ישירות מהשדה context.osVersion.
context.userAgentRaw network.http.user_agent ממופה ישירות מהשדה context.userAgentRaw.
exploiterDeviceContext.deviceMake src.asset.hardware.manufacturer ממופה ישירות מהשדה exploiterDeviceContext.deviceMake.
exploiterDeviceContext.ip src.ip ממופה ישירות מהשדה exploiterDeviceContext.ip.
exploiterDeviceContext.location.city src.asset.location.city ממופה ישירות מהשדה exploiterDeviceContext.location.city.
exploiterDeviceContext.location.coordinates.latitude src.asset.location.region_latitude ממופה ישירות מהשדה exploiterDeviceContext.location.coordinates.latitude.
exploiterDeviceContext.location.coordinates.longitude src.asset.location.region_longitude ממופה ישירות מהשדה exploiterDeviceContext.location.coordinates.longitude.
exploiterDeviceContext.location.countryName src.asset.location.country_or_region ממופה ישירות מהשדה exploiterDeviceContext.location.countryName.
exploiterDeviceContext.location.ip src.ip ממופה ישירות מהשדה exploiterDeviceContext.location.ip.
exploiterDeviceContext.osName src.asset.platform_software.platform ממופה מהשדה exploiterDeviceContext.osName. אם הערך הוא "WIN" או "Windows", הוא ממופה ל-"WINDOWS". אם הערך הוא "iOS", הוא ממופה ל-"IOS". אם הערך הוא "Android", הוא ממופה ל-"ANDROID".
exploiterDeviceContext.osVersion src.asset.platform_software.platform_version ממופה ישירות מהשדה exploiterDeviceContext.osVersion.
exploiterDeviceName src.asset.attribute.labels[exploiter_device_name].value ממופה ישירות מהשדה exploiterDeviceName.
hostname principal.hostname ממופה ישירות מהשדה hostname.
ipAddress principal.ip ממופה ישירות מהשדה ipAddress.
location principal.location.city ממופה ישירות מהשדה location.
location.city about.location.city ממופה ישירות מהשדה location.city.
location.coordinates.latitude about.location.region_latitude ממופה ישירות מהשדה location.coordinates.latitude.
location.coordinates.longitude about.location.region_longitude ממופה ישירות מהשדה location.coordinates.longitude.
location.countryName about.location.country_or_region ממופה ישירות מהשדה location.countryName.
location.ip about.ip ממופה ישירות מהשדה location.ip.
metadata.collected_timestamp metadata.collected_timestamp ממופה ישירות מהשדה collected_time.
metadata.event_timestamp metadata.event_timestamp ממופה ישירות מהשדה event_time.
metadata.event_type metadata.event_type מוגדר כ-"USER_UNCATEGORIZED".
metadata.product_event_type metadata.product_event_type ממופה ישירות מהשדה actionName.
metadata.product_name metadata.product_name צריך להגדיר את הערך "VERIDIUM_ID".
namespace principal.namespace ממופה ישירות מהשדה namespace.
pid principal.process.pid ממופה ישירות מהשדה pid.
request.context.userAgentRaw network.http.user_agent ממופה ישירות מהשדה request.context.userAgentRaw.
request.sessionId network.session_id ממופה ישירות מהשדה request.sessionId.
requestMethod network.http.method ממופה ישירות מהשדה requestMethod.
requestURI network.http.referral_url ממופה ישירות מהשדה requestURI.
security_result.severity security_result.severity ממופה מהשדה severity. אם הערך הוא "INFO", הוא ממופה ל-"INFORMATIONAL".
principal.application ממופה ישירות מהשדה application.
principal.asset.hostname ממופה ישירות מהשדה hostname.

יומן שינויים

הצגת יומן השינויים של המנתח הזה

הבעיה עדיין לא נפתרה? קבלת תשובות מחברי הקהילה וממומחי Google SecOps.