Which hex sequence identifies a PNG file signature?

Study for the Wireshark Block 5 Exam. Prepare with flashcards and multiple choice questions, each offering hints and explanations. Ace your exam with the best resources!

Multiple Choice

Which hex sequence identifies a PNG file signature?

Explanation:
Recognizing file signatures (magic numbers) from the first bytes is how you identify a file’s format. A PNG file’s header starts with exactly eight bytes: 89 50 4E 47 0D 0A 1A 0A. The initial 89 helps flag binary data, the next four bytes 50 4E 47 spell “PNG” in ASCII, and the last four bytes 0D 0A 1A 0A are control characters that complete the header. Because the given sequence matches this eight-byte signature precisely, it identifies a PNG file. The other sequences correspond to different formats: FF D8 FF E0 is the start of a JPEG image, 25 50 44 46 represents “%PDF” for a PDF document, and 50 4B 03 04 14 00 06 00 is the PK header used by ZIP archives.

Recognizing file signatures (magic numbers) from the first bytes is how you identify a file’s format. A PNG file’s header starts with exactly eight bytes: 89 50 4E 47 0D 0A 1A 0A. The initial 89 helps flag binary data, the next four bytes 50 4E 47 spell “PNG” in ASCII, and the last four bytes 0D 0A 1A 0A are control characters that complete the header. Because the given sequence matches this eight-byte signature precisely, it identifies a PNG file.

The other sequences correspond to different formats: FF D8 FF E0 is the start of a JPEG image, 25 50 44 46 represents “%PDF” for a PDF document, and 50 4B 03 04 14 00 06 00 is the PK header used by ZIP archives.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy