איסוף יומני Vectra Alerts
במאמר הזה מוסבר איך להטמיע ב-Google Security Operations יומנים של Vectra Alerts באמצעות Vectra SIEM Connector ו-Bindplane.
Vectra AI היא פלטפורמה לזיהוי איומים ברשת ולתגובה להם, שיוצרת התראות אבטחה לזיהוי איומים בסביבות ענן, מרכזי נתונים ו-IoT. הפלטפורמה משתמשת בניתוח התנהגותי מבוסס-AI כדי לזהות מתקפות סייבר נסתרות בזמן אמת.
לפני שמתחילים
ודאו שאתם עומדים בדרישות המוקדמות הבאות:
- מכונה של Google SecOps
- Windows Server 2016 ואילך, או מארח Linux עם
systemd - קישוריות רשת בין סוכן Bindplane לבין פלטפורמת AI של Vectra
- אם אתם מפעילים את הסוכן מאחורי שרת proxy, ודאו שהיציאות של חומת האש פתוחות בהתאם לדרישות של סוכן Bindplane.
- גישה מיוחדת לפלטפורמת AI של Vectra עם הרשאות אדמין
קבלת פרטי הכניסה ל-Google SecOps בשביל הסוכן של Bindplane
כדי לאמת את סוכן Bindplane ב-Google SecOps, בוחרים באחת מהשיטות הבאות:
- פריסות חדשות: משתמשים ב-Chronicle API (אפשרות 1).
- פריסות קודמות: ממשיכים להשתמש בקובץ האימות להטמעת נתונים (אפשרות 2) עד שה-Ingestion API יופסק ב-20 ביולי 2027.
אפשרות 1: יצירת חשבון שירות ל-Chronicle API (מומלץ)
- נכנסים למסוףGoogle Cloud ובוחרים את הפרויקט ב- Google Cloud שמקושר למכונה של Google SecOps.
- נכנסים לדף IAM & Admin > Service Accounts.
- לוחצים על Create service account.
- מזינים את פרטי ההגדרה הבאים:
- Service account name: מזינים שם לחשבון (לדוגמה,
bindplane-ingest). - Service account description: מזינים תיאור (לדוגמה,
Bindplane agent log ingestion).
- Service account name: מזינים שם לחשבון (לדוגמה,
- לוחצים על Create and continue.
- בקטע Grant this service account access to project, לוחצים על Select a role ובוחרים באפשרות Chronicle Editor.
- לוחצים על המשך ואז על סיום.
- לוחצים על חשבון השירות שיצרתם ועוברים לכרטיסייה Keys.
- לוחצים על Add key > Create new key.
- בוחרים באפשרות JSON ולוחצים על Create. קובץ המפתח יורד למחשב.
- שומרים את קובץ המפתח בתור
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כך שיתאים לנתיב שבו שומרים אותו. - עוברים אל IAM & Admin > Settings ומעתיקים את הערך של Project number. תצטרכו אותו כדי להגדיר את הייצוא.
אפשרות 2: הורדת קובץ האימות להטמעת נתונים (גרסה קודמת)
- נכנסים למסוף Google SecOps.
- עוברים אל הגדרות > ניהול נתונים > סוכני איסוף. אם אתם משתמשים בפלטפורמת SIEM בלבד, עוברים אל הגדרות > סוכני איסוף.
- מורידים את קובץ האימות להטמעת נתונים.
- שומרים את הקובץ באופן מאובטח במערכת שבה יותקן סוכן Bindplane.
איך מקבלים מספר לקוח ב-Google SecOps
- נכנסים למסוף Google SecOps.
- עוברים אל הגדרות > ניהול > פרופיל. אם אתם משתמשים בפלטפורמה של SIEM בלבד, עוברים אל הגדרות > פרופיל.
מעתיקים את מספר הלקוח מהקטע פרטי הארגון ושומרים אותו.
התקנת הסוכן של Bindplane
מתקינים את הסוכן של Bindplane במערכת ההפעלה Windows או Linux לפי ההוראות הבאות.
התקנת חלונות
- פותחים את שורת הפקודה או את PowerShell כאדמין.
מריצים את הפקודה הבאה:
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quietמחכים שההתקנה תסתיים.
כדי לוודא שההתקנה בוצעה, מריצים את הפקודה:
sc query observiq-otel-collector
השירות אמור להופיע כ-RUNNING.
התקנה ב-Linux
- פותחים טרמינל עם הרשאות root או 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 להטמעת syslog ושליחה ל-Google SecOps
איתור קובץ התצורה
Linux:
sudo nano /opt/observiq-otel-collector/config.yamlWindows:
notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
עריכת קובץ התצורה
מחליפים את כל התוכן של
config.yamlבהגדרות הבאות:receivers: udplog: listen_address: "0.0.0.0:514" exporters: chronicle/vectra_alerts: 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: VECTRA_ALERTS raw_log_field: body service: pipelines: logs/vectra_alerts_to_chronicle: receivers: - udplog exporters: - chronicle/vectra_alerts
פרמטרים להגדרה
מחליפים את ה-placeholders הבאים:
הגדרת המקלט:
-
listen_address: כתובת ה-IP והיציאה להאזנה:-
0.0.0.0כדי להאזין בכל הממשקים (מומלץ) - יציאה
514היא יציאת syslog הרגילה (נדרש שורש ב-Linux; יש להשתמש ב-1514ללא שורש)
-
-
הגדרת הייצוא:
-
creds_file_path: הנתיב המלא לקובץ המפתח של חשבון השירות בפורמט JSON (אפשרות 1):- Linux:
/opt/observiq-otel-collector/ingestion-auth.json - Windows:
C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
- Linux:
-
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/vectra_alerts: compression: gzip creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: VECTRA_ALERTS raw_log_field: body
שמירת קובץ התצורה
- אחרי שמסיימים לערוך, שומרים את הקובץ:
- Linux: מקישים על
Ctrl+O, ואז עלEnter, ואז עלCtrl+X - Windows: לוחצים על קובץ > שמירה
- Linux: מקישים על
מפעילים מחדש את הסוכן של Bindplane כדי להחיל את השינויים.
כדי להפעיל מחדש את סוכן Bindplane ב-Linux:
מריצים את הפקודה הבאה:
sudo systemctl restart observiq-otel-collectorמוודאים שהשירות פועל:
sudo systemctl status observiq-otel-collectorבודקים אם יש שגיאות ביומנים:
sudo journalctl -u observiq-otel-collector -f
כדי להפעיל מחדש את הסוכן של Bindplane ב-Windows:
בוחרים אחת מהאפשרויות האלה:
שורת הפקודה או PowerShell כאדמין:
net stop observiq-otel-collector && net start observiq-otel-collectorמסוף השירותים:
- לוחצים על
Win+R, מקלידיםservices.mscולוחצים על Enter. - מאתרים את observIQ OpenTelemetry Collector.
- לוחצים לחיצה ימנית ובוחרים באפשרות הפעלה מחדש.
- לוחצים על
מוודאים שהשירות פועל:
sc query observiq-otel-collectorבודקים אם יש שגיאות ביומנים:
type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
הגדרת העברת התראות מ-Vectra ל-syslog
פורסים את Vectra SIEM Connector כדי להעביר את נתוני ההתראות לסוכן Bindplane.
- פורסים את Vectra SIEM Connector (זמין כקונטיינר של Docker או כאפליקציה עצמאית).
- מגדירים את המחבר באמצעות כתובת ה-URL של פלטפורמת Vectra AI (לדוגמה,
https://your-tenant.vectra.ai) ופרטי הכניסה ל-API. - מגדירים את יעד הפלט ל-syslog עם הפרמטרים הבאים:
- שרת Syslog: מזינים את כתובת ה-IP של המארח של סוכן Bindplane.
- יציאה: מזינים
514(או את היציאה שהוגדרה בסוכן Bindplane). - Protocol: בוחרים באפשרות UDP (בהתאם להגדרת המקלט של Bindplane).
- בוחרים את קטגוריות האירועים שרוצים להעביר:
- זיהויים
- ביקורות
- אירועים שקשורים לבריאות
מפעילים את המחבר ובודקים את יומני הסוכן של Bindplane כדי לוודא שיומני ההתראות מועברים.
טבלת מיפוי UDM
| שדה ביומן | מיפוי UDM | לוגיקה |
|---|---|---|
| assigned_date | additional.fields.assigned_date_label | הגדרת תווית עם המפתח "תאריך הקצאה" והערך מ-assigned_date |
| assigned_to | additional.fields.assigned_to_label | הגדרת תווית עם המפתח "Assigned To" והערך מ-assigned_to |
| c_score | additional.fields.c_score_label | הגדרת תווית עם המפתח "c_score" והערך מ-c_score |
| קטגוריה | security_result.category_details | הערך הועתק ישירות |
| ודאות | additional.fields.certainty_label | הגדרת תווית עם המפתח "Certainty" והערך מ-certainty |
| created_timestamp | metadata.event_timestamp | ההמרה בוצעה באמצעות הפורמט yyyy-MM-ddTHH:mm:ssZ |
| custom_detection | additional.fields.custom_detection_label | הגדרת תווית עם המפתח "זיהוי בהתאמה אישית" והערך מ-custom_detection |
| data_source.connection_id | security_result.detection_fields.connection_id_label | מגדירים תווית עם המפתח Connection ID והערך מ-data_source.connection_id |
| data_source.connection_name | security_result.detection_fields.connection_name_label | מגדירים תווית עם המפתח "Connection Name" והערך מ-data_source.connection_name |
| data_source.type | security_result.detection_fields.data_source_type_label | הגדרת תווית עם המפתח "סוג מקור הנתונים" והערך מ-data_source.type |
| description | metadata.description | הערך הועתק ישירות |
| זיהוי | additional.fields.detection_label | הגדרת תווית עם המפתח "זיהוי" והערך מהזיהוי |
| detection_category | additional.fields.detection_category_label | הגדרת תווית עם המפתח "Detection Category" והערך מ-detection_category |
| detection_type | additional.fields.detection_type_label | הגדרת תווית עם המפתח "סוג הזיהוי" והערך מ-detection_type |
| detection_url | principal.url | הערך הועתק ישירות |
| filtered_by_ai | additional.fields.filtered_by_ai_label | הגדרת תווית עם המפתח "Filtered By AI" והערך מ-filtered_by_ai |
| filtered_by_rule | additional.fields.filtered_by_rule_label | הגדרת תווית עם המפתח "Filtered By Rule" והערך מ-filtered_by_rule |
| filtered_by_user | additional.fields.filtered_by_user_label | הגדרת תווית עם המפתח "Filtered By User" והערך מ-filtered_by_user |
| first_timestamp | additional.fields.first_timestamp_label | הגדרת תווית עם המפתח "First Timestamp" והערך מ-first_timestamp |
| gd_first_timestamp | security_result.detection_fields.gd_first_timestamp_label | הגדרת תווית עם המפתח "first_timestamp" והערך מ-gd_first_timestamp |
| gd_grouping_field | security_result.detection_fields.gd_grouping_field_label | הגדרת תווית עם המפתח "grouping_field" והערך מ-gd_grouping_field |
| gd_last_timestamp | security_result.detection_fields.gd_last_timestamp_label | מגדירים תווית עם המפתח "group_details_last_timestamp" והערך מ-gd_last_timestamp |
| gd_uuid | security_result.detection_fields.gd_uuid_label | הגדרת תווית עם המפתח "gd_uuid" והערך מ-gd_uuid |
| grp_description | security_result.detection_fields.grp_description_label | הגדרת תווית עם המפתח "grp_description" והערך מ-grp_description |
| grp_id | security_result.detection_fields.grp_id_label | הגדרת תווית עם המפתח "grp_id" והערך מ-grp_id |
| grp_last_modified | security_result.detection_fields.grp_last_modified_label | הגדרת תווית עם המפתח "grp_last_modified" והערך מ-grp_last_modified |
| grp_last_modified_by | security_result.detection_fields.grp_last_modified_by_label | הגדרת תווית עם המפתח "grp_last_modified_by" והערך מ-grp_last_modified_by |
| grp_name | security_result.detection_fields.grp_name_label | הגדרת תווית עם המפתח "grp_name" והערך מ-grp_name |
| grp_type | security_result.detection_fields.grp_type_label | הגדרת תווית עם המפתח "grp_type" והערך מ-grp_type |
| id | metadata.product_log_id | הערך הועתק ישירות |
| מתווך | מתווך | הערך הועתק ישירות |
| is_custom_model | additional.fields.is_custom_model_label | מגדירים תווית עם המפתח is_custom_model והערך מ-is_custom_model |
| is_marked_custom | additional.fields.is_marked_custom_label | הגדרת תווית עם המפתח "is_marked_custom" והערך מ-is_marked_custom |
| is_targeting_key_asset | additional.fields.is_targeting_key_asset_label | מגדירים תווית עם המפתח is_targeting_key_asset והערך מ-is_targeting_key_asset |
| is_triaged | additional.fields.is_triaged_label | הגדרת תווית עם המפתח "is_triaged" והערך מ-is_triaged |
| last_timestamp | additional.fields.last_timestamp_label | מגדירים תווית עם המפתח "last_timestamp" והערך מ-last_timestamp |
| הערה | additional.fields.note_label | הגדרת תווית עם המפתח "הערה" והערך מההערה |
| note_modified_by | additional.fields.note_modified_by_label | הגדרת תווית עם המפתח "note_modified_by" והערך מ-note_modified_by |
| note_modified_timestamp | additional.fields.note_modified_timestamp_label | הגדרת תווית עם המפתח "note_modified_timestamp" והערך מ-note_modified_timestamp |
| הערות | additional.fields.notes_label | הגדרת תווית עם המפתח "הערות" והערך מההערות |
| משתמש (principal) | משתמש (principal) | הערך הועתק ישירות |
| security_result | security_result | הערך הועתק ישירות |
| חיישן | additional.fields.sensor_label | הגדרת תווית עם המפתח "חיישן" וערך מהחיישן |
| sensor_name | additional.fields.sensor_name_label | הגדרת תווית עם המפתח "sensor_name" והערך מ-sensor_name |
| src | src | הערך הועתק ישירות |
| src_account | additional.fields.src_account_label | הגדרת תווית עם המפתח "src_account" והערך מ-src_account |
| src_host.certainty | additional.fields.src_certainty_label | הגדרת תווית עם המפתח src_host_certainty והערך מ-src_host.certainty |
| src_host.id | principal.user.userid | הערך הועתק ישירות |
| gd_src_host_ip, src_ip, src_host.ip | principal.ip | מוזג מ-gd_src_host_ip, src_ip, src_host.ip; המיזוג האחרון מנצח |
| src_ip, src_host.ip | principal.asset.ip | מוזג מ-src_ip, src_host.ip; המיזוג האחרון מנצח |
| src_host.is_key_asset | additional.fields.src_host_is_key_asset_label | הגדרת תווית עם המפתח "src_host_is_key_asset" והערך מ-src_host.is_key_asset |
| src_host.name | principal.hostname | הערך הועתק ישירות |
| src_host.threat | additional.fields.src_host_threat_label | הגדרת תווית עם המפתח "src_host_threat" והערך מ-src_host.threat |
| src_host.url | src.url | הערך הועתק ישירות |
| src_host_group_description | security_result.detection_fields.src_host_group_description_label | הגדרת תווית עם המפתח src_host_group_description והערך מ-src_host_group_description |
| src_host_group_id | security_result.detection_fields.src_host_group_id_label | הגדרת תווית עם המפתח src_host_group_id והערך מ-src_host_group_id |
| src_host_group_last_modified | security_result.detection_fields.src_host_group_last_modified_label | הגדרת תווית עם המפתח "src_host_group_last_modified" והערך מ-src_host_group_last_modified |
| src_host_group_last_modified_by | security_result.detection_fields.src_host_group_last_modified_by_label | הגדרת תווית עם המפתח "src_host_group_last_modified_by" והערך מ-src_host_group_last_modified_by |
| src_host_group_name | security_result.detection_fields.src_host_group_name_label | הגדרת תווית עם המפתח "src_host_group_name" והערך מ-src_host_group_name |
| src_host_group_type | security_result.detection_fields.src_host_group_type_label | הגדרת תווית עם המפתח "src_host_group_type" והערך מ-src_host_group_type |
| הסמוי הסופי | security_result.detection_fields.state_label | הגדרת תווית עם המפתח "state" והערך מהמדינה |
| summary.num_attempts | additional.fields.num_attempts_label | הגדרת תווית עם המפתח "num_attempts" והערך מ-summary.num_attempts |
| target | target | הערך הועתק ישירות |
| dst_host_ip, dst_ip1 | target.ip | מוזג מ-dst_host_ip, dst_ip1; המיזוג האחרון מנצח |
| תגים | additional.fields.tags_label | הגדרת תווית עם המפתח "tags" והערך מהתגים |
| t_score | additional.fields.t_score_label | הגדרת תווית עם המפתח "t_score" והערך מ-t_score |
| targets_key_asset | additional.fields.targets_key_asset_label | מגדירים תווית עם המפתח targets_key_asset והערך מ-targets_key_asset |
| איום | security_result.detection_fields.threat_label | הגדרת תווית עם המפתח "threat" והערך מהאיום |
| triage_rule_id | security_result.rule_id | הערך הועתק ישירות |
| סוג | additional.fields.type_label | הגדרת תווית עם המפתח "type" וערך מהסוג |
| url | metadata.url_back_to_product | הערך הועתק ישירות |
| uuid1 | security_result.detection_fields.uuid_label | מגדירים תווית עם המפתח uuid והערך מ-uuid1 |
| dst_host_id | security_result.detection_fields.dst_host_id_label | הגדרת תווית עם המפתח "dst_host_id" והערך מ-dst_host_id |
| dst_host_name | security_result.detection_fields.dst_host_name_label | הגדרת תווית עם המפתח "dst_host_name" והערך מ-dst_host_name |
| dst_port1 | security_result.detection_fields.dst_port_label | הגדרת תווית עם המפתח "dst_port" והערך מ-dst_port1 |
| dst_last_timestamp | security_result.detection_fields.dst_last_timestamp_label | מגדירים תווית עם המפתח "dst_last_timestamp" והערך מ-dst_last_timestamp |
| metadata.event_type | הגדרה ל-"NETWORK_CONNECTION" אם has_principal == "true" ו-has_target == "true", אחרת "USER_UNCATEGORIZED" אם has_user == "true", אחרת "STATUS_UPDATE" אם has_principal == "true", אחרת "GENERIC_EVENT" | |
| metadata.product_name | הגדרת "התראות Vectra" | |
| metadata.vendor_name | הגדרת "התראות Vectra" |
יומן שינויים
הצגת יומן השינויים של המנתח הזה
הבעיה עדיין לא נפתרה? קבלת תשובות מחברי הקהילה וממומחי Google SecOps.