Identity Crisis zeroed PNG signature, nothing else damaged

forensics
flag L3m0n{f11018bdfd3753a668238892d9fe236a}

A 75-point warm-up: file identity_crisis.dat gives up entirely, no recognized type. A hex dump explains why:

output
00000000: 0000 0000 0d0a 1a0a 0000 000d 4948 4452  ............IHDR

Insight

0d 0a 1a 0a is the tail of the standard 8-byte PNG signature, and IHDR right after it confirms the format. A real PNG starts with 89 50 4E 47 0D 0A 1A 0A - the first four bytes here were zeroed out, which is exactly enough to make every file-type sniffer give up without actually damaging any of the image data behind it.

python
1d = bytearray(open("identity_crisis.dat", "rb").read())
2d[0:4] = bytes([0x89, 0x50, 0x4E, 0x47])
3open("repaired.png", "wb").write(d)

The repaired file opens as an ordinary 900x300 image with the flag drawn right across it.

The repaired 900x300 PNG with the flag drawn across it

output
L3m0n{f11018bdfd3753a668238892d9fe236a}

Pitfall

If you OCR the repaired image instead of reading it, the artwork's slashed zero looks enough like an @ that a naive OCR pass spits out L3m@n{...}. It's a zero, not an at-sign - worth a manual glance before trusting automated text extraction on stylized fonts.