Cisco Wireless Security Management (WiSM) 로그 수집
이 문서에서는 Bindplane을 사용하여 Cisco Wireless Security Management (WiSM) 로그를 Google Security Operations에 수집하는 방법을 설명합니다. 파서는 syslog 메시지에서 필드를 추출하고, 이를 통합 데이터 모델 (UDM)에 매핑하고, cisco_mnemonic
필드를 기반으로 이벤트를 분류합니다. 로그인, 로그아웃, 네트워크 연결, 상태 업데이트와 같은 다양한 이벤트 유형을 처리하여 사용자 이름, IP 주소, MAC 주소, 보안 세부정보와 같은 관련 정보를 추출합니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows 2016 이상 또는
systemd
가 설치된 Linux 호스트 - 프록시 뒤에서 실행하는 경우 방화벽 포트가 열려 있는지 확인
- Cisco 무선 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_WSM' 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 WiSM에서 Syslog 구성
- Cisco Wireless LAN Controller 웹 UI에 로그인합니다.
- 관리 > 로그 > 구성으로 이동합니다.
- Syslog Server IP Address(Syslog 서버 IP 주소) 필드에 Bindplane 에이전트 IP 주소를 입력합니다.
- 추가를 클릭합니다.
- 다음 구성 세부정보를 제공합니다.
- Syslog Severity(Syslog 심각도): Informational(정보)을 선택합니다.
- Syslog Facility(Syslog 기능): Local Use 0(로컬 사용 0)을 선택합니다.
- 버퍼링된 로그 수준: 정보 - 심각도 수준 6을 선택합니다.
- 콘솔 로그 수준: 정보 - 심각도 수준 6을 선택합니다.
- 소스 파일에 관한 정보를 포함하려면 파일 정보 체크박스를 선택합니다.
- Proc Info 체크박스를 선택하여 프로세스 정보를 포함합니다.
- 트레이스 정보 체크박스를 선택하여 트레이스백 정보를 포함합니다.
- 적용을 클릭합니다.
- Save Configuration(구성 저장)을 클릭합니다.
UDM 매핑 테이블
로그 필드 | UDM 매핑 | 논리 |
---|---|---|
cisco_facility |
principal.resource.type |
grok을 사용하여 cisco_tag 필드에서 추출됩니다. |
cisco_message |
metadata.description |
원시 로그의 원본 메시지입니다. |
cisco_tag |
metadata.product_event_type |
기능, 심각도, 니모닉을 포함하는 원시 로그의 태그입니다. |
database |
security_result.detection_fields.value |
있는 경우 키가 'Database'로 설정됩니다. |
hostname |
intermediary.hostname |
있는 경우 |
intermediary_ip |
intermediary.ip |
중개 기기의 IP 주소입니다. |
principal_hostname |
principal.hostname |
있는 경우 |
principal_ip |
principal.ip |
있는 경우 |
principal_mac |
principal.mac |
있는 경우 콜론으로 구분된 16진수로 형식이 지정됩니다. |
principal_port |
principal.port |
있는 경우 정수로 변환되었습니다. |
principal_process_id |
principal.process.pid |
있는 경우 |
profile |
security_result.detection_fields.value |
값이 있는 경우 키는 'Profile'로 설정됩니다. |
reason_message |
security_result.summary |
있는 경우 security_result.description 에도 사용되는 경우가 있습니다. |
target_ip |
target.ip |
있는 경우 |
target_mac |
target.mac |
있는 경우 |
terminal |
target.hostname |
있는 경우 |
tls_local_ip |
security_result.detection_fields.value |
있는 경우 키는 'TLS local'로 설정됩니다. |
tls_remote |
security_result.detection_fields.value |
있는 경우 키는 'TLS Remote'로 설정됩니다. |
username |
principal.user.userid (로그아웃 이벤트의 경우 target.user.userid ) |
있는 경우 파서 로직에 따라 특정 경우에 'MECHANISM_UNSPECIFIED'로 설정됩니다. 파서 로직에 의한 로그인/로그아웃 이벤트의 경우 'MACHINE'으로 설정됩니다. create_time 배치에서 복사됨 cisco_mnemonic 및 기타 필드를 기반으로 파서 로직에 의해 결정됩니다. 파서 로직에 의해 'CISCO_WSM'으로 설정됩니다. 파서 로직에 의해 'CISCO_WSM'으로 설정됩니다. 파서 로직에 의해 'CISCO_WSM'으로 설정됩니다. 파서 로직에 의해 특정 이벤트에 대해 'BROADCAST'로 설정됩니다. 파서 로직에 의해 특정 이벤트에 대해 'UDP'로 설정됩니다. 있는 경우 파서 로직에 따라 특정 이벤트에 대해 'ALLOW' 또는 'BLOCK'으로 설정됩니다. 파서 로직에 의해 특정 이벤트에 대해 'AUTH_VIOLATION'으로 설정됩니다. 파서 로직에 의해 특정 이벤트에 대해 설정되며, 때로는 reason_message 를 사용합니다. 파서 로직에 의해 cisco_severity 에서 파생됩니다. 파서 로직에 의해 cisco_severity 에서 파생됩니다. 파서 로직에 의해 특정 이벤트에 대해 설정되며, 때로는 reason_message 를 사용합니다. |
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가로부터 답변을 받으세요.