Bước 5 · Advanced Security · Training Course

SC-500 Advanced Microsoft Security

Khóa học nâng cao tổng hợp toàn bộ Microsoft Security stack: Zero Trust architecture, advanced Sentinel engineering, Purview advanced compliance, identity governance sâu. Cầu nối giữa Associate và SC-100 Expert.

6
modules
Labs
thực hành
Expert
prep level
Free
community labs
Zero Trust & Architecture
~30%
Advanced Sentinel Engineering
~30%
Purview Advanced Compliance
~20%
Identity Governance Advanced
~20%
ℹ️ Về khóa SC-500: Đây là khóa học nâng cao tổng hợp được cộng đồng Microsoft Security xây dựng (labs tại msfthub.comGitHub ashwnn/SC-500). Nội dung tổng hợp kiến thức nâng cao từ SC-300, SC-200, SC-401 để chuẩn bị cho SC-100 (Cybersecurity Architect Expert).
M1Zero Trust Architecture — Deep Dive~30%
Zero Trust Maturity Model & Implementation
CISA ZT Maturity Model · Network segmentation · Microsegmentation · ZTNA · Verify explicitly
🇬🇧 English

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.

🇻🇳 Tiếng Việt

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.

⚙ Thực tế

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.

M2Advanced Sentinel Engineering~30%
KQL Advanced & Detection Engineering
Advanced KQL operators · Normalization (ASIM) · Custom connectors · Cost optimization
🇬🇧 English

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).

🇻🇳 Tiếng Việt

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.

⚙ Thực tế — Cost Audit
TableGB/dayTierAction
DeviceNetworkEvents45 GBAnalytics→ Basic tier (save 60%)
CommonSecurityLog12 GBAnalytics→ DCR filter + keep Analytics
SecurityEvent8 GBAnalytics→ Filter EventID 4688 noise
SigninLogs3 GBAnalytics→ Keep (critical for detection)
AuditLogs1 GBAnalytics→ Keep (PCI-DSS required)
M3Purview Advanced Compliance & AI Security~20%
Microsoft Purview AI Hub & Advanced eDiscovery
Purview AI Hub · Copilot data governance · eDiscovery Premium · Communication Compliance AI
🇬🇧 English

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.

🇻🇳 Tiếng Việt

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ệ).

⚙ Thực tế

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.

M4Identity Governance — Advanced~20%
Microsoft Entra ID Governance — Complete Picture
Lifecycle Workflows · Verified ID · Permissions Management · Global Secure Access
🇬🇧 English

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).

🇻🇳 Tiếng Việt

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.

⚙ Thực tế

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.

SC-500 Community Labs: Labs thực hành nâng cao từ cộng đồng Microsoft Security. Hai nguồn lab phổ biến:
msfthub.com
Official community labs
GitHub · ashwnn/SC-500
Community study materials
Zero Trust & Architecture
01
Deploy Global Secure Access (ZTNA)
Cài Global Secure Access client. Publish on-prem web app qua Entra Private Access (ZTNA). Configure Quick Access. Test access với user không có MFA → bị block. Test với Compliant device → granted. Monitor traffic logs. Compare với App Proxy truyền thống.
⏱ 50 phútZTNAGlobal Secure Access★ Quan trọng
02
Configure Entra Permissions Management (CIEM)
Connect Azure subscription vào Permissions Management. Review Permission Creep Index. Identify top 10 over-privileged identities. Right-size recommendations: downgrade 5 Service Principals. Create JIT permission request workflow. Generate compliance report.
⏱ 40 phútCIEMPermissions Management★ Quan trọng
Advanced Sentinel
03
Advanced KQL & ASIM Parsers
Viết detection rules với ASIM parsers (imAuthentication). Dùng arg_max, mv-expand, materialize. Tạo custom ASIM parser cho non-standard log source. Implement DCR transformation (filter noisy events at ingestion). Measure cost impact trước và sau filter. Tạo analytics rule từ ASIM query.
⏱ 60 phútKQL AdvancedASIMCost Optimization★ Bắt buộc
04
Sentinel SOC Optimization & Threat Intelligence
Configure MDTI (Microsoft Defender Threat Intelligence) Premium với Sentinel. Ingest TAXII feed. Tạo Threat Intelligence analytics rule. UEBA: configure entity behavior baselines. Review anomalies. SOC Optimization recommendations: review + apply top 3 recommendations. Measure coverage score improvement.
⏱ 45 phútThreat IntelligenceUEBASOC Optimization
Purview Advanced & AI Governance
05
Purview AI Hub & Copilot Governance
Bật Microsoft Purview AI Hub. Chạy SharePoint Access Governance report. Identify overshared sites. Configure DLP policy cho AI workloads (M365 Copilot). Test: Copilot prompt với sensitive data → DLP block. Enable Communication Compliance với AI classifier. Review eDiscovery Premium: predictive coding workflow.
⏱ 50 phútAI HubCopilot Governance★ Quan trọng
VN National Bank · 8,000 users · 50 branches · Regulated by NHNN & SBV
Zero Trust transformation: từ perimeter-based sang identity-centric security trong 12 tháng
Bối cảnh

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.

Roadmap 12 tháng
  1. [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.
  2. [Q2] Permissions Management: right-size 500 over-privileged identities. PIM cho 200 privileged roles. Lifecycle Workflows: automate onboarding/offboarding 8,000 users.
  3. [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.
  4. [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.
✅ Kết quả sau 12 tháng: Sentinel cost giảm 55% ($80k → $36k/tháng). Zero VPN-related security incident (ZTNA deployed 8,000 users). Permission Creep Index giảm từ 85 → 32. Onboarding time: 4h → 20 phút. Copilot deployed safely sau SharePoint governance cleanup. ZT Maturity: Identity pillar 35% → 80%, Network 20% → 65%. NHNN re-audit: Pass với 0 critical findings.
Câu Hỏi Nâng Cao SC-500
Q1. KQL query cần sử dụng một subquery đắt tiền nhiều lần trong cùng một query phức tạp. Operator nào tối ưu nhất?
  • 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
materialize() evaluate subquery một lần duy nhất và cache kết quả. Các lần sử dụng tiếp theo đọc từ cache — không re-compute. let chỉ là alias/reference (vẫn re-evaluate nếu gọi nhiều lần trong complex query). Tiết kiệm CPU và thời gian query đáng kể cho subquery nặng.
Q2. Org muốn Sentinel detection rules hoạt động với mọi firewall vendor mà không cần viết rule riêng cho từng vendor. Giải pháp?
  • 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
ASIM parsers normalize vendor-specific log formats thành chuẩn (imNetworkSession, imDns) → detection rules viết 1 lần, hoạt động với mọi source. CEF CommonSecurityLog tốt hơn Syslog raw nhưng vẫn có vendor-specific fields — vẫn cần viết rule riêng nếu không có ASIM parser.
Zalo