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

Tấn công mạng (Network Security Attacks): Phân loại, Top kỹ thuật & Phòng chống

Tấn công mạng (Network Attack) là gì?

Là các hành vi cố ý nhằm xâm phạm tính bảo mật, toàn vẹn, sẵn sàng của hạ tầng mạng, hệ thống, dữ liệu. Phân loại chính: Passive (Thụ động) – quan sát, nghe lén; Active (Chủ động) – sửa đổi, phá hủy, từ chối dịch vụ.

Phân loại chi tiết theo MITRE ATT&CK & Kill Chain

1. Reconnaissance (Tìm kiếm thông tin) – Tactic: TA0043

  • Active Scanning: Port scan (Nmap, Masscan, ZMap), Vulnerability scan (Nessus, OpenVAS).
  • Passive Recon: OSINT (Shodan, Censys, FOFA, ZoomEye), DNS enumeration, Certificate Transparency logs, Social media, Job posting.
  • Network Sniffing: ARP sniff, DHCP listen, mDNS/SSDP, BGP monitoring.

2. Initial Access (Truy cập ban đầu) – TA0001

  • Phishing / Spearphishing: Email/SMS/Teams/Slack chứa link/file độc hại (Macro, ISO, LNK, HTML smuggling).
  • Exploit Public-Facing Application: CVE trên Web Server, VPN, Firewall, Exchange, Citrix, FortiGate, Pulse Secure.
  • External Remote Services: VPN, RDP, SSH, Citrix, VNC với credential yếu/leak/reuse.
  • Drive-by Compromise / Watering Hole: Khách truy cập web bị inject malicious script.
  • Supply Chain Compromise: SolarWinds, Kaseya, 3CX, Dependency confusion, Typosquatting (npm/PyPI).
  • Trusted Relationship: Xâm nhập qua partner/vendor/managed service provider.

3. Execution / Persistence / Privilege Escalation / Defense Evasion

  • Living off the Land (LOLBins): PowerShell, WMI, Certutil, Mshta, Regsvr32, Rundll32, Schtasks, Bitsadmin.
  • Credential Access: LSASS dump (Mimikatz, ProcDump), DCSync, Kerberoasting, AS-REP Roasting, NTDS.dit, Browser credential store, Wi-Fi profile.
  • Lateral Movement: Pass-the-Hash/Ticket, SMB/WinRM/SSH/RDP lateral, DCOM, WMI, SMB admin shares, SSH key reuse.
  • Command & Control (C2): DNS tunneling, HTTPS/HTTP(S), Cloud API (GitHub, Azure, AWS), Domain Fronting, WebSocket, QUIC, Tor/I2P.
  • Exfiltration: Compressed/Encrypted staging, Exfil over C2 channel, Cloud storage (OneDrive, GDrive, S3), DNS exfil, Physical media.
  • Impact: Ransomware (Encrypt + Extort), Wiper, Data Destruction, Disk Wipe, Firmware Corruption, Resource Hijacking (Cryptojacking), Service Stop.

Top 10 Kỹ thuật tấn công mạng phổ biến nhất 2023-2024 (Theò MITRE ATT&CK / Verizon DBIR / IBM X-Force)

  1. T1566.001 – Phishing: Spearphishing Attachment/Link (Vector #1 initial access).
  2. T1190 – Exploit Public-Facing Application (Log4j, ProxyNotShell, CitrixBleed, FortiOS, MoveIT).
  3. T1078 – Valid Accounts (Credential stuffing, Password spray, Initial Access Broker, Infostealer log).
  4. T1021.004 – Lateral Movement: Pass the Hash (NTLM relay, PetitPotam, Shadow Credentials).
  5. T1003.001 – OS Credential Dumping: LSASS Memory (PPL bypass, Comsvcs.dll, WerFault).
  6. T1486 – Data Encrypted for Impact (Ransomware) (LockBit, BlackCat/ALPHV, Cl0p, Akira, RansomHub).
  7. T1059.001 – Command & Scripting: PowerShell (AMSI bypass, ScriptBlock logging bypass).
  8. T1071.001 – Application Layer Protocol: Web Protocols (C2 over HTTPS/HTTP).
  9. T1567.002 – Exfiltration to Cloud Storage (rclone, Azure Storage Explorer, AWS CLI).
  10. T1584.001 – Compromise Infrastructure: Domains (Typosquatting, Expired domains, DGAs).

Các lớp tấn công theo mô hình OSI/TCP-IP

Phòng chống toàn diện (Defense in Depth cho Network)

LayerTấn công điển hình
L1 PhysicalFiber tapping, Cable cutting, Hardware implant, TEMPEST, USB drop attack (BadUSB).
L2 Data LinkARP Spoofing, MAC Flooding (CAM table overflow), VLAN Hopping (Double tag, Switch spoofing), STP Attack, DHCP Starvation/Rogue, LLDP/CDP Recon.
L3 NetworkIP Spoofing, ICMP Redirect, BGP Hijacking, Route Injection, IP Fragmentation Attack, Smurf/Fraggle (DDoS).
L4 TransportSYN Flood, TCP RST Injection, UDP Flood, Port Scan, Session Hijacking (TCP Sequence Prediction).
L5-7 ApplicationSQLi, XSS, CSRF, SSRF, RCE, Deserialization, API Abuse, Business Logic Flaw, DNS Tunneling, DoH/DoT Abuse.

Kết luận

Tấn công mạng ngày càng tinh vi, tự động hóa, tận dụng lỗ hổng zero-day, supply chain, identity. Phòng thủ hiệu quả không phải "mua thêm firewall" mà là chiến lược Zero Trust + Defense in Depth + Visibility (Log/NDR/EDR) + Automation (SOAR) + Threat Intelligence + People (Training/Hunting). Giả định đã bị xâm nhập (Assume Breach) → Tối thiểu hóa tác động (Blast Radius) → Phát hiện sớm (Reduce Dwell Time) → Phản ứng tự động (Reduce MTTR).

LớpCông nghệ / Biện pháp
PerimeterNext-Gen FW (App-ID, SSL Decrypt, IPS, Anti-Virus, File Blocking, WildFire), DDoS Protection (Cloud/On-prem), WAF, DNS Security (RPZ, DNSSEC, DoH Block).
Network SegmentationVLAN, Micro-segmentation (VMware NSX, Cisco ACI, Illumio, Guardicore), Zero Trust Network Access (ZTNA), East-West Firewall.
DetectionNDR (Zeek/Suricata + ML), NTA, Flow Analysis (NetFlow/IPFIX), IDS/IPS, Honeypot/Deception, TLS Inspection (Policy-based).
EndpointEDR/XDR (Behavioral, Memory scan, Kernel sensor), App Control, USB Control, Patch Management, Tanium/Osquery Live Query.
IdentityMFA (FIDO2/WebAuthn/Passkey), PAM (Session recording, JIT), Conditional Access, Identity Threat Detection (ITDR), Tiered Admin Model.
DataDLP (Network/Endpoint/Cloud), Encryption (TLS 1.3, IPsec, S3 SSE-KMS, TDE), DSPM, Tokenization, Key Management (HSM).
OperationsSIEM/SOAR (Correlation, UEBA, MITRE ATT&CK Mapping), Threat Intel Platform (TIP), Threat Hunting Program, IR Playbook, Tabletop Exercise, Red/Purple Team.