Zero Trust Maturity Model (CISA): 5 pillars — Identity, Devices, Networks, Applications & Workloads, Data — each with 4 stages: Traditional → Initial → Advanced → Optimal. Not a binary on/off — progressive maturity across all pillars. Used to assess current state and plan ZT roadmap over 3–5 years.
Microsoft ZT implementation pillars: Verify explicitly (strong auth — MFA/FIDO2 + CA + device compliance on every access request). Use least-privilege access (JIT/JEA via PIM, just-enough-admin, RBAC scoped narrowly). Assume breach (segment blast radius — VNet microsegmentation, network isolation; encrypt all data E2E; use analytics to detect anomalies).
ZTNA (Zero Trust Network Access): replaces VPN with application-specific access. User authenticates with MFA + device compliance → access granted to specific app (not the whole network). Microsoft's ZTNA: Entra Private Access (private apps) + Entra Internet Access (internet-bound traffic — SWG). Together form Microsoft's Global Secure Access (GSA) platform.
Microsegmentation: divide workloads into small trust zones. Azure: NSG + Azure Firewall policy in Hub-Spoke model + Azure Virtual Network Manager for at-scale segment policies. M365: Information Barriers (user segment). On-prem: AD OU structure + group policy for workstation/server tier separation.
ZT Maturity Model: không có "đã triển khai Zero Trust xong". Đây là hành trình. Ví dụ pillar Identity: Traditional = password only. Initial = MFA bật nhưng không CA. Advanced = CA policies đầy đủ + PIM + ID Protection. Optimal = passwordless + FIDO2 + continuous access evaluation. Đánh giá mỗi năm → roadmap next stage.
3 nguyên tắc ZT thực tế: (1) Verify explicitly — không trust theo network location, trust theo identity + device health + risk score. (2) Least privilege — Global Admin chỉ bật 2h khi cần (PIM). Developer chỉ có Contributor trên 1 Resource Group. (3) Assume breach — bật Defender + Sentinel; nếu attacker vào được 1 subnet, microsegmentation ngăn không lan sang subnet khác.
ZTNA vs VPN: VPN truyền thống = remote user connect → vào toàn bộ corporate network → attacker chiếm VPN = chiếm toàn mạng. ZTNA = user authenticate → chỉ connect được đến 1 app cụ thể (SAP, SharePoint). Lateral movement bị chặn hoàn toàn. Entra Private Access: publish ứng dụng on-prem như Entra App Proxy nhưng full ZTNA.
Microsegmentation: Production → VNet riêng. Dev → VNet riêng. Không VNet peering trực tiếp (qua Azure Firewall). Web tier, App tier, DB tier trong 3 subnet khác nhau với NSG riêng. Nếu web tier bị compromise → attacker không thể kết nối thẳng DB (NSG block + Firewall inspect). Blast radius = 1 tier, không phải cả datacenter.
ZT Assessment cho org 1000 người: Identity pillar score = 65% (Advanced). Network = 35% (Initial). Data = 20% (Traditional). 3-year roadmap: Year 1 — Network: Hub-Spoke + NSG + Firewall + ZTNA pilot. Year 2 — Data: Sensitivity Labels + DLP + Purview Data Map. Year 3 — Devices: Intune MDM full + Conditional Access device compliance. Budget: $X/year → milestones per quarter → board reporting.
Advanced KQL operators: arg_max() (get most recent record per entity — find last logon per user). mv-expand (expand arrays/dynamic fields into individual rows — expand JSON arrays from API logs). join kind=leftouter (enrichment without dropping unmatched rows). let statements for modular, readable queries. materialize() for expensive subqueries used multiple times.
ASIM (Advanced Security Information Model): schema normalization layer. Instead of querying device-specific table (Cisco Syslog with vendor fields), query normalized ASIM parsers (imDns, imNetworkSession, imAuthentication) that work identically regardless of data source. Write one detection rule that works across all firewalls and endpoint types — no vendor-specific field names.
Custom data connectors: Logstash (collect from non-standard sources → send to Log Analytics via Azure Monitor HTTP Data Collector API). Functions Apps (poll REST APIs periodically — e.g., pull alerts from third-party security tools every 5 minutes). Azure Event Hub (stream high-volume sources like network flow logs). DCR (Data Collection Rule) — newer, recommended approach for custom log ingestion with transformation at ingestion time.
Cost optimization: Basic vs Analytics tier per table (Basic tier = cheap storage, 8-day search, no analytics queries — use for verbose logs like raw flow data). Commitment tiers (1–100 GB/day → 30–65% discount). Ingestion filtering: DCR transformations filter rows before storage — drop known-noisy events at ingestion. Auxiliary tables for cold storage of rarely-queried compliance logs (PCI-DSS raw audit events).
Advanced KQL: arg_max — tìm lần login gần nhất của mỗi user: SigninLogs | summarize arg_max(TimeGenerated, *) by UserPrincipalName. mv-expand — mỗi alert có array of entities → expand ra từng entity riêng để join với threat intel. materialize — dùng khi query phức tạp được reference nhiều lần trong 1 subquery lớn (tiết kiệm compute). let = đặt tên cho subquery như variable.
ASIM: viết 1 detection rule "brute force" → dùng imAuthentication table (ASIM normalized) → rule hoạt động với cả Entra Sign-in, Windows Security Event, Linux PAM auth, Cisco ASA auth, tất cả cùng lúc. Không cần 5 rule riêng cho 5 nguồn. ASIM parser map vendor-specific fields → chuẩn (EventType, SrcIpAddr, TargetUsername, EventResult). Detection engineers viết 1 lần, scale across all sources.
Custom connector: công ty dùng Palo Alto Prisma SASE không có sẵn connector → viết Azure Function App (Python) poll Prisma API mỗi 5 phút → transform → POST đến Log Analytics workspace qua DCR endpoint. Cost estimate: 10GB/day custom log = $23/day (analytics tier) → dùng DCR filter bỏ health check events → giảm còn 4GB/day = $9/day. Filter at ingestion, not at query time.
Cost optimization: Sentinel bill = (GB ingested × tier price) + retention. Audit: xem Log Analytics workspace → Usage table → sort by DataType desc → top 5 tables chiếm 80% cost. DeviceNetworkEvents thường là thủ phạm (flow data). Giải pháp: Basic tier cho DeviceNetworkEvents (chỉ alert generation cần Analytics tier), Analytics tier cho tables dùng trong detections. Commitment tier 50GB/day = giảm 44% so với pay-as-you-go.
| Table | GB/day | Tier | Action |
|---|---|---|---|
| DeviceNetworkEvents | 45 GB | Analytics | → Basic tier (save 60%) |
| CommonSecurityLog | 12 GB | Analytics | → DCR filter + keep Analytics |
| SecurityEvent | 8 GB | Analytics | → Filter EventID 4688 noise |
| SigninLogs | 3 GB | Analytics | → Keep (critical for detection) |
| AuditLogs | 1 GB | Analytics | → Keep (PCI-DSS required) |
Microsoft Purview AI Hub: visibility and governance for Microsoft 365 Copilot and other AI services. Tracks: what sensitive data Copilot is accessing in user prompts, what data surfaces in Copilot responses, overshared content accessible via Copilot (SharePoint files with broad permissions that should be restricted). DLP policies extend to Copilot interactions — block sensitive data from being included in AI prompts/responses.
Copilot data governance: before deploying M365 Copilot, run SharePoint data access governance report → identify overshared sites (anyone with link, external sharing enabled for sensitive content). Restrict access, apply sensitivity labels → then deploy Copilot. Copilot respects sensitivity label encryption — Highly Confidential files remain restricted in Copilot responses.
eDiscovery Premium — Review Sets: import documents into a Review Set for in-place analysis — no export/import cycle needed. Apply: near-duplicate grouping (review one canonical document for a cluster of near-identical versions), email threading (review only the latest email in a thread — contains all prior context), predictive coding (AI learns relevance from 500 seed documents → scores all 50,000 docs → review top 20% to find 90% of relevant content).
Communication Compliance + AI: use built-in trainable classifiers (Regulatory Compliance, Harassment, Profanity, Threat) + Teams AI meeting summaries. New: detect AI-generated content in communications (deepfake audio in Teams calls flagged for compliance review). Communication Compliance now reviews Teams chat, email, Teams meetings transcript, and Viva Engage posts.
Purview AI Hub: triển khai M365 Copilot cho 500 nhân viên → AI Hub phát hiện Copilot đang truy cập file Highly Confidential trong SharePoint vì permissions quá rộng → alert CISO. DLP rule: "nếu prompt chứa số thẻ tín dụng → block Copilot từ trả lời" → user thấy "Xin lỗi, tôi không thể xử lý thông tin nhạy cảm này." AI governance song song với AI deployment.
Copilot data governance: báo cáo thực tế tại nhiều org: 30-40% SharePoint content có permissions quá rộng (anyone with link) → Copilot có thể tổng hợp và trả lời về nội dung đó với bất kỳ ai hỏi → data leakage qua AI. SharePoint Access Governance report → identify 500 overshared sites → restrict → safe to deploy Copilot.
eDiscovery Premium Review Sets: vụ kiện lớn với 200,000 email cần review → Near-duplicate: gom 50,000 email thành 8,000 nhóm → review 1 email đại diện/nhóm → tiết kiệm 85% thời gian. Predictive coding: train với 500 email relevance mark → AI score 199,500 còn lại → chỉ review top 40,000 "likely relevant" thay vì toàn bộ 200,000. Từ 18 tháng xuống 3 tháng review cycle.
Communication Compliance AI: ngân hàng dùng AI classifier "Regulatory Compliance" → phát hiện broker chat "tôi đảm bảo lợi nhuận 20%" → flag → compliance officer review → xử lý nội bộ → tránh bị phạt NHNN/SEC. Không cần đọc thủ công 10,000 chat/ngày. Teams meeting transcript cũng được scan (họp có cam kết miệng bất hợp lệ).
M365 Copilot deployment checklist trước khi bật: (1) SharePoint Access Governance report → fix overshared sites (<30 days). (2) Sensitivity Labels trên 80%+ content. (3) DLP policies extend to AI workloads. (4) Purview AI Hub bật để monitor sau khi deploy. (5) User training: "Copilot không vào được dữ liệu bạn không có quyền" — nhưng vẫn cần kiểm soát quyền đúng. Đây là prerequisite, không phải afterthought.
Entra Lifecycle Workflows: automate Joiner-Mover-Leaver at scale. Joiner workflow (triggered by HR: generate Temporary Access Pass → send welcome email → add to groups → enable account → assign license — all before day 1). Mover workflow (department change → update group memberships → revoke old app access → notify new manager). Leaver workflow (last day: disable account, revoke sessions, block sign-in, remove from groups → D+30: delete account + archive mailbox → D+90: purge).
Microsoft Entra Verified ID: decentralized identity based on W3C Verifiable Credentials standard. Organizations issue credentials (employee badge, education diploma, professional certification) that users hold in their Microsoft Authenticator wallet. Third-party verifiers can verify credentials without calling back to the issuer — no central identity authority required. Use case: credential verification for new employee onboarding without manual HR document review.
Entra Permissions Management (CIEM): Cloud Infrastructure Entitlement Management for Azure, AWS, GCP. Discovers all permissions granted vs permissions actually used. Permission Creep Index (PCI): high PCI = users/apps have far more permissions than needed. Right-size recommendations: shrink permissions to what was used in last 90 days. Automated remediation: create just-in-time permission requests.
Global Secure Access — Microsoft's SSE: Security Service Edge. Two components: Entra Internet Access (Secure Web Gateway — filter web traffic, URL categorization, TLS inspection, block malware) + Entra Private Access (ZTNA — replace VPN for private app access). Deployed via Global Secure Access client on endpoints. Universal Conditional Access: CA policies apply to all traffic (not just Entra-auth apps).
Lifecycle Workflows: 1,000 nhân viên gia nhập mỗi năm → trước đây IT mất 2-4h setup mỗi người. Lifecycle Workflow Joiner: HR submit → trigger → 5 phút sau: AD account + M365 license + Teams group + welcome email + Temporary Access Pass (đăng nhập lần đầu không cần password cũ) → ngày 1 user ngồi vào là có đủ công cụ. Leaver tự động: không lo "quên tắt tài khoản nhân viên đã nghỉ từ tháng trước".
Entra Verified ID: tuyển dụng remote → nhân viên mới verify bằng cấp, chứng chỉ nghề nghiệp qua Verified ID → HR không cần gọi trường đại học confirm. Nhân viên hold credential trong Authenticator app — Microsoft không lưu dữ liệu (decentralized). Vendor onboarding: contractor verify "được ủy quyền bởi Công ty A" mà không cần gọi Công ty A.
Permissions Management: scan Azure subscription → 120 Service Principals → 45 cái có Owner role nhưng 0 API calls trong 90 ngày → PCI Score = High (nhiều permission không dùng). Right-size: suggest downgrade sang Reader. AWS IAM: 200 roles → 80 roles chưa được assume trong 90 ngày → flag for cleanup. Multi-cloud entitlement audit trong 1 dashboard.
Global Secure Access: thay VPN bằng GSA client → nhân viên remote → traffic đến app on-prem đi qua Entra Private Access (ZTNA, MFA + device compliance required, chỉ đến app được publish). Internet traffic đi qua Entra Internet Access (SWG — block malware sites, DLP cho web upload). Không còn "VPN connected = full trust". Universal CA: policy áp cho cả traffic không qua Entra auth.
Entra ID Governance full stack cho 5,000 user org: Lifecycle Workflows (Joiner/Mover/Leaver) + Entitlement Management (Access Packages self-service) + Access Reviews (quarterly PIM + group membership) + Permissions Management (multi-cloud CIEM) + Verified ID (contractor onboarding). Total automation: onboarding từ 4h IT manual → 15 phút automated. Offboarding: từ "3 ngày để thu hồi tất cả quyền" → <1h automated. Compliance: evidence tự động cho ISO 27001 A.9.2 User access provisioning.
Ngân hàng lớn bị audit NHNN chỉ ra 3 lỗ hổng nghiêm trọng: (1) VPN truyền thống bị compromise 2 lần trong năm. (2) Sentinel cost $80,000/tháng do ingestion không tối ưu. (3) 3,000 nhân viên có quyền truy cập rộng hơn cần thiết (permission creep). CISO phê duyệt dự án Zero Trust transformation 12 tháng.
- [Q1] Sentinel cost audit: migrate DeviceNetworkEvents → Basic tier. DCR transformation filter 60% noise. Commitment tier 50GB/day. Tiết kiệm $40,000/tháng.
- [Q2] Permissions Management: right-size 500 over-privileged identities. PIM cho 200 privileged roles. Lifecycle Workflows: automate onboarding/offboarding 8,000 users.
- [Q3] Global Secure Access: pilot 500 users thay VPN bằng ZTNA. Entra Internet Access (SWG) cho toàn bộ internet traffic. Universal Conditional Access policies.
- [Q4] ASIM detection rules: 50 custom rules với normalized parsers. Copilot governance: deploy M365 Copilot sau khi fix SharePoint access. Purview AI Hub monitoring. Final ZT assessment: benchmark improvement.
- A. let — đặt alias cho subquery
- B. ✅ materialize() — cache kết quả subquery vào bộ nhớ, tái sử dụng không cần tính lại
- C. join kind=inner — join trực tiếp
- D. summarize — aggregate sau join
- A. Tạo custom table schema chuẩn cho mọi firewall
- B. ✅ ASIM (Advanced Security Information Model) parsers — viết detection trên normalized schema, parsers map vendor fields tự động
- C. Dùng Azure Sentinel Content Hub templates cho từng vendor
- D. Ingest tất cả qua CommonSecurityLog CEF format