กลไกความปลอดภัย (Security Mechanism) คืออะไร?
กลไกความปลอดภัย (Security Mechanism) คือเครื่องมือ เทคนิค กระบวนการ หรือกลไกทางเทคนิคที่ใช้เพื่อป้องกัน ตรวจจับ หรือกู้คืน จากการโจมตีทางความปลอดภัย ทำงานร่วมกับบริการความปลอดภัย (Security Services) เพื่อให้บรรลุเป้าหมาย CIA Triad: Confidentiality (ความลับ), Integrity (ความสมบูรณ์), Availability (ความพร้อมใช้งาน)
ความสัมพันธ์ระหว่าง Security Services และ Security Mechanisms
| บริการความปลอดภัย (Security Service) | กลไกที่เกี่ยวข้อง (Mechanisms) |
| Authentication (การยืนยันตัวตน) | Passwords, MFA, Biometrics, Certificates, Kerberos |
| Access Control (การควบคุมการเข้าถึง) | ACL, RBAC, ABAC, Firewalls, Zero Trust |
| Data Confidentiality (ความลับของข้อมูล) | Encryption (AES, RSA, TLS/SSL, IPsec) |
| Data Integrity (ความสมบูรณ์ของข้อมูล) | Hashing (SHA-256), Digital Signatures, HMAC, Checksums |
| Non-repudiation ( عدم انکار) | Digital Signatures, Audit Logs, Certificates |
| Availability (ความพร้อมใช้งาน) | Redundancy, Failover, DDoS Protection, Backups |
8 กลไกเฉพาะเจาะจง ตามสถาปัตยกรรมความปลอดภัย OSI (X.800)
- Encipherment (การเข้ารหัส): แปลงข้อมูลให้อ่านไม่เข้าใจ โดยใช้ Cryptography (Symmetric: AES, Asymmetric: RSA/ECC)
- Digital Signature (ลายเซ็นดิจิทัล): ใช้ Asymmetric Crypto + Hashing เพื่อพิสูจน์ต้นทางและความสมบูรณ์
- Access Control Mechanisms (กลไกควบคุมการเข้าถึง): ACL, Capability Lists, RBAC, ABAC, Firewalls
- Data Integrity Mechanisms (กลไกความสมบูรณ์ข้อมูล): CRC, Checksums, Hashes (SHA), HMAC
- Authentication Exchange (การแลกเปลี่ยนการยืนยันตัวตน): Protocols เช่น Kerberos, TLS Handshake, OAuth, SAML, OIDC
- Traffic Padding (การเติมข้อมูลปลอม): ซ่อนรูปแบบการจราจร (Traffic Analysis Prevention)
- Routing Control (การควบคุมเส้นทาง): เลือกเส้นทางที่ปลอดภัย หลีกเลี่ยงโหนดที่ถูกคุกคาม
- Notarization (การรับรอง): 第三方受信任方见证通信或交易 (Trusted Third Party - TTP)
ประเภทกลไกความปลอดภัยตามลักษณะการทำงาน
1. กลไกป้องกัน (Preventive Mechanisms)
- Firewalls (Network/Host-based)
- Encryption (Data at rest, In transit)
- Access Control (Authentication, Authorization)
- Application Whitelisting
- Secure Configuration/Hardening
- Network Segmentation (VLAN, Zero Trust)
2. กลไกตรวจจับ (Detective Mechanisms)
- IDS/IPS (Intrusion Detection/Prevention Systems)
- SIEM (Security Information and Event Management)
- Log Analysis & Correlation
- File Integrity Monitoring (FIM)
- Network Traffic Analysis (NTA)
- EDR/XDR (Endpoint Detection & Response)
3. กลไกแก้ไข/กู้คืน (Corrective/Recovery Mechanisms)
- Backup & Restore
- Disaster Recovery Plan (DRP)
- Incident Response Playbooks
- Patch Management
- Malware Removal & Quarantine
- System Rollback/Snapshots
4. กลไก阻吓 (Deterrent Mechanisms)
- Security Policies & Warning Banners
- Legal/Regulatory Consequences
- Surveillance Cameras (Physical)
- Honeypots/Honeynets
กลไกความปลอดภัยในเครือข่ายไร้สาย (Wireless Security Mechanisms - IEEE 802.11)
| รุ่น | กลไกการยืนยันตัวตน | กลไกการเข้ารหัส | สถานะ |
| WEP | Open System / Shared Key | RC4 (40/104-bit) | ❌ แตกง่าย ห้ามใช้ |
| WPA | PSK (Personal) / 802.1X (Enterprise) | TKIP/RC4 | ⚠️ ล้าสมัย มีช่องโหว่ |
| WPA2 | PSK / 802.1X | CCMP/AES | ✅ มาตรฐานปัจจุบัน ขั้นต่ำ |
| WPA3 | SAE (Personal) / 802.1X-192bit (Enterprise) | GCMP/AES-256 | 🏆 มาตรฐานล่าสุด ปลอดภัยที่สุด |
ตัวอย่างกลไกความปลอดภัยในชีวิตจริง
- HTTPS/TLS: Encipherment + Authentication Exchange + Data Integrity (เว็บไซต์)
- VPN (IPsec/WireGuard): Encipherment + Authentication + Traffic Padding
- Windows Hello / Face ID: Biometric Authentication Mechanism
- BitLocker / FileVault / LUKS: Encipherment (Data at Rest)
- Active Directory / LDAP + Kerberos: Authentication Exchange + Access Control
- AWS IAM / Azure RBAC: Access Control Mechanisms (Cloud)
- Git Commit Signing (GPG/SSH): Digital Signature + Non-repudiation
- Blockchain: Hashing + Digital Signature + Distributed Consensus
กลไกการป้องกันระดับโฮสต์ (Host-based Protection Mechanisms)
- Process Sandboxing: แยกกระบวนการ (Android, Chrome, iOS)
- Permission Systems: ควบคุมสิทธิ์แอป (Android Permissions, iOS Permissions)
- Code Signing: รับรองต้นทางโค้ด (Windows Driver Signing, Apple Notarization)
- ASLR / DEP / CFG: กลไกป้องกันการโจมตีหน่วยความจำ (Memory Protection)
- Secure Boot / Measured Boot: รับรองความสมบูรณ์ระหว่างบูท
สรุป
กลไกความปลอดภัย (Security Mechanisms) คืออิฐสร้างพื้นฐานของระบบป้องกัน ไม่มีกลไกเดียวที่ครบวงจร ต้องใช้ Defense in Depth (การป้องกันแบบหลายชั้น) รวมกลไกป้องกัน ตรวจจับ แก้ไข และ嚇阻 พร้อมทั้งเลือกกลไกที่เหมาะสมกับความเสี่ยง มูลค่าสินทรัพย์ และข้อกำหนดทางกฎหมายขององค์กร