🇰🇷 한글 설명
Post-Quantum Secure Feldman's Verifiable Secret Sharing (버전 0.8.0b2 이하)의 fault injection 공격 방어 메커니즘이 실패합니다. Python 실행 환경의 격리 부족, 타이밍 채널 취약점, 상수 시간 비교의 한계로 인해 물리적 접근이 가능한 공격자가 비밀 다항식 계수를 추출하거나 검증 프로세스를 조작할 수 있습니다.
💡 쉬운 설명
Feldman's VSS 라이브러리가 하드웨어에 직접 접근하는 공격자로부터 암호화된 비밀을 보호하지 못합니다. 공격자는 특수한 전자기파나 전압 변동을 이용해 시스템의 계산 결과를 왜곡시켜 비밀 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
Post-Quantum Secure Feldman's Verifiable Secret Sharing provides a Python implementation of Feldman's Verifiable Secret Sharing (VSS) scheme. In versions 0.8.0b2 and prior, the `secure_redundant_execution` function in feldman_vss.py attempts to mitigate fault injection attacks by executing a function multiple times and comparing results. However, several critical weaknesses exist. Python's execution environment cannot guarantee true isolation between redundant executions, the constant-time comparison implementation in Python is subject to timing variations, the randomized execution order and timing provide insufficient protection against sophisticated fault attacks, and the error handling may leak timing information about partial execution results. These limitations make the protection ineffective against targeted fault injection attacks, especially from attackers with physical access to the hardware. A successful fault injection attack could allow an attacker to bypass the redundancy check mechanisms, extract secret polynomial coefficients during share generation or verification, force the acceptance of invalid shares during verification, and/or manipulate the commitment verification process to accept fraudulent commitments. This undermines the core security guarantees of the Verifiable Secret Sharing scheme. As of time of publication, no patched versions of Post-Quantum Secure Feldman's Verifiable Secret Sharing exist, but other mitigations are available. Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust. Short-term mitigations include deploying the software in environments with physical security controls, increasing the redundancy count (from 5 to a higher number) by modifying the source code, adding external verification of cryptographic operations when possible, considering using hardware security modules (HSMs) for key operations.
📍 영향받는 시스템
Post-Quantum Secure Feldman's Verifiable Secret Sharing 버전 0.8.0b2 이하
⚔️ 공격 벡터
물리적 하드웨어 접근을 통한 Fault Injection 공격으로 redundancy check 메커니즘 우회 및 비밀 정보 추출
🛡️ 대응 방법
Rust 등 저수준 언어로 재구현 수행, HSM(하드웨어 보안 모듈) 사용, redundancy count 증가(5→더 높은 수), 물리보안 강화
🔧 검증 코드
feldman-vss 패키지 설치 여부 및 버전 확인. 0.8.0b2 이하이면 취약함.
pip list | grep -i feldman