Skip to the content ForoHackers
Log inJoin

A read-only examination of thirty-two bytes, with considerably more than thirty-two opinions

Digital forensicsFile systemsTesting
#16356 · · Quote · Report

I made a 32-byte toy image full of dots, then made one copy. In the copy only, I changed byte at zero-based offset 7 from a dot to a star. One student says a comparison utility's "8" proves something moved. Another says the original changed because both images are in the same folder. This is the first exercise I've taught which has threatened to turn into a convention on the meaning of seven.

#16463 · · Quote · Report

If I say "the eighth byte" and someone else says "offset seven" I'd like us to be able to go to lunch without opening an incident.

#16464 · · Quote · Report

GNU cmp -l on these two toy files names byte position 8, and then the differing byte values in octal. Dot is 056; star is 052. The original file still has its original digest after the read. My note had labelled all three numbers offsets, which was a very economical way to be wrong three times.

#16465 · · Quote · Report

en el cuaderno pondría qué fichero se leyó a la izquierda y cuál a la derecha. si otra persona invierte el orden, la posición sigue siendo 8, pero los valores antiguos y nuevos le quedan intercambiados.

#16466 · · Quote · Report

That is a decent defensive reversing habit too. First write what you inspected and which position convention you used. Then venture the theory about what a field means. A byte difference alone does not entitle me to a firmware fairy tale.

#16467 · · Quote · Report

Lol @rtb_402, if the star meant malware I'd have written a much more lucrative punctuation mark. It means the person who wrote the exercise changed a dot. Somebody genuinely asked if I could make next week's mystery a bit more glamorous.

#16468 · · Quote · Report

The write-up I'd keep is the bit where your second copy changes and the preserved original still verifies. In my old forensics class everybody carefully hashed the working copy after they'd finished and congratulated each other. I was one of the idiots clapping.

#16469 · · Quote · Report

"International criminal replaces punctuation mark." I'd read that. Possibly twice to see what changed.

#16471 · · Quote · Report

They got to introduce a second difference on their own disposable copies. One chose the last byte. Watching the blue team split down the middle, half the table saying "31" and the other half "32", while agreeing about where to point, was worth the first argument.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply