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

Network Security Scanner (Scanner an ninh mạng) phát hiện gì? Loại, công cụ, quy trình

Network Security Scanner - Bộ quét an ninh mạng: Phát hiện gì & Cách hoạt động

Network Security Scanner (Vulnerability Scanner) là công cụ tự động quét mạng, hệ thống, ứng dụng để phát hiện lỗ hổng bảo mật, cấu hình sai, và rủi ro tuân thủ.

Phát hiện được gì? (Detection Capabilities)

  • Known Vulnerabilities (CVE): So sánh version dịch vụ/phần mềm với database CVE (NVD, Vendor advisory)
  • Misconfigurations: Default credentials, Open ports không cần, Weak crypto (TLS 1.0/1.1, weak cipher), Exposed services (SMB, RDP, Database, Redis, Elasticsearch)
  • Missing Patches / Updates: OS, Firmware, Application, Library, Container base image
  • Weak Authentication: Default/weak passwords, No MFA, Anonymous access, Weak SSH config
  • Information Disclosure: Banner grabbing, Directory listing, Error messages, Version disclosure, Sensitive files (.git, .env, backup)
  • Compliance Gaps: PCI-DSS, HIPAA, GDPR, ISO 27001, CIS Benchmarks, STIG
  • Malware/Backdoor Indicators: Known malicious files, webshells, suspicious scripts, C2 callbacks
  • Network Architecture Issues: Flat network, No segmentation, Insecure protocols (Telnet, FTP, SNMPv1/v2c, HTTP)

Các loại Vulnerability Scanner

LoạiMô tảCông cụ tiêu biểu
Network-based ScannerQuét từ ngoài mạng, không cần agent. Scan IP range, port, service, vulnNessus, OpenVAS/GVM, Nexpose/InsightVM, Qualys VM, Rapid7, Nmap NSE
Host-based / Agent-based ScannerCài agent trên endpoint/server. Quét deep: registry, patch level, config file, running processQualys Cloud Agent, Rapid7 Insight Agent, Tenable.io Agent, Wazuh, Osquery, Microsoft Defender for Endpoint
Wireless ScannerQuét bảo mật WiFi: Rogue AP, Weak encryption (WEP/WPA), WPS, Evil Twin, Client probeKismet, Aircrack-ng suite, Wifite, Ekahau, NetSpot, Acrylic WiFi
Application / Web Scanner (DAST/SAST/IAST/SCA)Quét lỗ hổng ứng dụng web/API: OWASP Top 10, Business Logic, API SecurityBurp Suite Pro, OWASP ZAP, Acunetix, Invicti, Checkmarx, SonarQube, Snyk, Semgrep
Database ScannerQuét cấu hình DB, quyền user, patch level, sensitive data exposureImperva, Trustwave, AppDetectivePRO, SQLMap (specialized)
Cloud / Container ScannerQuét IaC (Terraform, CloudFormation, K8s YAML), Container Image, Cloud Config (CSPM)Wiz, Orca, Prisma Cloud, Aqua, Trivy, Checkov, tfsec, KICS, Kubescape

Cơ chế hoạt động (How it works)

  1. Discovery / Reconnaissance: Host discovery (Ping sweep, ARP, SYN), Port scanning (SYN, Connect, UDP), Service enumeration (Banner grabbing, Version detection)
  2. Vulnerability Checks: Non-intrusive (Version check, Banner, Config) vs Intrusive (Exploit attempt, Credentialed scan, Fuzzing)
  3. Credentialed / Authenticated Scan: Đăng nhập SSH/WinRM/SNMP/DB/API để quét deep (Patch level, Registry, Config file, Installed software) - Độ chính xác cao hơn nhiều
  4. Correlation & Scoring: Map findings → CVE → CVSS Score (Base/Temporal/Environmental) → Risk Rating (Critical/High/Medium/Low/Info)
  5. Reporting: Executive Summary, Technical Findings, Remediation Guidance, Compliance Mapping, Trend Analysis

Top công cụ Vulnerability Scanner (2024)

Công cụLoạiLicensingĐiểm mạnh
Tenable Nessus / Tenable.ioNetwork + Agent + CloudProprietary (Free 16 IP)Plugin nhiều nhất (~180k), CVSS, Compliance, IT/OT/Cloud, Industry standard
Rapid7 InsightVM / NexposeNetwork + Agent + CloudProprietaryReal-time risk scoring (Risk Score), Remediation projects, Automation, Metasploit integration
Qualys VMDRCloud-native + AgentProprietaryNo on-prem scanner needed, Continuous monitoring, Patch integration, Cloud/Container
OpenVAS / Greenbone GVMNetwork (Open Source)GPL (Free)Miễn phí, plugin feed daily, Docker/VM appliance, Community support
Nmap + NSE ScriptsNetwork (CLI)GPL (Free)Linh hoạt, script vuln/custom, Foundation của nhiều scanner khác
Microsoft Defender Vulnerability ManagementAgent-based (Built-in Win10/11/Server)Included M365 E5 / Defender for Endpoint P2Zero deploy, Real-time, Integrated Defender stack, Software Inventory
Wiz / Orca Security / Prisma CloudCloud-Native (Agentless + Agent)ProprietaryGraph-based attack path, Cloud/Container/IaC, DSPM, CIEM
Trivy / Grype / SyftContainer/Image/IaC ScannerApache 2.0 (Free)Fast, CI/CD integration, SBOM, Misconfig, Secret scanning

Quy trình quét lỗ hổng chuẩn (Vulnerability Management Lifecycle)

  1. Scope & Planning: Xác định tài sản (Asset Inventory), Ưu tiên (Critical assets first), Lịch quét (Window, Bandwidth)
  2. Scan Configuration: Credentialed scan (SSH/WinRM/SNMP), Safe checks only (Production), Rate limiting, Exclusions
  3. Execution: Chạy quét (Scheduled / On-demand / Continuous)
  4. Analysis & Prioritization: Loại False Positive, Risk-based prioritization (CVSS + Threat Intel + Asset Criticality + Exploitability - EPSS), SLA remediation
  5. Remediation / Mitigation: Patch, Config change, Compensating control, WAF rule, Network segmentation, Accept risk (Documented)
  6. Verification: Re-scan targeted (Delta scan) xác nhận fix
  7. Reporting & Metrics: MTTR (Mean Time To Remediate), Vulnerability Aging, Risk Score Trend, Compliance Status

Quét lỗ hổng nội bộ (Internal Vulnerability Scan)

  • Góc nhìn: Insider / Compromised host / Lateral movement
  • Quét: Workstation, Server, Printer, IoT, Switch, Router, IP Phone, Camera, Building Management
  • Credentialed scan quan trọng: Domain Admin / Local Admin / Service Account
  • Phát hiện: Unpatched workstation, Weak local policy, Misconfigured service, Shadow IT, Rogue device

Lưu ý pháp lý & Đạo đức

  • Chỉ quét hệ thống SỞ HỮU HOẶC CÓ SỰ CHO PHÉP VĂN BẢN
  • Mỹ: Computer Fraud and Abuse Act (CFAA) - Quét trái phép có thể bị kiện dân sự/형 sự
  • Việt Nam: Luật An ninh mạng, Luật An toàn thông tin - Tuân thủ quy trình thẩm định
  • Bug Bounty: Chỉ test trong scope, tuân thủ rules of engagement (RoE)

Kết luận

Network Security Scanner là "chiếc kính hiển vi" cho tư thế bảo mật. Quan trọng không phải quét, mà: Credentialed Scan, Prioritization dựa trên rủi ro thực (Risk-based), Remediation kịp thời (SLA), Verification, Continuous Monitoring. Kết hợp Network + Host + Cloud + App + Container scanner để có bức tranh toàn cảnh (Unified Vulnerability Management).