Cisco 무선 침입 방지 시스템 (WIPS) 로그 수집
이 문서에서는 Bindplane을 사용하여 Cisco 무선 침입 방지 시스템 (WIPS) 로그를 Google Security Operations에 수집하는 방법을 설명합니다. 파서는 syslog 메시지에서 키-값 쌍을 추출한 다음 이러한 값을 통합 데이터 모델 (UDM) 필드에 매핑합니다. 주 구성원, 타겟, 사용자 정보의 존재 여부에 따라 적절한 event_type
를 결정하고 eventType
및 기타 필드를 기반으로 보안 이벤트를 분류합니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows 2016 이상 또는
systemd
가 설치된 Linux 호스트 - 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있는지 확인
- Cisco 액세스 포인트 (AP) / 무선 LAN 컨트롤러 (WLC)에 대한 권한 있는 액세스
Google SecOps 수집 인증 파일 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 수집 에이전트로 이동합니다.
- 수집 인증 파일을 다운로드합니다.
- BindPlane이 설치될 시스템에 파일을 안전하게 저장합니다.
Google SecOps 고객 ID 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 프로필로 이동합니다.
- 조직 세부정보 섹션에서 고객 ID를 복사하여 저장합니다.
Bindplane 에이전트 설치
다음 안내에 따라 Windows 또는 Linux 운영체제에 Bindplane 에이전트를 설치합니다.
Windows 설치
- 명령 프롬프트 또는 PowerShell을 관리자로 엽니다.
다음 명령어를 실행합니다.
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
Linux 설치
- 루트 또는 sudo 권한으로 터미널을 엽니다.
다음 명령어를 실행합니다.
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
추가 설치 리소스
추가 설치 옵션은 설치 가이드를 참고하세요.
Syslog를 수집하여 Google SecOps로 전송하도록 Bindplane 에이전트 구성
- 구성 파일에 액세스합니다.
config.yaml
파일을 찾습니다. 일반적으로 Linux에서는/etc/bindplane-agent/
디렉터리에 있고 Windows에서는 설치 디렉터리에 있습니다.- 텍스트 편집기 (예:
nano
,vi
, 메모장)를 사용하여 파일을 엽니다.
다음과 같이
config.yaml
파일을 수정합니다.receivers: udplog: # 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: <customer_id> endpoint: malachiteingestion-pa.googleapis.com # Add optional ingestion labels for better organization log_type: 'CISCO_WIPS' raw_log_field: body ingestion_labels: service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - udplog 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
Cisco Catalyst에서 적응형 무선 침입 방지 시스템 (aWIPS) 구성
- SSH를 사용하여 Cisco Catalyst에 로그인합니다.
AP 프로필에서 aWIPS를 사용 설정하려면 전역 구성을 입력합니다.
configure terminal ap profile <profile-name> awips
syslog 제한 간격을 60초로 구성합니다.
awips-syslog throttle period 60
Cisco AP 프로필을 사용하여 Syslog 구성
AP-join 프로필 (CLI를 통해):
configure terminal ap profile <profile-name> syslog host <Bindplane_IP_address> syslog level informational syslog facility local0 end
Cisco WLC에서 Syslog 구성 (GUI)
- WLC 웹 UI에 로그인합니다.
- 관리 > 로그 > 구성으로 이동합니다.
- Syslog Server IP Address(Syslog 서버 IP 주소) 필드에 Bindplane 에이전트 IP 주소를 입력합니다.
- 추가를 클릭합니다.
- 다음 구성 세부정보를 제공합니다.
- Syslog Severity(Syslog 심각도): Informational(정보)을 선택합니다.
- Syslog Facility(Syslog 기능): Local Use 0(로컬 사용 0)을 선택합니다.
- 적용을 클릭합니다.
- Save Configuration(구성 저장)을 클릭합니다.
WLC (CLI)를 사용하여 액세스 포인트에서 Syslog 구성
전역 AP syslog 호스트:
config ap syslog host global <Bindplane_IP_address>
특정 AP syslog 호스트를 구성합니다.
config ap syslog host specific <AP-name> <Bindplane_IP_address>
AP syslog 심각도를 설정합니다.
config ap logging syslog level informational
AP 메시지 기능을 설정합니다.
config logging syslog facility local0
UDM 매핑 테이블
로그 필드 | UDM 매핑 | 논리 |
---|---|---|
applicationCategoryData |
security_result.summary |
직접 매핑됩니다. |
applicationSpecificAlarmID |
target.resource.attribute.labels.applicationSpecificAlarmID |
대상 리소스의 라벨로 변환되었습니다. |
attackerMacAddr |
target.mac |
직접 매핑됩니다. |
authEntityId |
principal.resource.attribute.labels.authEntityId |
주 구성원 리소스의 라벨로 변환되었습니다. |
category |
security_result.category_details |
직접 매핑됩니다. |
detectingApCount |
target.resource.attribute.labels.detectingApCount |
대상 리소스의 라벨로 변환되었습니다. |
description |
metadata.description |
직접 매핑됩니다. |
displayName |
principal.user.userid |
패턴이 일치하는 경우 displayName 에서 정규 표현식 host/(?P<user_id>[\\w-]+) 을 사용하여 추출됩니다. |
eventType |
metadata.product_event_type |
직접 매핑됩니다. |
instanceId |
principal.resource.attribute.labels.instanceId |
주 구성원 리소스의 라벨로 변환되었습니다. |
instanceUuid |
metadata.product_log_id |
직접 매핑됩니다. |
instanceVersion |
principal.resource.attribute.labels.instanceVersion |
주 구성원 리소스의 라벨로 변환되었습니다. |
macInfo |
target.resource.attribute.labels.macInfo |
대상 리소스의 라벨로 변환되었습니다. |
notificationDeliveryMechanism |
target.resource.attribute.labels.notificationDeliveryMechanism , network.ip_protocol |
대상 리소스의 라벨로 변환되었습니다. 값에 'snmp' (대소문자 구분 안 함)가 포함된 경우 network.ip_protocol 이 'UDP'로 설정됩니다. |
previousSeverity |
target.resource.attribute.labels.previousSeverity |
대상 리소스의 라벨로 변환되었습니다. eventType 이 'USER_AUTHENTICATION_FAILURE'이고 user_id 이 비어 있지 않으면 'AUTHTYPE_UNSPECIFIED'로 설정됩니다. 로그의 timestamp 에서 복사했습니다. 여러 조건을 기반으로 파서 로직에 의해 결정됩니다. eventType 이 'USER_AUTHENTICATION_FAILURE'이고 user_id 이 비어 있지 않은 경우 'USER_LOGIN'입니다.is_target_present 및 is_principal_present 가 모두 true인 경우 'NETWORK_CONNECTION' is_principal_present 이 true인 경우 'STATUS_UPDATE' user_id 이 비어 있지 않은 경우 'USER_UNCATEGORIZED' 그렇지 않으면 'GENERIC_EVENT' 'CISCO_WIPS'로 하드코딩됩니다. '무선 침입 방지 시스템 (WIPS)'으로 하드코딩됩니다. 'Cisco'로 하드코딩됨 notificationDeliveryMechanism 에 'snmp' (대소문자 구분 안 함)가 포함된 경우 'UDP'로 설정됩니다. IP가 아닌 경우 reportingEntityAddress 또는 source 에서 매핑됩니다. IP인 경우 reportingEntityAddress 또는 source 에서 매핑됩니다. MAC 주소인 경우 source 에서 정규 표현식을 사용하여 추출됩니다. 주 구성원 리소스의 라벨로 변환되었습니다. 주 구성원 리소스의 라벨로 변환되었습니다. |
reportingEntityAddress |
principal.ip , principal.hostname |
IP 주소인 경우 principal.ip 에 매핑됩니다. 그렇지 않으면 principal.hostname 로 매핑됩니다. |
severity |
security_result.severity |
다음 조건에 따라 매핑됩니다. 이 '0', '1', 'CRITICAL' 또는 'VERY-HIGH'인 경우 'CRITICAL' severity severity 이 '2', '3', '4' 또는 'HIGH'인 경우 은 'HIGH'입니다. severity 이 '5' 또는 'MEDIUM'인 경우 은 'MEDIUM'입니다. severity 이 '6', '7' 또는 'LOW'인 경우 은 'LOW'입니다. |
sigAlertDescription |
security_result.description |
직접 매핑됩니다. |
signatureName |
target.resource.attribute.labels.signatureName |
대상 리소스의 라벨로 변환되었습니다. |
source |
principal.hostname , principal.ip , principal.mac |
IP 주소인 경우 principal.ip 에 매핑됩니다. MAC 주소인 경우 principal.mac 에 매핑됩니다. 그렇지 않으면 principal.hostname 로 매핑됩니다. |
srcObjectClassId |
principal.resource.attribute.labels.srcObjectClassId |
주 구성원 리소스의 라벨로 변환되었습니다. |
srcObjectId |
principal.resource.attribute.labels.srcObjectId |
주 구성원 리소스의 라벨로 변환되었습니다. |
subclassName |
security_result.rule_name |
직접 매핑됩니다. applicationSpecificAlarmID 에 'BlockList' (대소문자 구분 안 함)가 포함되거나 eventType 이 'SIGNATURE_ATTACK', 'MALICIOUS_ROGUE_AP_DETECTED', 'USER_AUTHENTICATION_FAILURE' 중 하나인 경우 'BLOCK'으로 설정됩니다. eventType 에 기반한 파서 로직에 따라 결정됩니다. eventType 이 'MALICIOUS_ROGUE_AP_DETECTED'인 경우 은 'NETWORK_MALICIOUS'입니다. eventType 이 'SIGNATURE_ATTACK'인 경우 'NETWORK_SUSPICIOUS' eventType 이 'USER_AUTHENTICATION_FAILURE'인 경우 'AUTH_VIOLATION' |
timestamp |
metadata.event_timestamp |
seconds 및 nanos 필드는 직접 매핑됩니다. |
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가로부터 답변을 받으세요.