Aruba IPS 로그 수집

파서 버전: 3.0

다음에서 지원:

이 문서에서는 Bindplane 에이전트를 사용하여 Aruba IPS 로그를 Google Security Operations로 수집하는 방법을 설명합니다. 파서는 JSON 형식 로그에서 이벤트, 알림, 불량 AP, WIDS AP 정보를 추출합니다. 필드를 매핑하고, 다양한 이벤트 유형 (사용자 로그인/로그아웃, 네트워크 이벤트, 보안 이벤트)을 처리하고, 채널, SSID, BSSID, 심각도와 같은 컨텍스트 정보로 데이터를 보강하여 원시 로그 데이터를 UDM으로 변환합니다. 파서는 또한 타임스탬프 정규화와 잘못된 형식의 JSON에 대한 오류 처리를 수행합니다.

시작하기 전에

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

  • Google SecOps 인스턴스
  • systemd가 설치된 Windows 2016 이상 또는 Linux 호스트
  • 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
  • Aruba 기기 관리 콘솔 또는 CLI에 대한 권한 있는 액세스

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

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

  • 새 배포: Chronicle API를 사용합니다 (옵션 1).
  • 기존 배포: 2027년 7월 20일에 수집 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" /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:
      udplog:
        # Replace the port and IP address as required
        listen_address: "0.0.0.0:514"
    
    exporters:
      chronicle/chronicle_w_labels:
        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
        # 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: YOUR_CUSTOMER_ID_HERE
        endpoint: chronicle.googleapis.com
        # Add optional ingestion labels for better organization
        log_type: 'ARUBA_IPS'
        raw_log_field: body
        ingestion_labels:
    
    service:
      pipelines:
        logs/source0__chronicle_w_labels-0:
          receivers:
            - udplog
          exporters:
            - chronicle/chronicle_w_labels
    
    • 인프라에 필요한 대로 포트와 IP 주소를 바꿉니다.
    • YOUR_CUSTOMER_ID_HERE를 실제 고객 ID로 바꿉니다.
    • 1단계에서 서비스 계정 키 파일 (옵션 1)이 저장된 파일 경로로 /path/to/ingestion-authentication-file.json을 업데이트합니다.
    • <LOCATION>을 Google SecOps 인스턴스의 리전 (예: us, europe 또는 asia-southeast1)으로 바꿉니다. 내보내기 도구는 이 값으로 chronicle.googleapis.com 프리픽스를 지정합니다. 전체 목록은 리전 엔드포인트를 참고하세요.
    • <PROJECT_NUMBER>를 IAM 및 관리자 > 설정의 프로젝트 번호로 바꿉니다.

기존 수집 API 내보내기 도구

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

    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: YOUR_CUSTOMER_ID_HERE
        endpoint: malachiteingestion-pa.googleapis.com
        # Add optional ingestion labels for better organization
        log_type: 'ARUBA_IPS'
        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
    

Aruba 기기에서 Syslog 전달 구성

Aruba 기기 유형에 따라 구성 방법을 선택합니다.

옵션 A: Aruba 컨트롤러 (AOS-8)

  1. Aruba Controller 웹 인터페이스에 로그인합니다.
  2. 관리형 네트워크 노드 계층 구조에서 구성 > 시스템 > 로깅 > Syslog 서버로 이동합니다.
  3. 로깅 서버를 추가하려면 시스템로그 서버 섹션에서 +를 클릭합니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 서버 IP 주소: Bindplane 에이전트 IP 주소를 입력합니다.
    • 포트: 514 (또는 Bindplane에서 구성된 포트)을 입력합니다.
    • 프로토콜: Bindplane 에이전트 구성에 따라 UDP 또는 TCP를 선택합니다.
  5. 적용을 클릭합니다.
  6. 로깅할 메시지 유형을 선택하려면 로깅 수준을 선택합니다.
  7. 기록할 카테고리 또는 하위 카테고리를 선택합니다.
  8. 카테고리 또는 하위 카테고리의 심각도 수준을 선택하려면 로깅 수준 드롭다운 목록에서 수준을 선택합니다.
  9. 형식 드롭다운 목록에서 로깅 형식 CEF 또는 BSD 표준을 선택합니다.
    • 구조화된 로깅에는 ArcSight CEF (Common Event Format)가 권장됩니다.
  10. 제출을 클릭합니다.
  11. 대기 중인 변경사항을 클릭합니다.
  12. 대기 중인 변경사항 창에서 체크박스를 선택하고 변경사항 배포를 클릭합니다.

옵션 B: Aruba Instant AP

WebUI 사용

  1. Aruba Instant 웹 인터페이스에 로그인합니다.
  2. Instant 기본 창에서 System 링크를 클릭합니다.
  3. 고급 옵션 표시를 클릭하여 고급 옵션을 표시합니다.
  4. 모니터링 탭을 클릭합니다.
    • 모니터링 탭 세부정보가 표시됩니다.
  5. 서버 섹션에 있는 시스템로그 서버 텍스트 상자에 Bindplane 에이전트의 IP 주소를 입력합니다.
  6. Syslog 시설 수준 섹션에서 필요한 값을 선택하여 syslog 시설 수준을 구성합니다.
    • Syslog 수준: Syslog 수준에 관한 자세한 로그입니다.
    • AP-Debug: Instant AP 기기에 관한 자세한 로그입니다.
    • 네트워크: 네트워크 변경에 관한 로그입니다(예: 새 Instant AP가 네트워크에 추가된 경우).
    • 보안: 네트워크 보안에 관한 로그입니다(예: 클라이언트가 잘못된 비밀번호를 사용하여 연결하는 경우).
    • 시스템: 구성 및 시스템 상태에 관한 로그입니다.
    • 사용자: 클라이언트에 관한 중요한 로그입니다.
    • User-Debug: 클라이언트에 관한 세부 로그입니다.
    • 무선: 무선에 관한 로그입니다.
  7. 확인을 클릭하여 구성을 저장합니다.

CLI 사용

  1. Aruba Instant AP CLI에 로그인합니다.
  2. 구성 모드로 진입합니다.

    configure terminal
    
  3. syslog 서버 및 수준을 구성합니다.

    syslog-server <BINDPLANE_IP_ADDRESS>
    syslog-level warnings
    
    • <BINDPLANE_IP_ADDRESS>를 Bindplane 에이전트 호스트의 IP 주소로 바꿉니다.
    • 필요에 따라 심각도 수준을 조정합니다.

옵션 C: Aruba AOS-S (스위치)

  1. Aruba AOS-S 스위치 CLI에 로그인합니다.
  2. 구성 모드로 전환합니다.

    configure
    
  3. 시스템로그 서버를 구성합니다.

    logging <BINDPLANE_IP_ADDRESS>
    logging severity warnings
    
    • <BINDPLANE_IP_ADDRESS>를 Bindplane 에이전트 호스트의 IP 주소로 바꿉니다.
    • 필요에 따라 심각도 수준을 조정합니다.
  4. 구성을 저장합니다.

    write memory
    

옵션 D: Aruba Central (온프레미스)

  1. Aruba Central 웹 인터페이스에 로그인합니다.
  2. 시스템 > 시스템 관리 > 알림 > Syslog 서버로 이동합니다.
  3. 추가 또는 사용 설정을 클릭합니다.
  4. 다음 구성 세부정보를 제공합니다.
    • 호스트: Bindplane 에이전트 IP 주소를 입력합니다.
    • 포트: 514 (또는 Bindplane에 구성된 포트)를 입력합니다.
    • 프로토콜: Bindplane 에이전트 구성에 따라 UDP 또는 TCP를 선택합니다.
    • 시설: Local7 또는 필요에 따라 선택합니다.
    • 심각도: 최소 로그 수준을 선택합니다 (예: 경고 또는 정보).
  5. 저장을 클릭합니다.

UDM 매핑 테이블

로그 필드 UDM 매핑 로직
notifications.created_timestamp metadata.event_timestamp.seconds 원시 로그 필드 notifications.created_timestamp가 초로 변환되고 매핑됩니다. 변환 시 나노초가 손실됩니다.
notifications.customer_id metadata.product_log_id 직접 매핑
notifications.device_id principal.resource.product_object_id 직접 매핑
notifications.group_name principal.group.group_display_name 직접 매핑
notifications.id metadata.product_log_id 직접 매핑
notifications.timestamp metadata.event_timestamp.seconds 원시 로그 필드 notifications.timestamp가 초로 변환되어 매핑됩니다.
rogue_aps.acknowledged security_result.detection_fields.value(여기서 security_result.detection_fields.key는 '확인됨') 문자열로 변환되고 매핑되었습니다.
rogue_aps.containment_status metadata.description 직접 매핑
rogue_aps.cust_id metadata.product_log_id 직접 매핑
rogue_aps.encryption security_result.detection_fields.key이 'encryption'인 security_result.detection_fields.value 직접 매핑
rogue_aps.first_det_device principal.resource.product_object_id 직접 매핑
rogue_aps.first_det_device_name principal.hostname 직접 매핑
rogue_aps.first_seen principal.domain.first_seen_time.seconds 날짜로 파싱되고 에포크 이후의 초가 매핑됩니다.
rogue_aps.group_name principal.group.group_display_name 직접 매핑
rogue_aps.id principal.mac 소문자로 변환되고 매핑됩니다.
rogue_aps.labels security_result.detection_fields.key이 'labels'인 security_result.detection_fields.value 직접 매핑
rogue_aps.last_det_device security_result.about.user.product_object_id 직접 매핑
rogue_aps.last_det_device_name target.hostname 직접 매핑
rogue_aps.last_seen principal.domain.last_seen_time.seconds 날짜로 파싱되고 에포크 이후의 초가 매핑됩니다. 있는 경우 이벤트 타임스탬프로도 사용됩니다.
rogue_aps.mac_vendor target.administrative_domain 직접 매핑
rogue_aps.name target.user.userid 직접 매핑
rogue_aps.overriden security_result.detection_fields.value(여기서 security_result.detection_fields.key는 '재정의됨') 문자열로 변환되고 매핑되었습니다.
rogue_aps.signal security_result.detection_fields.value(여기서 security_result.detection_fields.key는 'signal') 문자열로 변환되고 매핑됩니다.
rogue_aps.ssid security_result.detection_fields.key이 'ssid'인 security_result.detection_fields.value 직접 매핑
site principal.location.name 직접 매핑
wids_aps_info_list.attack_type metadata.description 직접 매핑
wids_aps_info_list.detected_ap principal.hostname 직접 매핑
wids_aps_info_list.description security_result.description 직접 매핑 grok을 사용하여 여러 필드를 추출하는 데도 사용됩니다.
wids_aps_info_list.event_time metadata.event_timestamp.seconds 문자열로 변환되며 있는 경우 이벤트 타임스탬프로 사용됩니다.
wids_aps_info_list.event_type metadata.product_event_type 직접 매핑
wids_aps_info_list.macaddr principal.mac 소문자로 변환되고 매핑됩니다.
wids_aps_info_list.radio_band security_result.detection_fields.value(여기서 security_result.detection_fields.key은 'radio_band') 직접 매핑
wids_aps_info_list.virtual_controller target.hostname 직접 매핑 notifications.severity가 'Emergency', 'Alert' 또는 'Critical'인 경우 true로 설정합니다. notifications.severity이 'Emergency', 'Alert', 'Critical'인 경우 true로 설정됩니다. events.event_type 또는 notifications.type 필드에 의해 결정되거나 기본값으로 GENERIC_EVENT로 설정됩니다. 여러 매핑이 STATUS_STARTUP, STATUS_SHUTDOWN, STATUS_UPDATE, USER_LOGIN, USER_LOGOUT 로직에서 파생됩니다. 항상 'ARUBA_IPS'로 설정합니다. 항상 'ARUBA_IPS'로 설정됩니다. 항상 'ARUBA'로 설정합니다. events.event_type가 'Client DHCP Acknowledged' 또는 'Client DHCP Timeout'인 경우 'DHCP'로 설정합니다. events.event_type가 'Client DHCP Acknowledged' 또는 'Client DHCP Timeout'인 경우 'BOOTREPLY'로 설정됩니다. events.event_type이 '클라이언트 DHCP 확인'인 경우 grok을 사용하여 events.description에서 추출됩니다. events.event_type가 'Client DHCP Acknowledged'이고 events.description에 IP 주소가 포함된 경우 'ACK'로 설정합니다. 그렇지 않으면 'WIN_EXPIRED'로 설정합니다. events.event_type이 'Radio', 'WLAN', 'AP'로 시작하거나 'Security'인 경우 'ACCESS POINT'로 설정합니다. events.event_type가 'Radio', 'WLAN', 'AP'로 시작하거나 'Security'인 경우 'DEVICE'로 설정합니다. 대부분의 클라이언트 이벤트의 경우 events.client_mac에서 매핑되고, 불량 AP 이벤트의 경우 rogue_aps.last_det_device에서 매핑됩니다. 특정 events.event_type 값의 경우 또는 notifications.description에 'DoS Attack' 또는 'disconnect attack'이 포함된 경우 'AUTH_VIOLATION'으로 설정됩니다. events.event_type 값에 대해 설정합니다. bssid, channel, previous_channel, ssid, previous bssid, acknowledged, overriden, encryption, signal, labels, radio_band과 같은 추출된 필드를 기반으로 여러 키-값 쌍이 추가됩니다. wids 이벤트의 경우 wids_aps_info_list.description에서 매핑됩니다. notifications.severity 또는 wids_aps_info_list.level에 따라 결정됩니다. wids 이벤트의 경우 'level: %{wids_aps_info_list.level}'로 설정됩니다. 특정 events.event_type 값으로 설정됩니다. 비인가 AP 이벤트의 경우 rogue_aps.mac_vendor에서 매핑됩니다. 불량 AP 이벤트의 경우 rogue_aps.last_det_device_name에서, wids 이벤트의 경우 wids_aps_info_list.virtual_controller에서 매핑됩니다. events.event_type이 'Security'인 경우 grok을 사용하여 events.description에서 추출됩니다. 알림 이벤트의 경우 notifications.client_mac에서, 클라이언트 이벤트의 경우 events.client_mac에서, wids 이벤트의 경우 wids_aps_info_list.description에서 추출된 target_mac에서, 불량 AP 이벤트의 경우 rogue_aps.id에서 매핑됩니다. 대부분의 클라이언트 이벤트에서 'CLIENT'로 설정합니다. 대부분의 클라이언트 이벤트에서 'DEVICE'로 설정합니다. events.event_type가 '보안'인 경우 'ACTIVE'로 설정합니다. 비인가 AP 이벤트의 경우 rogue_aps.name에서 매핑됩니다.
events.bssid security_result.detection_fields.value(security_result.detection_fields.key은 'bssid') 직접 매핑
events.client_mac target.mac 직접 매핑 클라이언트 이벤트의 security_result.about.user.product_object_id 및 '보안' 이벤트의 target.ip을 채우는 데도 사용됩니다.
events.description metadata.description AP 및 무선 이벤트의 직접 매핑 다른 이벤트 유형에 grok을 사용하여 여러 필드를 추출하는 데 사용됩니다.
events.device_mac principal.mac 직접 매핑
events.device_serial principal.resource.product_object_id 직접 매핑
events.events_details.2.channel security_result.detection_fields.value(여기서 security_result.detection_fields.key은 '채널'임) 직접 매핑
events.group_name principal.group.group_display_name 직접 매핑
events.hostname principal.hostname 직접 매핑
events.timestamp metadata.event_timestamp.seconds 문자열로 변환되고 밀리초가 삭제된 후 매핑됩니다. 있는 경우 이벤트 타임스탬프로도 사용됩니다.
timestamp metadata.event_timestamp 다른 타임스탬프 필드가 없는 경우 이벤트 타임스탬프로 사용됩니다. 대부분의 클라이언트 이벤트 및 '보안' 이벤트의 경우 'ACTIVE'로 설정됩니다. events.event_type이 'Client 802.1x Radius Reject'인 경우 'AUTHTYPE_UNSPECIFIED'로 설정됩니다. events.event_type가 '보안'인 경우 grok을 사용하여 events.description에서 추출됩니다.

변경 로그

이 파서의 변경 로그 보기

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