Mobile Payment Terminals ใช้ Network Security อะไร?
Mobile Payment Terminals (mPOS, SoftPOS, SmartPOS) ใช้ หลายชั้นของความปลอดภัย (Defense in Depth) รวมทั้ง Hardware, Software, Network และ Cryptography:
1. Hardware Security (Root of Trust)
- Secure Element (SE) / Trusted Execution Environment (TEE): Chip แยกต่างหาก เก็บ Key และทำ Cryptographic Operations (Key Generation, Signing, Decryption) แยกจาก OS หลัก
- PCI PTS (PIN Transaction Security) Certification: มาตรฐาน Hardware Security สำหรับอุปกรณ์รับชำระเงิน (POI - Point of Interaction) ระดับ SRED (Secure Reading and Exchange of Data)
- Tamper Resistance/Evidence: Physical Sensors (Mesh, Voltage, Temp, Light) → Zeroize Keys เมื่อตรวจพบการโจมตีทางกายภาพ
- Trusted Boot / Secure Boot: ยืนยัน Firmware/OS Integrity ตั้งแต่ Power-on
2. Network Communication Security
| Layer | Technology/Protocol | รายละเอียด |
|---|---|---|
| Transport | TLS 1.2/1.3 (Mutual TLS - mTLS) | Client & Server Authenticate กันด้วย Certificate ป้องกัน MITM |
| Application | ISO 8583 / ISO 20022 over TLS | Financial Messaging Standards พร้อม MAC (Message Authentication Code) |
| Network | VPN / Private APN / MPLS | แยก Traffic การชำระเงินออกจาก Internet สาธารณะ |
| Link (Wi-Fi) | WPA3-Enterprise (802.1X/EAP-TLS) | Certificate-based Auth สำหรับ Terminal เอง |
3. Cryptographic Key Management
- DUKPT (Derived Unique Key Per Transaction): สร้าง Unique Key ต่อ Transaction จาก Base Derivation Key (BDK) → ไม่มี Key ซ้ำกัน ไม่ต้องจัดการ Key ทุก Transaction
- MK/SK (Master Key / Session Key): Key Hierarchy ตาม ANSI X9.24 / ISO 11568
- HSM (Hardware Security Module): ทำ Key Generation, Injection, Management ที่ Backend (Acquirer/Processor)
- Remote Key Injection (RKI): Inject/Update Keys ผ่าน Secure Channel (TLS + Mutual Auth) ไม่ต้องนำ Terminal กลับสู่สถานที่ปลอดภัย
4. Tokenization & Encryption (Data Protection)
- Point-to-Point Encryption (P2PE / E2EE): Encrypt PAN (Card Number) ที่จุดอ่าน (Reader/SE) → Decrypt เฉพาะที่ HSM ของ Processor → Merchant/Terminal ไม่เห็น Clear PAN
- Tokenization: แทน PAN ด้วย Token (Non-sensitive) สำหรับการเก็บรักษา/ส่งต่อในระบบ Merchant
- EMV Chip (Contact/Contactless): Dynamic Cryptogram (ARQC/TC) ต่อ Transaction → ป้องกัน Replay/Cloning
5. Application & Platform Security
- App Sandboxing / Containerization: แยก Payment App จาก OS/App อื่น (Android Work Profile, iOS App Groups, KNOX)
- Code Signing & Integrity Verification: ห้ามรัน Unsigned/Modified Code
- Anti-Tamper / Anti-Debug / Root/Jailbreak Detection: ตรวจสอบ Environment Integrity
- White-box Cryptography: ป้องกัน Key Extraction จาก Memory/Dump แม้ใน White-box Environment
6. Compliance Standards (มาตรฐานที่ต้องปฏิบัติ)
- PCI DSS (Data Security Standard): Requirement 1-12 (Firewall, Encryption, Access Control, Monitoring, Testing, Policy)
- PCI PTS (PIN Transaction Security): Hardware Security Requirements (POI, HSM, KLD)
- PCI P2PE (Point-to-Point Encryption): Validated P2PE Solutions ลด Scope PCI DSS ของ Merchant
- EMVCo Specifications: Contact (EMV Kernel), Contactless (EMV Contactless, NFC), QR Code (EMV QR)
- GDPR / PDPA: Personal Data Protection
7. Threat Landscape & Mitigations
| ภัยคุกคาม | การลดทอน (Mitigation) |
|---|---|
| Man-in-the-Middle (MITM) | mTLS, Certificate Pinning, HSTS, HPKP (Deprecated), DNSSEC |
| Malware on Terminal | SE/TEE, App Sandbox, Code Signing, Root/Jailbreak Detect, Remote Wipe |
| Skimming / Shimming | EMV Chip, P2PE, Tamper-evident Hardware, Contactless (No Insert) |
| Replay Attack | Dynamic Cryptogram (EMV), Nonce/Challenge-Response, Timestamp |
| Key Extraction | HSM, White-box Crypto, DUKPT (No Master Key on Terminal), Remote Key Injection |
| Network Eavesdropping | TLS 1.3, VPN/Private APN, WPA3-Enterprise |
สรุป
Mobile Payment Terminals ใช้ Hardware Root of Trust (SE/TEE, PCI PTS) + End-to-End Encryption (P2PE, DUKPT, TLS/mTLS) + Tokenization + Network Isolation (VPN/Private APN, WPA3-Enterprise) + Strict Compliance (PCI DSS/PTS/P2PE/EMVCo) เพื่อให้การชำระเงินผ่านมือถือ/แท็บเล็ตปลอดภัยเทียบเท่าหรือดีกว่า POS แบบดั้งเดิม