Computer >> Hướng Dẫn Máy Tính >  >> Kết Nối Mạng >> An Ninh Mạng

An ninh mạng (Network Security) hoạt động như thế nào? Nguyên lý, mô hình và thực hành

Nguyên lý cốt lõi: Defense in Depth (Sự phòng thủ đa lớp)

An ninh mạng không phụ thuộc vào một giải pháp đơn lẻ mà kết hợp nhiều lớp kiểm soát chồng chéo nhau. Nếu một lớp bị vượt qua, các lớp khác vẫn bảo vệ. Mô hình phổ biến:

Mô hình 7 lớp an ninh mạng (Network Defense in Depth)

Mô hình hoạt động (Security Service Model)

Theo tiêu chuẩn ITU-T X.800 / ISO 7498-2, dịch vụ an ninh mạng bao gồm:

  1. Authentication (Xác thực): Peer entity authentication, Data origin authentication
  2. Access Control (Kiểm soát truy cập): Role-based, Attribute-based, Policy-based
  3. Data Confidentiality (Bảo mật dữ liệu): Connection confidentiality, Connectionless confidentiality, Selective field confidentiality, Traffic flow confidentiality
  4. Data Integrity (Toàn vẹn dữ liệu): Connection integrity with/without recovery, Connectionless integrity, Selective field integrity
  5. Non-repudiation (Phòng chối cưỡng): Origin, Destination, Delivery
  6. Availability Service (Dịch vụ sẵn sàng): DDoS protection, Redundancy, Failover

Các thành phần kỹ thuật chính

  • Firewall (NGFW): Stateful Inspection, App-ID, User-ID, Content-ID (IPS, AV, File Blocking, URL Filtering), SSL Decryption, WildFire/Sandbox
  • Network Access Control (NAC): Pre-admission (Health check), Post-admission (Continuous monitoring), Profiling (IoT, BYOD), Guest Management
  • VPN / ZTNA: IPsec Site-to-Site, SSL VPN Remote Access, ZTNA (App-level access, no network access)
  • Segmentation: VLAN (L2), VRF (L3), Micro-segmentation (Host-based, e.g., Illumio, Guardicore), Software-Defined Perimeter
  • Encryption: TLS 1.3 (Web/API), IPsec (Site-to-Site), MACsec (L2), WireGuard (Modern VPN)
  • Monitoring: NetFlow/IPFIX/sFlow, Packet Capture (PCAP), Zeek (Bro), Suricata, NDR (Corelight, ExtraHop, Darktrace)

Quy trình vận hành an ninh mạng (NIST CSF Aligned)

  1. IDENTIFY: Asset Inventory, Data Flow, Risk Assessment, Supply Chain Risk
  2. PROTECT: Hardening, Config Mgmt, MFA, Encryption, Awareness Training
  3. DETECT: Continuous Monitoring, Anomaly Detection, Threat Hunting, Vuln Scanning
  4. RESPOND: IR Plan Execution, Containment, Eradication, Forensics, Communication
  5. RECOVER: Restore, Validate, Lessons Learned, Update Controls, Resilience Planning

Thách thức hiện đại

  • Encrypted Traffic (TLS 1.3, DoH/DoT, QUIC): Khó inspect → Cần SSL Decryption / Encrypted Traffic Analysis (ETA)
  • Remote/Hybrid Work: Perimeter tan vỡ → Zero Trust, ZTNA, SASE
  • Cloud/Container/K8s: Ephemeral workloads, East-West traffic, CNI Security (Cilium, Calico)
  • OT/IT Convergence: Purdue Model, Industrial Firewall, OT Asset Visibility (Claroty, Nozomi, Dragos)
  • AI/ML Attacks: Deepfake, AI-generated phishing, Adversarial ML, Automated exploitation

Xu hướng: SASE (Secure Access Service Edge) & Zero Trust

Hội tụ Network (SD-WAN) + Security (SSE: SWG, CASB, ZTNA, FWaaS, RBI, DLP) dưới dạng Cloud-Native Service. Vendor: Zscaler, Netskope, Palo Alto Prisma SASE, Fortinet FortiSASE, Cisco Umbrella+Meraki, Cloudflare One.

LớpTên gọiGiải pháp/Công nghệMục tiêu
1Physical & PerimeterFirewall (NGFW), Router ACL, DDoS Protection, Physical SecurityChặn mối đe dọa bên ngoài, kiểm soát ranh giới
2Network SegmentationVLAN, Subnet, Micro-segmentation, ZTNA, SDN/ACICô lập miền lỗi, hạn chế lateral movement
3Secure Access & Identity802.1X, NAC, MFA, VPN/ZTNA, PAM, Identity-Aware ProxyXác thực mạnh, least privilege access
4Threat Prevention & DetectionIPS/IDS, NGFW App Control, Anti-Malware, Sandbox, DNS Security, Email SecurityChặn/Phát hiện mã độc, exploit, C2, phishing
5Data ProtectionEncryption (TLS 1.3, IPsec, MACsec), DLP, CASB, Key ManagementBảo vệ dữ liệu trong lúc truyền/lưu/trữ
6Visibility & AnalyticsSIEM, SOAR, NDR, UEBA, Flow Analysis (NetFlow/sFlow), Threat IntelPhát hiện bất thường, điều tra, threat hunting
7Operations & ResiliencePatch Mgmt, Vuln Mgmt, Backup/DR, IR Plan, Tabletop, Chaos EngineeringSẵn sàng phản ứng, khôi phục, cải tiến liên tục