Archer IRM 로그 수집

다음에서 지원:

이 문서에서는 Bindplane을 사용하여 Archer IRM (통합 위험 관리) 로그를 Google Security Operations로 수집하는 방법을 설명합니다. 파서는 먼저 특정 Grok 패턴을 사용하여 SYSLOG 데이터를 구조화하려고 시도합니다. 패턴이 일치하지 않으면 키-값 형식을 가정하고 필드를 추출하여 통합 데이터 모델 (UDM)에 매핑하며, 이 과정에서 다양한 이벤트 유형과 데이터베이스 리소스 정보를 처리합니다.

시작하기 전에

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

  • Google SecOps 인스턴스
  • Windows 2016 이상 또는 systemd가 설치된 Linux 호스트
  • 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있음
  • 감사 로깅 기능 라이선스가 부여된 온프레미스 인스턴스의 Archer IRM 6.x
  • Archer Control Panel에 대한 관리 액세스

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

  1. Google SecOps 콘솔에 로그인합니다.
  2. SIEM 설정 > 수집 에이전트로 이동합니다.
  3. 수집 인증 파일을 다운로드합니다. 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
    

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. 구성 파일에 액세스합니다.
    • config.yaml 파일을 찾습니다. 일반적으로 Linux에서는 /etc/bindplane-agent/ 디렉터리에 있고 Windows에서는 설치 디렉터리에 있습니다.
    • 텍스트 편집기 (예: nano, vi, 메모장)를 사용하여 파일을 엽니다.
  2. 다음과 같이 config.yaml 파일을 수정합니다.

    receivers:
        tcplog:
            # Replace the port and IP address as required
            listen_address: "0.0.0.0:6514"
    
    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: 'ARCHER_IRM'
            raw_log_field: body
            ingestion_labels:
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - tcplog
                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
    

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 필드에서 추출됩니다.
성공 security_result.summary 값은 Success:와 원시 로그 메시지의 Success 필드 값이 연결된 값으로 설정됩니다.
UserId principal.user.userid 원시 로그 메시지의 UserId 필드에서 추출됩니다.
사용자 이름 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 필드에서 추출됩니다.
암호화 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 필드에서 추출됩니다.

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