Netwrix Privilege Secure for Discovery(이전의 Remediant SecureONE) 로그 수집
이 문서에서는 Bindplane 에이전트를 사용하여 Netwrix Privilege Secure for Discovery(이전 명칭: Remediant SecureONE) 로그를 Google Security Operations로 수집하는 방법을 설명합니다.
Netwrix Privilege Secure for Discovery는 동적 적시(JIT) 권한이 있는 계정 액세스를 제공하는 에이전트리스 권한이 있는 액세스 관리(PAM) 솔루션입니다. 권한이 있는 계정에 대한 지속적인 가시성을 제공하여 상시 권한을 제거함으로써 측면 이동 공격을 효과적으로 방지하고 조직의 공격 표면을 줄입니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows 2016 이상 또는
systemd이 설치된 Linux 호스트 - 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
- Remediant SecureONE 어플라이언스에 대한 액세스 권한(fluentd를 실행하는 노드에 대한 SSH 액세스)
- Remediant SecureONE 버전 2.8 이상(또는 fluentd 버전 1로 업그레이드된
s1_fluentd서비스)
Bindplane 에이전트의 Google SecOps 사용자 인증 정보 가져오기
Google SecOps에 Bindplane 에이전트를 인증하려면 다음 방법 중 하나를 선택합니다.
- 새 배포: Chronicle API를 사용합니다(옵션 1).
- 기존 배포: 2027년 7월 20일에 Ingestion API가 중단될 때까지 데이터 수집 인증 파일(옵션 2)을 계속 사용합니다.
옵션 1: Chronicle API의 서비스 계정 만들기(권장)
- Google Cloud 콘솔에 로그인하고 Google SecOps 인스턴스에 연결된 Google Cloud 프로젝트를 선택합니다.
- IAM 및 관리자 > 서비스 계정으로 이동합니다.
- 서비스 계정 만들기를 클릭합니다.
- 다음 구성 세부정보를 제공합니다.
- 서비스 계정 이름: 계정 이름을 입력합니다(예:
bindplane-ingest). - 서비스 계정 설명: 설명을 입력합니다(예:
Bindplane agent log ingestion).
- 서비스 계정 이름: 계정 이름을 입력합니다(예:
- 만들고 계속하기를 클릭합니다.
- 이 서비스 계정에 프로젝트에 대한 액세스 권한 부여 섹션에서 역할 선택을 클릭하고 Chronicle 편집자를 선택합니다.
- 계속을 클릭한 다음 완료를 클릭합니다.
- 만든 서비스 계정을 클릭한 다음 키 탭으로 이동합니다.
- 키 추가 > 새 키 만들기를 클릭합니다.
- JSON을 선택하고 만들기를 클릭합니다. 키 파일이 컴퓨터에 다운로드됩니다.
- 키 파일을 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를 업데이트하여 저장한 경로와 일치시킵니다. - IAM 및 관리자 > 설정으로 이동하여 프로젝트 번호를 복사합니다. 내보내기 도구 구성에 필요합니다.
옵션 2: 데이터 수집 인증 파일 다운로드(기존)
- 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
추가 설치 리소스
추가 설치 옵션은 Bindplane 에이전트 설치 가이드를 참조하세요.
Syslog를 수집하고 Google SecOps로 전송하도록 Bindplane 에이전트 구성
구성 파일 찾기
Linux:
sudo nano /opt/observiq-otel-collector/config.yaml
구성 파일 설정
config.yaml의 전체 콘텐츠를 다음 구성으로 바꿉니다.receivers: tcplog: # 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: '<customer_id>' endpoint: chronicle.googleapis.com # Add optional ingestion labels for better organization log_type: 'REMEDIANT_SECUREONE' raw_log_field: body ingestion_labels: service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - tcplog exporters: - chronicle/chronicle_w_labels- 인프라에서 필요에 따라 포트와 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/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: 'REMEDIANT_SECUREONE' raw_log_field: body ingestion_labels:
Bindplane 에이전트를 다시 시작하여 변경사항을 적용합니다.
Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.
sudo systemctl restart observiq-otel-collectorWindows에서 Bindplane 에이전트를 다시 시작하려면 서비스 콘솔을 사용하거나 다음 명령어를 입력합니다.
net stop observiq-otel-collector && net start observiq-otel-collector
Remediant SecureONE syslog 전달 구성
- SSH를 사용하여
fluentd서비스를 실행하는 Remediant SecureONE 노드에 연결합니다. 기존
fluentd구성 파일을 백업합니다.sudo cp /secureone/conf/fluentd/fluent.conf /secureone/conf/fluentd/fluent.conf.$(date +%Y.%m.%d)수정할
fluentd구성 파일을 엽니다.sudo vim /secureone/conf/fluentd/fluent.confmatch docker.**섹션을 수정하여remote_syslog스토어를 추가합니다. 전체 파일 콘텐츠를 다음 구성으로 바꿉니다.#fluent.conf for fluentd version 1 <source> @type forward </source> <filter docker.**> @type parser time_key key3 format json key_name log reserve_data true </filter> <match docker.**> @type copy <store> @type remote_syslog host BINDPLANE_IP port 514 protocol tcp packet_size 4096 program secureone hostname SECUREONE_HOSTNAME <format> @type single_value message_key log </format> </store> <store> @type stdout_pp pp true time_color blue tag_color yellow record_colored true </store> </match> <match **> @type stdout_pp pp true time_color blue tag_color yellow record_colored true </match>다음 값을 바꿉니다.
- BINDPLANE_IP: Bindplane 에이전트 호스트의 IP 주소를 입력합니다(예:
10.100.11.13). - 514: Bindplane 에이전트
listen_address포트와 일치하는 포트 번호를 입력합니다. - SECUREONE_HOSTNAME: SecureONE 노드의 호스트 이름을 입력합니다(예:
secureone-prod-01).
- BINDPLANE_IP: Bindplane 에이전트 호스트의 IP 주소를 입력합니다(예:
구성 파일을 저장하고 편집기를 종료합니다.
fluentd 서비스를 다시 시작하여 새 구성을 적용합니다.
s1 restart fluentdfluentd 버전 및 실행 중인 구성을 확인합니다.
sudo docker exec -it $(sudo docker ps | grep fluentd | cut -d' ' -f1) fluent-gem list | grep fluentd구성 문법을 검증합니다.
sudo docker exec -it $(sudo docker ps | grep fluentd | cut -d' ' -f1) fluentd -c /fluentd/etc/fluent.conf --dry-runsyslog 포트에서 트래픽을 모니터링하여 로그가 전달되고 있는지 확인합니다.
sudo tcpdump -vv -i any port 514
자세한 내용은 Netwrix Privilege Secure for Discovery 문서를 참조하세요.
UDM 매핑 테이블
| 로그 필드 | UDM 매핑 | 로직 |
|---|---|---|
access_tokenId_label |
additional.fields |
병합됨 |
access_tokenType_label |
additional.fields |
병합됨 |
access_type_label |
additional.fields |
병합됨 |
createdBy_label |
additional.fields |
병합됨 |
details.failover_dc_label |
additional.fields |
병합됨 |
details.initial_dc_label |
additional.fields |
병합됨 |
details.sync_end_ts_label |
additional.fields |
병합됨 |
duration_label |
additional.fields |
병합됨 |
ldapName_label |
additional.fields |
병합됨 |
manage_local_sids_label |
additional.fields |
병합됨 |
persistent_label |
additional.fields |
병합됨 |
req_query_limit_label |
additional.fields |
병합됨 |
req_query_page_label |
additional.fields |
병합됨 |
scan_label |
additional.fields |
병합됨 |
secure_label |
additional.fields |
병합됨 |
strict_secure_label |
additional.fields |
병합됨 |
sync_start_ts_label |
additional.fields |
병합됨 |
targetSystem_cn_label |
additional.fields |
병합됨 |
targetSystem_distinguishedName_label |
additional.fields |
병합됨 |
targetSystem_operatingSystem_label |
additional.fields |
병합됨 |
user_distinguishedName_label |
additional.fields |
병합됨 |
req_headers_host |
intermediary.asset.hostname |
직접 매핑됨 |
req_headers_host |
intermediary.hostname |
직접 매핑됨 |
json_message |
metadata.description |
직접 매핑됨 |
msg |
metadata.description |
직접 매핑됨 |
time |
metadata.event_timestamp |
ISO8601(으)로 파싱됨 |
event_type |
metadata.event_type |
직접 매핑됨 |
name |
metadata.product_event_type |
직접 매핑됨 |
req_id |
metadata.product_log_id |
직접 매핑됨 |
req.method |
network.http.method |
직접 매핑됨 |
res.statusCode |
network.http.response_code |
이름 변경/매핑됨 |
req_header_user_agent |
network.http.user_agent |
직접 매핑됨 |
targetSystem.domain_netbios |
principal.administrative_domain |
직접 매핑됨 |
user_domain_fqdn |
principal.administrative_domain |
직접 매핑됨 |
source_application |
principal.application |
직접 매핑됨 |
req_headers_host |
principal.hostname |
직접 매핑됨 |
targetSystem.cn |
principal.hostname |
직접 매핑됨 |
client_ip |
principal.ip |
병합됨 |
remote_address |
principal.ip |
병합됨 |
client_ua_os |
principal.platform |
매핑됨: (?i)windows → WINDOWS, (?i)linux → LINUX, (?i)mac → MAC |
client_ua_platform |
principal.platform_version |
직접 매핑됨 |
client_ua_version |
principal.platform_version |
직접 매핑됨 |
req.remotePort |
principal.port |
이름 변경/매핑됨 |
script_cmd |
principal.process.command_line |
직접 매핑됨 |
pid |
principal.process.pid |
직접 매핑됨 |
browser_label |
principal.resource.attribute.labels |
병합됨 |
req_header_map_label |
principal.resource.attribute.labels |
병합됨 |
system |
principal.resource.product_object_id |
직접 매핑됨 |
domain_netbios_label |
principal.user.attribute.labels |
병합됨 |
objectSid_label |
principal.user.attribute.labels |
병합됨 |
user_domain_label |
principal.user.attribute.labels |
병합됨 |
user_domain_netbios_label |
principal.user.attribute.labels |
병합됨 |
user_id_label |
principal.user.attribute.labels |
병합됨 |
user_objectSid_label |
principal.user.attribute.labels |
병합됨 |
authData.access.role |
principal.user.role_name |
직접 매핑됨 |
user_user |
principal.user.user_display_name |
직접 매핑됨 |
access.user.sAMAccountName |
principal.user.userid |
직접 매핑됨 |
user_cn |
principal.user.userid |
직접 매핑됨 |
user_sid |
principal.user.windows_sid |
직접 매핑됨 |
disabled_label |
security_result.detection_fields |
병합됨 |
disabled_label1 |
security_result.detection_fields |
병합됨 |
level_label |
security_result.detection_fields |
병합됨 |
req_id_key_label |
security_result.detection_fields |
병합됨 |
req_params_computerId_label |
security_result.detection_fields |
병합됨 |
targetSystem_id_label |
security_result.detection_fields |
병합됨 |
hostname |
src.hostname |
직접 매핑됨 |
ldapName |
target.administrative_domain |
직접 매핑됨 |
targetsystem |
target.asset.hostname |
직접 매핑됨 |
server |
target.hostname |
직접 매핑됨 |
targetsystem |
target.hostname |
직접 매핑됨 |
header_map_label |
target.resource.attribute.labels |
병합됨 |
req.url |
target.url |
직접 매핑됨 |
user_user |
target.user.userid |
직접 매핑됨 |
| 해당 사항 없음 | metadata.product_name |
상수: SecureONE |
| 해당 사항 없음 | metadata.vendor_name |
상수: Remediant |
| 해당 사항 없음 | principal.platform |
상수: WINDOWS |
targetSystem.cn |
event.idm.read_only_udm.target.hostname 및 event.idm.read_only_udm.target.asset.hostname |
변경 로그에서 매핑됨 |
req.query.page |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
user.distinguishedName |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.operatingSystem |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
req.query.limit |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
req.params.computerId |
event.idm.read_only_udm.security_result.detection_fields |
변경 로그에서 매핑됨 |
req.id |
event.idm.read_only_udm.security_result.detection_fields |
변경 로그에서 매핑됨 |
targetSystem._id |
event.idm.read_only_udm.security_result.detection_fields |
변경 로그에서 매핑됨 |
user.domain_netbios |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
user.id |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
user.objectSid |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
persistent |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
access.type |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
access.tokenId |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
access.tokenType |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.cn |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.distinguishedName |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.policy.strict_secure |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.policy.secure |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.policy.scan |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
targetSystem.policy.manage_local_sids |
event.idm.read_only_udm.additional.fields |
변경 로그에서 매핑됨 |
user.domain |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
access.user.domain_netbios |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
access.user.objectSid |
event.idm.read_only_udm.principal.user.attribute.labels |
변경 로그에서 매핑됨 |
user.sid |
event.idm.read_only_udm.principal.user.windows_sid |
변경 로그에서 매핑됨 |
user.user |
event.idm.read_only_udm.principal.user.user_display_name |
변경 로그에서 매핑됨 |
failover_dc","initial_dc","ldapName","sync_end_ts" ,and "sync_start_ts |
additional.fields |
변경 로그에서 매핑됨 |
변경 로그
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가에게 문의하여 답변을 받으세요.