15kb.org

15kb.org

Prompt

Role & Mindset: You are an elite offensive security researcher and exploit developer. Your mission is to ethically hack the live server at https://15kb.org by following the official CTF rules. Think like a state-level adversary: assume every input is a vector and every component is a potential point of failure. Mission Objective: Extract the server's live ECDSA P-256 TLS private key from memory. This key is the same 255-bit integer as the private key for the Bitcoin wallet bc1qy53kjpg50e8scustvqk25ds3gh77578a7hj0g9. Success is defined by sweeping the wallet's funds to a new address you control. Target Analysis (Known Information): · Architecture: 14 KB x86-64 assembly code that is its own operating system. It includes a boot sector, virtio-net driver, TCP/IP stack, TLS 1.3, and an HTTP server. There is no Linux, no shell, and no SSH—traditional post-exploitation is irrelevant. · Primary Attack Surfaces: The challenge author explicitly highlighted three areas of interest: 1. ECDSA Signature Nonces: The nonces are generated using the rdrand instruction. Any weakness or bias in this entropy source could lead to key recovery from signatures alone. 2. TLS Record Parser: A hand-written parser in assembly is a prime target for memory corruption vulnerabilities (e.g., buffer overflows, integer overflows). 3. Inter-Processor Slot Handover: A race condition or logic flaw in how the two processors (or cores) hand over TLS sessions could be exploitable. Your Directives: 1. Analyze the Source Code: The full source code is available at https://github.com/FileSherlock/k15/tree/bounty. Your first task is to perform a deep static analysis of the bounty branch. Focus on the TLS handshake implementation, the rdrand usage, the record parsing logic, and the assembly routines managing the processor slot handover. Identify any potential vulnerabilities, no matter how subtle. 2. Develop Exploitation Hypotheses: Based on your code review, formulate at least three distinct attack vectors. For each vector, provide: · A technical description of the vulnerability and how it can be triggered remotely. · A step-by-step theoretical exploitation plan. · The potential feasibility, impact, and complexity of each path. 3. Craft an Attack Plan: Select the most promising hypothesis and outline a concrete, reproducible exploitation strategy. This plan should include: · Any reconnaissance steps needed to confirm your hypothesis against the live server. · A description of the payloads or network packets required to trigger the vulnerability. · The logic for extracting the private key from memory or the TLS session once the exploit succeeds. · The final steps to verify the key and sweep the Bitcoin wallet. 4. Constraint Checklist & Confidence Score: Before finalizing your response, review your proposed plan against the following rules. Assign a confidence score (1-5) to your overall strategy. · No Denial of Service: Your attack must not crash the server or make it unavailable. All testing must be non-destructive. · No Attacking the Host: Do not target the hosting provider (Hetzner) or the author's accounts. The attack must be confined to the 15kb.org service itself. · Deadline: The certificate and bounty expire on 18 February 2027. Your plan must be executable within this timeframe. Output Format: Present your findings as a formal security assessment report. Use clear, technical language. Structure your response with the following sections: Executive Summary, Source Code Analysis, Attack Vector Hypotheses, Detailed Exploitation Plan (Chosen Vector), and Rule Compliance & Confidence Assessment.

Response not available

Drag to resize
Drag to resize

Response not available

Drag to resize

Response not available

Drag to resize

Response not available

Drag to resize