stegoveritas frames¶
Animated GIFs and APNGs can hide data in a single frame: a flash of text that lasts one tick, a QR code, an extra frame appended after the loop. Aperi'Solve splits the animation with StegoVeritas' frame extraction and shows every frame as an image.
When it runs¶
Only for animated GIF and APNG uploads (more than one frame). Still images never start it, and it does not need the deep analysis option.
Animations of more than 100 frames are refused with an error that names the limit: every frame is written at full size, so the count is checked before anything is extracted.
What you get¶
- The Frames gallery, in animation order.
- A
.7zdownload with all the frame files.
GIF frames are composited (what a viewer shows at that point); APNG frames are the frame images stored in the file, so a frame can be smaller than the canvas.
Extracting manually¶
from PIL import Image, ImageSequence
with Image.open("anim.gif") as im:
for i, frame in enumerate(ImageSequence.Iterator(im)):
frame.convert("RGBA").save(f"frame_{i}.png")
Common CTF patterns¶
- A hidden frame that flashes for one tick of the animation.
- Frames whose pixels differ only in the low bits: send them to the decomposer one by one.
- Data appended after the last frame: see binwalk.