Sophos Firewall(SFOS) 로그 수집

다음에서 지원:

이 문서에서는 Bindplane을 사용하여 Sophos 방화벽 로그를 Google Security Operations로 수집하는 방법을 설명합니다. Sophos Firewall(SFOS)은 네트워크 보안, 웹 필터링, 애플리케이션 제어, IPS, VPN, 지능형 위협 보호를 제공하는 차세대 방화벽입니다. SFOS는 Sophos XGS 시리즈 하드웨어 어플라이언스, 가상 및 Cloud Deploy에서 실행되며 방화벽 규칙, 웹 필터링, IPS 이벤트, 인증, VPN 연결, 시스템 활동에 대한 상세 로그를 생성합니다.

자세한 내용은 Sophos Firewall 로그 수집을 참조하세요.

시작하기 전에

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

  • Google SecOps 인스턴스
  • Windows 2016 이상 또는 systemd가 있는 Linux 호스트
  • 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
  • 관리자 역할로 Sophos Firewall 웹 관리 콘솔에 대한 권한 있는 액세스 권한을 부여합니다.
  • SFOS v18 이상을 실행하는 Sophos Firewall

Bindplane 에이전트의 Google SecOps 사용자 인증 정보 가져오기

Google SecOps에 Bindplane 에이전트를 인증하려면 다음 방법 중 하나를 선택합니다.

  • 새 배포: Chronicle API를 사용합니다(옵션 1).
  • 기존 배포: 2027년 7월 20일에 Ingestion API가 중단될 때까지 데이터 수집 인증 파일(옵션 2)을 계속 사용합니다.
  1. Google Cloud 콘솔에 로그인하고 Google SecOps 인스턴스에 연결된 Google Cloud 프로젝트를 선택합니다.
  2. IAM 및 관리자 > 서비스 계정으로 이동합니다.
  3. 서비스 계정 만들기를 클릭합니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 서비스 계정 이름: 계정 이름을 입력합니다(예: bindplane-ingest).
    • 서비스 계정 설명: 설명을 입력합니다(예: Bindplane agent log ingestion).
  5. 만들고 계속하기를 클릭합니다.
  6. 이 서비스 계정에 프로젝트에 대한 액세스 권한 부여 섹션에서 역할 선택을 클릭하고 Chronicle 편집자를 선택합니다.
  7. 계속을 클릭한 다음 완료를 클릭합니다.
  8. 만든 서비스 계정을 클릭한 다음 키 탭으로 이동합니다.
  9. 키 추가 > 새 키 만들기를 클릭합니다.
  10. JSON을 선택하고 만들기를 클릭합니다. 키 파일이 컴퓨터에 다운로드됩니다.
  11. 키 파일을 Bindplane 수집기 디렉터리(Linux의 경우 /opt/observiq-otel-collector/ingestion-auth.json, Windows의 경우 C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json)에 ingestion-auth.json로 저장하거나 config.yaml의 creds_file_path를 업데이트하여 저장한 경로와 일치시킵니다.
  12. IAM 및 관리자 > 설정으로 이동하여 프로젝트 번호를 복사합니다. 내보내기 도구 구성에 필요합니다.

옵션 2: 데이터 수집 인증 파일 다운로드(기존)

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

    receivers:
      udplog:
        listen_address: "0.0.0.0:514"
    
    exporters:
      chronicle/sophos_firewall:
        protocol: https
        # Region of your instance, for example us, europe, asia-southeast1
        location: <LOCATION>
        # Project number of the Google Cloud project linked to the instance
        project: '<PROJECT_NUMBER>'
        compression: gzip
        creds_file_path: '/path/to/ingestion-authentication-file.json'
        customer_id: '<CUSTOMER_ID>'
        endpoint: chronicle.googleapis.com
        log_type: SOPHOS_FIREWALL
        raw_log_field: body
        ingestion_labels:
    
    service:
      pipelines:
        logs/sophos_fw_to_chronicle:
          receivers:
            - udplog
          exporters:
            - chronicle/sophos_firewall
    
  • 인프라에서 필요한 대로 포트와 IP 주소를 바꿉니다.
  • <LOCATION>을 Google SecOps 인스턴스의 리전(예: us, europe 또는 asia-southeast1)으로 바꿉니다. 내보내기 도구는 이 값으로 chronicle.googleapis.com에 프리픽스를 추가합니다.
  • <PROJECT_NUMBER>를 IAM 및 관리자 > 설정의 프로젝트 번호로 바꿉니다.
  • <CUSTOMER_ID>를 실제 고객 ID로 바꿉니다.
  • /path/to/ingestion-authentication-file.json을 서비스 계정 키 파일(옵션 1)이 저장된 경로로 업데이트합니다.

기존 수집 API 내보내기 도구

  • 옵션 2의 데이터 수집 인증 파일을 사용하는 경우 exporters 블록을 다음으로 바꿉니다. creds_file_path를 데이터 수집 인증 파일의 경로로 설정하고 인스턴스가 미국 외부에 있는 경우 malachiteingestion-pa.googleapis.com를 리전 엔드포인트(예: europe-malachiteingestion-pa.googleapis.com)로 바꿉니다.

    exporters:
      chronicle/sophos_firewall:
        compression: gzip
        creds_file_path: '/path/to/ingestion-authentication-file.json'
        customer_id: '<CUSTOMER_ID>'
        endpoint: malachiteingestion-pa.googleapis.com
        log_type: SOPHOS_FIREWALL
        raw_log_field: body
        ingestion_labels:
    

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

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

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

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

Sophos Firewall에서 syslog 전달 구성

시스템로그 서버 추가

  1. Sophos Firewall 웹 관리 콘솔에 로그인합니다.
  2. 시스템 서비스 > 로그 설정으로 이동합니다.
  3. Syslog 서버 섹션까지 아래로 스크롤합니다.
  4. 추가를 클릭하여 새 시스템로그 서버를 추가합니다.

  5. 다음 구성 세부정보를 제공합니다.

    • 이름: 설명이 포함된 이름을 입력합니다(예: Bindplane-SecOps).
    • IP 주소/도메인: Bindplane 에이전트 호스트의 IP 주소를 입력합니다.
    • 포트: 514(또는 구성된 포트)를 입력합니다.
    • 기능: DAEMON을 선택합니다.
    • 심각도 수준: 정보를 선택합니다(포괄적인 로깅에 권장).
    • 형식: 기기 표준 형식을 선택합니다.
  6. 저장을 클릭합니다.

전달할 로그 유형 선택

  1. Syslog 서버 섹션에서 Syslog 서버 항목 Bindplane-SecOps를 클릭합니다.
  2. 로그 유형 섹션에서 전달할 로그 카테고리를 사용 설정합니다.

    • 방화벽: 방화벽 규칙 적중, 삭제된 트래픽, 허용된 연결
    • IPS: 침입 방지 시스템 알림 및 이벤트입니다.
    • 바이러스 백신: 멀웨어 감지 이벤트
    • 스팸 방지: 스팸 감지 및 필터링 이벤트
    • thought 콘텐츠 필터링: 웹 필터링 및 URL 분류 이벤트
    • 이벤트: 시스템 이벤트, 인증, 관리 활동
    • 웹 서버 보호: WAF 이벤트
    • 지능형 위협 보호: Sandstorm 및 ATP 감지 이벤트입니다.
    • 무선: 무선 액세스 포인트 이벤트(해당하는 경우)
    • 하트비트: Sophos Security 하트비트 상태 변경(동기화된 보안이 사용 설정된 경우)
    • 시스템 상태: 하드웨어 및 소프트웨어 상태 이벤트입니다.
    • 인증: 사용자 및 관리자 인증 이벤트
    • 관리자: 관리 콘솔 활동입니다.
  3. 적용을 클릭합니다.

syslog 전달 확인

  1. Sophos Firewall 웹 관리 콘솔에서 로그 뷰어로 이동합니다.
  2. 로그 항목이 생성되고 있는지 확인합니다.
  3. Bindplane 에이전트 로그를 확인하여 syslog 메시지가 수신되는지 확인합니다.

    sudo journalctl -u observiq-otel-collector -f
    

자세한 내용은 Sophos Firewall syslog 문서를 참조하세요.

UDM 매핑 테이블

로그 필드 UDM 매핑 로직
device_id intermediary.asset.asset_id 직접 매핑됨
device_serial_id intermediary.asset.asset_id 직접 매핑됨
device_model intermediary.hostname 직접 매핑됨
device_name intermediary.hostname 직접 매핑됨
log_msg metadata.description 직접 매핑됨
date_time metadata.event_timestamp yyyy-MM-dd HH:mm:ss Z(으)로 파싱됨
timestamp metadata.event_timestamp yyyy-MM-ddTHH:mm:ssZ(으)로 파싱됨
log_component metadata.product_event_type 직접 매핑됨
log_id metadata.product_log_id 직접 매핑됨
client_physical_address network.dhcp.chaddr 직접 매핑됨
ipaddress network.dhcp.ciaddr 직접 매핑됨
client_host_name network.dhcp.client_hostname 직접 매핑됨
user_agent network.http.parsed_user_agent 이름 변경/매핑됨
referer network.http.referral_url 직접 매핑됨
http_status network.http.response_code 이름 변경/매핑됨
status_code network.http.response_code 이름 변경/매핑됨
user_agent network.http.user_agent 직접 매핑됨
ip_protocol_out network.ip_protocol 직접 매핑됨
bytes_received network.received_bytes 이름 변경/매핑됨
recv_bytes network.received_bytes 이름 변경/매핑됨
packets_received network.received_packets 이름 변경/매핑됨
recv_pkts network.received_packets 이름 변경/매핑됨
bytes_sent network.sent_bytes 이름 변경/매핑됨
sent_bytes network.sent_bytes 이름 변경/매핑됨
packets_sent network.sent_packets 이름 변경/매핑됨
sent_pkts network.sent_packets 이름 변경/매핑됨
duration network.session_duration.seconds 이름 변경/매핑됨
domain principal.administrative_domain 이름 변경/매핑됨
app_name principal.application 직접 매핑됨
application principal.application 직접 매핑됨
ipaddress principal.ip 병합됨
src_ip principal.ip 병합됨
src_country principal.location.country_or_region 직접 매핑됨
src_country_code principal.location.country_or_region 직접 매핑됨
src_mac principal.mac 병합됨
src_trans_ip principal.nat_ip 병합됨
tran_src_ip principal.nat_ip 병합됨
src_trans_port principal.nat_port 이름 변경/매핑됨
tran_src_port principal.nat_port 이름 변경/매핑됨
src_port principal.port 이름 변경/매핑됨
user_name principal.user.email_addresses 매핑됨: .*?@.* → user_name
user_name principal.user.userid 직접 매핑됨
action security_result.action 병합됨
status security_result.action_details 직접 매핑됨
_about0 security_result.detection_fields 병합됨
_about2 security_result.detection_fields 병합됨
activityname_label security_result.detection_fields 병합됨
appCategory_label security_result.detection_fields 병합됨
appTech_label security_result.detection_fields 병합됨
app_filter_policy_id_label security_result.detection_fields 병합됨
app_is_cloud_label security_result.detection_fields 병합됨
app_resolved_by_label security_result.detection_fields 병합됨
category_type_label security_result.detection_fields 병합됨
con_event_label security_result.detection_fields 병합됨
con_id_label security_result.detection_fields 병합됨
connevent_label security_result.detection_fields 병합됨
connid_label security_result.detection_fields 병합됨
dst_zone_type_label security_result.detection_fields 병합됨
dstzonetype_label security_result.detection_fields 병합됨
ether_type_label security_result.detection_fields 병합됨
exceptions_label security_result.detection_fields 병합됨
gw_id_request_label security_result.detection_fields 병합됨
gw_name_request_label security_result.detection_fields 병합됨
hb_health_label security_result.detection_fields 병합됨
hb_status_label security_result.detection_fields 병합됨
http_category_label security_result.detection_fields 병합됨
http_category_type_label security_result.detection_fields 병합됨
in_display_interface_label security_result.detection_fields 병합됨
in_interface_label security_result.detection_fields 병합됨
log_component_label security_result.detection_fields 병합됨
log_occurrence_label security_result.detection_fields 병합됨
log_subtype_label security_result.detection_fields 병합됨
log_type_label security_result.detection_fields 병합됨
log_version_label security_result.detection_fields 병합됨
nat_rule_id_label security_result.detection_fields 병합됨
nat_rule_name_label security_result.detection_fields 병합됨
out_display_interface_label security_result.detection_fields 병합됨
out_interface_label security_result.detection_fields 병합됨
qualifier_label security_result.detection_fields 병합됨
reason_label security_result.detection_fields 병합됨
risk_label security_result.detection_fields 병합됨
src_zone_type_label security_result.detection_fields 병합됨
srczonetype_label security_result.detection_fields 병합됨
used_quota_label security_result.detection_fields 병합됨
web_policy_id_label security_result.detection_fields 병합됨
fw_rule_id security_result.rule_id 직접 매핑됨
fw_rule_name security_result.rule_name 직접 매핑됨
fw_rule_section security_result.rule_set 직접 매핑됨
fw_rule_type security_result.rule_type 직접 매핑됨
priority security_result.severity 매핑됨: "INFORMATION", "NOTIFICATION", "NOTICE" → INFORMATIONAL, "ERROR","WARNING" → `…
reason security_result.summary 직접 매핑됨
domain target.hostname 직접 매핑됨
dst_ip target.ip 병합됨
dst_country target.location.country_or_region 직접 매핑됨
dst_country_code target.location.country_or_region 직접 매핑됨
dst_mac target.mac 병합됨
dst_trans_ip target.nat_ip 병합됨
tran_dst_ip target.nat_ip 병합됨
dst_trans_port target.nat_port 이름 변경/매핑됨
tran_dst_port target.nat_port 이름 변경/매핑됨
dst_port target.port 이름 변경/매핑됨
url target.url 직접 매핑됨
해당 사항 없음 extensions.auth.type 상수: VPN
해당 사항 없음 metadata.event_type 상수: NETWORK_HTTP
해당 사항 없음 metadata.product_name 상수: SOPHOS Firewall
해당 사항 없음 metadata.vendor_name 상수: SOPHOS
해당 사항 없음 network.application_protocol 상수: DHCP
해당 사항 없음 security_result.severity 상수: INFORMATIONAL
date_time event.idm.read_only_udm.metadata.event_timestamp 변경 로그에서 매핑됨
referer network.http.referer_url 변경 로그에서 매핑됨
device_serial_id principal.asset.asset_id 변경 로그에서 매핑됨
application_category, application_risk and application_technology security_result.detection_fields 변경 로그에서 매핑됨
user_name event.idm.read_only_udm.principal.user.userid 변경 로그에서 매핑됨
device_id event.idm.read_only_udm.principal.asset.asset_id 변경 로그에서 매핑됨

변경 로그

이 파서의 변경 로그 보기

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