Symantec DLP 로그 수집
이 문서에서는 Bindplane 에이전트를 사용하여 Symantec DLP 로그를 Google Security Operations로 수집하는 방법을 설명합니다.
Symantec 데이터 손실 방지(DLP)는 정책 위반, 데이터 검색 사고, 엔드포인트 모니터링 이벤트, 네트워크 모니터링 알림에 대한 syslog 메시지를 생성하는 데이터 보호 솔루션입니다. 파서는 파이프로 구분된 CEF 형식의 syslog 로그에서 필드를 추출하고 이를 통합 데이터 모델(UDM)에 매핑합니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows Server 2016 이상 또는
systemd가 설치된 Linux 호스트 - Bindplane 에이전트와 Symantec DLP 서버 간의 네트워크 연결
- 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
- Symantec Server 관리 콘솔에 대한 관리 액세스 권한
Bindplane 에이전트의 Google SecOps 사용자 인증 정보 가져오기
Google SecOps에 Bindplane 에이전트를 인증하려면 다음 방법 중 하나를 선택합니다.
- 새 배포: Chronicle API를 사용합니다(옵션 1).
- 기존 배포: 2027년 7월 20일에 Ingestion API가 중단될 때까지 데이터 수집 인증 파일(옵션 2)을 계속 사용합니다.
옵션 1: Chronicle API의 서비스 계정 만들기(권장)
- Google Cloud 콘솔에 로그인하고 Google SecOps 인스턴스에 연결된 Google Cloud 프로젝트를 선택합니다.
- IAM 및 관리자 > 서비스 계정으로 이동합니다.
- 서비스 계정 만들기를 클릭합니다.
- 다음 구성 세부정보를 제공합니다.
- 서비스 계정 이름: 계정 이름을 입력합니다(예:
bindplane-ingest). - 서비스 계정 설명: 설명을 입력합니다(예:
Bindplane agent log ingestion).
- 서비스 계정 이름: 계정 이름을 입력합니다(예:
- 만들고 계속하기를 클릭합니다.
- 이 서비스 계정에 프로젝트에 대한 액세스 권한 부여 섹션에서 역할 선택을 클릭하고 Chronicle 편집자를 선택합니다.
- 계속을 클릭한 다음 완료를 클릭합니다.
- 만든 서비스 계정을 클릭한 다음 키 탭으로 이동합니다.
- 키 추가 > 새 키 만들기를 클릭합니다.
- JSON을 선택하고 만들기를 클릭합니다. 키 파일이 컴퓨터에 다운로드됩니다.
- 키 파일을 Bindplane 수집기 디렉터리(Linux의 경우
/opt/observiq-otel-collector/ingestion-auth.json, Windows의 경우C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json)에ingestion-auth.json로 저장하거나config.yaml의creds_file_path를 업데이트하여 저장한 경로와 일치시킵니다. - IAM 및 관리자 > 설정으로 이동하여 프로젝트 번호를 복사합니다. 내보내기 도구 구성에 필요합니다.
옵션 2: 데이터 수집 인증 파일 다운로드(기존)
- 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설치가 완료될 때까지 기다립니다.
다음을 실행하여 설치를 확인합니다.
sc query observiq-otel-collector서비스가 RUNNING으로 표시됩니다.
Linux 설치
- 루트 또는 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서비스가 active (running)으로 표시됩니다.
추가 설치 리소스
추가 설치 옵션 및 문제 해결은 Bindplane 에이전트 설치 가이드를 참조하세요.
syslog를 수집하고 Google SecOps로 전송하도록 Bindplane 에이전트 구성
구성 파일 찾기
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/symantec_dlp: 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: SYMANTEC_DLP raw_log_field: body service: pipelines: logs/symantec_dlp_to_chronicle: receivers: - udplog exporters: - chronicle/symantec_dlp
구성 매개변수
다음 자리표시자를 바꿉니다.
수신자 구성:
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 콘솔에서 복사한 고객 IDlocation:<LOCATION>을 Google SecOps 인스턴스의 리전으로 바꿉니다(예:us,europe또는asia-southeast1). 내보내기 도구는 이 값으로chronicle.googleapis.com에 프리픽스를 추가합니다. 전체 목록은 리전 엔드포인트를 참조하세요.project:<PROJECT_NUMBER>를 IAM 및 관리자 > 설정의 프로젝트 번호로 바꿉니다.endpoint:chronicle.googleapis.com로 설정된 상태로 유지합니다.
기존 수집 API 내보내기 도구
옵션 2의 데이터 수집 인증 파일을 사용하는 경우
exporters블록을 다음으로 바꿉니다.creds_file_path를 데이터 수집 인증 파일의 경로로 설정하고 인스턴스가 미국 외부에 있는 경우malachiteingestion-pa.googleapis.com를 리전 엔드포인트(예:europe-malachiteingestion-pa.googleapis.com)로 바꿉니다.exporters: chronicle/symantec_dlp: compression: gzip creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: SYMANTEC_DLP raw_log_field: body
구성 파일 저장
- 수정 후 파일을 저장합니다.
- Linux:
Ctrl+O,Enter,Ctrl+X를 차례로 누릅니다. - Windows: 파일 > 저장을 클릭합니다.
- Linux:
Bindplane 에이전트를 다시 시작하여 변경사항을 적용합니다.
Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.
sudo systemctl restart observiq-otel-collector서비스가 실행 중인지 확인합니다.
sudo systemctl status observiq-otel-collector로그에서 오류를 확인합니다.
sudo journalctl -u observiq-otel-collector -f
Windows에서 Bindplane 에이전트를 다시 시작하려면 다음 옵션 중 하나를 선택합니다.
관리자 권한으로 명령 프롬프트 또는 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"
Symantec DLP 구성하기
- Symantec Server 관리 콘솔에 로그인합니다.
- 관리 > 정책 > 응답 규칙을 선택합니다.
- 응답 규칙 구성을 선택하고 규칙 이름을 입력합니다.
다음과 같은 정보를 입력합니다.
- 작업: 시스템로그 서버에 로그를 기록합니다를 선택합니다.
- 호스트: Bindplane IP 주소를 입력합니다.
- 포트: Bindplane 포트 번호를 입력합니다.
- 메시지: 다음 syslog 메시지 템플릿을 입력합니다.
|symcdlpsys|APPLICATION_NAME|$APPLICATION_NAME$|APPLICATION_USER|$APPLICATION_USER$|ATTACHMENT_FILENAME|$ATTACHMENT_FILENAME$|BLOCKED|$BLOCKED$|DATAOWNER_NAME|$DATAOWNER_NAME$|DATAOWNER_EMAIL|$DATAOWNER_EMAIL$|...- 디버깅: 수준 4를 선택합니다.
적용을 클릭합니다.
UDM 매핑 테이블
| 로그 필드 | UDM 매핑 | 로직 |
|---|---|---|
| act | security_result.action | act이 Passed이면 ALLOW로 설정합니다. act이 Modified이면 ALLOW_WITH_MODIFICATION로 설정합니다. act이 Blocked이면 BLOCK로 설정합니다. 그렇지 않으면 UNKNOWN_ACTION로 설정합니다. |
| application_name | target.application | 직접 매핑됩니다. |
| asset_ip | principal.ip, principal.asset.ip | 직접 매핑됩니다. |
| asset_name | principal.hostname, principal.asset.hostname | 직접 매핑됩니다. |
| attachment_name | security_result.about.file.full_path | 직접 매핑됩니다. |
| 차단됨 | security_result.action_details | 직접 매핑됩니다. |
| calling_station_id | principal.mac, principal.asset.mac | calling_station_id가 MAC 주소인 경우 -를 :로 바꾸고 소문자로 변환한 후 바로 매핑합니다. |
| called_station_id | target.mac, target.asset.mac | called_station_id가 MAC 주소인 경우 : 앞의 MAC 주소 부분을 추출하고 -를 :로 바꾸고 소문자로 변환한 후 직접 매핑합니다. |
| category1 | security_result.detection_fields | 키가 category1이고 값이 category1인 라벨을 만듭니다. |
| category2 | security_result.detection_fields | 키가 category2이고 값이 category2인 라벨을 만듭니다. |
| category3 | security_result.detection_fields | 키가 category3이고 값이 category3인 라벨을 만듭니다. |
| client_friendly_name | target.user.userid | 직접 매핑됩니다. |
| dataowner_mail | principal.user.email_addresses | 유효한 이메일 주소인 경우 직접 매핑됩니다. |
| 설명 | metadata.description | 직접 매핑됩니다. |
| dest_location | target.location.country_or_region | RED가 아닌 경우 직접 매핑됩니다. |
| deviceId | target.asset_id | ID:%{deviceId}로 매핑됩니다. |
| device_version | metadata.product_version | 직접 매핑됩니다. |
| dhost | network.http.referral_url | 직접 매핑됩니다. |
| dlp_type | security_result.detection_fields | 키가 dlp_type이고 값이 dlp_type인 라벨을 만듭니다. |
| DLP_EP_Incident_ID | security_result.threat_id, security_result.detection_fields | threat_id에 직접 매핑됩니다. 또한 키가 Incident ID이고 값이 DLP_EP_Incident_ID인 라벨을 만듭니다. |
| 도메인 | principal.administrative_domain | 직접 매핑됩니다. |
| dst | target.ip, target.asset.ip | 유효한 IP 주소인 경우 직접 매핑됩니다. |
| endpoint_machine | target.ip, target.asset.ip | 유효한 IP 주소인 경우 직접 매핑됩니다. |
| endpoint_user_department | target.user.department | 직접 매핑됩니다. |
| endpoint_user_email | target.user.email_addresses | 직접 매핑됩니다. |
| endpoint_user_manager | target.user.managers | endpoint_user_manager에서 user_display_name를 사용하여 관리자 객체를 만듭니다. |
| endpoint_user_name | target.user.user_display_name | 직접 매핑됩니다. |
| endpoint_user_title | target.user.title | 직접 매핑됩니다. |
| event_description | metadata.description | 직접 매핑됩니다. |
| event_id | metadata.product_log_id | 직접 매핑됩니다. |
| event_source | target.application | 직접 매핑됩니다. |
| event_timestamp | metadata.event_timestamp | 직접 매핑됩니다. |
| file_name | security_result.about.file.full_path | 직접 매핑됩니다. |
| filename | target.file.full_path, src.file.full_path | target.file.full_path에 직접 매핑됩니다. has_principal가 true이면 src.file.full_path에도 매핑하고 event_type를 FILE_COPY로 설정합니다. |
| 호스트 | src.hostname, principal.hostname, principal.asset.hostname | cef_data에 CEF가 포함된 경우 세 필드 모두에 매핑합니다. 그렇지 않으면 principal.hostname 및 principal.asset.hostname로 매핑합니다. |
| incident_id | security_result.threat_id, security_result.detection_fields | threat_id에 직접 매핑됩니다. 또한 키가 Incident ID이고 값이 incident_id인 라벨을 만듭니다. |
| 위치 | principal.resource.attribute.labels | 키가 Location이고 값이 location인 라벨을 만듭니다. |
| match_count | security_result.detection_fields | 키가 Match Count이고 값이 match_count인 라벨을 만듭니다. |
| monitor_name | additional.fields | 키가 Monitor Name이고 값이 monitor_name인 라벨을 만듭니다. |
| nas_id | target.hostname, target.asset.hostname | 직접 매핑됩니다. |
| occurred_on | principal.labels, additional.fields | principal.labels 및 additional.fields 모두에 대해 키가 Occurred On이고 값이 occurred_on인 라벨을 만듭니다. |
| policy_name | sec_result.detection_fields | 키가 policy_name이고 값이 policy_name인 라벨을 만듭니다. |
| policy_rule | security_result.rule_name | 직접 매핑됩니다. |
| policy_severity | security_result.severity | 대문자로 변환한 후 severity에 매핑됩니다. policy_severity이 INFO이면 INFORMATIONAL로 매핑합니다. policy_severity이 HIGH, MEDIUM, LOW, INFORMATIONAL 중 하나가 아니면 severity를 UNKNOWN_SEVERITY로 설정합니다. |
| policy_violated | security_result.summary | 직접 매핑됩니다. |
| 프로토콜 | network.application_protocol, target.application, sec_result.description | Protocol가 FTP 또는 Endpoint가 아닌 경우 parse_app_protocol.include 파일을 사용하여 파싱한 후 network.application_protocol에 매핑합니다. Protocol이 FTP이면 target.application에 매핑합니다. Protocol이 Endpoint이면 sec_result.description를 Protocol=%{Protocol}로 설정합니다. |
| 수신자 | target.user.email_addresses, about.user.email_addresses | recipient의 각 이메일 주소를 target.user.email_addresses 및 about.user.email_addresses에 모두 매핑합니다. |
| 수신자 | network.http.referral_url, target.resource.attribute.labels | network.http.referral_url에 직접 매핑됩니다. 또한 키가 recipients이고 값이 recipients인 라벨을 만듭니다. |
| reported_on | additional.fields | 키가 Reported On이고 값이 reported_on인 라벨을 만듭니다. |
| 규칙 | security_result.detection_fields | 키가 Rules이고 값이 rules인 라벨을 만듭니다. |
| sender | network.email.from, target.resource.attribute.labels | sender이(가) 유효한 이메일 주소인 경우 network.email.from에 매핑합니다. 또한 키가 sender이고 값이 sender인 라벨을 만듭니다. |
| 서버 | target.application | 직접 매핑됩니다. |
| 심각도 | security_result.severity | 매핑 로직은 policy_severity를 참고하세요. |
| src | principal.ip, principal.asset.ip | 유효한 IP 주소인 경우 직접 매핑됩니다. |
| 상태 | principal.labels, additional.fields | principal.labels 및 additional.fields 모두에 대해 키가 Status이고 값이 status인 라벨을 만듭니다. |
| subject | target.resource.attribute.labels, network.email.subject | 키가 subject이고 값이 subject인 라벨을 만듭니다. 또한 subject를 network.email.subject에 매핑합니다. |
| target_type | target.resource.attribute.labels | 키가 Target Type이고 값이 target_type인 라벨을 만듭니다. |
| 타임스탬프 | metadata.event_timestamp | date 필터를 사용하여 파싱한 후 직접 매핑됩니다. |
| url | target.url | 직접 매핑됩니다. |
| 사용자 | target.user.userid | 직접 매핑됩니다. |
| user_id | principal.user.userid | 직접 매핑됩니다. |
| 사용자 이름 | principal.user.userid | 직접 매핑됩니다. |
| 해당 사항 없음 | metadata.product_name | SYMANTEC_DLP로 설정합니다. |
| 해당 사항 없음 | metadata.vendor_name | SYMANTEC로 설정합니다. |
| 해당 사항 없음 | metadata.event_type | event_type가 비어 있지 않으면 직접 매핑합니다. 그렇지 않고 host가 비어 있지 않고 has_principal가 true이면 SCAN_NETWORK로 설정합니다. 그렇지 않으면 GENERIC_EVENT로 설정합니다. |
| 해당 사항 없음 | metadata.product_event_type | policy_violated에 -NM-가 포함되거나 data에 DLP NM가 포함된 경우 Network Monitor로 설정합니다. policy_violated에 -EP-가 포함되거나 data에 DLP EP가 포함된 경우 Endpoint로 설정합니다. |
| 해당 사항 없음 | metadata.log_type | SYMANTEC_DLP로 설정합니다. |
subject |
event.idm.read_only_udm.network.email.subject |
변경 로그에서 매핑됨 |
end |
event.idm.read_only_udm.metadata.event_timestamp |
변경 로그에서 매핑됨 |
cnt |
event.idm.read_only_udm.network.session_duration.seconds |
변경 로그에서 매핑됨 |
resolution |
event.idm.read_only_udm.security_result.detection_fields |
변경 로그에서 매핑됨 |
dhost |
event.idm.read_only_udm.target.user.email_addresses |
변경 로그에서 매핑됨 |
ATTACHMENT_FILENAME |
principal.file.full_path |
변경 로그에서 매핑됨 |
DATAOWNER_NAME |
principal.user.userid |
변경 로그에서 매핑됨 |
ENDPOINT_USERNAME |
principal.user.userid |
변경 로그에서 매핑됨 |
reported_on" and "monitor_name |
additional.fields |
변경 로그에서 매핑됨 |
incident_id" and "DLP_EP_Incident_ID |
security_result.detection_fields |
변경 로그에서 매핑됨 |
application |
principal.application |
변경 로그에서 매핑됨 |
Occurred on |
principal.labels |
변경 로그에서 매핑됨 |
변경 로그
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가에게 문의하여 답변을 받으세요.