* feat(dlp): add enforcement — USB write-block, print cancel, clipboard clear Phase 2.5: when DLP policy rule has action="block", the collector now actively prevents the action instead of just logging: - USB: Set-Disk -IsReadOnly via Get-Partition/Get-Disk pipeline - Print: Remove-CimInstance Win32_PrintJob for matching jobs - Clipboard: Set-Clipboard -Value $null to clear sensitive content Each enforcement adds enforced=true/false to incident telemetry. Windows balloon notification shown to user on every block action. Backward-compatible: existing action="alert" rules unchanged. Co-Authored-By: Fashion Lisa <igor04091968@gmail.com> * feat(dlp): add email outbound collector — Outlook COM + SMTP monitor Two collection modes: - outlook: polls Sent Items via COM, extracts metadata (subject hash, recipients hash, attachment names, body length) - smtp: monitors SMTP connections (25/587/465/2525) via Get-NetTCPConnection DLP policy rules: endpoint.email[] with regex matching on subject, recipients, sender, attachments, externalOnly flag. Enforcement: action=block moves mail to Drafts (Outlook mode). Privacy: subject/recipients stored as SHA256, body never read. Co-Authored-By: Fashion Lisa <igor04091968@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
70 lines
3.6 KiB
Markdown
70 lines
3.6 KiB
Markdown
# DLP gap analysis: AWatch-rus vs enterprise DLP class
|
|
|
|
## Текущий контур AWatch-rus
|
|
|
|
- Endpoint activity tracking (`aw-watcher-afk`, `aw-watcher-window`).
|
|
- Browser URL/domain collection (native UIAutomation collector).
|
|
- Rule-based категоризация web-активности.
|
|
- Phase-1 DLP policy: rule match + incident bucket `aw-dlp-incidents_<host>` + локальный incident log.
|
|
- Автоматизированный deployment (PowerShell, Ansible, Proxmox).
|
|
|
|
## Разрыв до enterprise DLP уровня
|
|
|
|
1. **Каналы перехвата**: почта, USB/MTP, печать, clipboard, мессенджеры, облака, file transfer.
|
|
2. **Контент-анализ**: PII/dictionaries/EDM/IDM, advanced OCR, document fingerprinting.
|
|
3. **Реагирование**: block/quarantine/workflow approvals, исключения, эскалации.
|
|
4. **Расследования**: case-management, evidence chain, immutable audit.
|
|
5. **Управление**: RBAC/SoD, policy lifecycle, multi-tenant admin model.
|
|
6. **Интеграции**: SIEM/SOAR/ITSM, AD/IdP, ticketing.
|
|
|
|
## Реалистичный roadmap
|
|
|
|
### Phase 1 (сделано)
|
|
|
|
- DLP policy JSON + rules.
|
|
- Incident generation в отдельный AW bucket.
|
|
- Incident cooldown/dedup.
|
|
|
|
### Phase 2 (внедрено частично)
|
|
|
|
- USB/print/clipboard collectors (endpoint signals) — внедрено.
|
|
- Incident pipeline расширен на endpoint события — внедрено.
|
|
- File-operation telemetry (create/copy/archive/upload hints) — в backlog.
|
|
- Central incident aggregation/export — в backlog.
|
|
|
|
### Phase 2.5 — Enforcement (внедрено)
|
|
|
|
- USB write-block (`Set-Disk -IsReadOnly`) при `action: "block"` — внедрено.
|
|
- Print job cancel (`Remove-CimInstance Win32_PrintJob`) при `action: "block"` — внедрено.
|
|
- Clipboard clear (`Set-Clipboard -Value $null`) при `action: "block"` — внедрено.
|
|
- Windows balloon notification пользователю при блокировке — внедрено.
|
|
- Телеметрия enforcement (`enforced: true/false` в incident heartbeat) — внедрено.
|
|
- Документация: `docs/dlp-enforcement.md`.
|
|
|
|
### Phase 2.5 — Email Outbound Collector (внедрено)
|
|
|
|
- Мониторинг исходящей почты через Outlook COM (Sent Items polling) — внедрено.
|
|
- SMTP network connection detection (порты 25/587/465/2525) — внедрено.
|
|
- DLP-правила `endpoint.email[]` (regex по теме, получателям, вложениям, externalOnly) — внедрено.
|
|
- Enforcement: перемещение в Drafts при `action: "block"` (Outlook mode) — внедрено.
|
|
- Приватность: тема/получатели как SHA256, тело не читается — внедрено.
|
|
- Документация: `docs/email-outbound-collector.md`.
|
|
|
|
### Phase 3
|
|
|
|
- Policy engine service (server-side), versioned policies, approval workflow.
|
|
- Correlation engine (user + channel + object + time).
|
|
- SIEM connector (CEF/JSON over syslog/HTTP).
|
|
|
|
### Phase 4
|
|
|
|
- Advanced detectors (dictionary packs, regex packs, OCR pipeline).
|
|
- Risk scoring / UEBA.
|
|
- Compliance reports (152-ФЗ / PCI DSS / ISO 27001-aligned evidence views).
|
|
|
|
## Reference links (product capability benchmark)
|
|
|
|
- https://www.infowatch.ru/products/dlp-sistema-traffic-monitor/vozmozhnosti-dlp-sistemy
|
|
- https://www.infowatch.ru/products/dlp-sistema-traffic-monitor/sistemnye-trebovaniya-dlp
|
|
- https://www.infowatch.ru/company/presscenter/news/zapatentovana-tekhnologiya-dlya-raspoznavaniya-teksta-na-izobrazheniyakh
|