Lab 5 · Medium · Guided practice · Mac and Windows

Test a file-type claim

Compare matching signatures with chunk boundaries and checksum evidence to test whether four tiny files support the same format claim.

LAB-TYPE-201 · v0.1.1 · about 60–90 minutes, excluding setup; estimate untested.

Lab library preview

Try the supplied practice files or explore the examples below. Self-study needs no account, upload or course enrollment. If your instructor assigned this shared lab, follow the Submission for a course checklist and submit through the matching Brightspace activity. This preview is still under review; it does not certify skill or award credit.

Prepare

Find this lab’s files on your computer

From the folder containing the library’s index.html, open labs → downloads in Finder or File Explorer. If a link opens a preview instead of saving, copy the named file from that folder. Keep the original unchanged and rename only your working copy as the guide directs. Instructors can also find their teaching guide and quiz file here.

  • file-types-practice-v0.1.1.zip
  • file-types-notes.txt
  • file-types-quiz-r1.csv
  • file-types-teaching-guide.txt

Start with Hashing and file integrity, Read bytes, offsets and signatures.

What you will practice

  • Distinguish a filename, a format signature and evidence about a complete file structure.
  • Read big-endian chunk lengths and calculate bounded offsets in a small binary file.
  • Separate stored checksum observations from computed references and identify their scope.
  • Explain a supported file comparison without inferring an unobserved cause or app result.

If your instructor assigned this shared practice lab, read Submission for a course before starting so you save the required before-state files and screenshots.

Open this lab’s practice ZIP Open a blank notes sheet

Keep the originals unchanged, make a working copy and keep observations in a separate folder. All supplied files and embedded metadata are synthetic. Use only the practice files; no personal files or real targets are needed.

Mac and Windows byte observations are illustrated below. The checksum reference is computed separately; record whether you calculated it yourself.

The case

A synthetic intake packet contains four files described as complete PNG images. One has a .dat extension. Test the description by comparing identities, the signature, chunk boundaries and stored checksums. Explain both the supported findings and the limits of your examination.

Download four tiny files, a case brief and a blank chunk-observation worksheet. Start with the illustrated Easy guides above for app controls. The worked byte maps below describe this packet.

Set up your workspace

This folder layout helps you keep the starting files, working files and submission attachments separate. For self-study, use it to keep a record without uploading anything.

  1. Use a Mac or Windows computer that can run the apps listed below. You can read this guide on a phone, but the illustrated app work needs a compatible computer. Check the software requirements before starting.
  2. Download and extract the entire practice ZIP. Keep its extracted practice/ folder unchanged. Read any case brief and keep the supplied logs, reference files and blank worksheets available.
  3. Beside practice/, create four folders: before/, working/, after/ and notes/. Copy only the evidence files listed below into both before/ and working/. Inspect working/; leave before/ unchanged.
  4. Keep screenshots, original app exports and your observation record in notes/. Capture the before results before making any permitted change. The guide marks when to save each required checkpoint.
  5. At the end, follow the guide’s fresh-measurement procedure for every working file and save the after results. In HashLume, preserve the before export, clear the workbench results and reload all required individual files. Copy those final evidence files into after/ using the original filenames. Package before/ and after/ only when you are ready to submit.

Evidence files for this lab: sample-a.png, sample-b.dat, sample-c.png, sample-d.png.

Review your submission checklist · Get help with common problems

Software for this lab

Choose the route for your computer. Both routes address the same practice objectives. Record installed versions and consult each publisher for compatibility and access terms; software and licenses are separate from the practice files.

Mac

HexLume + HashLume

Professor Wandt’s ProfWorkBench apps. Use HashLume for before/after hashes.

Windows

HxD + HashMyFiles

Use HashMyFiles for before/after hashes. The recorded Windows route uses Windows 11 ARM64; check publisher requirements for your computer.

Free ProfWorkBench apps for John Jay students

Currently enrolled John Jay College students qualify for 100% free lifetime licenses to ProfWorkBench apps, including HashLume, HexLume, MetaLume and pcapLume.

Ask your instructor for access, or request your free license through ProfWorkBench’s Academic & Service Discounts policy.

For a direct request, use the policy’s “Apply for Academic Discount” form with your active @jjay.cuny.edu email address. ProfWorkBench verifies enrollment and supplies an App Store promo code.

Setup and verification notes

Mac: the illustrated route uses HexLume 27.0 (11), HashLume 27.0 (27). The illustrated HexLume or MetaLume build requires macOS 26 or later. Check compatibility before starting and record the versions you actually use.

Windows: extract the complete HashMyFiles ZIP before opening the executable. For HxD, use the publisher’s installer or keep the portable package together; open the working file read-only. If the publisher download is unavailable, use a course computer with an approved HxD installation or contact your instructor before proceeding. An installation problem is not a finding about the evidence. Keep applications outside the evidence folder. Open each required tool once before starting the lab.

HashLume access and help: core hashing and CSV exports are free; no sealed certificate or purchase is required. Help → HashLume User Guide explains the current controls. The app’s Try it yourself exercises are optional and do not replace this website lab. Students on an earlier build should still preserve the before record and clear/reload all required files for a fresh final measurement; record the version and ask for help if controls differ.

The Windows procedure below shows this packet in HashMyFiles and HxD. Byte inspection and displayed CRC bytes are distinct from an independent CRC calculation; the supplied reference supports that comparison.

Readable text references accompany every illustration. Complete keyboard/screen-reader acceptance of the apps and these pages remains open. If a control is unavailable, record the app/version and the barrier; do not invent a result or disable security settings.

Test the file-type claim

Use a small synthetic packet to move from a recognizable signature to bounded structure and checksum evidence.

Step 01 · Shared method

Plan a test of the claim

  1. Read case-brief.txt. Before opening the worked comparison, decide what evidence would distinguish a renamed copy, an incomplete structure and an inconsistent checksum.
  2. Use the Easy hashing and hex labs for illustrated controls. Keep these four files in their own working folder and keep notes elsewhere. Do not repair or save changes to any file.
  3. The original packet predates the Mac and Windows rehearsals. Use the tested HexLume or HxD steps below. Both routes allow a supplied CRC calculation if you identify it as a reference.

What to notice: The Medium case provides checkpoints; you choose and explain the comparison method.

Check yourself: Which claim can a signature test answer, and which claims require later checks?

Step 02 · Shared method

Preserve and group the files

  1. Keep extracted originals unchanged. Hash each working file with SHA-256 before inspection. Record its exact name, byte count and full digest in the blank worksheet.
  2. Group matching content without relying on the extension. Keep separate rows for every filename even when two digests match.
HashMyFiles on Windows showing the synthetic practice packet: compare bytes before interpreting extensions.
Compare bytes before interpreting extensions The sample-a.png and sample-b.dat rows match. Samples c and d differ. Four support records also appear because the entire folder was added. A hash match supports byte identity under this comparison; the extension alone does not establish format validity. Retain full digests using an export or expanded columns.
Actual HashMyFiles capture · 2.51 on Windows 11 ARM64 · 2026-10-08
Open full-size screenshot

What to notice: A matching whole-file digest supports a content comparison; the filename and provenance remain separate.

Check yourself: Which files belong to the same content group?

Step 03 · Mac · ProfWorkBench

Inspect with HexLume and HashLume

  1. Use HashLume for the baseline and final SHA-256 comparisons. Confirm the selected file and matching result row before copying a digest. Retain full values using Export → Spreadsheet (CSV).
  2. Mount each working file in HexLume. Press Command+G to open Go to Offset. Replace any text in Destination Offset with an explicit hexadecimal address such as 0x08, then choose Go. The 0x prefix forces hexadecimal; otherwise choose Hex or Dec to match your number base. Confirm the resulting offset in Data Inspector. Do not toggle the bit visualizer.
  3. Choose Big-Endian (Network), then scroll the Data Inspector to UInt32. In sample-a.png, offsets 0x08, 0x21 and 0x46 read 13, 25 and 0 decimal. Record the raw four bytes and type name alongside each value.
  4. Compare the mapped byte count and last available byte with each calculated chunk end. sample-c.png has only 50 bytes, ending at 0x31, while its IDAT still declares 25 data bytes. Record the incomplete chunk; never supply missing bytes from another file.
  5. Compare sample-a.png and sample-d.png at 0x1D. Their stored IHDR CRC starts FD and FC respectively. Reading these bytes in HexLume is not an independent CRC calculation; use the supplied computed reference unless you perform and document a separate calculation.
  6. These captures were made with HexLume 27.0 (11), rechecked October 30, 2026. The original whole-file measurements used HashLume 2.0 (17); fresh before/after exports were rechecked with HashLume 27.0 (27). The read-only inspection preserved all four working files. Record your own before/after results.

What to notice: App observations and computed reference values are different evidence.

Check yourself: Can another reader locate each observation in the exact file?

Step 04 · Windows

Inspect with the Windows tools

  1. Use File → Clear All in HashMyFiles before adding the four working files. Record full SHA-256 values and byte counts. Expand columns or save selected results to retain complete digests; the folder screenshots also show support records.
  2. Launch HxD with /readonly and the quoted working-file path; verify Readonly in the status bar. Repeat for the other three files. Do not open disks, edit bytes or save repairs.
  3. Use Offset(h) for hexadecimal addresses. Click the first byte of a four-byte length field, choose Big endian in the Data inspector, and read UInt32. In sample-a.png the length fields at 08, 21 and 46 hexadecimal read 13, 25 and 0 decimal.
  4. Compare the last available offset with each calculated chunk end. sample-c.png ends at 31 hexadecimal even though its IDAT field still declares 25 data bytes. Do not interpret missing data as zeros.
  5. Record stored CRC bytes separately from any independently calculated CRC. The HxD captures show byte inspection, not a CRC calculation. Use the supplied computed reference when you have not performed an independent calculation.
  6. This packet was inspected with HxD 2.5.0.0 and HashMyFiles 2.51 on Windows 11 ARM64. Fresh student installation, decoder breadth and accessibility acceptance remain open.

What to notice: These are actual captures of this synthetic packet. Record your own observations, preserve originals and distinguish measurement from inference.

Check yourself: Can you inspect each file while maintaining the original hash?

Step 05 · Shared method

Walk the structure within the file boundary

  1. Compare the first eight bytes against the supplied PNG signature reference. Start the first chunk at decimal offset 8.
  2. Read four length bytes as an unsigned big-endian integer, then four type bytes. Calculate next offset = current offset + 12 + data length. The extra 12 counts the length, type and CRC fields.
  3. Check whether that exclusive end offset fits the file byte count before reading data or a CRC. If it does not fit, record the incomplete chunk and stop; do not fill missing bytes from another file.
  4. Continue through a complete zero-data-length IEND when available. Record whether bytes remain after it. For IHDR, record the width, height, bit depth and color type, while keeping broader format validation outside this limited exercise.
  5. A blank worksheet row is not evidence of another chunk. When a declared end exceeds the file size, record the last available offset and stop. Mark unused rows “not present” or leave them blank with an explanation.
HxD on Windows showing the synthetic practice packet: read a length with the specified byte order.
Read a length with the specified byte order In sample-a.png, place the caret at offset 08 under Offset(h), then choose Big endian in the Data inspector. UInt32 reads 13 for bytes 00 00 00 0D. The next four bytes spell IHDR. Verify Readonly in the status bar. Offsets here are hexadecimal; length 13 is decimal.
Actual HxD capture · 2.5.0.0 on Windows 11 ARM64 · 2026-10-08
Open full-size screenshot
HxD on Windows showing the synthetic practice packet: check the length against the actual boundary.
Check the length against the actual boundary sample-c.png declares a 25-byte IDAT payload at offset 21 hexadecimal, but ends at offset 31 hexadecimal: only 50 bytes exist. The declared chunk would extend beyond the file. Record the incomplete chunk and stop; do not borrow missing data or a CRC from sample-a.
Actual HxD capture · 2.5.0.0 on Windows 11 ARM64 · 2026-10-08
Open full-size screenshot
HexLume on Mac showing the synthetic practice packet: locate the first chunk length.
Locate the first chunk length Mount sample-a.png, choose Big-Endian (Network), then use Command-G and replace the jump field with 0x08. The four length bytes are 00 00 00 0D. Scroll the Data Inspector below the bit visualizer to read UInt32 = 13. The file has 82 bytes. Do not toggle bits.
Actual HexLume capture · 27.0 (11) · 2026-10-30
Open full-size screenshot
HexLume on Mac showing the synthetic practice packet: compare a declared length with the file boundary.
Compare a declared length with the file boundary At 0x21, sample-c.png still declares UInt32 = 25 with Big-Endian selected. The file ends at 0x31 and the status bar reports only 50 bytes. The complete declared chunk cannot fit. Record the missing bytes as unavailable.
Actual HexLume capture · 27.0 (11) · 2026-10-30
Open full-size screenshot

What to notice: Keep decimal and hexadecimal offsets explicitly labeled. An exclusive end offset is one past the last byte.

Check yourself: Where does a claimed chunk first require bytes that are not available?

Step 06 · Shared method

Compare the checksum evidence

  1. For complete chunks, record the four stored CRC bytes. Compare them with the computed reference values after your initial byte observations. The reference computation covers type plus data, excluding the length and stored CRC.
  2. Compare the two same-length nonidentical files byte by byte. Locate the first difference and identify whether it falls in length, type, data or stored CRC.
  3. If you independently calculate a CRC, record the tool and exact byte range. Otherwise state that you used the supplied computed reference; do not claim you ran a checksum calculation.
HxD on Windows showing the synthetic practice packet: separate stored checksum bytes from a calculation.
Separate stored checksum bytes from a calculation At offset 1D hexadecimal in sample-d.png, the stored IHDR CRC begins FC D4 9A 73. In sample-a it begins FD D4 9A 73. HxD is displaying bytes and their integer interpretation here; this screenshot is not an independent CRC calculation. Use the supplied computed reference in the next comparison.
Actual HxD capture · 2.5.0.0 on Windows 11 ARM64 · 2026-10-08
Open full-size screenshot
HexLume on Mac showing the synthetic practice packet: locate the changed stored checksum byte.
Locate the changed stored checksum byte At 0x1D in sample-d.png, HexLume shows FC, decimal 252. The corresponding byte in sample-a.png is FD, decimal 253. This is byte inspection, not a CRC calculation. Compare the full stored CRC with the supplied computed reference.
Actual HexLume capture · 27.0 (11) · 2026-10-30
Open full-size screenshot

What to notice: A supplied reference and an independently calculated checksum are different kinds of observations.

Check yourself: Does a changed whole-file hash identify where the changed byte is located?

Step 07 · Shared method

State the result and its limits

  1. Use the six claim checks after drafting your own account. Separate filename, signature, framing, checksum and decoder observations.
  2. Mac — preserve before-hashes.csv and your before screenshots first. Close inspection without saving changes to the evidence. Only the separate worksheets and notes are editable. In HashLume choose Add (+) → Clear the workbench. Confirm the list contains only this lab’s four working files; preserve any unrelated work before clearing. Clearing removes displayed results, not files or saved exports. Add all four individual working files again with Files or folders…, wait for completion, and check each filename, byte size and full SHA-256 value.
  3. Windows — in HashMyFiles choose View → Refresh (F5), wait for recalculation, and identify all four working files by name because rows may reorder. Compare each fresh result with its own saved before record.
  4. Explain whether each supplied claim is supported by these checks, what remains untested and a useful next check. Self-study requires no submission and earns no course credit. If this shared lab is assigned for a course, follow its Submission for a course checklist and your instructor’s directions.
  5. In HashLume 27, re-adding an already-hashed file without clearing can retain the old result. The clock-arrow button opens History; it does not refresh hashes. Save after-hashes.csv separately and compare it with before-hashes.csv. A missing digest, omitted-file record or read failure is not evidence of an unchanged file: record the message, resolve its cause and repeat the measurement.

What to notice: Never claim a native app opened or rejected a file unless you observed it.

Check yourself: What would a full PNG validation require beyond this bounded comparison?

Explore the idea

Test the claims against the bytes

Try the packet first. These checks explain the supplied example; they do not record your own tool work.

sample-a.png and sample-b.dat have the same full SHA-256. What does the renamed extension establish?

All four signatures match. Which conclusion follows?

A chunk begins at decimal offset 33 and declares 25 data bytes. Where does the next chunk begin?

sample-c.png ends at byte count 50, but its IDAT chunk requires an exclusive end offset of 70. What can you report?

What does a PNG chunk CRC cover?

sample-d.png has the same chunk boundaries as sample-a.png, but its stored IHDR CRC differs from the computed value. What is the strongest supported claim?

Check your observations

On a small screen, scroll tables sideways to read all columns. With a keyboard, focus the table region and use the arrow keys.

Open the worked byte comparison after your attempt

Computed reference values from the frozen synthetic packet follow. These are not native-app screenshots or evidence of work on your computer. The helper checks framing and CRCs only; it is not a general PNG validator.

File identities
FileBytesFull SHA-256
sample-a.png82e948449c779d7dff9ffba844122d1a261daac549a6bda0dab118bde6931dca01
sample-b.dat82e948449c779d7dff9ffba844122d1a261daac549a6bda0dab118bde6931dca01
sample-c.png50d3a65ffa07f9ef802cebd0c6456265e2548a6201c5bf161904fd1d615a9326de
sample-d.png822d6221a50061c6fa3a877700c93a85a9946f5064efb5010a8d78629d3615c90b

All four begin with 89 50 4E 47 0D 0A 1A 0A. The signature identifies a candidate format; the following comparisons test more of the claim.

sample-a.png — bounded chunk walk
Offset (decimal / hex)Data lengthTypeNext offsetFits?CRC-32 of type + data
8 / 0x0813IHDR33YesStored FDD49A73; calculated FDD49A73; match
33 / 0x2125IDAT70YesStored A654ECFE; calculated A654ECFE; match
70 / 0x460IEND82YesStored AE426082; calculated AE426082; match

Framing and recorded chunk CRC checks pass; a complete IEND was observed.

Read every byte of sample-a.png
Complete fixture byte map
Offset (decimal / hex)Hexadecimal bytes
0 / 0x0089 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52
16 / 0x1000 00 00 02 00 00 00 02 08 02 00 00 00 FD D4 9A
32 / 0x2073 00 00 00 19 49 44 41 54 78 01 01 0E 00 F1 FF
48 / 0x3000 1E 5A 3C DC BE 50 00 DC BE 50 1E 5A 3C 25 8E
64 / 0x4005 3D A6 54 EC FE 00 00 00 00 49 45 4E 44 AE 42
80 / 0x5060 82
sample-b.dat — bounded chunk walk
Offset (decimal / hex)Data lengthTypeNext offsetFits?CRC-32 of type + data
8 / 0x0813IHDR33YesStored FDD49A73; calculated FDD49A73; match
33 / 0x2125IDAT70YesStored A654ECFE; calculated A654ECFE; match
70 / 0x460IEND82YesStored AE426082; calculated AE426082; match

Framing and recorded chunk CRC checks pass; a complete IEND was observed.

Read every byte of sample-b.dat
Complete fixture byte map
Offset (decimal / hex)Hexadecimal bytes
0 / 0x0089 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52
16 / 0x1000 00 00 02 00 00 00 02 08 02 00 00 00 FD D4 9A
32 / 0x2073 00 00 00 19 49 44 41 54 78 01 01 0E 00 F1 FF
48 / 0x3000 1E 5A 3C DC BE 50 00 DC BE 50 1E 5A 3C 25 8E
64 / 0x4005 3D A6 54 EC FE 00 00 00 00 49 45 4E 44 AE 42
80 / 0x5060 82
sample-c.png — bounded chunk walk
Offset (decimal / hex)Data lengthTypeNext offsetFits?CRC-32 of type + data
8 / 0x0813IHDR33YesStored FDD49A73; calculated FDD49A73; match
33 / 0x2125IDAT70NoUnavailable — incomplete chunk

IDAT at 33 requires end offset 70; file ends at 50; No complete IEND observed

Read every byte of sample-c.png
Complete fixture byte map
Offset (decimal / hex)Hexadecimal bytes
0 / 0x0089 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52
16 / 0x1000 00 00 02 00 00 00 02 08 02 00 00 00 FD D4 9A
32 / 0x2073 00 00 00 19 49 44 41 54 78 01 01 0E 00 F1 FF
48 / 0x3000 1E
sample-d.png — bounded chunk walk
Offset (decimal / hex)Data lengthTypeNext offsetFits?CRC-32 of type + data
8 / 0x0813IHDR33YesStored FCD49A73; calculated FDD49A73; MISMATCH
33 / 0x2125IDAT70YesStored A654ECFE; calculated A654ECFE; match
70 / 0x460IEND82YesStored AE426082; calculated AE426082; match

IHDR CRC mismatch at 8

Read every byte of sample-d.png
Complete fixture byte map
Offset (decimal / hex)Hexadecimal bytes
0 / 0x0089 50 4E 47 0D 0A 1A 0A 00 00 00 0D 49 48 44 52
16 / 0x1000 00 00 02 00 00 00 02 08 02 00 00 00 FC D4 9A
32 / 0x2073 00 00 00 19 49 44 41 54 78 01 01 0E 00 F1 FF
48 / 0x3000 1E 5A 3C DC BE 50 00 DC BE 50 1E 5A 3C 25 8E
64 / 0x4005 3D A6 54 EC FE 00 00 00 00 49 45 4E 44 AE 42
80 / 0x5060 82

Interpret the evidence

A and B are 82-byte identical files with different names. Both pass the bounded signature, framing and CRC checks shown here. Their IHDR reports width 2, height 2, bit depth 8 and color type 2. The synthetic construction is a 2 × 2 RGB image; the byte checker alone does not decode it.

The expected chunk sequence in A and B is IHDR at 8, IDAT at 33 and IEND at 70. Their data lengths are 13, 25 and 0; the file ends at exclusive offset 82. Offsets are zero-based, so the last available byte is 81, not 82.

C shares the first 50 bytes of A. Its IDAT still declares 25 data bytes, but the file stops inside that data. A complete IDAT CRC and IEND are unavailable. The observed incomplete structure contradicts the claim that this supplied copy is complete; it does not explain how or when the truncation happened.

D has the same length, structure and chunk data as A. Only the first byte of the stored IHDR CRC at decimal 29 / hexadecimal 0x1D was changed when the teaching packet was constructed. Its stored checksum therefore disagrees with the computed checksum. A different whole-file hash detects a change but does not locate it; the byte comparison locates it.

A checksum inconsistency can arise from changed data, a changed checksum, damage or deliberate editing. This packet supplies a known comparison that narrows the observation to the stored checksum byte. A CRC is an error-detection mechanism, not proof of authenticity, intent or a secure signature.

Report the checks you actually performed. A full format examination would also need to check chunk semantics and ordering, decompression, decoded data and other applicable requirements. An application opening a file is an observed application behavior, not a universal validity decision. Preserve the file, tool version, exact result and any warning.

Source: W3C PNG specification, June 24, 2025, sections 5.2–5.6, 7.1 and 11.2. Length excludes its own field, type and CRC. CRC covers type and data, not the length field. Those distinctions explain the offset arithmetic and checksum scope used here.

Reflect on the result

  1. Describe one observation and the exact file or value behind it.
  2. Separate that observation from an inference you cannot yet establish.
  3. Name a useful next check and explain what it could distinguish.

Use the notes sheet for your actual work and assistance. A matching reference answer alone does not show that you performed the procedure.

Using this lab in a course

Independent library practice; no graded course assignment has adopted this lab. Your course separately sets its assigned evidence, grading, deadlines, submission and WADL rules. Public practice is not a substitute for that assignment.

Submission for a course

For an instructor-assigned Lab 5, use the seven items below in the matching Brightspace submission form. The item titles match that form.

Your seven submission items

Each file type has a different purpose: the ZIP preserves your evidence files, the CSV exports record your app results, and the images show your work. You do not need to convert the same work into every format. For each screenshot, choose PNG or JPG; you do not need both.

  1. Upload your evidence files

    Attach evidence.zip. It contains only the before/ and after/ folders, each with the four evidence files listed below.

  2. Upload your hash exports

    Attach before-hashes.csv and after-hashes.csv together in this item. These are the two original exports from your hash app.

  3. Upload S01 — Chunk length and byte order

    Attach S01.png or S01.jpg. Use additional images only when needed to show all required details.

  4. Upload S02 — Truncation boundary

    Attach S02.png or S02.jpg. Use additional images only when needed to show all required details.

  5. Upload S03 — First differing byte

    Attach S03.png or S03.jpg. Use additional images only when needed to show all required details.

  6. Upload your observation record

    Attach completed-observation-worksheet.csv. Use the blank worksheet in the practice ZIP linked below; keep each completed CSV as a separate attachment. These worksheets are your observation record; no extra observations.txt is needed.

  7. Enter your findings and work details

    Type your explanation and work details directly into Brightspace. This item needs no file attachment.

Keep the attachments separate: only the evidence files go inside evidence.zip. Attach the two hash exports, each screenshot and your observation record or worksheets directly to their matching items. No Word or PDF report is required.

On Mac, an archive utility can add small metadata entries starting with ._ when you compress folders. Use the named evidence files in before/ and after/ for your hash comparison. Keep your original files unchanged.

Learning on your own? Use this checklist to review or save your work. You do not need to submit anything, and this website does not collect your files. For a course, use this checklist only when your instructor assigns this shared practice edition and opens the matching Brightspace activity. Your course sets the assigned packet, grading, deadline, accessibility arrangements and WADL requirements. This checklist does not replace a different course assignment or its evidence files.

Lab record: LAB-TYPE-201 · v0.1.1 · Dataset: WK-FILE-TYPES-20261007-v1

Save these files as you work

Before starting, retain a copy of the listed evidence files in a before folder. Inspect separate working copies and place their final state in an after folder. Submit the actual files in one evidence.zip containing before/ and after/ with the original filenames. Include only the listed artifacts. Keep screenshots, exports and completed worksheets outside this ZIP as separate attachments. File renaming, a screenshot or a PDF is not a substitute for the original bytes.

Evidence files: sample-a.png, sample-b.dat, sample-c.png, sample-d.png.

Inspection only. Do not repair, rewrite, rename or re-encode the four evidence files. Save observations separately.

How to make and check evidence.zip
  1. Check that before/ holds your retained starting files and after/ holds your final working files. Both folders need every evidence filename listed above, even when the files stayed unchanged.
  2. Select the before and after folders together. On Mac, Control-click the selection and choose Compress. On Windows, right-click the selection, choose Show more options if needed, then Send to → Compressed (zipped) folder.
  3. Name the resulting archive evidence.zip. If your computer hides extensions, check the file type so you do not accidentally name it evidence.zip.zip.
  4. Open the ZIP to check its contents before uploading. The before/ and after/ folders should be at its top level, with the evidence files inside each. Do not compress the entire workspace or submit the original practice ZIP. Your computer may add hidden housekeeping files; these are not evidence.
  5. Attach evidence.zip to the evidence item. Keep hash exports, screenshots, observation records and any required metadata report outside this ZIP and attach them to their matching items. Retain your working folder and original captures for follow-up.

File-compression help: Apple’s ZIP guide · Microsoft’s ZIP guide.

Attach before and after hash exports

Use HashLume on Mac or HashMyFiles on Windows to export the listed working files before and after the activity. Save the original exports as before-hashes.csv and after-hashes.csv, with full SHA-256 values, filenames and byte sizes. Follow the guide’s fresh-measurement steps before the final export. Keep the app’s columns and values intact, including a headerless export if that is what it produces. Report the app/version and column meanings in your notes. Do not calculate a digest from a screenshot or substitute the guide’s reference values. If an export includes a personal folder path, use a neutral working folder before exporting or consult your instructor.

Upload screenshots directly

Upload your own screenshots individually as PNG or JPG attachments, not pasted into a document or placed inside a ZIP. Name them with the checkpoint ID (S01, S02, and so on); use S01a and S01b when one checkpoint needs several images. Capture the application window with the filename, relevant controls and complete values readable. Avoid unrelated desktop content and personal information. Keep the original capture files; if you crop to the app, retain the originals too. Do not alter results, reconstruct a screen or submit the guide’s illustrations. Report access barriers to your instructor for an equivalent evidence format.

  1. S01 — Chunk length and byte order

    sample-a.png with a chunk length field selected, its hexadecimal offset and bytes visible, and the unsigned 32-bit big-endian interpretation shown.

  2. S02 — Truncation boundary

    sample-c.png at the end of the file with the last available bytes, offsets and file size visible. Preserve any parser warning as a separate image if relevant.

  3. S03 — First differing byte

    The same offset in sample-a.png and sample-d.png with both filenames, selected offsets and raw bytes visible. Use a comparison view or two separate images.

Attach your observation record

Download the practice ZIP with blank worksheets

Extract the ZIP and open its practice/ folder. Fill in separate copies of the worksheets below, save them as CSV and upload each completed file directly to this one observation item. You do not need an additional observations.txt or a second ZIP.

  • observation-worksheet.csv; save your completed copy as completed-observation-worksheet.csv

Complete a copy of observation-worksheet.csv as completed-observation-worksheet.csv. Record lengths, types, data boundaries, stored CRC bytes and available/truncated ranges. Identify the first differing byte in the same-length nonidentical pair. Separate a stored CRC value from an independently computed result.

Explain your findings

For an assigned course lab, type your findings and work details directly into the final written-response item in Brightspace. Keep screenshots, exports and worksheets as the separate attachments listed above; do not combine them into a report. For self-study, keep your explanation in your own notes.

Explain what the extension, signature, chunk layout and hash each establish. State whether you independently calculated a CRC or used the supplied computed reference. If you calculated one, name the tool, byte range and result; otherwise cite the reference without claiming to have run a calculation. Explain the limits of a successful parser or checksum check.

Record the lab ID/version, dataset ID and assigned packet, your operating system and app versions, the operations you actually performed, and the screenshot or file supporting each conclusion. Disclose sources, collaboration and AI assistance according to the assigned course rules. State unavailable fields and failed operations honestly. A supplied reference result is not an operation you performed.

How your evidence is checked

These are shared practice files. Matching hashes for unchanged evidence are expected across students, and the prescribed hashing edit can also produce the same final hash. An instructor can compare uploaded file bytes with the exports and screenshots, then follow up on inconsistencies. Identical screenshot files may prompt a closer look, but a match alone does not establish misconduct. A different screenshot hash does not prove independent work. Explain your own process and retain your originals for any follow-up.

Before submitting in Brightspace, reopen each attachment to confirm it is readable, complete and from the correct lab. Keep your local copies. If the activity does not accept the requested files, contact your instructor; do not change their format or upload them publicly.

If you get stuck

A file will not open as an image

Record the warning and inspect its bytes in the hex app. A filename or signature alone does not establish that the whole structure is valid. Do not rename, repair or resave the evidence to make a viewer accept it.

Is the displayed CRC a calculation?

Bytes displayed at a checksum offset are the stored value. If you use the supplied computed reference, identify it as a reference. Claim an independent calculation only when you actually performed it and recorded the tool and exact byte range.

I cannot find or open the practice files

Extract the whole practice ZIP first, then open its practice/ folder. Work with the listed evidence files, not the ZIP itself. Keep app installation folders separate. If the app or operating system is incompatible, contact your instructor before continuing; do not disable security settings.

I missed a before screenshot or export

Do not label an after result as a before capture. Retain what you have and record the missing step honestly. If you restart from the unchanged practice packet, keep the attempts separate and disclose the restart; ask your instructor how to handle an already-submitted attempt.

The screenshot cuts off a value

Expand the relevant column or use more than one readable image for that checkpoint, such as S01a.png and S01b.png. Include the filename, algorithm or field label, and the complete value. Submit your own app captures individually; do not use this guide’s illustrations.

Brightspace will not accept an attachment

Use the matching activity provided by your instructor and its Add a File control. Wait for each upload to finish, confirm its filename, and check all items before submitting. If the button is missing or an upload fails, retain your original files and tell your instructor which item, file type and error you encountered. Do not convert evidence into a PDF or post it to a public file-sharing service.

Instructor resources

Teaching permissions for LMS imports and assessments

Lab 5: Test a file-type claim · lab v0.1.1 · quiz revision 1 · 7 written-response questions · 100 points

Download Lab 5 Brightspace quiz (CSV) · Download the teaching guide (text)

Instructors may import this lab’s supplied quiz CSV into their own course. Link learners to the original lab page for the guide and practice files. The CSV imports questions and point values into a Brightspace quiz. Create the quiz first; attachment controls and course settings are configured after import.

Plan the session
  • Allow about 60–90 minutes for the lab, plus installation and course submission time. This is a planning estimate.
  • Suggested preparation: Hashing and file integrity, Read bytes, offsets and signatures.
  • Mac: HexLume, HashLume. Windows: HxD, HashMyFiles. Check installation, export access and student licensing before class.
  • Use the synthetic packet on the lab page. Reference results are public; assess the learner’s own documented observations. If substituting your own dataset, revise the prompts and expected evidence before importing.
What students should be able to do
  • Distinguish a filename, a format signature and evidence about a complete file structure.
  • Read big-endian chunk lengths and calculate bounded offsets in a small binary file.
  • Separate stored checksum observations from computed references and identify their scope.
  • Explain a supported file comparison without inferring an unobserved cause or app result.
Teach this lab
  1. Opening question: Present extension, signature, parser result and checksum as four different witnesses. Ask which question each witness is competent to answer.
  2. During practice: Have students mark a declared chunk length and its actual available range before interpreting a parser warning. Ask them to show the exact byte range behind a checksum claim.
  3. If students get stuck: When students disagree, check whether they counted the length field or checksum bytes in the payload and whether they used the same byte order. Label a supplied CRC reference separately from an independent calculation.
  4. Debrief: Can a file be recognizable to a parser yet incomplete? Ask for one observation about structure and one limit on the conclusion.
What the quiz collects · 100 points
  1. Upload your evidence files (10 points). Attach evidence.zip. It contains only the before/ and after/ folders, each with the four evidence files. Include these files in each folder: sample-a.png, sample-b.dat, sample-c.png, sample-d.png. Inspection only. Do not repair, rewrite, rename or re-encode the four evidence files. Save observations separately. Reopen the ZIP before submitting. Keep exports, screenshots and notes outside it.
  2. Upload your hash exports (10 points). Attach before-hashes.csv and after-hashes.csv together in this item. These are the two original exports from your hash app. Retain the original columns, filenames, byte sizes and complete SHA-256 values. Compare each file’s before and after results to its own bytes.
  3. Upload S01 — Chunk length and byte order (5 points). Attach S01.png or S01.jpg. Use additional images only when needed to show all required details. sample-a.png with a chunk length field selected, its hexadecimal offset and bytes visible, and the unsigned 32-bit big-endian interpretation shown.
  4. Upload S02 — Truncation boundary (5 points). Attach S02.png or S02.jpg. Use additional images only when needed to show all required details. sample-c.png at the end of the file with the last available bytes, offsets and file size visible. Preserve any parser warning as a separate image if relevant.
  5. Upload S03 — First differing byte (5 points). Attach S03.png or S03.jpg. Use additional images only when needed to show all required details. The same offset in sample-a.png and sample-d.png with both filenames, selected offsets and raw bytes visible. Use a comparison view or two separate images.
  6. Upload your observation record (25 points). Attach completed-observation-worksheet.csv. Use the blank worksheet in the lab practice ZIP; keep each completed CSV as a separate attachment. These worksheets are your observation record; no extra observations.txt is needed. Complete a copy of observation-worksheet.csv as completed-observation-worksheet.csv. Record lengths, types, data boundaries, stored CRC bytes and available/truncated ranges. Identify the first differing byte in the same-length nonidentical pair. Separate a stored CRC value from an independently computed result.
  7. Enter your findings and work details (40 points). Type your explanation and work details directly into Brightspace. This item needs no file attachment. Explain what the extension, signature, chunk layout and hash each establish. State whether you independently calculated a CRC or used the supplied computed reference. If you calculated one, name the tool, byte range and result; otherwise cite the reference without claiming to have run a calculation. Explain the limits of a successful parser or checksum check. Record the lab ID/version, dataset ID and assigned packet, your operating system and app versions, the operations you actually performed, and the screenshot or file supporting each conclusion. Disclose sources, collaboration and AI assistance according to the assigned course rules. State unavailable fields and failed operations honestly. A supplied reference result is not an operation you performed.
Set up in Brightspace Quizzes
  1. Open Quizzes in your course. Create a New Quiz, keep it hidden, and name it “Lab 5: Test a file-type claim”. Put this lab link in the description: https://knowledge.wandt.us/labs/file-types/
  2. Inside the new quiz choose Add Existing → Upload a File. Select file-types-quiz-r1.csv, review the question preview, choose Import All, and save. Import once into an empty quiz to avoid duplicates.
  3. Reopen questions 1–6. In each Written Response question enable the option allowing learners to insert images and add attachments, then save. The last question, Q7, calls for typed findings. Keep the question order fixed and shuffling off.
  4. Confirm 7 Written Response questions, the item weights above and 100 points total. These questions require manual evaluation. Set dates, timing, permitted attempts, accommodations, gradebook connection and feedback release for your course. State your sources, collaboration and AI disclosure rules before students begin.
  5. Preview while hidden. Open the lab link, try an evidence ZIP on Q1, both CSVs together on Q2, a screenshot, and typed findings on the last item. In a permitted test attempt verify the files can be reopened in evaluation. Only then make the quiz visible. Do not reimport over a quiz with student attempts.
Evaluate two possible responses
  • Student: “I read the stored checksum in the hex viewer. The second value came from the supplied reference; I did not calculate it in the viewer.” Instructor: A student can identify stored CRC bytes in HexLume or HxD and cite the supplied calculation. That is a valid route; an independent calculation is not required. Check the stated source, byte range and comparison.
  • Student: “The viewer displayed a PNG signature, so I marked the remaining chunks valid.” Instructor: An extension or preview alone cannot establish a complete file. Look for the declared boundary versus the last available byte. Blank rows after truncation are appropriate when the reason is given.
Give useful feedback
  • Open the submitted files, including any explanation placed in an attachment. Distinguish a missing deliverable from one submitted in the wrong place. If a file cannot be inspected, follow up before assigning a zero.
  • When a Mac evidence ZIP includes ._ entries, inspect the named evidence in before/ and after/ and compare its bytes with the hash exports. Confirmed archive metadata alone is not a missing file, an evidence change or grounds for a deduction. Check an unexplained extra file separately.
  • Give credit for equivalent Mac and Windows evidence. For a deduction, identify the specific criterion, point loss and evidence. Avoid charging the same mistake twice; credit a sound explanation of a limitation even when a practical step is incomplete.

D2L help: Create and configure a quiz · Written response questions.

← Back to the lab library

Instructional screenshot