ตรวจสอบพื้นฐานบน Endpoint (Windows/macOS/Linux)
Windows 10/11
- Windows Security: Start → Windows Security → ตรวจสอบ Virus & Threat Protection, Firewall, App & Browser Control ทั้งหมดเป็นสีเขียว
- Wi-Fi Security Type: Settings → Network & Internet → Wi-Fi → Hardware Properties → ดู Security Type (ควรเป็น WPA2-Personal/Enterprise หรือ WPA3)
- Network Profile: ตั้งเป็น Private สำหรับบ้าน/สำนักงาน (ค้นหา "Make network private")
- Firewall Rules: `wf.msc` → ตรวจสอบ Inbound Rules ที่ Enable อยู่อย่างไม่จำเป็น
- Open Ports: `netstat -ano | findstr LISTENING` → ระบุ Process ที่ฟัง Port แปลกๆ
- Shared Folders: `fsmgmt.msc` → Shares → ปิด Share ที่ไม่ใช้ (C$, ADMIN$ ต้องการ Admin เท่านั้น)
macOS
- System Settings → Network → Wi-Fi → Details → Security: ควรเป็น WPA2/WPA3 Personal/Enterprise
- System Settings → General → Sharing → ปิดทุกอย่างที่ไม่ใช้ (File Sharing, Screen Sharing, Remote Login)
- Firewall: System Settings → Network → Firewall → On + Options → Block All Incoming (ยกเว้น Signed Apps)
- Terminal: `netstat -an | grep LISTEN` ตรวจสอบ Port เปิดผิดปกติ
Linux
- `ss -tulpn` หรือ `netstat -tulpn` ดู Listening Ports + PID/Program
- `ufw status verbose` หรือ `firewall-cmd --list-all` ตรวจสอบ Firewall Rules
- `auditd` / `systemd-journald` → ตั้งค่า Audit Rules สำคัญ (File Access, Execve, Network)
- `lynis audit system` — Automated Hardening Audit
ตรวจสอบระดับ Router / Network Infrastructure
- Admin Interface: เปลี่ยน Default Credentials, Enable HTTPS Only, Disable Remote Management (WAN Side)
- Wi-Fi: WPA2-AES / WPA3, Disable WPS, Hide SSID (Optional), Enable PMF (Protected Management Frames)
- Firmware: ตรวจสอบเวอร์ชันล่าสุดจาก Vendor → Auto-update ถ้ารองรับ
- DNS: ใช้ Encrypted DNS (DoH/DoT) หรือ Secure DNS (Quad9, NextDNS, Cloudflare 1.1.1.1 for Families)
- Open Ports (WAN): ใช้ `shodan.io` หรือ `censys.io` ค้นหา Public IP ของคุณ → ตรวจสอบ Port ที่ Exposed อย่างไม่ควร
- UPnP / NAT-PMP: ปิด (เสี่ยง Malware เปิด Port เอง)
- Guest Network: แยกจาก Main LAN, Client Isolation On
ตรวจสอบระดับ Browser & Online
- HTTPS Everywhere: ใช้ Browser ที่ Force HTTPS (Chrome, Edge, Firefox, Brave)
- Certificate Transparency: ตรวจสอบว่าเว็บไซต์สำคัญมี Valid Cert (🔒) และไม่มี Mixed Content
- Password Manager: ใช้ Bitwarden / 1Password / KeePass → ตรวจสอบ Reused/Weak/Compromised Passwords
- Have I Been Pwned: ตรวจสอบ Email/Phone ว่ารั่วไหลหรือไม่ → เปลี่ยน Password + Enable 2FA ทันที
- Browser Extensions: ลบ Extension ที่ไม่ใช้ / ไม่เชื่อถือ / มากกว่า 1 ปีไม่ได้ Update
เครื่องมือช่วยตรวจสอบอัตโนมัติ (Free/Open Source)
| Tool | Platform | จุดเด่น |
|---|---|---|
| Microsoft Defender for Endpoint (MDE) / ATP | Win/Mac/Linux | EDR + ASR Rules + Threat Analytics (Enterprise) |
| OpenVAS / Greenbone | Linux/Container | Vulnerability Scanner (Open Source Nessus Alternative) |
| Nmap / Npcap | All | Port Scan, Service Detection, NSE Scripts (vuln, auth, brute) |
| Wireshark | All | Packet Capture & Analysis (TLS, DNS, TCP Retransmission) |
| Zeek (Bro) | Linux | Network Traffic Analysis (Protocol, Anomaly, File Extraction) |
| Lynis | Linux/Unix/macOS | System Hardening Audit (CIS Benchmarks) |
| BloodHound / SharpHound | Windows/AD | AD Attack Path Analysis (Privilege Escalation, Kerberoasting) |
| PingCastle | Windows | AD Health Check & Risk Scoring |
Red Team / Penetration Testing (ขั้นสูง)
- Internal Pentest: Simulate Attacker Inside LAN (MITRE ATT&CK TTPs)
- Adversary Emulation: Atomic Red Team, Caldera, Red Canary
- Purple Teaming: Attacker + Defender ร่วมกันปรับปรุง Detection/Response
- Breach and Attack Simulation (BAS): Cymulate, AttackIQ, SafeBreach (Automated Continuous)
Metrics ที่ควรติดตาม (KPIs)
- MTTD (Mean Time to Detect): เป้าหมาย < 1 ชม. (Critical)
- MTTR (Mean Time to Respond/Recover): เป้าหมาย < 4 ชม.
- Vulnerability Remediation SLA: Critical < 7 วัน, High < 30 วัน
- Phishing Click Rate: < 5%
- Patch Compliance: > 95% ใน 30 วัน
- Asset Coverage (EDR, AV, Vuln Scan): 100%
สรุปขั้นตอน Quick Win (ทำได้ทันทีวันนี้)
- ตรวจสอบ Wi-Fi Security Type → ตั้ง WPA2/WPA3
- เปลี่ยน Router Admin Password + Disable Remote Management
- Enable Windows/macOS Firewall + Block Inbound by Default
- Update OS + Browser + Office ให้ Latest
- ติดตั้ง Password Manager + Enable 2FA บัญชีสำคัญทั้งหมด
- Run `netstat -ano` / `ss -tulpn` → Kill/Listening Port แปลกๆ
- Backup ข้อมูลสำคัญ (3-2-1 Rule)