איסוף יומנים של Extreme Wireless
גרסת המנתח: 2.0
במסמך הזה מוסבר איך להטמיע יומני Extreme Wireless ב-Google Security Operations באמצעות סוכן Bindplane.
בקרים אלחוטיים של Extreme Networks יוצרים הודעות syslog לאירועים של שיוך וביטול שיוך של לקוחות, אימות, אינטראקציות של RADIUS ושינויים בסטטוס של נקודות גישה. המנתח מחלץ שדות באמצעות תבניות grok וממפה אותם למודל הנתונים המאוחד (UDM).
לפני שמתחילים
חשוב לוודא שיש לכם את הדברים הבאים:
- מכונה של Google SecOps
- Windows Server 2016 ואילך, או מארח Linux עם
systemd - קישוריות רשת בין סוכן Bindplane לבין בקר Extreme Networks CloudIQ
- אם אתם משתמשים בשרת proxy, ודאו שהיציאות של חומת האש פתוחות בהתאם לדרישות של סוכן Bindplane.
- גישה מורחבת ל-Extreme Networks CloudIQ
קבלת פרטי כניסה ל-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/extreme_wireless: 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: EXTREME_WIRELESS raw_log_field: body service: pipelines: logs/extreme_wireless_to_chronicle: receivers: - udplog exporters: - chronicle/extreme_wireless
פרמטרים להגדרה
מחליפים את ה-placeholders הבאים:
הגדרת המקלט:
-
listen_address: כתובת ה-IP והיציאה להאזנה:-
0.0.0.0כדי להאזין בכל הממשקים (מומלץ) - יציאה
514היא יציאת syslog הרגילה (נדרש root ב-Linux; צריך להשתמש ב-1514ללא root)
-
-
הגדרת הייצוא:
-
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/extreme_wireless: compression: gzip creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: EXTREME_WIRELESS 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"
- לוחצים על
הגדרת syslog ב-Extreme Networks CloudIQ
- נכנסים לממשק המשתמש של CloudIQ באינטרנט.
- עוברים אל Configure > Common Objects > Management > Syslog Servers.
- לוחצים על +.
- מזינים את פרטי ההגדרה הבאים:
- שם: נותנים שם ייחודי לשרת.
- Severity: בוחרים באפשרות Info.
- בוחרים כתובת IP קיימת של Syslog מהתפריט Select, או לוחצים על +.
- מזינים את כתובת ה-IP של הסוכן של Bindplane.
- מזינים את מספר היציאה של סוכן Bindplane.
- לוחצים על ADD.
- לוחצים על שמירת שרת Syslog.
טבלת מיפוי UDM
| שדה ביומן | מיפוי UDM | Logic (פונקציה לוגית) |
|---|---|---|
action |
security_result.detection_fields.key |
הערך של השדה action מהיומן הגולמי ממופה אל security_result.detection_fields.key. |
action |
security_result.detection_fields.value |
הערך של השדה action מהיומן הגולמי ממופה אל security_result.detection_fields.value. |
BSSID |
principal.resource.attribute.labels.key |
המחרוזת "BSSID" מוקצית ל-principal.resource.attribute.labels.key. |
BSSID |
principal.resource.attribute.labels.value |
הערך של השדה BSSID מהיומן הגולמי ממופה אל principal.resource.attribute.labels.value. |
collection_time.nanos |
metadata.event_timestamp.nanos |
הערך של collection_time.nanos מהיומן הגולמי ממופה ל-metadata.event_timestamp.nanos. |
collection_time.seconds |
metadata.event_timestamp.seconds |
הערך של collection_time.seconds מהיומן הגולמי ממופה ל-metadata.event_timestamp.seconds. |
collection_time.seconds |
timestamp.seconds |
הערך של collection_time.seconds מהיומן הגולמי ממופה ל-timestamp.seconds. |
collection_time.nanos |
timestamp.nanos |
הערך של collection_time.nanos מהיומן הגולמי ממופה ל-timestamp.nanos. |
data |
security_result.description |
הערך של השדה data מהיומן הגולמי, אחרי שעבר כמה טרנספורמציות של gsub כדי להסיר תווים לא רצויים וערכי "לא רלוונטי", ממופה לשדה security_result.description. |
description |
security_result.description |
הערך של השדה description, שחולץ על ידי מנתח ה-grok, ממופה לשדה security_result.description. |
first |
security_result.detection_fields.key |
המחרוזת "first" מוקצית ל-security_result.detection_fields.key. |
first |
security_result.detection_fields.value |
הערך של השדה first מהיומן הגולמי ממופה אל security_result.detection_fields.value. |
hostname |
principal.asset.hostname |
הערך של השדה hostname מהיומן הגולמי ממופה לשדות principal.asset.hostname ו-principal.hostname. |
hostname |
principal.hostname |
הערך של השדה hostname מהיומן הגולמי ממופה לשדות principal.asset.hostname ו-principal.hostname. |
IP |
principal.asset.ip |
הערך של השדה IP מהיומן הגולמי ממופה לשדות principal.asset.ip ו-principal.ip. |
IP |
principal.ip |
הערך של השדה IP מהיומן הגולמי ממופה לשדות principal.asset.ip ו-principal.ip. |
MAC |
principal.resource.attribute.labels.key |
המחרוזת "MAC" מוקצית ל-principal.resource.attribute.labels.key. |
MAC |
principal.resource.attribute.labels.value |
הערך של השדה MAC מהיומן הגולמי ממופה אל principal.resource.attribute.labels.value. |
medium |
security_result.detection_fields.key |
המחרוזת "medium" מוקצית ל-security_result.detection_fields.key. |
medium |
security_result.detection_fields.value |
הערך של השדה medium מהיומן הגולמי ממופה אל security_result.detection_fields.value. הערך של metadata.event_type נקבע לפי הלוגיקה של המנתח. אם מזהי המכונה principal ו-target קיימים, המדיניות מוגדרת ל-NETWORK_CONNECTION. אם מזהי המשתמשים principal או target קיימים, הערך מוגדר כ-USER_UNCATEGORIZED. אם רק מזהה המכונה principal קיים, הוא מוגדר כ-STATUS_UPDATE. אחרת, ברירת המחדל היא GENERIC_EVENT. המחרוזת "EXTREME WIRELESS" מוקצית ל-metadata.product_name. |
prod_event_type |
metadata.product_event_type |
הערך של השדה prod_event_type מהיומן הגולמי ממופה לשדה metadata.product_event_type. |
port |
principal.port |
הערך של השדה port מהיומן הגולמי, שהומר למספר שלם, ממופה לשדה principal.port. |
problem_summary |
security_result.summary |
הערך של השדה problem_summary מהיומן הגולמי ממופה לשדה security_result.summary. |
SSID |
principal.resource.attribute.labels.key |
המחרוזת "SSID" מוקצית ל-principal.resource.attribute.labels.key. |
SSID |
principal.resource.attribute.labels.value |
הערך של השדה SSID מהיומן הגולמי ממופה אל principal.resource.attribute.labels.value. |
station |
principal.asset.hostname |
הערך של השדה station מהיומן הגולמי ממופה לשדות principal.asset.hostname ו-principal.hostname. |
station |
principal.hostname |
הערך של השדה station מהיומן הגולמי ממופה לשדות principal.asset.hostname ו-principal.hostname. |
target_host |
target.asset.hostname |
הערך של השדה target_host מהיומן הגולמי ממופה לשדות target.asset.hostname ו-target.hostname. |
target_host |
target.hostname |
הערך של השדה target_host מהיומן הגולמי ממופה לשדות target.asset.hostname ו-target.hostname. |
target_ip |
target.asset.ip |
הערך של השדה target_ip מהיומן הגולמי ממופה לשדות target.asset.ip ו-target.ip. |
target_ip |
target.ip |
הערך של השדה target_ip מהיומן הגולמי ממופה לשדות target.asset.ip ו-target.ip. |
target_port |
target.port |
הערך של השדה target_port מהיומן הגולמי, שהומר למספר שלם, ממופה לשדה target.port. |
target_user |
target.user.userid |
הערך של השדה target_user מהיומן הגולמי ממופה לשדה target.user.userid. |
user-profile |
security_result.detection_fields.key |
המחרוזת "פרופיל משתמש" מוקצית ל-security_result.detection_fields.key. |
user-profile |
security_result.detection_fields.value |
הערך של השדה user-profile מהיומן הגולמי ממופה אל security_result.detection_fields.value. |
username |
principal.user.userid |
הערך של השדה username מהיומן הגולמי ממופה לשדה principal.user.userid. המחרוזת "EXTREME_WIRELESS" מוקצית ל-metadata.vendor_name. |
יומן שינויים
הצגת יומן השינויים של המנתח הזה
הבעיה עדיין לא נפתרה? קבלת תשובות מחברי הקהילה וממומחי Google SecOps.