ArcSight CEF 로그 수집
이 문서에서는 Bindplane을 사용하여 ArcSight CEF (Common Event Format) 로그를 Google Security Operations에 수집하는 방법을 설명합니다. 파서는 원시 데이터를 구조화된 통합 데이터 모델 (UDM) 형식으로 변환합니다. CEF 헤더 및 확장 프로그램에서 필드를 추출하고, UDM 필드에 매핑하고, 추출된 정보를 기반으로 사용자 로그인, 네트워크 연결, 리소스 액세스와 같은 이벤트를 분류하는 특정 로직을 실행합니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows 2016 이상 또는
systemd
가 설치된 Linux 호스트 - 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있음
- Bindplane 에이전트에 대한 네트워크 액세스 권한이 있는 호스트에 설치된 ArcSight SmartConnector 8.4 (이상)
- OpenText 포털에 대한 액세스 권한 관리
Google SecOps 수집 인증 파일 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 수집 에이전트로 이동합니다.
- 수집 인증 파일을 다운로드합니다. Bindplane이 설치될 시스템에 파일을 안전하게 저장합니다.
Google SecOps 고객 ID 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 프로필로 이동합니다.
- 조직 세부정보 섹션에서 고객 ID를 복사하여 저장합니다.
Bindplane 에이전트 설치
다음 안내에 따라 Windows 또는 Linux 운영체제에 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_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 log_type: 'ARCSIGHT_CEF' raw_log_field: body ingestion_labels: 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
ArcSight SmartConnector 다운로드
- OpenText 지원 포털에 로그인합니다.
- Linux용 최신 ArcSight SmartConnector를 찾아 다운로드합니다.
- 예시 파일 이름:
ArcSight-Connector-Linux64-8.4.0.8499.0.bin
ArcSight SmartConnector 설치
.bin
파일을 SmartConnector 서버에 업로드합니다.scp ArcSight-Connector-Linux64-8.4.0.8499.0.bin user@your-smartconnector-host:/tmp
SSH를 사용하여 SmartConnector 서버에 로그인하고 다음을 실행합니다.
cd /tmp chmod +x ArcSight-Connector-Linux64-8.4.0.8499.0.bin ./ArcSight-Connector-Linux64-8.4.0.8499.0.bin
대화형 설치 프로그램을 따릅니다.
- 설치 디렉터리 (예:
/opt/arcsight/connectors/current
)를 선택합니다. - 라이선스를 수락합니다.
- 메시지가 표시되면 커넥터 설치를 선택합니다.
- 설치 디렉터리 (예:
Syslog로 CEF를 보내도록 ArcSight SmartConnector 구성
SmartConnector 호스트에서 대상 마법사를 실행합니다.
cd /opt/arcsight/connectors/current/bin ./arcsight connectors
마법사에서 다음을 수행합니다.
- 배송지 추가를 선택합니다.
- CEF Syslog를 선택합니다.
다음 구성 세부정보를 제공합니다.
- 호스트/IP: Bindplane 에이전트 IP 주소를 입력합니다.
- 포트: Bindplane 에이전트 포트 번호를 입력합니다.
- 프로토콜: UDP를 선택합니다.
설정을 완료하고 커넥터를 다시 시작합니다.
./arcsight agents
연결 확인을 실행합니다(예:
Successfully connected to syslog: X.X.X.X:514
확인).tail -f /opt/arcsight/connectors/current/logs/agent.log
UDM 매핑 테이블
로그 필드 | UDM 매핑 | 논리 |
---|---|---|
act | security_result.action_details | act 필드에서 직접 매핑됩니다. |
agt | principal.ip | agt 필드에서 직접 매핑됩니다. |
agt | principal.asset.ip | agt 필드에서 직접 매핑됩니다. |
앱 | network.application_protocol | app 필드에서 직접 매핑됩니다. |
아트 | metadata.event_timestamp.seconds | art 필드에서 직접 매핑됩니다. |
cs2 | additional.fields.value.string_value | cs2Label 이 EventlogCategory 인 경우 cs2 필드에서 직접 매핑됩니다. |
cs2Label | additional.fields.key | 값이 EventlogCategory 인 경우 cs2Label 필드에서 직접 매핑됩니다. |
cs3 | additional.fields.value.string_value | cs3Label 이 Process ID 인 경우 cs3 필드에서 직접 매핑됩니다. |
cs3Label | additional.fields.key | 값이 Process ID 인 경우 cs3Label 필드에서 직접 매핑됩니다. |
cs5 | additional.fields.value.string_value | cs5Label 이 Authentication Package Name 인 경우 cs5 필드에서 직접 매핑됩니다. |
cs5Label | additional.fields.key | 값이 Authentication Package Name 인 경우 cs5Label 필드에서 직접 매핑됩니다. |
cs6 | additional.fields.value.string_value | cs6Label 이 Logon GUID 인 경우 cs6 필드에서 직접 매핑됩니다. |
cs6Label | additional.fields.key | 값이 Logon GUID 인 경우 cs6Label 필드에서 직접 매핑됩니다. |
dhost | about.hostname | dhost 필드에서 직접 매핑됩니다. |
dhost | target.hostname | dhost 필드에서 직접 매핑됩니다. |
dntdom | about.administrative_domain | dntdom 필드에서 직접 매핑됩니다. |
dntdom | target.administrative_domain | dntdom 필드에서 직접 매핑됩니다. |
dproc | about.process.command_line | dproc 필드에서 직접 매핑됩니다. |
dproc | target.process.command_line | dproc 필드에서 직접 매핑됩니다. |
dst | principal.ip | dst 필드에서 직접 매핑됩니다. |
dst | principal.asset.ip | dst 필드에서 직접 매핑됩니다. |
dst | target.ip | dst 필드에서 직접 매핑됩니다. |
duid | target.user.userid | duid 필드에서 직접 매핑됩니다. |
duser | target.user.user_display_name | duser 필드에서 직접 매핑됩니다. |
dvc | about.ip | dvc 필드에서 직접 매핑됩니다. |
dvchost | about.hostname | dvchost 필드에서 직접 매핑됩니다. |
eventId | additional.fields.value.string_value | eventId 필드에서 직접 매핑됩니다. |
externalId | metadata.product_log_id | externalId 필드에서 직접 매핑됩니다. |
fname | additional.fields.value.string_value | fname 필드에서 직접 매핑됩니다. |
msg | metadata.description | msg 필드에서 직접 매핑됩니다. |
proto | network.ip_protocol | proto 필드에서 직접 매핑됩니다. 프로토콜 이름을 해당 상수로 변환합니다 (예: tcp ~TCP ). |
rt | metadata.event_timestamp.seconds | rt 필드에서 직접 매핑됩니다. |
shost | about.hostname | shost 필드에서 직접 매핑됩니다. |
shost | principal.hostname | shost 필드에서 직접 매핑됩니다. |
src | principal.ip | src 필드에서 직접 매핑됩니다. |
src | principal.asset.ip | src 필드에서 직접 매핑됩니다. |
src | target.ip | src 필드에서 직접 매핑됩니다. |
sproc | principal.process.command_line | sproc 필드에서 직접 매핑됩니다. |
spt | principal.port | spt 필드에서 직접 매핑됩니다. |
spt | target.port | spt 필드에서 직접 매핑됩니다. |
additional.EventRecordID | additional.fields.value.string_value | ad.EventRecordID 필드에서 직접 매핑됩니다. |
additional.ThreadID | additional.fields.value.string_value | ad.ThreadID 필드에서 직접 매핑됩니다. |
additional.Opcode | additional.fields.value.string_value | ad.Opcode 필드에서 직접 매핑됩니다. |
additional.ProcessID | additional.fields.value.string_value | ad.ProcessID 필드에서 직접 매핑됩니다. |
additional.TargetDomainName | additional.fields.value.string_value | ad.TargetDomainName 필드에서 직접 매핑됩니다. |
additional.Version | additional.fields.value.string_value | ad.Version 필드에서 직접 매핑됩니다. |
deviceExternalId | about.asset.hardware.serial_number | deviceExternalId 필드에서 직접 매핑됩니다. |
deviceInboundInterface | additional.fields.value.string_value | deviceInboundInterface 필드에서 직접 매핑됩니다. |
deviceOutboundInterface | additional.fields.value.string_value | deviceOutboundInterface 필드에서 직접 매핑됩니다. |
PanOSConfigVersion | security_result.detection_fields.value | PanOSConfigVersion 필드에서 직접 매핑됩니다. |
PanOSContentVersion | security_result.detection_fields.value | PanOSContentVersion 필드에서 직접 매핑됩니다. |
PanOSDGHierarchyLevel1 | security_result.detection_fields.value | PanOSDGHierarchyLevel1 필드에서 직접 매핑됩니다. |
PanOSDestinationLocation | target.location.country_or_region | PanOSDestinationLocation 필드에서 직접 매핑됩니다. |
PanOSRuleUUID | metadata.product_log_id | PanOSRuleUUID 필드에서 직접 매핑됩니다. |
PanOSThreatCategory | security_result.category_details | PanOSThreatCategory 필드에서 직접 매핑됩니다. |
PanOSThreatID | security_result.threat_id | PanOSThreatID 필드에서 직접 매핑됩니다. |
about.asset.asset_id | 공급업체 이름 (LF )과 deviceExternalId 필드를 연결하여 생성됩니다.Palo Alto Networks. |
|
extensions.auth.type | event_name 필드에 logged on 이 포함된 경우 AUTHTYPE_UNSPECIFIED 로 설정합니다. |
|
metadata.description | description 필드에 by 와 IP 주소가 포함된 경우 IP 주소가 추출되어 principal.ip 및 principal.asset.ip 에 매핑됩니다. |
|
metadata.event_type | event_name , principal_* , target_* , device_event_class_id 등 다양한 필드에 대한 일련의 조건부 검사를 기반으로 결정됩니다. 이 로직은 사용 가능한 정보를 기반으로 가장 적절한 이벤트 유형을 결정합니다. |
|
metadata.log_type | ARCSIGHT_CEF 로 설정합니다. |
|
metadata.product_event_type | \[ , the device_event_class_id field, \] - 과 name 필드를 연결하여 생성됩니다. |
|
metadata.product_name | product_name 필드가 LF 이면 NGFW 로 설정합니다. |
|
principal.asset.ip | description 필드에 by 와 IP 주소가 포함된 경우 IP 주소가 추출되어 principal.ip 및 principal.asset.ip 에 매핑됩니다. |
|
principal.ip | description 필드에 by 와 IP 주소가 포함된 경우 IP 주소가 추출되어 principal.ip 및 principal.asset.ip 에 매핑됩니다. |
|
security_result.action | act 필드가 alert 이면 ALLOW 로 설정하고, 그렇지 않으면 BLOCK 로 설정합니다. |
|
security_result.severity | sev 필드가 7 이상이면 HIGH 로 설정하고 그렇지 않으면 LOW 로 설정합니다. |
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가로부터 답변을 받으세요.