איסוף יומנים של Dell EMC Data Domain

גרסת המנתח: 2.0

נתמכים ב:

במסמך הזה מוסבר איך להטמיע ב-Google Security Operations יומנים של Dell EMC Data Domain באמצעות Bindplane. קוד המנתח של Logstash מחלץ קודם שדות מפתח מיומני DELL_EMC_DATA_DOMAIN גולמיים באמצעות תבניות grok שמבוססות על פורמט הודעת היומן. לאחר מכן, הוא ממפה את השדות שחולצו לשדות התואמים בסכימה של מודל הנתונים המאוחד (UDM), ומעשיר את הנתונים בהקשר נוסף כמו סוג האירוע ותוצאת האבטחה.

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

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

  • מופע של Google SecOps
  • ‫Windows 2016 ואילך, או מארח Linux עם systemd
  • אם אתם משתמשים בשרת proxy, היציאות של חומת האש פתוחות
  • גישה עם הרשאות מיוחדות ל-Dell EMC Data Domain

קבלת פרטי הכניסה ל-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
    

התקנה ב-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
    

מקורות מידע נוספים להתקנה

אפשרויות התקנה נוספות מפורטות במדריך ההתקנה.

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

  1. פותחים את קובץ התצורה:
    • מאתרים את הקובץ config.yaml. בדרך כלל, הוא נמצא בספרייה /opt/observiq-otel-collector/ ב-Linux או בספריית ההתקנה ב-Windows.
    • פותחים את הקובץ באמצעות כלי לעריכת טקסט (לדוגמה, nano,‏ vi או פנקס הרשימות).
  2. עורכים את הקובץ config.yaml באופן הבא:

    receivers:
        udplog:
            # Replace the port and IP address as required
            listen_address: "0.0.0.0:514"
    
    exporters:
        chronicle/chronicle_w_labels:
            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
            # Adjust the path to the credentials file you downloaded in Step 1
            creds_file_path: '/path/to/ingestion-authentication-file.json'
            # Replace with your actual customer ID from Step 2
            customer_id: <customer_id>
            endpoint: chronicle.googleapis.com
            # Add optional ingestion labels for better organization
            ingestion_labels:
                log_type: 'DELL_EMC_DATA_DOMAIN'
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - udplog
                exporters:
                    - chronicle/chronicle_w_labels
    
  3. מחליפים את היציאה ואת כתובת ה-IP לפי הצורך בתשתית שלכם.

  4. מחליפים את <LOCATION> באזור של מכונת Google SecOps (לדוגמה, us,‏ europe או asia-southeast1). המייצא מוסיף את הערך הזה בתחילת chronicle.googleapis.com.

  5. מחליפים את <PROJECT_NUMBER> במספר הפרויקט שמופיע בדף IAM & Admin > Settings.

  6. מחליפים את <customer_id> במספר הלקוח בפועל.

  7. מעדכנים את /path/to/ingestion-authentication-file.json לנתיב שבו נשמר קובץ המפתח של חשבון השירות (אפשרות 1) בקטע קבלת פרטי כניסה ל-Google SecOps בשביל סוכן Bindplane.

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

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

    exporters:
        chronicle/chronicle_w_labels:
            compression: gzip
            # Adjust the path to the credentials file you downloaded in Step 1
            creds_file_path: '/path/to/ingestion-authentication-file.json'
            # Replace with your actual customer ID from Step 2
            customer_id: <customer_id>
            endpoint: malachiteingestion-pa.googleapis.com
            # Add optional ingestion labels for better organization
            ingestion_labels:
                log_type: 'DELL_EMC_DATA_DOMAIN'
                raw_log_field: body
    

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

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

    sudo systemctl restart bindplane-agent
    
  • כדי להפעיל מחדש את הסוכן של Bindplane ב-Windows, אפשר להשתמש במסוף Services או להזין את הפקודה הבאה:

    net stop BindPlaneAgent && net start BindPlaneAgent
    

הגדרת Syslog ל-Dell EMC דומיין נתונים

  1. נכנסים ל-Dell EMC Data Domain באמצעות CLI.
  2. מציגים את ההגדרות הנוכחיות:

    log host show
    
  3. הפעלת שליחה של הודעות ביומן למערכות אחרות:

    log host enable
    
  4. מוסיפים את כתובת ה-IP של סוכן Bindplane ל-syslog באמצעות הפקודה הבאה, ומחליפים את <bindplane-ip> בכתובת ה-IP של סוכן Bindplane בפועל.

    log host add <bindplane-ip>
    
  5. מוסיפים את יציאת הסוכן של Bindplane ל-syslog באמצעות הפקודה הבאה, ומחליפים את <bindplane-port> במספר היציאה של סוכן Bindplane בפועל.

    log server-port set <bindplane-port>
    

יומנים לדוגמה נתמכים של Dell EMC Data Domain

  • SYSLOG + KV

    <174>ddsh: {epoch=1649171401;id='AUDIT-DDSH-00001';desc='DDSH CLI command';level=3;user='dummy_user';role='se';app='ddsh';host='dd-host-1';detail='cmd=cifs show detailed-stats';}
    
  • SYSLOG

    <38>sshd[13244]: Accepted publickey for dd-admin from 192.0.2.1 port 57656 ssh2: RSA SHA256:+BWDxlMYuJgfC0LhzacEAUpFHlAZlNOYXAKKJ4SAipQ
    
    • JSON
    {
    "Timestamp": "2024-09-05T13:25:14Z",
    "EventName": "Participant left session",
    "EventType": "Session",
    "Username": "user_9999",
    "EventDetails": [
      {
        "OldValue": "",
        "NewValue": "1352719861",
        "PolicyEnforcementNewValue": null,
        "PolicyEnforcementOldValue": null,
        "PropertyName": "ID of affected participant",
        "PropertyCategory": "AffectedParticipant"
      },
      {
        "OldValue": "",
        "NewValue": "User Name 1",
        "PolicyEnforcementNewValue": null,
        "PolicyEnforcementOldValue": null,
        "PropertyName": "Name of affected participant",
        "PropertyCategory": "AffectedParticipant"
      }
    ],
    "Computer": "HOST-PC-400",
    "EventId": 35139395
    }
    
  • ‫SYSLOG + XML

    <21>1 2024-08-01T12:31:40.791267+02:00 VEEM-HOST-01 Veeam_ONE_Server 7172 - [origin enterpriseId="31023"] Operation:"SendEmail" Email has been sent Data:<data><recipient>recipient@example.com</recipient><subject>VM resetting Information for Virtual Machine &quot;VM_RESTORED_2024&quot;</subject></data>
    

טבלת מיפוי UDM

שדה ביומן מיפוי UDM לוגיקה
אפליקציה read_only_udm.target.application הערך נלקח מהשדה "app" שחולץ על ידי מנתח ה-Grok הראשון.
cmd read_only_udm.target.process.command_line הערך נלקח מהשדה cmd שחולץ על ידי מנתח ה-grok הראשון, או מהשדה detail אם השדה cmd ריק.
desc read_only_udm.metadata.description הערך נלקח מהשדה desc שחולץ על ידי מנתח ה-grok הראשון.
ראשית זמן המערכת read_only_udm.metadata.event_timestamp.seconds הערך נלקח מהשדה "epoch" ומומר לחותמת זמן באמצעות המסנן "date".
מארח read_only_udm.principal.hostname הערך נלקח מהשדה host שחולץ על ידי מנתח ה-Grok הראשון.
id read_only_udm.metadata.product_event_type הערך נלקח מהשדה "id" שחולץ על ידי מנתח ה-Grok הראשון.
pid read_only_udm.target.process.pid הערך נלקח מהשדה pid שחולץ על ידי מנתח ה-Grok הראשון.
reason read_only_udm.security_result.description הערך נלקח מהשדה reason שחולץ על ידי מנתח ה-Grok הראשון.
תפקיד read_only_udm.principal.user.attribute.roles.name הערך נלקח מהשדה "role" שחולץ על ידי מנתח ה-Grok הראשון.
session_id read_only_udm.network.session_id הערך נלקח מהשדה session_id שחולץ על ידי מנתח ה-Grok הראשון.
src_ip read_only_udm.principal.ip הערך נלקח מהשדה src_ip שחולץ על ידי מנתח ה-Grok השני.
src_port read_only_udm.principal.port הערך נלקח מהשדה src_port שחולץ על ידי מנתח ה-grok השני, ומומר למספר שלם.
timestamp.nanos read_only_udm.metadata.event_timestamp.nanos הערך נלקח מהשדה timestamp.nanos של היומן הגולמי.
timestamp.seconds read_only_udm.metadata.event_timestamp.seconds הערך נלקח מהשדה timestamp.seconds ביומן הגולמי.
משתמש read_only_udm.target.user.userid הערך נלקח מהשדה "user" שחולץ על ידי מנתח ה-Grok הראשון או השני.
read_only_udm.extensions.auth.mechanism הערך מוגדר כ-"USERNAME_PASSWORD" אם השדה "desc" תואם לדפוסים ספציפיים שקשורים לאירועי התחברות או התנתקות של משתמשים.
read_only_udm.metadata.event_type הערך נקבע על ידי סדרה של הצהרות מותנות שמבוססות על הערכים של שדות אחרים, בעיקר "desc",‏ "src_ip" ו-"host".
read_only_udm.metadata.log_type מקודד באופן קשיח ל-"DELL_EMC_DATA_DOMAIN".
read_only_udm.metadata.product_name מקודד באופן קשיח ל-"DELL_EMC_DATA_DOMAIN".
read_only_udm.metadata.vendor_name מקודד באופן קשיח ל-"DELL".
read_only_udm.network.http.method הערך נלקח מהשדה "method" שחולץ על ידי מסנן ה-KV.
read_only_udm.network.http.response_code הערך נלקח מהשדה response_code שחולץ על ידי מסנן ה-KV ומומר למספר שלם.
read_only_udm.network.ip_protocol הערך נגזר מהשדה "protocol_number_src" באמצעות טבלת בדיקת מידע וההגדרה "parse_ip_protocol.include".
read_only_udm.security_result.severity הערך מוגדר כ-"MEDIUM" אם השדה "message" מכיל את המחרוזת "NOTICE".
read_only_udm.target.file.sha256 הערך נלקח מהשדה sha256 שחולץ על ידי מנתח ה-Grok השני, מומר לאותיות קטנות ומאומת כמחרוזת הקסדצימלית.
read_only_udm.target.process.file.full_path הערך נלקח מהשדה "נתיב" או מהשדה "קובץ", בהתאם לשדה שאינו ריק.
read_only_udm.target.url הערך נלקח מהשדה uri שחולץ על ידי מסנן ה-KV.
host event.idm.read_only_udm.principal.ip מופה מיומן השינויים
host event.idm.read_only_udm.principal.asset.ip מופה מיומן השינויים
inter_host event.idm.read_only_udm.intermediary.hostname מופה מיומן השינויים
msg event.idm.read_only_udm.security_result.description מופה מיומן השינויים

יומן שינויים

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

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