Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

ขั้นตอนการยืนยันตัวตน (Authentication) 2 ขั้นตอนที่พบบ่อยที่สุดคืออะไร?

Authentication (การยืนยันตัวตน) คืออะไร?

กระบวนการตรวจสอบว่า "ผู้ใช้/อุปกรณ์/ระบบ นั้นคือใครจริงๆ" ก่อนอนุญาตให้เข้าถึงทรัพยากร พื้นฐานคือ 3 Factors (ปัจจัย) หลัก:

  • Something You Know (สิ่งที่คุณรู้): Password, PIN, Passphrase, Security Question
  • Something You Have (สิ่งที่คุณมี): Smartphone (Authenticator App, SMS), Hardware Token (YubiKey, RSA SecurID), Smart Card, OTP Device
  • Something You Are (สิ่งที่คุณคือ - Biometrics): Fingerprint, Face ID, Iris Scan, Voice Recognition, Behavioral Biometrics

2 ขั้นตอน (Steps) พื้นฐานของการ Authentication

  1. Identification (การระบุตัวตน): ผู้ใช้ระบุ Identity (Username, Email, User ID, Certificate Subject) → "ผมคือ ai"
  2. Verification (การตรวจสอบ/ยืนยัน): ระบบท้าทาย (Challenge) ให้ผู้ใช้พิสูจน์ตัวตนด้วย Credential/Factor → "พิสูจน์ดูว่าเป็น ai จริง"

หมายเหตุ: ในทางปฏิบัติ Identification และ Verification มักรวมกันในขั้นตอน Login เดียว (Username + Password พร้อมกัน)

Two-Factor Authentication (2FA) / Multi-Factor Authentication (MFA) - มาตรฐานปัจจุบัน

2FA = ใช้ 2 Factors จากคนละกลุ่ม (Knowledge + Possession, หรือ Knowledge + Inherence) ไม่ใช่ Password 2 ครั้ง

รูปแบบ 2FA/MFA ที่พบบ่อยที่สุด (Ranked by Security)

Two-Step Verification (2SV) vs Two-Factor Authentication (2FA)

  • 2SV (Two-Step Verification): 2 ขั้นตอน แต่อาจใช้ Factor เดียวกัน (เช่น Password + SMS OTP = Knowledge + Knowledge? ไป แต่ SMS คือ Possession) → คลุมเครือ
  • 2FA (Two-Factor Authentication): ต้องใช้ 2 Factors ที่ ต่างกลุ่มกันแน่นอน (Knowledge + Possession, Knowledge + Inherence)
  • MFA (Multi-Factor Authentication): ใช้ 2 Factors ขึ้นไป (ครอบคลุม 2FA)

ทำไม Password เดียว (Single Factor) ไม่พอ?

  • Password ถูก竊取ได้หลายทาง: Phishing, Keylogger, Data Breach (Credential Stuffing), Brute-force, Social Engineering, Malware
  • ผู้ใช้ตั้ง Password อ่อน, ใช้ซ้ำ (Reuse), แชร์, เขียนไว้
  • MFA บล็อกโจมตีได้ 99.9%+ (Microsoft, Google, Cisco รายงาน)

Best Practices สำหรับองค์กรและบุคคล

  1. ✅ บังคับ MFA สำหรับทุกบัญชีสำคัญ: Email, Banking, Social Media, Cloud Console, VPN, Admin Panel, Password Manager
  2. ✅ เลือก Factor ที่แข็งแกร่ง: 1) FIDO2/Passkeys 2) Authenticator App (TOTP) 3) Push (Number Matching) — หลีกเลี่ยง SMS
  3. ✅ Backup/Recovery Plan: Recovery Codes (พิมพ์เก็บที่ปลอดภัย), Spare Hardware Key, Backup Authenticator บนอุปกรณ์ที่ 2
  4. ✅ Conditional Access / Adaptive MFA: ขอ MFA เฉพาะกรณีเสี่ยง (New Device, New Location, Impossible Travel, High Risk App) ลด Friction
  5. ✅ Passwordless Authentication: ย้ายไปใช้ Passkeys/FIDO2 ให้มากที่สุด (ไม่มี Password ให้โดนขโมย)
  6. ✅ 教导用户: ไม่คลิก Approve Push ที่ไม่ได้ขอ, ไม่บอก OTP ให้ใคร, รายงาน MFA Fatigue Attack

สรุป: 2 ขั้นตอน/2 ปัจจัยที่พบบ่อยและแนะนำ

  1. ขั้นตอนที่ 1 (Knowledge): Username + Password (หรือ Passkey แทน Password ทั้งหมด)
  2. ขั้นตอนที่ 2 (Possession/Inherence): Authenticator App (TOTP) หรือ Push Notification (Number Matching) หรือ Hardware Key (YubiKey/FIDO2)

🏆 แนะนำสุดๆ: Passkeys (FIDO2) + Authenticator App Backup — ไม่มี Password, กัน Phishing ได้, ใช้งานง่าย, ไม่ต้องพึ่ง SMS

ประเภทตัวอย่างระดับความปลอดภัยข้อควรระวัง
FIDO2 / WebAuthn / Passkeys (Passwordless)YubiKey, Windows Hello, Face ID/Touch ID, Android Passkey, Apple Passkey⭐⭐⭐⭐⭐ (สูงสุด - Phishing Resistant)ต้องมี Hardware/Device รองรับ, Backup Method จำเป็น
Authenticator App (TOTP - Time-based OTP)Google Authenticator, Microsoft Authenticator, Authy, Bitwarden Authenticator, 1Password⭐⭐⭐⭐ (สูง - Offline, ไม่ต้องพึ่ง SMS)ต้อง Backup Seed/Recovery Codes, Sync ระหว่างอุปกรณ์
Push Notification (Number Matching)Microsoft Authenticator, Duo Push, Okta Verify (Number Matching ป้องกัน MFA Fatigue)⭐⭐⭐⭐ (สูง - UX ดี, Phishing Resistant กว่า TOTP)ต้องมี Internet, อาจกด Approve ผิด (MFA Fatigue) → ใช้ Number Matching
Hardware Token (OTP / FIDO U2F)YubiKey (OTP/U2F/FIDO2), RSA SecurID, Feitian⭐⭐⭐⭐ (สูง - Physical Possession)พร้อมเสีย/หาย, ต้องมี Spare, ค่าใช้จ่าย
SMS / Voice Call OTPรหัส 6 หลักส่งทาง SMS/โทร⭐⭐ (ปานกลาง - SIM Swap, SS7 Attack, Interception)ไม่แนะนำสำหรับระบบสำคัญ (NIST DEPRECATED สำหรับ High Assurance)
Email OTP / Magic Linkลิงก์/รหัสส่งทาง Email⭐⭐ (พึ่งพาความปลอดภัย Email)Email ถูก Hack = ทุกอย่างถูก Hack
Security Questionsคำถามลับ (แม่สมรส, โรงเรียนแรก)⭐ (ต่ำ - ทายได้, หาข้อมูลได้จาก Social Media)ไม่ควรใช้เป็น Factor เดيد แทน Password