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

ความยอมรับในข้อมูลประจำตัว (Credentials) ในมุมมองไซเบอร์ความปลอดภัย

Credentials (ข้อมูลประจำตัว) ใน Cybersecurity คืออะไร?

Credentials (ข้อมูลประจำตัว / ตราประจำตัว) คือ ข้อมูลที่ใช้เพื่อ ยืนยันตัวตน (Authentication) และ อนุญาตสิทธิ์ (Authorization) ให้เข้าถึงทรัพยากรระบบ/เครือข่าย/แอปพลิเคชัน เป็นหลักฐานพิสูจน์ว่า "คุณคือคุณที่คุณอ้างว่า"

ประเภทของ Credentials (Authentication Factors)

แบ่งเป็น 3 หมวดหลัก (3 Factors of Authentication):

Factorชื่อเรียกตัวอย่างความแข็งแกร่ง
Something You Know (Knowledge)ความรู้Password, PIN, Passphrase, Security Questions, Patternอ่อนที่สุด (ถูกเดา/ขโมย/Phishing ได้)
Something You Have (Possession)ของครองHardware Token (YubiKey), Smartphone (Authenticator App), Smart Card, SMS/Email OTP, FIDO2 Security Keyปานกลาง-สูง (ต้องมีของในมือ)
Something You Are (Inherence)ลักษณะเฉพาะตัวFingerprint, Face ID, Iris Scan, Voice Recognition, Behavioral Biometricsสูง (ยากที่จะปลอมแปลง)

รูปแบบ Credentials ทางเทคนิค

  • Username/Password: พื้นฐานสุด (Single Factor)
  • API Keys / Access Tokens / JWT: Machine-to-Machine, Service Accounts
  • Certificates (X.509): PKI, Mutual TLS, Smart Cards
  • SSH Keys: Public/Private Key Pair (Linux/Server Admin)
  • Kerberos Tickets: Enterprise Authentication (Active Directory)
  • SAML/OIDC Tokens: SSO, Federation, Cloud Identity
  • FIDO2/WebAuthn Credentials: Passwordless, Phishing-resistant

Credential Acceptability (ความยอมรับในข้อมูลประจำตัว) คืออะไร?

ในบริบท Cybersecurity Credential Acceptability หมายถึง เกณฑ์และกระบวนการตัดสินใจว่า Credential ใดถือว่า "ถูกต้อง" "น่าเชื่อถือ" และ "เพียงพอ" สำหรับการเข้าถึงทรัพยากรเฉพาะ

องค์ประกอบของ Credential Acceptability

  1. Validity (ความถูกต้อง): รูปแบบถูกต้อง ไหมวดหมดอายุ Signature ถูกต้อง
  2. Trustworthiness (ความน่าเชื่อถือ): ออกโดย Identity Provider (IdP) ที่ไว้ใจได้ (Google, Microsoft, Okta, Gov CA, Internal CA)
  3. Freshness (ความทันสมัย): ไม่ใช่ Replay Token, Timestamp ใกล้เคียง, Nonce ถูกต้อง
  4. Sufficiency (ความเพียงพอ): ตรงตาม Policy (MFA Required? Hardware Key Required? LoA Level?)
  5. Contextual Appropriateness (เหมาะสมกับบริบท): Device Health, Location, Time, Risk Score (Adaptive/Continuous Authentication)
  6. Authorization Alignment: Credential นี้ให้สิทธิ์เข้าถึง Resource นี้ได้จริงหรือไม่ (RBAC/ABAC/PBAC)

Credential Management Best Practices

สำหรับองค์กร (Enterprise)

  1. Centralized Identity (IAM/IdP): Single Source of Truth (Entra ID, Okta, Ping, Keycloak)
  2. MFA Everywhere: บังคับ MFA ทุกบัญชี (Phishing-resistant: FIDO2, Passkeys)
  3. Passwordless Authentication: ลดการพึ่งพา Password (Windows Hello, FIDO2, Magic Links)
  4. Privileged Access Management (PAM): Just-in-Time Access, Session Recording, Credential Vaulting (CyberArk, BeyondTrust, HashiCorp Vault)
  5. Secrets Management: API Keys, DB Passwords, Certs → Vault (ไม่ Hardcode ใน Code/Config)
  6. Credential Rotation/Expiration: Auto-rotate Service Accounts, Certs, Keys
  7. Monitoring & Detection: Impossible Travel, Credential Stuffing, Token Replay, Anomalous Access
  8. Offboarding: Revoke ทันทีเมื่อพนักงานลาออก (SCIM/Provisioning)

สำหรับบุคคล (Individual)

  1. ใช้ Password Manager (Bitwarden, 1Password, KeePass, Apple/Google/Chrome)
  2. สร้าง Unique Password ทุกไซต์ (Generator 16+ chars)
  3. เปิด MFA (2FA) ทุกที่ที่รองรับ เรียงความปลอดภัย: FIDO2/Hardware Key > Authenticator App (TOTP) > Push > Email > SMS
  4. ใช้ Passkeys (FIDO2/WebAuthn) แทน Password หากรองรับ
  5. ตรวจสอบ Data Breach Exposure (Have I Been Pwned, Password Manager Watchtower)
  6. ไม่แชร์ Credentials (แม้กับ IT Support จริง - ใช้ Secure Sharing Feature ของ Password Manager)

Credential Attacks และการป้องกัน

การโจมตีคำอธิบายการป้องกัน
Credential Stuffingใช้ Username/Password ที่รั่วไหลจากที่อื่น มาลองเข้าไซต์เป้าหมายUnique Passwords, MFA, Rate Limiting, Bot Detection, Breach Monitoring
Phishing / Spear Phishingหลอกให้กรอก Credentials บน Fake SitePhishing-resistant MFA (FIDO2/Passkeys), DMARC/DKIM/SPF, Training, Email Security
Brute Force / Password Sprayเดารหัสผ่าน (Common passwords / One password many accounts)Account Lockout, MFA, Strong Passwords, CAPTCHA, WAF
Man-in-the-Middle (MitM)ขโมย Credentials ระหว่างการส่ง (Unencrypted Wi-Fi, Rogue AP)TLS Everywhere, Certificate Pinning, VPN, Encrypted DNS
Pass-the-Hash / Pass-the-Ticketใช้ NTLM Hash / Kerberos Ticket ที่ขโมยมาจาก Memory (LSASS)Credential Guard, LSASS Protection, Restricted Admin Mode, Tiered Admin
Token Theft / Session Hijackingขโมย Session Cookie / JWT / OAuth TokenShort TTL, HttpOnly Secure SameSite Cookies, Token Binding, Continuous Auth
Supply Chain / CI/CD Credential Theftขโมย Secrets จาก Repo, Pipeline, Container, Developer MachineSecrets Scanning, GitGuardian, TruffleHog, OIDC Tokens (No Static Secrets)

มาตรฐานและเฟรมเวิร์กที่เกี่ยวข้อง

  • NIST SP 800-63B (Digital Identity Guidelines): Authentication & Authenticator Assurance Levels (AAL1/2/3)
  • NIST SP 800-53 (IA Family): Identification & Authentication Controls
  • ISO/IEC 27001 Annex A.9: Access Control
  • Zero Trust Architecture (NIST SP 800-207): Never Trust, Always Verify - Credential เป็น Core
  • FIDO2 / WebAuthn / CTAP: Passwordless Standard
  • OAuth 2.0 / OpenID Connect (OIDC): Delegated Authorization / Federation

สรุป

Credential Acceptability ใน Cybersecurity ไม่ใช่แค่ "รหัสผ่านถูกต้อง" แต่อย่างใด แต่เป็น กระบวนการประเมินหลายมิติ: Validity, Trustworthiness, Freshness, Sufficiency, Context, Authorization การยุคนี้กำลังเคลื่อนไปสู่ Passwordless, Phishing-resistant MFA (FIDO2/Passkeys), Continuous/Adaptive Authentication, และ Zero Trust โดยที่ Credential ถูกประเมินซ้ำๆ ตลอด Session ไม่ใช่แค่ตอน Login