Truy cập Network Security Appliance (NSA) - Ví dụ Cisco ASA/Firepower
- Kết nối máy tính với NSA qua cáp Ethernet (cổng Management hoặc Inside).
- Cấu hình IP tĩnh trên máy tính cùng subnet với Management IP (mặc định thường 192.168.1.1/24 hoặc 192.168.0.1/24).
- Mở trình duyệt → truy cập
https://(ASDM) hoặc SSHssh admin@(CLI). - Đăng nhập: username admin, password admin hoặc cisco (mặc định Cisco ASA). Thay đổi ngay lập tức.
- ASDM (GUI): Wizard cấu hình cơ bản. CLI:
enable→configure terminal.
Yêu cầu cấp IP mới từ Router (DHCP Renew)
- Command Prompt (Admin) / PowerShell / Terminal.
- Gõ:
ipconfig /release→ Enter. - Gõ:
ipconfig /renew→ Enter. - Kiểm tra:
ipconfig /all→ xem IPv4 Address, Default Gateway, DNS Servers. - Network and Sharing Center → xem Network Map: kết nối Firewall network + Internet active.
Thiết bị an ninh mạng (Network Security Devices) là gì?
- Access Control: NAC, 802.1X, RADIUS, TACACS+, ISE, Cloud IAM.
- Antivirus/Anti-malware: Endpoint Protection (EDR/XDR), Network AV (gateway scanning).
- Application Security: WAF, RASP, API Gateway, SAST/DAST/SCA tools.
- Behavioral Analytics: UEBA, NTA/NDR, NetFlow/IPFIX analysis.
- DLP (Data Loss Prevention): Network DLP, Endpoint DLP, Cloud DLP.
- DDoS Prevention: Scrubbing center, Anycast, Rate limiting, WAF.
- Email Security: SEG, DMARC/DKIM/SPF, Sandbox, Anti-phishing.
- Firewall: Stateful, NGFW (App-ID, User-ID, Content-ID), Cloud FW, Micro-segmentation.
- VPN/Zero Trust: IPsec, SSL VPN, WireGuard, ZTNA, SASE/SSE.
- SIEM/SOAR: Log aggregation, correlation, alerting, automation.
- Vulnerability Management: Scanner, Patch management, ASM/EASM.
Cấu hình WAN trên NSA (SonicWall NSA series)
- Manage → Network → Interfaces.
- Chọn WAN interface (X1) → Configure → Static IP.
- Nhập: IP Address, Subnet Mask, Default Gateway (do ISP cung cấp).
- DNS Servers: ISP DNS hoặc Public DNS (1.1.1.1, 8.8.8.8, 9.9.9.9).
- MTU: 1500 (Ethernet) hoặc theo ISP (PPPoE thường 1492).
- OK → Accept.
2 nguyên tắc cốt lõi an ninh mạng (CIA Triad)
Mọi thiết bị/biện pháp an ninh mạng phải đảm bảo 3 nguyên tắc cùng lúc:
- Confidentiality (Bảo mật): Chỉ entity được ủy quyền truy cập thông tin.
- Integrity (Toàn vẹn): Thông tin không bị sửa đổi/xóa trái phép.
- Availability (Khả dụng): Hệ thống/dữ liệu sẵn sàng khi cần.
Thiếu một trong ba → không an ninh.
Security Appliance (Thiết bị an ninh) là gì? Ví dụ
- Firewall Appliance: Palo Alto, FortiGate, Check Point, Cisco Firepower, SonicWall NSA, Sophos XG.
- Virus Scanning Appliance: Gateway AV (tích hợp trong NGFW hoặc standalone).
- Content Filtering Appliance: Web Proxy/Filter (Blue Coat, Forcepoint, Zscaler, Cisco Umbrella).
- IDS/IPS Appliance: Snort/Suricata appliance, Cisco FirePOWER, TippingPoint.
- DDoS Mitigation Appliance: Arbor/NETSCOUT, Radware, Corero.
- Email Security Appliance: Cisco ESA, Proofpoint, Mimecast, Barracuda.
- WAF Appliance: F5 ASM, Imperva, FortiWeb, Citrix ADC.
IDS (Intrusion Detection System) passive: chỉ detect + alert. IPS (Intrusion Prevention System) active: detect + block.
Các loại thiết bị an ninh mạng
- Firewall: Hardware appliance hoặc Software firewall (host-based, cloud).
- Antivirus/EDR/XDR: Endpoint agent + management console.
- Content Filtering: Web Proxy, DNS Filtering, SWG (Secure Web Gateway).
- IDS/IPS: Network-based (NIDS/NIPS) hoặc Host-based (HIDS/HIPS).
- UTM (Unified Threat Management): All-in-one: FW, IPS, AV, Web Filter, VPN, Anti-spam, App Control (FortiGate, Sophos, WatchGuard, SonicWall).
Security Appliance có phải Router không?
Thiết bị an ninh cơ bản = Firewall + Router. Nhưng nếu không có subscription UTM/Threat Intelligence (dynamic content: URL category, IP reputation, malware signature, C2 feed, IPS signature) → không thể inspect/process traffic hiện đại (encrypted traffic, evasive malware, C2 beaconing). Ví dụ: Web filtering cần URL database cập nhật liên tục.
Mua Firewall riêng (Standalone) được không?
Có. Vẫn có sản phẩm firewall độc lập (hardware appliance: Palo Alto PA-series, FortiGate, Cisco Firepower; virtual: AWS Network Firewall, Azure Firewall, GCP Cloud Armor; software: OPNsense, pfSense, VyOS). Cũng có firewall miễn phí/mã nguồn mở (OPNsense, pfSense, iptables/nftables, Windows Firewall, ufw).
TCP/IP có bị thay thế không?
Gần như chắc chắn không thay thế trong tương lai gần. TCP/IP là nền tảng Internet 40+ năm, độ interoperability cực cao. Thay thế sẽ cực kỳ khó khăn, tốn kém. Sẽ tiếp tục tiến hóa: QUIC (HTTP/3), TLS 1.3, IPv6, SRv6, INT, SCION...
Giao thức thay thế TCP/IP tiềm năng
QUIC (Quick UDP Internet Connections) — nền tảng HTTP/3. Dựa trên UDP, tích hợp TLS 1.3, multiplexing, 0-RTT, connection migration. Google: ~70%+ egress traffic là QUIC, ~7-10% traffic Internet toàn cầu. Chuẩn hóa: RFC 9000 (QUIC), RFC 9114 (HTTP/3).
Router mới có cho IP mới không?
DHCP server thường "nhớ" MAC address → cấp lại IP cũ (DHCP lease renewal). Tắt/bật router không thường đổi IP public. Để đổi IP public: ngắt kết nối WAN lâu hơn lease time (thường 24h), hoặc gọi ISP yêu cầu đổi, hoặc dùng MAC clone khác trên WAN port (nếu ISP binding MAC).
Loại thiết bị an ninh mạng (theo chức năng)
- Passive Devices: Chỉ detect/report (IDS, Network TAP, SPAN port, Packet Capture).
- Active Devices: Block/allow/modify traffic (Firewall, IPS, WAF, DLP, Proxy).
- Preventive Devices: Ngăn chặn trước khi xảy ra (Vulnerability Scanner, Patch Management, Hardening, NAC pre-admission).
- UTM (Unified Threat Management): Nền tảng tích hợp nhiều chức năng.
Ví dụ an ninh mạng
Bảo vệ máy tính, file, thư mục trên mạng khỏi hack, lạm dụng, sửa đổi trái phép. Ví dụ: cài đặt Anti-virus/EDR, Firewall, VPN, DLP, NAC, SIEM.
Cấu hình WAN Network Settings (chung)
- App quản trị router → Wi-Fi Settings → Advanced Networking.
- WAN → Chọn kiểu kết nối: Static IP, DHCP, PPPoE, PPTP, L2TP.
- Static IP: nhập IP, Subnet Mask, Gateway, DNS (từ ISP).
- PPPoE: nhập Username/Password (từ ISP).
- Save/Apply.
Thiết lập Static WAN IP Device
- Router App → Wi-Fi Settings → Advanced Networking → WAN.
- Chọn Static IP.
- Nhập: IP Address, Subnet Mask, Internet Gateway (do ISP cấp).
- DNS: 1.1.1.1 / 8.8.8.8 / 9.9.9.9 hoặc ISP DNS.
- Save.
Kết nối mạng WAN
- Cắm adapter nguồn router vào ổ điện.
- Cắm modem/ONT vào cổng WAN/Internet của router (cáp Ethernet).
- Cắm máy tính vào cổng LAN (hoặc kết nối Wi-Fi).
- Router phân phát IP (DHCP) → máy tính truy cập Internet qua router.