crypto / reverse-engineering / osint / forensics / web

BreachPoint CTF 2025

12 challenges solved across crypto, reverse engineering, OSINT, log forensics, and web categories. Played as @0xAnon with team hydra (hackculture) avengers.

March 2025team: hydra (hackculture) avengers12 challenges solved

AES · RSA · ROT13 · radare2 · binary ninja · ghidra · gdb · OSINT · steganography · log analysis

BreachPoint CTF 2025

Team: hydra (hackculture) avengers
Handle: @0xAnon (Wahid Khan)
Challenges Solved: 12


1. The Trojan War (Crypto)

Category: Cryptography

Two files: rsa.py and AES.py. Trojan War-themed challenge. Goal: retrieve the concealed flag through encoded content.

What we tried first

Ran rsa.py first. Large modulus, public exponent 65537, no visible weak parameters. Factoring would take too long. Moved on.

AES was leaking everything

The AES script had the key and IV in plaintext:

$ python AES.py
# Recovered Plaintext: https://googledrive.com/portfolio/.../view

Downloaded the ZIP from the Drive link. Contents: flag.txt, password-protected.

Getting the password

The AES script used odysseusjourney as the key. The challenge was Trojan War-themed. Tried odysseus. It worked.

The extracted flag was ROT13:

OCPGS{U3y3a15E3ge13i3q!!!}

Decoded in CyberChef with ROT13:

BPCTF{H3l3n15R3tr13v3d!!!}

Flag: BPCTF{H3l3n_15_R3tr13v3d!!!}


2. Sanity (Web)

Category: Web / Recon

Description hinted "something important had been visited but not properly requested." Classic sanity check pattern.

Sanity flags commonly live at: robots.txt, sitemap.xml, flag.txt, or hidden pages.

Went directly to:

https://www.breachpoint.live/flag.txt

Flag was there in plaintext.

Flag: BPCTF{W3lc0m3_t0_t73_7r0y}


3. PhantomEngine (Reverse Engineering)

Category: Reverse Engineering (ELF Binary)

Linux 64-bit ELF that always outputs Wrong. regardless of input.

Initial recon

$ file phantom
# ELF 64-bit LSB executable, x86-64

$ strings phantom | grep -E "Enter|Wrong|Correct"
# Enter flag:
# Wrong.
# Correct!

Binary has a success path. Need to find the flag validation logic.

Why radare2 over Ghidra

Binary was small enough that reading raw assembly was faster than waiting for Ghidra's decompiler. radare2 gives immediate disassembly.

$ r2 phantom
> aaa
> s entry0
> pdf

Found a SIMD instruction with an embedded string:

vpxor xmm0, xmm0, xmmword [str.bpctfphantom_ru]

Partial: bpctfphantom_ru

Further down in the validation logic:

movabs rcx, 0x6e655f656d69746e

radare2 decoded that hex to ASCII (little-endian): ntime_en

Appending: bpctf{phantom_runtime_en

Remaining assembly instructions spelled out g,i,n,e,} in sequence.

Flag: BPCTF{phantom_runtime_engine}


4. TheRustyFrame (Reverse Engineering)

Category: Reverse Engineering (Rust Binary)

Rust binaries are dense with stdlib symbols. Used Binary Ninja since its graph view handles Rust better than radare2 for this case.

$ strings rusty_frame | rg WIN
# RUSTY_WIN

RUSTY_WIN referenced inside a function. Followed the cross-reference in Binary Ninja. The function checks if the env var is set before continuing.

Inside the validation block: XOR of two input segments against constants:

0x695f656d5f74656c  (8 bytes, little-endian)
0x0a6e              (2 bytes, little-endian)

Converted both to byte arrays, decoded as ASCII: let_me_in

Passed let_me_in as input with RUSTY_WIN set.

Flag: BPCTF{stand_proud_mate}


5. TimeStramp (Log Forensics)

Category: Forensics / Log Analysis

Large system log, thousands of timestamped entries. Pattern: payload entries appear at xx:25 in the timestamp.

Manual inspection was not viable. Used ripgrep:

$ rg payload system.log

Each filtered line held a single character in a field labeled payload. Reading them in chronological order assembled the flag character by character.

Flag: BPCTF{back_to_future}


6. Lost Forest (Forensics / OSINT)

Category: Forensics (Metadata)

Forest image, nothing obvious. No steganography visible in the image content itself.

Uploaded to FotoForensics, opened the EXIF metadata panel. GPS section had coordinates embedded.

Entered coordinates into Google Maps, identified the island with ChatGPT: Bouvet Island, a territory of Norway.

Flag format: {islandname_countryname}

Tried bouvet_island_norway first and it worked.

Flag: BPCTF{bouvet_island_norway}


7. WhatStillSpeaks (OSINT)

Category: OSINT

Description: "infer identities using traces, patterns, and repetition of signs." Also referenced a MAC address and ASCII values.

Checked the LinkedIn About section of core organizer Likith Renikunta. Found a suspicious string:

aHR0cHM6Ly93d3cucmVkZGl0LmNvbS9yL2N1cnNlZEdyZWVrTXl0aG9sb2d5

Decoded from Base64 in CyberChef:

https://www.reddit.com/r/cursedGreekMythology

Found post by u/Atlee_15 titled "what is my SSID". The comments referenced ASCII values and hex characters. Converting the characters mentioned:

h -> 0x68
{ -> 0x7B

Comment also directly included FF. Starting bytes: 68:FF:7B

A Discord announcement from the organizers provided the full MAC: 68:FF:7B:DC:9C:14

Looked up the MAC on WiGLE. SSID returned: TP-Link_9C14

Flag: BPCTF{TP-Link_9C14}


8. King Of Ithaca (OSINT)

Category: OSINT / Misc

Audio file. strings on the file revealed a Suno song URL. Opened it; lyrics had a highlighted word: oraclesot.

$ nslookup -type=TXT oraclesot.breachpoint.live
# TXT record pointed to Oracle_SOT subreddit

Found the flag in a post by u/Atlee_15.

Flag: BPCTF{there_is_always_a_way}


9. Find the IP (OSINT)

Category: OSINT

Image had a webcam overlay: Hip Notics Web Cam 2021/11/26 09:01

Searched "Hip Notics webcam", found the live feed listing. Clicked through to the full stream URL:

http://78.186.26.188/camera/index.html#/video

IP in the URL: 78.186.26.188

Flag: BPCTF{78.186.26.188}


10. Two Doors (Web / OSINT)

Category: Web Manipulation

URL https://chatgpt.com/share/6990cbe8-60d4-8010-ac07-7e9c6eb9d98f returned 404.

Tried swapping the last two hex characters of the UUID tail: d98f to d9f8

New URL returned a valid shared ChatGPT conversation with clues:

  • Platform: Discord
  • User: vividverse1625

Found the profile, extracted user ID: 1325807332461904096

Used pfpfinder.com to retrieve the avatar CDN URL:

https://cdn.discordapp.com/avatars/1325807332461904096/fc06b85f4c33f4d654913f6d8a2e3ba8.png?size=4096

Flag was embedded in the profile picture.

Flag: BPCTF{birthday_gift_from_atlee}


11. Rolling Silence (Reverse Engineering)

Category: Reverse Engineering (GDB Automation)

Stripped ELF64 binary. No input prompt, no output. strings returned nothing useful.

$ gdb rolling_silence
(gdb) info file
(gdb) break *0x401000
(gdb) run
(gdb) x/40i 0x401000

Assembly revealed a 26-iteration XOR loop:

0x401005: cmp $0x1a, %rdi      ; loop 26 times (flag length)
0x40100b: mov 0x402000(%rdi),%bl   ; load encoded byte
0x401011: xor %al,%bl          ; XOR decode
0x40101d: inc %rdi

Each iteration decodes one character. Set a breakpoint at 0x40101d and automated output with GDB commands:

(gdb) break *0x40101d
(gdb) commands
> silent
> printf "%c", $bl
> continue
> end
(gdb) run

Output: 26 characters, one per iteration.

Flag: BPCTF{registers_are_state}


12. Biased Stream (Crypto)

Category: Cryptography (Stream Cipher)

output.bin with apparently random bytes. Hint: "The stream behind it is biased, and bias is weakness."

Stream cipher relationship: ciphertext = plaintext XOR keystream

Single-byte XOR bias: if the keystream is a repeated single byte, brute-forcing all 256 keys and checking for printable ASCII output will reveal it.

with open("output.hex") as f:
    ct = bytes.fromhex(f.read().strip())

for key in range(256):
    pt = bytes(b ^ key for b in ct)
    printable = sum(32 <= c < 127 for c in pt)
    if printable / len(pt) > 0.9:
        print(f"key=0x{key:02x}: {pt.decode(errors='replace')}")

Key 0xAA produced fully printable output containing the flag.

Flag: BPCTF{biased_stream_leakage}

written by wahid khan (@0xAnon)

all writeups