Ex-lover chat

A message from your ex.

Without even asking how you’ve been lately, she simply sent a photo with a nostalgic filename: noihenhocu.png, accompanied by a brief message:

“Do you still remember this place? Everything is over, yet I still left the answer where it all began. Look deep into it.”

You know her all too well—she would never send an innocent photo just to reminisce about the past. There is definitely a message hidden beneath this image. Find it.

Recon

An ex sends a single photo, noihenhocu.png, and the filename is Vietnamese: nơi hẹn hò cũ, “the old dating spot”. Her note says she left the answer “where it all began” and tells us to “look deep into it”, which in a stego challenge usually points at the least significant bits of the pixels.

A clean container

Before touching pixels we checked whether anything hides in the file structure itself.

$ file noihenhocu.png
noihenhocu.png: PNG image data, 640 x 480, 8-bit/color RGB, non-interlaced

A walk over the PNG chunks shows how the file’s bytes are laid out.

import struct

d = open('noihenhocu.png', 'rb').read()
i = 8
while i < len(d):
    ln, typ = struct.unpack('>I4s', d[i:i+8])
    print(typ.decode('latin1'), ln)
    i += 12 + ln
print('end offset', i)
IHDR 13
IDAT 65536
IDAT 65536
IDAT 65536
IDAT 65536
IDAT 65536
IDAT 49979
IEND 0
end offset 377776

The end offset, 377,776, is exactly the file size, so nothing is appended after IEND, and the chunk list holds no metadata chunks at all: no tEXt, no eXIf, no timestamps, no GPS. exiftool reports only the structural PNG fields and strings prints nothing readable beyond deflate garbage from the pixel data. The container is clean, so the payload lives in the pixels.

The picture itself is a glossy 3D-rendered hotel with golden “HOTEL” letters and five stars, a smooth-gradient stock render. That detail matters later.

LSB statistics point the wrong way

The standard first probe for LSB stego is to ask how “random” each channel’s low-bit plane is. We computed, per channel, the fraction of 1 bits and the fraction of adjacent bit pairs along the row-major stream that are equal.

for c, name in enumerate('RGB'):
    lsb = arr[:, :, c] & 1
    flat = lsb.flatten()
    same = (flat[:-1] == flat[1:]).mean()
    ones = flat.mean()
    print(f"{name}: ones={ones:.4f} adj-same={same:.4f}")
R: ones=0.5784 adj-same=0.9786
G: ones=0.5041 adj-same=0.6167
B: ones=0.5339 adj-same=0.6290

A plane carrying hidden message bits reads like coin flips, adjacent-same near 0.5. On the first pass G and B (0.62) looked embedded while R (0.98) looked untouched, so G and B got the first extraction attempt, the most standard reading of an LSB channel pair: bit 0 of both channels, interleaved per pixel in row-major order, packed MSB-first.

def bits_to_bytes(bits, msb_first=True):
    bits = np.asarray(bits, dtype=np.uint8)
    n = (len(bits) // 8) * 8
    bits = bits[:n].reshape(-1, 8)
    if not msb_first:
        bits = bits[:, ::-1]
    weights = (1 << np.arange(7, -1, -1, dtype=np.uint32))
    return (bits * weights).sum(axis=1).astype(np.uint8).tobytes()

stack = np.stack([(arr[:, :, 1] & 1).flatten(order='C'),
                  (arr[:, :, 2] & 1).flatten(order='C')], axis=1).flatten()
bs = bits_to_bytes(stack, msb_first=True)

The head of the stream is noise:

00 5f 6f 02 2a 9a e1 90 ff f5 0f a6 73 f9 3c a5
96 6a 59 65 96 6a 95 59 95 66 a6 aa 55 59 66 6a

Only 61% of the first 300 bytes are printable, the stream opens with no file magic, and NVR appears nowhere in it. With the obvious reading dead but the statistics still pointing at G and B, the next suspect was the extraction itself, the wrong channel subset, bit plane, interleaving, byte order, or scan order. So we widened it into a full parameter sweep: every channel subset and ordering, bits interleaved per pixel and sequential per channel, bit 0 and bit 1, MSB-first and LSB-first byte packing, and row-major, column-major and bottom-up scans, each byte stream scored for printable-ASCII heads and scanned for file magics (PNG, ZIP, RAR, gzip, NVR{, …).

The sweep came back with ten hits, and all ten were the same false positive.

total hits: 10
--- F seq (1,) bit1 msb=True | BMP @ 3912
42 4d fa b1 7c b4 fa 77 ...
BM..|..w.u........s3...

Every hit was the two bytes 42 4d, BM in ASCII, landing in the middle of otherwise random bit-1 streams at offsets 2143 and 3912, never at a stream start. No PNG or ZIP magic, no printable runs, no flag marker. There is no contiguous hidden bitstream in G or B.

That failure flips the interpretation. The G and B noise is the picture’s own texture: a rendered graphic with smooth gradients gets dithered, and dithering randomizes low bits everywhere. Rendered as images, those planes show the hotel’s edges and flat areas rather than data. The real anomaly in the table is R being too flat: adjacent bits agree 97.86% of the time, meaning long runs of identical bits, while the plane is 57.84% ones. Those two numbers together describe a large two-tone symbol, roughly half black and half white, painted into the red channel’s LSBs.

The red LSB plane is a QR code

Rendering each channel’s LSB plane as a black/white image makes it visible.

for c, name in enumerate('RGB'):
    lsb = (arr[:, :, c] & 1) * 255
    Image.fromarray(lsb.astype(np.uint8)).save(f'lsb_{name}.png')

The red channel's LSB plane rendered as black and white, a QR code stretched across the whole canvas

The red plane is a QR code stretched across the entire 640x480 canvas, which is exactly what produces the flat runs and the near-half ones fraction. It also re-reads her note the right way: “where it all began” is the first channel, R, and “look deep into it” is its least significant bit plane. Even stretched to a non-square canvas, the raw plane decodes without any preprocessing.

$ zbarimg -q lsb_R.png
QR-Code:https://q.me-qr.com/rv75ome4

The QR encodes a q.me-qr.com short link from ME-QR, a dynamic QR service, so the actual text sits behind a redirect chain.

$ curl -sI https://q.me-qr.com/rv75ome4
HTTP/2 301
content-type: text/html; charset=utf-8
location: https://qr1.me-qr.com/rv75ome4
server: cloudflare

The other headers are Cloudflare cache and ad-tracking cookies. The page at qr1.me-qr.com is an ad-carrying “View QR code” interstitial, and its HTML hardcodes the real destination inside a JavaScript redirect.

function redirectUser() { window.location.href =
"https:\/\/qr1.me-qr.com\/text\/rv75ome4"; }

The /text/ path identifies this as a plain text QR, with the same code id rv75ome4 from the short link.

Flag capture

Opening the text page in a browser displays the message, leetspeak Vietnamese for ngày mai em đi lấy chồng, “tomorrow I’ll marry someone else”, a famous Vietnamese song lyric:

The me-qr text page displaying the message

NVR{ng4y_m4i_3m_d1_l4y_ck0ng}