Arbor Edge Defense 로그 수집
이 문서에서는 Bindplane 에이전트를 사용하여 Netscout (Arbor Edge Defense) 로그를 Google Security Operations로 수집하는 방법을 설명합니다. 파서는 먼저 특정 공급업체 정의 형식과 일치하는 grok 패턴을 사용하여 원시 syslog 메시지에서 필드를 추출합니다. 그런 다음 추출된 필드와 값을 Google SecOps UDM 스키마 내의 해당 속성에 매핑하여 보안 이벤트를 표준화된 방식으로 표현하고 분석할 수 있도록 합니다.
시작하기 전에
- Google SecOps 인스턴스가 있는지 확인합니다.
- Windows 2016 이상 또는
systemd
를 사용하는 Linux 호스트를 사용하고 있는지 확인합니다. - 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있는지 확인합니다.
- Netscout에 대한 권한이 있는지 확인합니다.
Google SecOps 처리 인증 파일 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 수집 에이전트로 이동합니다.
- 처리 인증 파일을 다운로드합니다. Bindplane가 설치될 시스템에 파일을 안전하게 저장합니다.
Google SecOps 고객 ID 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 프로필로 이동합니다.
- 조직 세부정보 섹션에서 고객 ID를 복사하여 저장합니다.
Bindplane 에이전트 설치
Windows 설치
- 관리자 권한으로 명령 프롬프트 또는 PowerShell을 엽니다.
다음 명령어를 실행합니다.
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
Linux 설치
- 루트 또는 sudo 권한으로 터미널을 엽니다.
다음 명령어를 실행합니다.
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
추가 설치 리소스
- 추가 설치 옵션은 이 설치 가이드를 참고하세요.
Syslog를 수집하고 Google SecOps로 전송하도록 Bindplane 에이전트 구성
구성 파일에 액세스합니다.
config.yaml
파일을 찾습니다. 일반적으로 Linux의/etc/bindplane-agent/
디렉터리 또는 Windows의 설치 디렉터리에 있습니다.- 텍스트 편집기 (예:
nano
,vi
, 메모장)를 사용하여 파일을 엽니다.
다음과 같이
config.yaml
파일을 수정합니다.receivers: udplog: # Replace the port and IP address as required listen_address: "0.0.0.0:514" exporters: chronicle/chronicle_w_labels: compression: gzip # Adjust the path to the credentials file you downloaded in Step 1 creds: '/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: ARBOR_EDGE_DEFENSE raw_log_field: body service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - udplog exporters: - chronicle/chronicle_w_labels
인프라에서 필요에 따라 포트와 IP 주소를 바꿉니다.
<customer_id>
를 실제 고객 ID로 바꿉니다.Google SecOps 처리 인증 파일 가져오기 섹션에서 인증 파일이 저장된 경로로
/path/to/ingestion-authentication-file.json
를 업데이트합니다.
Bindplane 에이전트를 다시 시작하여 변경사항 적용
Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.
sudo systemctl restart bindplane-agent
Windows에서 Bindplane 에이전트를 다시 시작하려면 서비스 콘솔을 사용하거나 다음 명령어를 입력하면 됩니다.
net stop BindPlaneAgent && net start BindPlaneAgent
Netscout (Arbor Edge Defense)에서 Syslog 내보내기 구성
- Netscout 웹 UI에 로그인합니다.
- 관리 > 알림 > 그룹을 선택합니다.
- 알림 그룹 창에서 알림 그룹 추가를 클릭합니다.
- 다음 구성 세부정보를 제공합니다.
- Destination: Bindplane 에이전트 IP 주소를 입력합니다.
- 포트: Bindplane 에이전트 포트 번호를 입력합니다.
- 시설: 시설
Local0
을 선택합니다. - 심각도: 정보 제공을 선택합니다.
- 저장을 클릭합니다.
- 관리 > 구성 관리 > 커밋으로 이동하거나 구성 커밋을 선택합니다.
UDM 매핑 표
로그 필드 | UDM 매핑 | 논리 |
---|---|---|
cn2 | principal.group.attribute.labels.value | 비어 있지 않으면 매핑됩니다. cn2Label 와 관련된 조건부 로직의 일부입니다. |
cn2Label | principal.group.attribute.labels.key | cn2 가 비어 있지 않으면 매핑됩니다. |
cs2 | principal.group.attribute.labels.value | 비어 있지 않으면 매핑됩니다. cs2Label 와 관련된 조건부 로직의 일부입니다. |
cs2Label | principal.group.attribute.labels.key | cs2 가 비어 있지 않으면 매핑됩니다. |
cs3 | security_result.detection_fields.value | 비어 있지 않으면 매핑됩니다. cs3Label 와 관련된 조건부 로직의 일부입니다. |
cs3Label | security_result.detection_fields.key | cs3 가 비어 있지 않으면 매핑됩니다. |
cs6 | security_result.threat_name | 비어 있지 않으면 매핑됩니다. |
cs7 | security_result.category_details | 비어 있지 않으면 접두사 Threat Category: 와 연결됩니다. |
dpt | target.port | 비어 있지 않거나 0 가 아닌 경우 정수로 변환되고 매핑됩니다. |
dst | target.ip | 비어 있지 않으면 매핑됩니다. |
msg | metadata.description | 직접 매핑됩니다. |
principal.group.attribute.labels.key | traffic_level (msg 에서 추출됨)이 비어 있지 않으면 Traffic Level 로 설정합니다. |
|
principal.group.attribute.labels.value | 비어 있지 않으면 msg 에서 추출된 traffic_level 로 설정합니다. |
|
principal.group.attribute.labels.key | group_name (msg 에서 추출됨)이 비어 있지 않으면 Protection Group Name 로 설정합니다. |
|
principal.group.attribute.labels.value | 비어 있지 않으면 msg 에서 추출된 group_name 로 설정합니다. |
|
proto | network.ip_protocol | 값이 TCP 또는 UDP 인 경우 대문자로 변환되고 매핑됩니다. |
rt | metadata.event_timestamp.seconds | 날짜 필터를 사용하여 타임스탬프로 변환되었습니다. |
src | principal.ip | 비어 있지 않으면 매핑됩니다. |
spt | principal.port | 비어 있지 않거나 0 가 아닌 경우 정수로 변환되고 매핑됩니다. |
metadata.log_type | ARBOR_EDGE_DEFENSE 로 하드코딩되었습니다. |
|
metadata.vendor_name | NETSCOUT 로 하드코딩되었습니다. |
|
metadata.product_name | ARBOR_EDGE_DEFENSE 로 하드코딩되었습니다. |
|
metadata.product_version | CEF 헤더의 device_version 필드에서 추출했습니다. |
|
metadata.product_event_type | CEF 헤더의 event_name 필드에서 추출했습니다. |
|
intermediary.hostname | CEF 헤더의 intermediary_hostname 필드에서 추출했습니다. |
|
security_result.rule_name | CEF 헤더의 security_rule_name 필드에서 추출했습니다. |
|
security_result.action | event_name 가 Blocked Host 이면 BLOCK 로 설정합니다. |
|
security_result.action_details | event_name 가 Blocked Host 이면 event_name 값으로 설정합니다. |
|
security_result.severity | 사전 정의된 로직에 따라 severity 필드에서 매핑되고 대문자로 변환됩니다. |
|
metadata.event_type | dst 와 src 가 모두 비어 있지 않으면 NETWORK_CONNECTION 로 설정하고, src 만 비어 있지 않으면 STATUS_UPDATE 로 설정하고, 그 외의 경우에는 기본값인 GENERIC_EVENT 로 설정합니다. |
변경사항
2023-02-21
개선사항:
protection_Group_Name
,traffic_level
를principal.group.attribute.labels
에 매핑했습니다.
2022-11-03
개선사항:
- syslog 헤더에서 호스트 이름 값을 추출하여
intermediary.hostname
에 매핑했습니다. msg
를metadata.description
에 매핑했습니다.msg
필드에서group_name
,traffic_level
값을 추출하여principal.group.attribute.labels
에 매핑했습니다.cs3Label
,cs3
를security_result.detection_fields
에 매핑했습니다.cs7
를security_result.category_details
에 매핑했습니다.
2022-09-30
- 파서를 새로 만들었습니다.
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가의 답변을 받아 보세요.