Tanium Threat Response 로그 수집

다음에서 지원:

이 문서에서는 Tanium Connect의 기본 AWS S3 내보내기 기능을 사용하여 Tanium 위협 대응 로그를 Google Security Operations에 수집하는 방법을 설명합니다. Tanium 위협 대응은 맞춤 Lambda 함수가 필요 없이 Tanium Connect를 사용하여 S3로 직접 내보낼 수 있는 JSON 형식으로 위협 감지 알림, 조사 결과, 인시던트 대응 데이터를 생성합니다. 파서는 Tanium 위협 대응의 원시 JSON 데이터를 통합 데이터 모델 (UDM)로 변환합니다. 먼저 수신 메시지를 JSON으로 파싱하고, 잠재적인 오류를 처리한 다음, 영향을 받는 호스트, 사용자, 프로세스, 네트워크 활동, 보안 결과에 관한 세부정보를 비롯한 관련 필드를 추출하여 UDM 구조에 매핑합니다.

시작하기 전에

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

  • Google SecOps 인스턴스
  • Tanium Core Platform 7.0 이상
  • Tanium Threat Response 모듈이 설치되고 구성됨
  • 유효한 라이선스로 설치된 Tanium Connect 모듈
  • 조사 기능을 위한 Tanium Direct Connect 1.9.30 이상
  • 관리 권한이 있는 Tanium Console에 대한 권한 액세스
  • AWS (S3, IAM)에 대한 관리자 액세스

Tanium Threat Response 서비스 계정 구성

  1. Tanium Console에 로그인합니다.
  2. 모듈 > 위협 대응으로 이동합니다.
  3. 오른쪽 상단에서 설정을 클릭합니다.
  4. 서비스 계정 섹션에서 다음을 구성합니다.
    • 서비스 계정 사용자: 적절한 위협 대응 권한이 있는 사용자를 선택합니다.
    • 계정에 연결 사용자 역할 권한이 있는지 확인합니다.
    • 위협 대응 알림 및 조사 데이터에 대한 액세스를 확인합니다.
  5. 저장을 클릭하여 서비스 계정 구성을 적용합니다.

Tanium Threat Response 필수 구성요소 수집

  1. 관리자로 Tanium Console에 로그인합니다.
  2. 관리 > 권한 > 사용자로 이동합니다.
  3. 다음 역할이 있는 서비스 계정 사용자를 만들거나 식별합니다.
    • 위협 대응 관리자 또는 위협 대응 읽기 전용 사용자 역할
    • Connect User 역할 권한
    • 모니터링 중인 컴퓨터 그룹에 대한 액세스 권한 (권장: 모든 컴퓨터 그룹)
    • 위협 대응 콘텐츠 세트에 대한 저장된 질문 읽기 권한

Google SecOps용 AWS S3 버킷 및 IAM 구성

  1. 이 사용자 가이드(버킷 만들기)에 따라 Amazon S3 버킷을 만듭니다.
  2. 나중에 참조할 수 있도록 버킷 이름리전을 저장합니다 (예: tanium-threat-response-logs).
  3. 이 사용자 가이드(IAM 사용자 만들기)에 따라 사용자를 만듭니다.
  4. 생성된 사용자를 선택합니다.
  5. 보안 사용자 인증 정보 탭을 선택합니다.
  6. 액세스 키 섹션에서 액세스 키 만들기를 클릭합니다.
  7. 사용 사례서드 파티 서비스를 선택합니다.
  8. 다음을 클릭합니다.
  9. 선택사항: 설명 태그를 추가합니다.
  10. 액세스 키 만들기를 클릭합니다.
  11. CSV 파일 다운로드를 클릭하여 나중에 사용할 수 있도록 액세스 키비밀 액세스 키를 저장합니다.
  12. 완료를 클릭합니다.
  13. 권한 탭을 선택합니다.
  14. 권한 정책 섹션에서 권한 추가를 클릭합니다.
  15. 권한 추가를 선택합니다.
  16. 정책 직접 연결을 선택합니다.
  17. AmazonS3FullAccess 정책을 검색하여 선택합니다.
  18. 다음을 클릭합니다.
  19. 권한 추가를 클릭합니다.

Tanium Connect AWS S3 대상 구성

  1. Tanium Console에 로그인합니다.
  2. 모듈 > 연결로 이동합니다.
  3. 연결 만들기를 클릭합니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 이름: 설명이 포함된 이름을 입력합니다 (예: Threat Response Alerts to S3 for SecOps).
    • 설명: 선택사항인 설명입니다 (예: Export threat detection alerts and investigation findings to AWS S3 for Google SecOps ingestion).
    • 사용 설정: 연결이 일정에 따라 실행되도록 사용 설정하려면 선택합니다.
  5. 다음을 클릭합니다.

연결 소스 구성

  1. 소스 섹션에서 다음 구성 세부정보를 제공합니다.
    • 소스 유형: 저장된 질문을 선택합니다.
    • 저장된 질문: 다음 위협 대응 관련 저장된 질문 중 하나를 선택합니다.
      • 위협 감지 알림의 경우 위협 대응 - 알림
      • 조사 결과에 대한 위협 대응 - 조사 결과
      • 위협 인텔리전스 일치의 경우 위협 대응 - 인텔 일치
      • 의심스러운 엔드포인트 활동에 대한 위협 대응 - 엔드포인트 활동
      • 네트워크 기반 위협의 경우 위협 대응 - 네트워크 연결을 참고하세요.
    • 컴퓨터 그룹: 모든 컴퓨터 또는 모니터링할 특정 컴퓨터 그룹을 선택합니다.
    • 새로고침 간격: 데이터 수집에 적절한 간격을 설정합니다 (예: 위협 알림의 경우 10분).
  2. 다음을 클릭합니다.

AWS S3 대상 구성

  1. 대상 섹션에서 다음 구성 세부정보를 제공합니다.
    • 대상 유형: AWS S3를 선택합니다.
    • 대상 이름: 고유한 이름을 입력합니다 (예: Google SecOps ThreatResponse S3 Destination).
    • AWS 액세스 키: AWS S3 구성 단계에서 다운로드한 CSV 파일의 AWS 액세스 키를 입력합니다.
    • AWS 보안 비밀 액세스 키: AWS S3 구성 단계에서 다운로드한 CSV 파일의 AWS 보안 비밀 액세스 키를 입력합니다.
    • 버킷 이름: S3 버킷 이름 (예: tanium-threat-response-logs)을 입력합니다.
    • 리전: S3 버킷이 있는 AWS 리전을 선택합니다.
    • 키 접두사: S3 객체의 접두사를 입력합니다 (예: tanium/threat-response/).
  2. 다음을 클릭합니다.

필터 구성

  1. 필터 섹션에서 데이터 필터링 옵션을 구성합니다.
    • 새 항목만 전송: 마지막 내보내기 이후의 새 위협 알림만 전송하려면 이 옵션을 선택합니다.
    • 열 필터: 필요한 경우 특정 알림 속성을 기반으로 필터를 추가합니다 (예: 알림 심각도, 위협 유형, 조사 상태별로 필터링).
  2. 다음을 클릭합니다.

AWS S3용 데이터 형식 지정

  1. 형식 섹션에서 데이터 형식을 구성합니다.
    • 형식: JSON을 선택합니다.
    • 옵션:
      • 헤더 포함: JSON 출력에 헤더가 포함되지 않도록 하려면 선택 해제합니다.
      • 빈 셀 포함: 환경설정에 따라 선택합니다.
    • 고급 옵션:
      • 파일 이름 지정: 기본 타임스탬프 기반 이름 지정을 사용합니다.
      • 압축: 스토리지 비용과 전송 시간을 줄이려면 Gzip을 선택합니다.
  2. 다음을 클릭합니다.

연결 예약

  1. 일정 섹션에서 내보내기 일정을 구성합니다.
    • 일정 사용 설정: 자동 예약 내보내기를 사용 설정하려면 선택합니다.
    • 일정 유형: 반복을 선택합니다.
    • 빈도: 적시에 위협에 대응할 수 있도록 10분마다를 선택합니다.
    • 시작 시간: 첫 번째 내보내기에 적절한 시작 시간을 설정합니다.
  2. 다음을 클릭합니다.

연결 저장 및 확인

  1. 요약 화면에서 연결 구성을 검토합니다.
  2. Save(저장)를 클릭하여 연결을 만듭니다.
  3. 연결 테스트를 클릭하여 구성을 확인합니다.
  4. 테스트가 완료되면 지금 실행을 클릭하여 초기 내보내기를 실행합니다.
  5. 연결 개요 페이지에서 연결 상태를 모니터링합니다.

Tanium Threat Response 로그를 수집하도록 Google SecOps에서 피드 구성

  1. SIEM 설정> 피드로 이동합니다.
  2. + 새 피드 추가를 클릭합니다.
  3. 피드 이름 필드에 피드 이름을 입력합니다 (예: Tanium Threat Response logs).
  4. 소스 유형으로 Amazon S3 V2를 선택합니다.
  5. 로그 유형으로 Tanium 위협 대응을 선택합니다.
  6. 다음을 클릭합니다.
  7. 다음 입력 파라미터의 값을 지정합니다.
    • S3 URI: s3://tanium-threat-response-logs/tanium/threat-response/
    • 소스 삭제 옵션: 환경설정에 따라 삭제 옵션을 선택합니다.
    • 최대 파일 기간: 지난 일수 동안 수정된 파일을 포함합니다. 기본값은 180일입니다.
    • 액세스 키 ID: S3 버킷에 대한 액세스 권한이 있는 사용자 액세스 키입니다.
    • 보안 비밀 액세스 키: S3 버킷에 액세스할 수 있는 사용자 보안 비밀 키입니다.
    • 애셋 네임스페이스: 애셋 네임스페이스입니다.
    • 수집 라벨: 이 피드의 이벤트에 적용된 라벨입니다.
  8. 다음을 클릭합니다.
  9. 확정 화면에서 새 피드 구성을 검토한 다음 제출을 클릭합니다.

UDM 매핑 테이블

로그 필드 UDM 매핑 논리
알림 ID security_result.rule_instance 이 필드의 값은 원시 로그의 'Alert Id' 필드에서 가져옵니다.
컴퓨터 IP principal.ip 이 필드의 값은 원시 로그의 '컴퓨터 IP' 필드에서 가져옵니다.
컴퓨터 IP target.ip 이 필드의 값은 원시 로그의 '컴퓨터 IP' 필드에서 가져옵니다.
컴퓨터 이름 principal.hostname 이 필드의 값은 원시 로그의 '컴퓨터 이름' 필드에서 가져옵니다.
컴퓨터 이름 target.hostname 이 필드의 값은 원시 로그의 '컴퓨터 이름' 필드에서 가져옵니다.
id target.resource.attribute.labels 이 필드의 값은 원시 로그의 'id' 필드에서 가져옵니다. 키는 'id'로 하드코딩됩니다.
Intel ID security_result.rule_id 이 필드의 값은 원시 로그의 'Intel Id' 필드에서 가져옵니다.
Intel 라벨 security_result.description 이 필드의 값은 원시 로그의 'Intel Labels' 필드에서 가져옵니다.
Intel 이름 security_result.summary 이 필드의 값은 원시 로그의 'Intel Name' 필드에서 가져옵니다.
Intel 이름 security_result.threat_name 이 필드의 값은 원시 로그의 'Intel Name' 필드에서 가져옵니다.
인텔 유형 security_result.rule_type 이 필드의 값은 원시 로그의 'Intel Type' 필드에서 가져옵니다.
MatchDetails.finding.system_info.bits principal.asset.platform_software.bits 이 필드의 값은 원시 로그의 'MatchDetails.finding.system_info.bits' 필드에서 가져옵니다.
MatchDetails.finding.system_info.os principal.asset.platform_software.platform_version 이 필드의 값은 원시 로그의 'MatchDetails.finding.system_info.os' 필드에서 가져옵니다.
MatchDetails.finding.system_info.patch_level principal.asset.platform_software.platform_patch_level 이 필드의 값은 원시 로그의 'MatchDetails.finding.system_info.patch_level' 필드에서 가져옵니다.
MatchDetails.finding.system_info.platform principal.asset.platform_software.platform 이 필드의 값은 원시 로그의 'MatchDetails.finding.system_info.platform' 필드에서 가져옵니다.
MatchDetails.match.contexts.0.event.registrySet.keyPath target.registry.registry_key 이 필드의 값은 원시 로그의 'MatchDetails.match.contexts.0.event.registrySet.keyPath' 필드에서 가져옵니다.
MatchDetails.match.contexts.0.event.registrySet.valueName target.registry.registry_value_name 이 필드의 값은 원시 로그의 'MatchDetails.match.contexts.0.event.registrySet.valueName' 필드에서 가져옵니다.
MatchDetails.match.properties.args security_result.about.process.command_line 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.args' 필드에서 가져옵니다.
MatchDetails.match.properties.file.fullpath target.process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.file.md5 target.process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.file.sha1 target.process.file.sha1 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.file.sha1' 필드에서 가져옵니다.
MatchDetails.match.properties.file.sha256 target.process.file.sha256 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.file.sha256' 필드에서 가져옵니다.
MatchDetails.match.properties.fullpath target.process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.local_port principal.port 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.local_port' 필드에서 가져옵니다.
MatchDetails.match.properties.md5 target.process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.args security_result.about.process.command_line 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.args' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.file.fullpath target.process.parent_process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.file.md5 target.process.parent_process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.file.fullpath target.process.parent_process.parent_process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.file.md5 target.process.parent_process.parent_process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.file.fullpath target.process.parent_process.parent_process.parent_process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.file.md5 target.process.parent_process.parent_process.parent_process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.file.fullpath target.process.parent_process.parent_process.parent_process.parent_process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.file.md5 target.process.parent_process.parent_process.parent_process.parent_process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.parent.file.fullpath target.process.parent_process.parent_process.parent_process.parent_process.parent_process.file.full_path 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.parent.file.fullpath' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.parent.file.md5 target.process.parent_process.parent_process.parent_process.parent_process.parent_process.file.md5 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.parent.file.md5' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.pid target.process.parent_process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.pid target.process.parent_process.parent_process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.pid target.process.parent_process.parent_process.parent_process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.pid target.process.parent_process.parent_process.parent_process.parent_process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.parent.parent.parent.parent.parent.pid target.process.parent_process.parent_process.parent_process.parent_process.parent_process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.parent.parent.parent.parent.parent.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.pid target.process.pid 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.pid' 필드에서 가져옵니다.
MatchDetails.match.properties.protocol network.ip_protocol 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.protocol' 필드에서 가져옵니다.
MatchDetails.match.properties.remote_ip target.ip 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.remote_ip' 필드에서 가져옵니다.
MatchDetails.match.properties.remote_port target.port 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.remote_port' 필드에서 가져옵니다.
MatchDetails.match.properties.sha1 target.process.file.sha1 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.sha1' 필드에서 가져옵니다.
MatchDetails.match.properties.sha256 target.process.file.sha256 이 필드의 값은 원시 로그의 'MatchDetails.match.properties.sha256' 필드에서 가져옵니다.
MatchDetails.match.properties.user target.administrative_domain 도메인 이름은 백슬래시 문자 ('')를 찾아 원시 로그의 'MatchDetails.match.properties.user' 필드에서 추출됩니다. 백슬래시 앞의 문자는 도메인 이름으로 간주됩니다.
MatchDetails.match.properties.user target.user.userid 사용자 이름은 백슬래시 문자 ('')를 찾아 원시 로그의 'MatchDetails.match.properties.user' 필드에서 추출됩니다. 백슬래시 뒤의 문자는 사용자 이름으로 간주됩니다.
MITRE 기법 security_result.threat_id 이 필드의 값은 원시 로그의 'MITRE Techniques' 필드에서 가져옵니다.
params security_result.detection_fields 이 필드의 값은 원시 로그의 'params' 필드에서 가져옵니다. 키는 'params_'에 매개변수의 색인을 연결하여 하드 코딩됩니다.
타임스탬프 metadata.event_timestamp 이 필드의 값은 원시 로그의 '타임스탬프' 필드에서 가져옵니다.
해당 사항 없음 is_alert 이 필드는 원시 로그의 '컴퓨터 IP' 필드가 비어 있지 않은 경우 'true'로 하드코딩됩니다.
해당 사항 없음 metadata.log_type 이 필드는 'TANIUM_THREAT_RESPONSE'로 하드코딩됩니다.
해당 사항 없음 metadata.product_event_type 이 필드는 'Tanium Signal'로 하드코딩되어 있습니다.
해당 사항 없음 metadata.product_name 이 필드는 '위협 대응'으로 하드코딩되어 있습니다.
해당 사항 없음 metadata.vendor_name 이 필드는 'Tanium'으로 하드코딩되어 있습니다.
해당 사항 없음 network.http.method 이 필드는 원시 로그의 'method' 필드 값이 'submit'인 경우 'POST'로 하드코딩됩니다.

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