CyberArk PAM 로그 수집

다음에서 지원:

이 문서에서는 Bindplane을 사용하여 CyberArk PAM (Privileged Access Manager) 로그를 Google Security Operations에 수집하는 방법을 설명합니다. CyberArk PAM은 온프레미스 및 클라우드 환경에서 권한이 있는 사용자 인증 정보를 보호, 관리, 모니터링합니다. 권한이 있는 계정 사용자 인증 정보 저장, 세션 격리 및 모니터링, 자동 비밀번호 순환, 모든 권한 액세스 활동에 대한 상세 감사 로그를 위한 디지털 보관소를 제공합니다.

시작하기 전에

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

  • Google SecOps 인스턴스
  • systemd가 있는 Windows 2016 이상 또는 Linux 호스트
  • 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
  • 관리 권한이 있는 CyberArk PAM Vault 및 PVWA (Password Vault Web Access)에 대한 액세스 권한

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에서는 /opt/observiq-otel-collector/ 디렉터리에 있고 Windows에서는 설치 디렉터리에 있습니다.
    • 텍스트 편집기 (예: nano, vi 또는 메모장)를 사용하여 파일을 엽니다.
  2. 다음과 같이 config.yaml 파일을 수정합니다.

    receivers:
        tcplog:
            # 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: <PLACEHOLDER_CUSTOMER_ID>
            endpoint: malachiteingestion-pa.googleapis.com
            # Add optional ingestion labels for better organization
            log_type: 'CYBERARK_PAM'
            raw_log_field: body
            ingestion_labels:
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - tcplog
                exporters:
                    - chronicle/chronicle_w_labels
    
  • 인프라에 필요한 대로 포트와 IP 주소를 바꿉니다.
  • <PLACEHOLDER_CUSTOMER_ID>를 실제 고객 ID로 바꿉니다.
  • Google SecOps 수집 인증 파일 가져오기 섹션에서 인증 파일이 저장된 파일 경로로 /path/to/ingestion-authentication-file.json를 업데이트합니다.

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

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

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

    net stop observiq-otel-collector && net start observiq-otel-collector
    

CyberArk PAM syslog 전달 구성

CyberArk PAM은 dbparm.ini 파일에 구성된 Vault의 syslog 통합을 통해 감사 데이터를 SIEM으로 전송합니다.

Vault 서버 구성

  1. 관리자 권한으로 CyberArk Vault 서버에 로그인합니다.
  2. Vault 설치 디렉터리로 이동하여 dbparm.ini 파일을 엽니다.

    • 기본 경로 (Windows): C:\Program Files (x86)\PrivateArk\Server\Conf\dbparm.ini
    • 기본 경로 (Linux): /opt/CARKaim/vault/Conf/dbparm.ini
  3. dbparm.ini에서 다음 syslog 구성 매개변수를 추가하거나 수정합니다.

    SyslogTranslatorFile=Syslog\CASP.xsl
    SyslogServerIP=<BINDPLANE_AGENT_IP>
    SyslogServerPort=514
    SyslogServerProtocol=TCP
    SyslogMessageCodeFilter=0-999
    UseSyslogFormat=Yes
    SyslogSendAuditAsJSON=Yes
    
  4. <BINDPLANE_AGENT_IP>를 Bindplane 에이전트 호스트의 IP 주소로 바꿉니다 (예: 192.168.1.100).

구성 매개변수 참조

매개변수 설명
SyslogTranslatorFile Syslog\CASP.xsl syslog 형식의 XSL 변환 파일
SyslogServerIP Bindplane 에이전트 IP syslog 수신자의 IP 주소
SyslogServerPort 514 syslog 포트 번호 (Bindplane 구성과 일치)
SyslogServerProtocol TCP 전송 프로토콜 (안정적인 전송을 위해 TCP 권장)
SyslogMessageCodeFilter 0-999 전달할 메시지 코드 범위 (0~999 = 모두)
UseSyslogFormat Yes 표준 시스템 로그 형식으로 로그 전송
SyslogSendAuditAsJSON Yes 더 나은 파싱을 위해 감사 레코드를 JSON 형식으로 전송

Vault 서비스 다시 시작

  1. dbparm.ini를 수정한 후 CyberArk Vault 서비스를 다시 시작합니다.

    • Windows: 서비스 콘솔을 열고 CyberArk Vault를 찾아 마우스 오른쪽 버튼으로 클릭한 후 다시 시작을 선택합니다.
    • Linux: 다음 명령어를 실행합니다.
    sudo systemctl restart vault
    
  2. Bindplane 에이전트 로그를 확인하여 로그가 수신되고 있는지 확인합니다.

    sudo journalctl -u observiq-otel-collector -f
    

PVWA 감사 로깅 구성 (선택사항)

PVWA (Password Vault Web Access) 활동 로그를 전달하려면 다음 단계를 따르세요.

  1. 관리자로 PVWA 웹 인터페이스에 로그인합니다.
  2. 관리 > 옵션 > 감사로 이동합니다.
  3. syslog 메시지 보내기가 사용 설정되어 있는지 확인합니다.
  4. PVWA는 dbparm.ini의 Vault syslog 구성을 사용합니다.

CyberArk PAM syslog 통합에 대한 자세한 내용은 CyberArk PAM 문서를 참고하세요.

UDM 매핑 테이블

로그 필드 UDM 매핑 논리
Vendor metadata.vendor_name 'CyberArk'로 설정합니다.
Product metadata.product_name 'PAM' 또는 'Vault'로 설정합니다.
Version metadata.product_version CyberArk PAM 버전입니다.
MessageID metadata.product_event_type 감사 작업 코드입니다.
Message metadata.description 사람이 읽을 수 있는 감사 메시지입니다.
Severity security_result.severity CyberArk 심각도 수준에서 매핑됩니다.
Issuer principal.user.userid 작업을 수행한 사용자입니다.
Station principal.ip 세션의 소스 IP 주소입니다.
SourceUser principal.user.userid 작업을 시작하는 소스 사용자입니다.
TargetUser target.user.userid 타겟 권한 있는 계정입니다.
SafeName target.resource.name 사용자 인증 정보가 포함된 CyberArk Safe입니다.
AccountName target.resource.attribute.labels 권한이 있는 계정 이름입니다.
Address target.hostname 타겟 시스템 호스트 이름 또는 주소입니다.
PolicyID security_result.rule_name 플랫폼 정책 ID입니다.
Reason security_result.description 조치에 대해 제공된 이유입니다.
RequestID network.session_id 이중 제어 요청 ID입니다.
GatewayStation intermediary.ip PSM 게이트웨이 IP 주소입니다.
Timestamp metadata.event_timestamp 이벤트 타임스탬프입니다.

변경 로그

이 파서의 변경 로그 보기

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