Cryptography ใช้ใน Network Security อย่างไร?
- Confidentiality (ความลับ): เข้ารหัสข้อมูลขณะส่ง (In Transit: TLS, IPsec, SSH, WireGuard) และขณะเก็บ (At Rest: Disk Encryption, Database Encryption)
- Integrity (ความสมบูรณ์): Hash Functions (SHA-256, SHA-3), HMAC, Digital Signatures รับรองข้อมูลไม่ถูกแก้ไขระหว่างทาง
- Authentication (การยืนยันตัวตน): Certificates (X.509), PKI, Mutual TLS (mTLS), SSH Keys, Kerberos, SAML/OIDC Tokens
- Non-repudiation (ไม่ thểปฏิเสธ): Digital Signatures (RSA/ECDSA) ใช้ใน Code Signing, Document Signing, Blockchain
- Key Exchange & Management: Diffie-Hellman (ECDHE), TLS Handshake, HSM, KMS, Key Rotation
ทำไม Cryptography จึงสำคัญใน Network Security?
- ปกป้องข้อมูลข้าม Untrusted Networks (Internet, Public Wi-Fi)
- ป้องกัน Eavesdropping (Sniffing), MITM (Man-in-the-Middle), Replay Attacks
- ยืนยันตัวตน Server/Client (Certificate Validation)
- ปฏิบัติตาม Compliance (PCI-DSS: Encrypt Card Data, GDPR: Data Protection, HIPAA: ePHI Encryption)
- เป็นรากฐานของ Zero Trust (Never Trust, Always Verify - Cryptographic Verification)
ด้านใดของ Network Security ที่ Cryptography ครอบคลุม? (4 Aspects)
- Secrecy/Confidentiality: Encryption (AES, ChaCha20)
- Integrity Control: Hashing (SHA-2/3), HMAC
- Authentication: PKI, Certificates, Digital Signatures
- Cryptography: ตัวเองเป็น Aspect ที่ 4 รวม Key Management, Protocols, Algorithms
องค์ประกอบสำคัญของ Network Security (Key Elements)
- Firewall (Perimeter/Segmentation)
- IPS/IDS (Intrusion Prevention/Detection)
- NAC (Network Access Control)
- SIEM (Security Information & Event Management)
- DLP (Data Loss Prevention)
- Antivirus/Anti-malware/EDR
- Application/Web/Email Security
- Cryptography (Encryption, Hashing, PKI, Key Management) - ปมกลางเชื่อมทุกอย่าง
Cryptography ใน Network Security คืออะไร?
การศึกษาเทคนิคการสื่อสารอย่างปลอดภัย ที่เฉพาะ Sender และ Recipient เท่านั้นที่อ่านข้อความได้ ใช้ Secret Key เข้ารหัส Plaintext → Ciphertext ส่งไป Recipient ใช้ Key ถอดรหัสกลับเป็น Plaintext
การใช้งาน Cryptography ในชีวิตประจำวัน
- HTTPS/TLS (เว็บไซต์, API, Mobile Apps)
- VPN (IPsec, WireGuard, OpenVPN, SSL VPN)
- Wi-Fi Security (WPA2/WPA3 - AES-CCMP/GCMP)
- Email Encryption (S/MIME, PGP/GPG)
- Messaging (Signal Protocol, WhatsApp, iMessage - E2EE)
- Disk Encryption (BitLocker, FileVault, LUKS)
- Password Managers (AES-256 Encrypted Vault)
- Code Signing (App Store, Windows Driver Signing)
- Blockchain/Cryptocurrency (ECDSA, SHA-256)
- SSH Keys (Remote Server Access)
เป้าหมายความปลอดภัยของ Cryptography (Security Goals)
- Confidentiality (Privacy) - ข้อมูลลับ
- Integrity - ข้อมูลไม่ถูกเปลี่ยนแปลง
- Authentication - ยืนยันตัวตนแหล่งที่มา
- Non-repudiation - ไม่ thểปฏิเสธการกระทำ
Confidentiality บรรลุได้อย่างไรใน Cryptography?
Encrypt ด้วย Public Key ของ Recipient (Asymmetric) → เฉพาะ Recipient ที่มี Private Key ถอดรหัสได้ ไม่สามารถคำนวณ Private Key จาก Public Key ได้ (Mathematical Hard Problem: Factorization, Discrete Log, Elliptic Curve)
Cryptography สำคัญต่อ Cybersecurity อย่างไร?
ปกป้องข้อมูลละเอียดอ่อน (Passwords, Credit Cards, PII, Trade Secrets) บน Internet Cybersecurity Experts ใช้ Cryptography ออกแบบ Encryption Algorithms, Ciphers, Protocols (TLS 1.3, Noise Protocol, Signal Protocol) เพื่อเข้ารหัสและปกป้องข้อมูลธุรกิจ