Archer IRM 로그 수집

파서 버전: 2.0

다음에서 지원:

이 문서에서는 Bindplane 에이전트를 사용하여 Archer IRM 로그를 Google Security Operations에 수집하는 방법을 설명합니다.

Archer Integrated Risk Management (IRM)는 사용자 활동, 보안 이벤트, 로그인/로그아웃 작업, 데이터베이스 작업에 대한 감사 로깅을 제공하는 거버넌스, 위험, 규정 준수 (GRC) 플랫폼입니다. TCP를 통해 CEF 형식 감사 로그의 syslog 전달을 지원합니다.

시작하기 전에

다음 기본 요건이 충족되었는지 확인합니다.

  • Google SecOps 인스턴스
  • Windows Server 2016 이상 또는 systemd가 설치된 Linux 호스트
  • Bindplane 에이전트와 Archer 애플리케이션 서버 간의 네트워크 연결
  • 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
  • Archer Control Panel에 대한 관리 액세스

Google SecOps 수집 인증 파일 가져오기

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

Google SecOps 고객 ID 가져오기

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

Bindplane 에이전트 설치

다음 안내에 따라 Windows 또는 Linux 운영체제에 Bindplane 에이전트를 설치합니다.

Windows 설치

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

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    
  3. 설치가 완료될 때까지 기다립니다.

  4. 다음을 실행하여 설치를 확인합니다.

    sc query observiq-otel-collector
    

    서비스가 실행 중으로 표시되어야 합니다.

Linux 설치

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

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    
  3. 설치가 완료될 때까지 기다립니다.

  4. 다음을 실행하여 설치를 확인합니다.

    sudo systemctl status observiq-otel-collector
    

    서비스가 active (running)으로 표시되어야 합니다.

추가 설치 리소스

추가 설치 옵션 및 문제 해결은 Bindplane 에이전트 설치 가이드를 참고하세요.

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

구성 파일 찾기

  • Linux:

    sudo nano /etc/bindplane-agent/config.yaml
    
  • Windows:

    notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
    

구성 파일 설정

  • config.yaml의 전체 내용을 다음 구성으로 바꿉니다.

    receivers:
        tcplog:
            listen_address: "0.0.0.0:6514"
    
    exporters:
        chronicle/archer_irm:
            compression: gzip
            creds_file_path: '/etc/bindplane-agent/ingestion-auth.json'
            customer_id: '<customer_id>'
            endpoint: malachiteingestion-pa.googleapis.com
            log_type: ARCHER_IRM
            raw_log_field: body
    
    service:
        pipelines:
            logs/archer_to_chronicle:
                receivers:
                    - tcplog
                exporters:
                    - chronicle/archer_irm
    

구성 매개변수

다음 자리표시자를 바꿉니다.

  • 수신기 구성:

    • listen_address: 리슨할 IP 주소 및 포트입니다.
      • 0.0.0.0: 모든 인터페이스에서 수신 대기 (권장)
      • 포트 6514은 Archer IRM TCP syslog에 권장되는 포트입니다.
  • 내보내기 도구 구성:

    • creds_file_path: 수집 인증 파일의 전체 경로입니다.
      • Linux: /etc/bindplane-agent/ingestion-auth.json
      • Windows: C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
    • customer_id: Google SecOps 콘솔에서 복사한 고객 ID
    • endpoint: 지역 엔드포인트 URL:
      • 미국: malachiteingestion-pa.googleapis.com
      • 유럽: europe-malachiteingestion-pa.googleapis.com
      • 아시아: asia-southeast1-malachiteingestion-pa.googleapis.com
      • 전체 목록은 리전 엔드포인트를 참고하세요.

구성 파일 저장

  • 수정 후 파일을 저장합니다.
    • Linux: Ctrl+O, Enter, Ctrl+X 순서로 누릅니다.
    • Windows: 파일 > 저장을 클릭합니다.

변경사항을 적용하려면 Bindplane 에이전트를 다시 시작하세요.

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

    sudo systemctl restart observiq-otel-collector
    
    1. 서비스가 실행 중인지 확인합니다.

      sudo systemctl status observiq-otel-collector
      
    2. 로그에서 오류를 확인합니다.

      sudo journalctl -u observiq-otel-collector -f
      
  • Windows에서 Bindplane 에이전트를 다시 시작하려면 다음 옵션 중 하나를 선택하세요.

    • 명령 프롬프트 또는 PowerShell(관리자 권한)

      net stop observiq-otel-collector && net start observiq-otel-collector
      
    • 서비스 콘솔:

      1. Win+R 키를 누르고 services.msc를 입력한 다음 Enter 키를 누릅니다.
      2. observIQ OpenTelemetry Collector를 찾습니다.
      3. 마우스 오른쪽 버튼을 클릭하고 다시 시작을 선택합니다.
      4. 서비스가 실행 중인지 확인합니다.

        sc query observiq-otel-collector
        
      5. 로그에서 오류를 확인합니다.

        type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
        

Archer IRM 감사 로깅을 위한 syslog 구성

  1. 애플리케이션 서버에서 Archer Control Panel을 엽니다.
  2. 인스턴스 관리 > 모든 인스턴스로 이동하여 타겟 인스턴스를 더블클릭합니다.
  3. 일반 탭에서 감사 섹션을 찾아 이 인스턴스에 감사 로깅 사용 설정 체크박스를 선택합니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 호스트 이름 또는 IP 주소: Bindplane 에이전트 IP 주소를 입력합니다.
    • 포트: Bindplane 에이전트 포트 번호를 입력합니다 (예: 6514).
    • IP 버전: IPv4를 선택합니다.
    • IP 트래픽 메서드: TCP를 선택합니다.
  5. 연결 테스트 (TCP가 선택된 경우에만 사용 가능)를 클릭하여 연결을 확인합니다.
  6. 저장을 클릭합니다.

UDM 매핑 테이블

로그 필드 UDM 매핑 논리
ArcherInstance additional.fields.ArcherInstance.string_value 원시 로그 메시지의 ArcherInstance 필드에서 추출됩니다.
ArcherLog 이 필드는 파싱되고 데이터가 다른 UDM 필드에 매핑됩니다.
ArcherVersion additional.fields.ArcherVersion.string_value 원시 로그 메시지의 ArcherVersion 필드에서 추출됩니다.
InputParameter additional.fields.InputParameter.string_value 원시 로그 메시지의 InputParameter 필드에서 추출됩니다.
LogSourceIdentifier 이 필드는 파싱되고 데이터가 다른 UDM 필드에 매핑됩니다.
MethodName additional.fields.MethodName.string_value 원시 로그 메시지의 MethodName 필드에서 추출됩니다.
OutputValues additional.fields.OutputValue.string_value 원시 로그 메시지의 OutputValues 필드에서 추출됩니다.
Success security_result.summary 값은 Success:과 원시 로그 메시지의 Success 필드 값을 연결한 값으로 설정됩니다.
UserId principal.user.userid 원시 로그 메시지의 UserId 필드에서 추출됩니다.
UserName principal.user.user_display_name 원시 로그 메시지의 UserName 필드에서 추출됩니다.
DB_DRIVER target.resource.attribute.labels.db_driver.value 원시 로그 메시지의 DB_DRIVER 필드에서 추출됩니다.
DB_HOST target.resource.attribute.labels.db_host.value 원시 로그 메시지의 DB_HOST 필드에서 추출됩니다.
DB_NAME target.resource.attribute.labels.db_name.value 원시 로그 메시지의 DB_NAME 필드에서 추출됩니다.
DB_PORT target.resource.attribute.labels.db_port.value 원시 로그 메시지의 DB_PORT 필드에서 추출됩니다.
DB_URL target.resource.attribute.labels.db_url.value 원시 로그 메시지의 DB_URL 필드에서 추출됩니다.
company_security_event_id metadata.product_log_id 원시 로그 메시지의 company_security_event_id 필드에서 추출됩니다.
create_date metadata.event_timestamp UNIX_MS 형식에서 타임스탬프로 변환되었습니다.
databasename target.resource.attribute.labels.db_name.value DB_NAME이 없는 경우 원시 로그 메시지의 databasename 필드에서 추출됩니다.
encrypt security_result.detection_fields.encrypt.value 원시 로그 메시지의 encrypt 필드에서 추출됩니다.
eventid metadata.product_event_type 원시 로그 메시지의 eventid 필드에서 추출됩니다.
eventtime metadata.event_timestamp 다양한 형식에서 타임스탬프로 변환되었습니다.
integratedSecurity security_result.detection_fields.integratedSecurity.value 원시 로그 메시지의 integratedSecurity 필드에서 추출됩니다.
해당 사항 없음 extensions.auth.type USER_LOGIN 및 USER_LOGOUT 이벤트의 경우 AUTHTYPE_UNSPECIFIED로 설정됩니다.
해당 사항 없음 metadata.event_type 로그가 grok 패턴으로 파싱된 경우 USER_RESOURCE_ACCESS로 설정됩니다. security_event_nameUser Login이면 USER_LOGIN로 설정합니다. security_event_nameUser Logout이면 USER_LOGOUT로 설정합니다. security_event_nameSecurity Events이 포함된 경우 USER_RESOURCE_ACCESS로 설정됩니다. 그렇지 않으면 GENERIC_EVENT로 설정합니다.
해당 사항 없음 metadata.log_type ARCHER_IRM로 설정합니다.
해당 사항 없음 metadata.product_name 로그가 grok 패턴으로 파싱된 경우 Archer로 설정됩니다. 그렇지 않으면 RSA로 설정합니다.
해당 사항 없음 metadata.vendor_name 로그가 grok 패턴으로 파싱된 경우 RSA로 설정됩니다. 그렇지 않으면 Archer로 설정합니다.
해당 사항 없음 principal.ip 로그가 grok 패턴으로 파싱된 경우 1.2.3.4로 설정됩니다.
해당 사항 없음 principal.port 로그가 grok 패턴으로 파싱된 경우 LogSourceIdentifier에서 추출된 값으로 설정됩니다.
해당 사항 없음 security_result.action SuccessTrue이면 ALLOW로 설정하고, 그렇지 않으면 BLOCK로 설정합니다.
해당 사항 없음 target.resource.resource_type 데이터베이스 관련 필드가 있는 경우 DATABASE로 설정합니다.
source_user principal.user.userid 원시 로그 메시지의 source_user 필드에서 추출됩니다.
target_user target.user.userid 원시 로그 메시지의 target_user 필드에서 추출됩니다.
trustServerCertificate security_result.detection_fields.trustServerCertificate.value 원시 로그 메시지의 trustServerCertificate 필드에서 추출됩니다.
version metadata.product_version 원시 로그 메시지의 version 필드에서 추출됩니다.
file_name target.file.full_path 변경 로그에서 매핑됨
Downloaded_By principal.user.user_display_name 변경 로그에서 매핑됨
Downloaded_By_UserName principal.user.email_addresses 변경 로그에서 매핑됨
security_event_name security_result.description 변경 로그에서 매핑됨
target_group target.group.group_display_name 변경 로그에서 매핑됨

변경 로그

이 파서의 변경 로그 보기

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