CommVault 백업 및 복구 로그 수집

다음에서 지원:

이 문서에서는 Bindplane을 사용하여 CommVault 백업 및 복구 로그를 Google Security Operations로 수집하는 방법을 설명합니다. 파서는 Commvault 로그 내의 세 가지 로그 유형 (알림, 이벤트, AuditTrail)에서 데이터를 추출합니다. 그런 다음 추출된 필드를 Google SecOps UDM 스키마에 매핑하고, 일관된 표현을 보장하기 위해 다양한 데이터 정리 및 변환 작업을 처리합니다.

시작하기 전에

  • Google Security Operations 인스턴스가 있는지 확인합니다.
  • Windows 2016 이상을 사용 중이거나 systemd와 함께 Linux 호스트를 사용하고 있는지 확인합니다.
  • 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있는지 확인합니다.
  • Commvault CommCell에 대한 권한이 있는지 확인합니다.

Google SecOps 처리 인증 파일 가져오기

  1. Google SecOps 콘솔에 로그인합니다.
  2. SIEM 설정 > 수집 에이전트로 이동합니다.
  3. 처리 인증 파일을 다운로드합니다. Bindplane가 설치될 시스템에 파일을 안전하게 저장합니다.

Google SecOps 고객 ID 가져오기

  1. Google SecOps 콘솔에 로그인합니다.
  2. SIEM 설정 > 프로필로 이동합니다.
  3. 조직 세부정보 섹션에서 고객 ID를 복사하여 저장합니다.

Bindplane 에이전트 설치

Windows 설치

  1. 관리자 권한으로 명령 프롬프트 또는 PowerShell을 엽니다.
  2. 다음 명령어를 실행합니다.

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    

Linux 설치

  1. 루트 또는 sudo 권한으로 터미널을 엽니다.
  2. 다음 명령어를 실행합니다.

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    

추가 설치 리소스

Syslog를 수집하고 Google SecOps로 전송하도록 Bindplane 에이전트 구성

  1. 구성 파일에 액세스합니다.

    1. config.yaml 파일을 찾습니다. 일반적으로 Linux의 /etc/bindplane-agent/ 디렉터리 또는 Windows의 설치 디렉터리에 있습니다.
    2. 텍스트 편집기 (예: nano, vi, 메모장)를 사용하여 파일을 엽니다.
  2. 다음과 같이 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: COMMVAULT_COMMCELL
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - udplog
                exporters:
                    - chronicle/chronicle_w_labels
    
  3. 인프라에서 필요에 따라 포트와 IP 주소를 바꿉니다.

  4. <customer_id>를 실제 고객 ID로 바꿉니다.

  5. Google SecOps 처리 인증 파일 가져오기 섹션에서 인증 파일이 저장된 경로로 /path/to/ingestion-authentication-file.json를 업데이트합니다.

Bindplane 에이전트를 다시 시작하여 변경사항 적용

  • Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.

    sudo systemctl restart bindplane-agent
    
  • Windows에서 Bindplane 에이전트를 다시 시작하려면 서비스 콘솔을 사용하거나 다음 명령어를 입력하면 됩니다.

    net stop BindPlaneAgent && net start BindPlaneAgent
    

Commvault Syslog Server 구성

  1. Commvault CommCell 웹 UI에 로그인합니다.
  2. 관리 > 시스템을 선택합니다.
  3. Syslog server를 클릭합니다.
  4. 다음과 같은 시스템로그 서버 세부정보를 지정합니다.
    • 호스트 이름: Bindplane 에이전트의 IP 주소를 입력합니다.
    • 포트: Bindplane 포트를 입력합니다(예: 514).
    • 사용 설정 전환 버튼을 클릭하여 syslog 서버 설정을 활성화합니다.
    • syslog로 전달 필드에서 알림, 감사 추적, 이벤트를 선택합니다.
  5. 제출을 클릭합니다.

UDM 매핑 표

로그 필드 UDM 매핑 논리
AgentType observer.application 이벤트 로그의 AgentType 필드에서 직접 매핑됩니다.
Alertid security_result.detection_fields.Alertid.value 알림 로그의 Alertid 필드에서 직접 매핑됩니다.
Alertname security_result.detection_fields.Alertname.value 알림 로그의 Alertname 필드에서 직접 매핑됩니다.
Alertseverity security_result.severity 알림 로그의 Alertseverity 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다.
Alerttime metadata.event_timestamp 알림 로그의 Alerttime 필드에서 파싱되고 타임스탬프로 변환됩니다.
Audittime metadata.event_timestamp 감사 로그의 Audittime 필드에서 파싱되고 타임스탬프로 변환됩니다.
클라이언트 principal.hostname, principal.asset.hostname 이벤트, 알림 또는 감사 로그의 Client 필드에서 직접 매핑됩니다.
CommCell 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 알림 설명에서 추출된 경우 backupcv로 설정됩니다.
컴퓨터 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 이벤트 로그에서 추출된 경우 backupcv로 설정됩니다.
설명 security_result.description 이벤트 로그의 Description 필드 또는 알림 로그의 Alertdescription 필드에서 파싱된 event_description 필드에서 매핑됩니다. Description 필드에 A suspicious file가 포함된 경우 A suspicious file is Detected로 덮어씁니다.
세부정보 grok를 사용하여 Client 필드를 추출하는 데 사용됩니다.
기간 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 이벤트 설명에서 추출된 시간으로 설정됩니다.
Eventid metadata.product_log_id 이벤트 로그의 Eventid 필드에서 직접 매핑됩니다.
Eventseverity security_result.severity 이벤트 로그의 Eventseverity 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다.
file_name security_result.detection_fields.SuspiciousFileName.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출합니다.
Jobid principal.process.pid 이벤트 또는 알림 로그의 Jobid 필드에서 직접 매핑됩니다.
media_agent security_result.detection_fields.MediaAgent.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다.
no_of_files_created security_result.detection_fields.no_of_files_created.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다.
no_of_files_deleted security_result.detection_fields.no_of_files_deleted.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출합니다.
no_of_files_modified security_result.detection_fields.no_of_files_modified.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출합니다.
no_of_files_renamed security_result.detection_fields.no_of_files_renamed.value grok를 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다.
Occurrencetime metadata.event_timestamp 이벤트 로그의 Occurrencetime 필드에서 파싱되고 타임스탬프로 변환됩니다.
작업 security_result.detection_fields.Operation.value 감사 로그의 Operation 필드에서 직접 매핑됩니다.
Opid security_result.detection_fields.Opid.value 감사 로그의 Opid 필드에서 직접 매핑됩니다.
프로그램 principal.application 이벤트 로그의 Program 필드에서 직접 매핑됩니다.
Severitylevel security_result.severity 감사 로그의 Severitylevel 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다.
유형 security_result.detection_fields.Type.value 알림 로그의 Alertdescription 필드에서 추출된 Type 필드에서 직접 매핑됩니다.
url network.http.referral_url 알림 로그의 Alertdescription 필드에서 추출된 url 필드에서 직접 매핑됩니다.
사용자 이름 principal.user.userid 감사 로그의 Username 필드에서 직접 매핑됩니다. 사용자 이름이 Administrator인 경우 principal.user.user_role 필드는 대신 ADMINISTRATOR로 설정됩니다.
- metadata.vendor_name 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT로 설정됩니다.
- metadata.product_name 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT_COMMCELL로 설정됩니다.
- metadata.log_type 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT_COMMCELL로 설정됩니다.
- metadata.event_type 이 UDM 필드는 원시 로그에서 가져오지 않습니다. Client 필드가 있는 경우 STATUS_UPDATE로 설정되고, 그렇지 않으면 GENERIC_EVENT로 설정됩니다.

변경사항

2024년 1월 24일

  • 파서를 새로 만들었습니다.

도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가의 답변을 받아 보세요.