Endpoint Protector DLP ๋ก๊ทธ ์์ง
์ด ๋ฌธ์์์๋ Bindplane์ ์ฌ์ฉํ์ฌ Netwrix Endpoint Protector DLP(๋ฐ์ดํฐ ์์ค ๋ฐฉ์ง) ๋ก๊ทธ๋ฅผ Google Security Operations์ ์์งํ๋ ๋ฐฉ๋ฒ์ ์ค๋ช ํฉ๋๋ค. ํ์๋ grok ํจํด์ ํ์ฉํ์ฌ ํต์ฌ ์ ๋ณด๋ฅผ ์๋ณํ์ฌ syslog ๋ฉ์์ง์์ ํ๋๋ฅผ ์ถ์ถํฉ๋๋ค. ๊ทธ๋ฐ ๋ค์ ์ถ์ถ๋ ํ๋๋ฅผ ํตํฉ ๋ฐ์ดํฐ ๋ชจ๋ธ (UDM)์ ๋งคํํ์ฌ ๋ค์ํ ๋ฐ์ดํฐ ์ ํ์ ์ฒ๋ฆฌํ๊ณ ๊ณต๊ธ์ ์ฒด ๋ฐ ์ ํ ์ ๋ณด์ ๊ฐ์ ๋ฉํ๋ฐ์ดํฐ๋ก ์ถ๋ ฅ์ ๋ณด๊ฐํฉ๋๋ค. ํ์๋ ๋ฌธ์์ด ์กฐ์, ์ด์์ฒด์ ๋ฐ ๊ธฐํ ๊ธฐ์ค์ ๋ฐ๋ฅธ ํ๋์ ์กฐ๊ฑด๋ถ ๋ณํฉ ๋ฑ ์ฌ๋ฌ ๋ฐ์ดํฐ ๋ณํ๋ ์คํํฉ๋๋ค.
์์ํ๊ธฐ ์ ์
๋ค์ ๊ธฐ๋ณธ ์๊ฑด์ด ์ถฉ์กฑ๋์๋์ง ํ์ธํฉ๋๋ค.
- Google SecOps ์ธ์คํด์ค
- Windows 2016 ์ด์ ๋๋
systemd
๊ฐ ์ค์น๋ Linux ํธ์คํธ - ํ๋ก์ ๋ค์์ ์คํํ๋ ๊ฒฝ์ฐ ๋ฐฉํ๋ฒฝ ํฌํธ๊ฐ ์ด๋ ค ์์
- Netwrix Endpoint Protector์ ๋ํ ์ก์ธ์ค ๊ถํ
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 ingestion_labels: log_type: 'ENDPOINT_PROTECTOR_DLP' raw_log_field: body 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
Netwrix Endpoint Protector์์ Syslog ๊ตฌ์ฑ
- Endpoint Protector ์น UI์ ๋ก๊ทธ์ธํฉ๋๋ค.
- ์ดํ๋ผ์ด์ธ์ค > SIEM ํตํฉ์ผ๋ก ์ด๋ํฉ๋๋ค.
- ์ ํญ๋ชฉ ์ถ๊ฐ๋ฅผ ํด๋ฆญํฉ๋๋ค.
- ๋ค์ ๊ตฌ์ฑ ์ธ๋ถ์ ๋ณด๋ฅผ ์ ๊ณตํฉ๋๋ค.
- SIEM ์ํ: ์ค์์น๋ฅผ ์ ํํ์ฌ SIEM ์๋ฒ๋ฅผ ์ฌ์ฉ ์ค์ ํฉ๋๋ค.
- ๋ก๊น ์ฌ์ฉ ์ค์ง: ์ค์์น๋ฅผ ์ ํํ์ฌ ๋ก๊น ์ ์ฌ์ฉ ์ค์ ํฉ๋๋ค.
- ์๋ฒ ์ด๋ฆ: ๊ณ ์ ํ๊ณ ์๋ฏธ ์๋ ์๋ฒ ์ด๋ฆ์ ์ ๋ ฅํฉ๋๋ค.
- ์๋ฒ ์ค๋ช : ์ด ํตํฉ์ ๋ํ ์ค๋ช ์ ์ถ๊ฐํฉ๋๋ค.
- ์๋ฒ IP ๋๋ DNS: Bindplane ์์ด์ ํธ IP ์ฃผ์๋ฅผ ์ ๋ ฅํฉ๋๋ค.
- Server Protocol(์๋ฒ ํ๋กํ ์ฝ): UDP๋ฅผ ์ ํํฉ๋๋ค.
- ์๋ฒ ํฌํธ: Bindplane ์์ด์ ํธ ํฌํธ ๋ฒํธ๋ฅผ ์
๋ ฅํฉ๋๋ค (์: UDP์ ๊ฒฝ์ฐ
514
). - ํค๋ ์ ์ธ: ์ค์์น๋ฅผ ์ ํํ์ฌ ๋ก๊ทธ ํค๋๋ฅผ ์ฌ์ฉ ์ค์ ํฉ๋๋ค.
- ๋ก๊ทธ ์ ํ: SIEM์ผ๋ก ์ ์กํ ์ ์๋ ๋ก๊ทธ๋ฅผ ์ ํํฉ๋๋ค.
- ์ ์ฅ์ ํด๋ฆญํฉ๋๋ค.
UDM ๋งคํ ํ ์ด๋ธ
๋ก๊ทธ ํ๋ | UDM ๋งคํ | ๋ ผ๋ฆฌ |
---|---|---|
Client Computer |
principal.asset.asset_id |
Client Computer ๊ฐ์ 'Client Computer: '๋ฅผ ์์ ์ถ๊ฐํ ํ principal.asset.asset_id ์ ํ ๋น๋ฉ๋๋ค. |
Client User |
principal.user.userid |
Client User ๊ฐ์ด principal.user.userid ์ ํ ๋น๋ฉ๋๋ค. |
Content Policy |
security_result.rule_name |
Content Policy ๊ฐ์ด security_result.rule_name ์ ํ ๋น๋ฉ๋๋ค. |
Content Policy Type |
security_result.rule_id |
Content Policy Type ๊ฐ์ด security_result.rule_id ์ ํ ๋น๋ฉ๋๋ค. |
Destination |
metadata.ingestion_labels.value |
Destination ๊ฐ์ key ์ด 'Destination'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
Destination Type |
metadata.ingestion_labels.value |
Destination Type ๊ฐ์ key ์ด '๋์ ์ ํ'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
Device PID |
metadata.ingestion_labels.value |
Device PID ๊ฐ์ key ์ด '๊ธฐ๊ธฐ PID'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
Device Serial |
metadata.ingestion_labels.value |
Device Serial ๊ฐ์ key ์ด '๊ธฐ๊ธฐ ์ผ๋ จ๋ฒํธ'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. Device Serial ๊ฐ ๋น์ด ์์ง ์์ ๊ฒฝ์ฐ์๋ง ์คํ๋ฉ๋๋ค. |
Device VID |
metadata.ingestion_labels.value |
Device VID ๊ฐ์ key ์ด '๊ธฐ๊ธฐ VID'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
File Name |
target.file.full_path |
File Name ๊ฐ์ด target.file.full_path ์ ํ ๋น๋ฉ๋๋ค. |
File Size |
target.file.size |
File Size ๊ฐ์ด target.file.size ์ ํ ๋น๋๊ณ ๋ถํธ ์๋ ์ ์๋ก ๋ณํ๋ฉ๋๋ค. |
IP Address |
principal.ip |
IP Address ๊ฐ์ด principal.ip ์ ํ ๋น๋ฉ๋๋ค. |
Item Details |
metadata.ingestion_labels.value |
Item Details ๊ฐ์ key ์ด '์ํ ์ธ๋ถ์ ๋ณด'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
Log ID |
metadata.product_log_id |
Log ID ๊ฐ์ด metadata.product_log_id ์ ํ ๋น๋ฉ๋๋ค. |
MAC Address |
principal.mac |
๋ชจ๋ ํ์ดํ์ ์ฝ๋ก ์ผ๋ก ๋ฐ๊พผ ํ MAC Address ๊ฐ์ด principal.mac ์ ํ ๋น๋ฉ๋๋ค. |
Matched Item |
metadata.ingestion_labels.value |
Matched Item ๊ฐ์ key ์ด '์ผ์นํ๋ ํญ๋ชฉ'์ธ ingestion_labels ๊ฐ์ฒด์ value ํ๋์ ํ ๋น๋ฉ๋๋ค. |
Message |
security_result.summary |
Message ๊ฐ์ด security_result.summary ์ ํ ๋น๋ฉ๋๋ค. |
OS |
principal.platform |
OS ๊ฐ์ principal.platform ๊ฐ์ ๊ฒฐ์ ํ๋ ๋ฐ ์ฌ์ฉ๋ฉ๋๋ค. OS ์ 'Windows'๊ฐ ํฌํจ๋์ด ์์ผ๋ฉด principal.platform ์ด 'WINDOWS'๋ก ์ค์ ๋ฉ๋๋ค. OS ์ 'Mac'์ด ํฌํจ๋ ๊ฒฝ์ฐ principal.platform ์ด 'MAC'์ผ๋ก ์ค์ ๋ฉ๋๋ค. OS ์ 'Lin'์ด ํฌํจ๋ ๊ฒฝ์ฐ principal.platform ์ด 'LINUX'๋ก ์ค์ ๋ฉ๋๋ค. |
Serial Number |
principal.asset.hardware.serial_number |
Serial Number ๊ฐ์ด principal.asset.hardware.serial_number ์ ํ ๋น๋ฉ๋๋ค. grok์ ์ฌ์ฉํ์ฌ ๋ฉ์์ง ํ๋์์ ์ถ์ถํ๊ณ intermediary.hostname ์ ํ ๋นํ์ต๋๋ค. grok์ ์ฌ์ฉํ์ฌ ๋ฉ์์ง ํ๋์์ ์ถ์ถํ๊ณ metadata.description ์ ํ ๋นํ์ต๋๋ค. syslog ๋ฉ์์ง์ ํ์์คํฌํ๊ฐ ํ์ฑ๋์ด metadata.event_timestamp ์ ํ ๋น๋ฉ๋๋ค. 'SCAN_UNCATEGORIZED' ๊ฐ์ด metadata.event_type ์ ํ ๋น๋ฉ๋๋ค. 'ENDPOINT_PROTECTOR_DLP' ๊ฐ์ด metadata.log_type ์ ํ ๋น๋ฉ๋๋ค. 'ENDPOINT_PROTECTOR_DLP' ๊ฐ์ด metadata.product_name ์ ํ ๋น๋ฉ๋๋ค. 'ENDPOINT_PROTECTOR_DLP' ๊ฐ์ด metadata.vendor_name ์ ํ ๋น๋ฉ๋๋ค. grok์ ์ฌ์ฉํ์ฌ ๋ฉ์์ง ํ๋์์ ์ถ์ถํ๊ณ principal.hostname ์ ํ ๋นํ์ต๋๋ค. grok์ ์ฌ์ฉํ์ฌ ๋ฉ์์ง ํ๋์์ ์ถ์ถํ๊ณ principal.ip ์ ํ ๋นํ์ต๋๋ค. syslog ๋ฉ์์ง์ ํ์์คํฌํ๊ฐ ํ์ฑ๋์ด ์ต์์ timestamp ํ๋์ ํ ๋น๋ฉ๋๋ค. |
๋์์ด ๋ ํ์ํ์ ๊ฐ์? ์ปค๋ฎค๋ํฐ ํ์ ๋ฐ Google SecOps ์ ๋ฌธ๊ฐ๋ก๋ถํฐ ๋ต๋ณ์ ๋ฐ์ผ์ธ์.