The detectors found my encoder, not the message
I ran steganalysis on photos from Stecho's own engine. The hidden voice note barely showed; the JPEG encoder I wrote did, with or without a message. What I changed, and what the numbers do not say.
Stecho hides a voice note in a photo. Encryption keeps the note unreadable; the other question is whether anyone can tell the photo carries something. In November I ran the standard detectors on photos from the app’s own engine. They found something, and it wasn’t the message.
- Stecho’s own JPEG, no message 0.77 AUC
- Stecho’s own JPEG, at the Balanced ceiling 0.75 AUC
- Plain J-UNIWARD in Apple’s JPEG, Balanced 0.97 AUC
- Now: Apple’s JPEG, Stecho’s estimate, Balanced 0.53 AUC
- Now, at the Long ceiling 0.98 AUC caught
The untrained calibration test against Apple’s own JPEG of the same picture, on 59 of my photos from two iPhones at 3024 px, the size the app sends. A classifier trained on the same photos read the old JPEG at 0.83 with no message, and the current one at 0.55 at the Balanced ceiling.
What I measured
Each carrier was scored against the file Apple’s own encoder writes for the same picture: the ordinary photo someone would see in its place. Two kinds of detector: a classifier trained on my pairs (DCTR features, the classical tool for JPEG), and a calibration test from 2002 that needs no training, a few dozen lines of code anyone can run.
What gave it away
SI-UNIWARD, the method Stecho uses to place its changes, needs to know how far each number was rounded. So Stecho wrote its own JPEG of the photo, matched to Apple’s as closely as I could make it. Not closely enough: the classifier told that file from Apple’s at 0.76 to 0.83, and the untrained test at 0.77 to 0.87, with no message inside at all. The message added almost nothing on top. My simulations had used one encoder for both sides, so they could not see it.
TestFlight builds 1.0 (2) and 1.0 (3), 4 to 8 November, wrote that file; 1.0 (2) was the public beta.
What I changed
Stecho now keeps Apple’s own JPEG as the cover and writes the message into it. Its own encoder only estimates where a change costs least. With no message, the file is Apple’s byte for byte: 88 test carriers from 80 sources, and all 59 photos of the last round. On those 59, at the app’s 3024 px, the classifier scored 0.52 through the Hidden setting and 0.55 at Balanced, the untrained test 0.53 to 0.57; at Long the untrained test reached 0.98. Plain J-UNIWARD written into the same Apple file, without the estimate, reached 0.97 at Balanced: the estimate is what keeps the score down. Earlier rounds on 8 photos at 2048 px gave the same picture.
It ships from TestFlight build 1.0 (4), 8 November. On 9 November I sent a voice note this way from an iPhone 12 mini: the copy iMessage delivered to my Mac was the sent file byte for byte, 728 092 bytes, and it decoded.
What this does not say
- My photos only. At most 59, from two iPhones, all taken by me. Near chance on these is not undetectable. A detector trained on many people’s phone photos may do better, and no network has been trained on Stecho’s photos yet.
- Long is caught. The untrained test separates it at 0.98–1.00, and the app says so before you send. Smooth images are easier still: on wallpapers the same test scored 0.98 at Balanced.
- The original photo undoes it. Someone who has it can probably rebuild Apple’s JPEG and see every changed number. Don’t keep it next to the one you sent.
- The file still says an app made it: quality 0.85, sides in multiples of 16 px, almost no camera data. The limits.
- A flag is not a decrypt. With a password the content stays under AES-256-GCM either way.
All the figures, rate by rate: How visible is a voice note hidden in a
photo? The method and the limits:
THREAT_MODEL.md.