การจัดเก็บและจัดการ Encryption Keys (คีย์การเข้ารหัส) ใน Network Security
Encryption Key ใน Security คืออะไร?
ลำดับบิตสุ่ม (Random Bits) ใช้เข้ารหัส/ถอดรหัสข้อมูล สร้างด้วย Algorithms ให้ Unique, Unpredictable, Secure Symmetric Key** = ใช้ Key เดียวกันเข้ารหัสและถอดรหัส
AWS Encryption Keys จัดเก็บที่ไหน?
AWS KMS Default Key Store - AWS Managed KMS Keys ที่ AWS Services อื่นสร้างให้ จะ Generate และ Store ที่นี่เสมอ
อะไรใช้ Manage/Store Encryption Keys?
Key Management Servers (KMS/HSM)** - จัดการ Key Lifecycle ทั้งวงจร ป้องกันการใช้งานผิด/สูญหาย ควบคุม Generation, Usage, Storage, Retrieval, Disposal
วิธีหา Lost Encryption Key
- ปิดอุปกรณ์ที่ต้องการ Recover
- เข้า
mydevices.stanford.eduจากอุปกรณ์อื่น - คลิก Link Recover Encryption Key ของอุปกรณ์นั้น
Encryption Key ควรจัดเก็บที่ไหน?
เก็บครั้งเดียว (Single Source of Truth)** แยกทางกายภาพจาก Storage/Infrastructure Provider ควบคุมโดย Customer โดยตรง (Compliance & Audit)
วิธีจัดเก็บ Encryption Keys
- ใช้ Hardware Security Module (HSM)
- ผูก Hardware กับ Encryption
- เข้ารหัส Key แล้วผูกกับ Admin Login (encrypt login key)
- Boot Time: ใส่ Key แล้วเก็บใน Memory
- เก็บ Key บน Server แยกต่างหาก
การจัดการ Encryption Key (Key Management)
- Centralize Key Management System
- Automation สูงสุด
- Centralized Access Controls & User Roles
- รองรับ Multiple Encryption Standards
- Robust Logging & Auditing
- Train Employees Key Management Policies
ตัวอย่าง Encryption Key
Symmetric Encryption: Shared Secret Key (Key=2: A→C, B→D, ...) Sender และ Receiver ใช้ Key เดียวกัน
Encryption เป็น Security ประเภทไหน?
Data Encryption = Cryptography = Data Security Method ยอดนิยม ทุกขนาดองค์กร 2 ประเภท: Symmetric และ Asymmetric
เก็บ Encryption Keys ใน Cloud ได้ไหม?
ได้ Cloud Provider จัดการ Keys ใช้ Encrypt/Decrypt Data Keys และ Data อยู่ใน Cloud Storage
AWS เข้าถึง Encryption Keys ได้ไหม?
- AWS CloudHSM: Custom Keys - เข้าถึงได้ เฉพาะคุณ
- AWS KMS: Keys ที่ AWS จัดการ - คุณและ AWS** เข้าถึงได้
ใครควรจัดการ Encryption Keys?
ผู้ที่รับผิดชอบ Data ท้ายที่สุดในองค์กร ควรรับผิดชอบ Keys ด้วย เน้น Responsibility มากกว่า Location ของ Data
เกิดอะไรขึ้นถ้า Lost Encryption Key?
ไม่สามารถถอดรหัส Ciphertext ที่เกี่ยวข้องได้ = Cryptographic Erasure ข้อมูลเข้าถึงไม่ได้ถาวร
Encryption Key จัดเก็บที่ไหนจริงๆ?
Key Management Server สร้าง Key ผ่าน Encrypted Random Bit Generator เก็บใน Key Storage Database พร้อม Attributes
Encryption Keys บน Windows 10 อยู่ที่ไหน?
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys (Cryptographic Key Store)