Yubico

Thomas Roche นักวิจัยจาก NinjaLab รายงานช่องโหว่ EUCLEAK ช่องโหว่ของชิปความปลอดภัย (secure element) Infineon SLE78 ที่ใช้งานในกุญแจ YubiKey 5

ช่องโหว่อยู่ที่ กระบวนการเซ็นลายเซ็น ECDSA ที่สามารถสังเกตระยะเวลาตอบกลับเพื่อตรวจสอบถึงค่ากุญแจภายในได้ แม้ว่าจะมีมาตรการสุ่มหยุดทำงานเป็นช่วงๆ แต่ Roche ก็สามารถตรวจพบการหยุดประมวลผลอย่างจงใจได้ไม่ยาก ทำให้แฮกเกอร์ที่มีกุญแจในมือสามารถยิงขอลายเซ็นไปเรื่อยๆ นับล้านครั้ง จนกู้คืนกุญแจออกมาได้

ผลกระทบจากช่องโหว่นี้นอกจากกุญแจ YubiKey แล้ว ชิปรักษาความปลอดภัยที่ใช้ชิป SLE78 ทั้งหมดก็กระทบไปด้วย เช่น สมาร์ตการ์ดในกลุ่ม JavaCard บางรุ่น, ชิป TPM, HSM เก็บกุญแจในเซิร์ฟเวอร์ต่างๆ, หรือชิปรักษาความปลอดภัยในอุปกรณ์ IoT

ทาง NinjaLab ติดต่อผู้ผลิตที่ได้รับผลกระทบแล้ว ทาง YubiKey ได้ออกแพตช์แก้ไขโดยหันไปใช้ไลบรารีของตัวเองแทนตั้งแต่เดือนพฤษภาคมที่ผ่านมา อย่างไรก็ดี กุญแจที่ออกไปแล้วนั้นไม่สามารถแพตช์ใหม่ได้ ก็จะมีความเสี่ยงถูกสำเนาได้ หากคนร้ายได้กุญแจไปโจมตีเป็นเวลานานพอ

กระบวนการโจมตีนี้ต้องอาศัยคนร้ายได้กุญแจไปจริงๆ ไม่สามารถโจมตีระยะไกลได้ Roche ย้ำว่าการใช้กุญแจ FIDO เพื่อล็อกอินยังคงปลอดภัยกว่าแนวทางอื่นๆ อีกหลายแนวทาง

ที่มา - NinjaLab

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

ภัยจริงๆ คือคนร้ายขโมยไปแป๊บเดียว (หายไปชั่วโมงเดียว) เพื่อไปทำสำเนาครับ ถ้าขโมยไปเลยเหยือจะรู้ตัวแล้ว revoke กุญแจ

PH41 Fri, 06/09/2024 - 05:56

In reply to by lew

YubiKey ใช้ USB 2.0
สมมุติว่า USB 2 ส่งคำสั่งได้สูงสุด 200 iops
สมมุติว่า yubikey ตอบทันที
สมมุติว่าต้องส่ง 1 ล้านครั้งพอดี

1,000,000ครั้ง/200iops/60วินาที = 83.33 นาที

เอาจริงๆเท่าที่อ่าน เรื่องนี้ตอนแรกเหมือนจะเป็นเรื่องใหญ่แต่เอาเข้าจริงๆก็ไม่น่าร้ายแรงมากเท่าไหร่ครับ

  1. จำเป็นต้องแงะอุปกรณ์เพื่อทำการ electromagnetic probe ดังนั้นขโมยไปแล้วนำกลับมาคืนยังไงก็ต้องมีร่องรอยแน่ๆ
  2. จาก

Note that the side-channel capture must be reproduced for every different secret stored i the chip (for instance in FIDO, for every web service protected by FIDO, a dedicated key pair is associated – one must then capture a set of side-channel acquisitions for each different targeted secret – the device however has to be opened only once). The offline phase also has to be reproduced for every secret.

นั้น เท่าที่เข้าใจทุกๆ service จะต้องทำการแลกเปลี่ยน key ก่อนเสมอ(เพื่อที่จะได้ capture ได้) ดังนั้นหากผู้ที่ขโมยไปไม่รู้รหัสผ่านในขั้นตอนแรก เพื่อที่จะเข้าสู่ขั้นตอนที่สองของ 2FA execution ได้ก็ไม่น่าที่จะ capture key ของ service ตัวนั้นๆได้นะครับ

ดังนั้นผมเข้าใจว่าความเสี่ยงเดียวที่น่าจะมีผลกระทบคือพวก passwordless login หรือเปล่าครับ?

edit : เข้าใจว่าเป็นไปตามนั้นนะครับ จาก reddit ของ Yubikey

What is the issue exactly?

Attacker, having access to your yubikey and knowing your pin number for the yubikey FIDO2 or knowing the account password for the website if pin is not needed, can extract the credential for that website and use it elsewhere. This is an elaborate process and require even up to 24 hours of continous access to your yubikey. Non-FIDO2 functionality is also affected, to be precise: PIV and OpenPGP, if you use ecdsa key type. For more about that, see the yubikey statement. Rest of this FAQ will focus on FIDO2 only.

  • EM Probe นี่ผมเชื่อว่าในอนาคตสามารถทำแบบ non-destructive ได้นะครับ เช่น ใช้ห้องกันคลื่นพิเศษ
  • ในแง่ของการโจมตี ความเสี่ยงหนึ่งคือคนร้าย "ถือ" admin ของบางเว็บเสียเอง แต่เวลาได้ secret key ไปแล้วสามารถโจมตีเว็บไหนก็ได้

แต่โดยรวมความเสี่ยงค่อนข้างต่ำครับ ใครใช้แล้วก็ไม่น่าต้องไปรีบเปลี่ยนกุญแจแต่อย่างใด