Read bytes, offsets and signatures
Read a small binary file, interpret the same bytes two ways and test a filename claim.
LAB-HEX-001 · v0.1.1 · about 45–60 minutes, excluding setup; estimate untested.
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.
Start with the Lab 2 orientation
Get oriented in 2 minutes 46 seconds, then follow the complete hands-on instructions below. Dean provides the AI-generated narration.
Use YouTube’s Play button to begin and its CC control for English captions. The video reserves a teal area below the teaching content for captions.
Read the video transcript
Welcome to Wandt Knowledge. In Lab 2, you'll learn to read file bytes, locate offsets, and check file signatures. This video introduces the hands-on exercise. Open the Lab 2 lesson link below for the instructions, practice files, and screenshot checklist.
Two examiners agree on the bytes and report different numbers. Before you decide one is wrong, what would you ask about their settings? In this lab you’ll make both readings reproducible.
The binary file is for the number exercise. The DAT file is for the signature exercise. Keep a starting copy of each and work read-only. Save the filenames, sizes and full hashes before opening the byte viewer. If this lab was assigned, keep starting copies in the before folder and the final files in the after folder.
On a Mac, use HashLume for the hashes. Mount the working binary in HexLume. Use Command G to go to hexadecimal offset zero D, then find UInt16 in the Data Interpreter.
On Windows, use HashMyFiles for the hashes. Open the binary read-only in HxD. Look for Readonly in the status bar. Column zero D in the first row is decimal offset thirteen.
Locate the two-byte field starting at hexadecimal offset zero D. On a Mac, UInt16 reads that byte and its next neighbor, even when only the first byte is outlined. For S01, show the filename, offset, bytes and little-endian setting with the unsigned sixteen-bit reading. Could someone repeat that measurement from your picture?
Keep the same starting offset and two-byte field. Change the interpretation to big-endian and capture S02. Put both values beside the same raw bytes in your notes, with the order labeled each time.
Open the DAT file at offset zero. For S03, keep its filename, leading bytes and decoded text in view. How much about the rest of the file can you establish from its beginning?
For fresh hashes on a Mac, clear the HashLume workbench and add both working files again. On Windows, press F5 in HashMyFiles and wait. Save after-hashes.csv separately from before-hashes.csv, then compare each file with its own baseline. Hand over the exports, screenshots and observation record. Start by finding your two working files and recording which number base the viewer uses.
Now open Lab 2 using the lesson link below. Download the practice files, follow the instructions, and document what you find. And remember: Stay Curious and Wandt Knowledge.
Prepare
Start with Hashing and file integrity.
What you will practice
- Find bytes using zero-based decimal and hexadecimal offsets.
- Interpret a two-byte unsigned value in both byte orders.
- Distinguish a file signature from complete format validation.
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.
Download practice files Download 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.
Download this offline lab collection — the six file-evidence labs, including guides, screenshots, practice files and text references. Extract the whole ZIP and open index.html. Apps are separate; install them before going offline. Answers and progress are not saved.
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.
- 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.
- 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.
- 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.
- 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.
- 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: practice-bytes.bin, practice-signature.dat.
Review your submission checklist · Get help with common problems
Check your files before starting
Use the Download practice files link on this lab’s page. Keep each lab in its own folder and copy the supplied files without renaming them. Before inspection or an edit, check the exact filename, path and byte size in your hash app. Use the byte count, not rounded KB or size on disk. Size is an early check; compare SHA-256 with this packet’s MANIFEST.json or Reference results when checking identity.
| Filename | Bytes |
|---|---|
practice-bytes.bin | 25 |
practice-signature.dat | 42 |
If you see Rich Text code such as {\rtf1, or the starting sizes differ, pause and check the source files. Open the downloaded .bin and .dat directly in HexLume or HxD; never recreate or save them in TextEdit or Notepad. Renaming an .rtf file does not turn it into the supplied binary file. Extract a fresh copy of this lab’s ZIP into a separate folder.
What should change? This is inspection only. Switching little endian to big endian changes the displayed interpretation, not the stored bytes. Each file’s fresh after SHA-256 should match its own before SHA-256. Do not edit a file to make its hash change.
If you restart, keep earlier work separately and disclose the restart. Contact your instructor about an already-submitted attempt; do not replace its files silently.
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
Professor Wandt’s ProfWorkBench apps. Use HashLume for before/after hashes.
Windows
Use HashMyFiles for before/after hashes. The recorded Windows route uses Windows 11 ARM64; check publisher requirements for your computer.
Student discounts on ProfWorkBench apps
Currently enrolled John Jay College students qualify for 100% free lifetime licenses to ProfWorkBench apps, including HashLume, HexLume, MetaLume and pcapLume.
Students at other institutions: 50% off ProfWorkBench software licenses. Active students worldwide can apply for this educational discount on individual, personal-use purchases.
Request a student license or discount through ProfWorkBench’s secure contact form. Use your current academic email address (.edu or an international equivalent). John Jay students should use their active @jjay.cuny.edu address, or ask their instructor for access.
ProfWorkBench verifies eligibility and supplies an App Store code. Read the Academic & Service Discounts terms.
Setup and verification notes
Before starting, download each listed app from its publisher link above, check system requirements and open it once. Keep app folders separate from your originals, working copies and notes. Record the app version in your notes. The current HashLume guide and captures use 27.0 (27), checked October 26, 2026. HexLume captures use 27.0 (11), checked October 30, 2026. MetaLume captures use 27.0 (7) with their original verification dates. These HexLume and MetaLume builds require macOS 26 or later. Check compatibility before planning this route.
For Windows, extract the entire HashMyFiles ZIP before opening HashMyFiles.exe. For HxD, use the publisher’s installer or portable package and retain its complete folder. For metadata, follow the ExifToolGUI requirements and preparation or supplied installer, including ExifTool and its support files. Do not run apps from inside a ZIP. No administrator mode, disk access or security-setting changes are needed for inspecting these practice files.
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.
For a portable HxD build, use the actual executable and working-file paths, quoted separately:
"C:\Your-HxD-Folder\HxD64.exe" /readonly "C:\Your-Working-Folder\practice-bytes.bin"Replace both placeholder paths and verify Readonly in the status bar. Repeat for practice-signature.dat. Do not open disks or save altered data.
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.
Hex viewing: locate, interpret, preserve
Locate zero-based offsets, interpret the same two bytes in two orders and distinguish a signature from a complete-file conclusion.
Step 01 · Shared method
Establish the before state
- Inspect both files without editing either one. Changing the displayed byte order must not change the evidence.
- Use working copies of practice-bytes.bin and practice-signature.dat. Record their byte sizes and SHA-256 values.
- Use HashLume on Mac or HashMyFiles on Windows to preserve a complete before record for each working file.
What to notice: Inspection is authorized. Patching, repairing, executing or saving altered data is outside this task.
Check yourself: Keep the unchanged downloaded examples separate from working copies.
Step 02 · Mac · ProfWorkBench
Mac: inspect with HexLume
- Choose Mount File in HexLume and open practice-bytes.bin. Identify Offset, Hexadecimal and ASCII. HexLume is a read-only inspector; leave the in-memory bit sandbox untouched.
- Press Command+G to open Go to Offset. Enter 0x0D in Destination Offset and choose Go. The 0x prefix always means hexadecimal; without it, select Hex for 0D or Dec for 13. Confirm Offset: 0x0000000D in Data Inspector. Scroll inside that right-hand pane to Data Interpreter and read UInt16. Compare Little-Endian (Intel) / LE and Big-Endian (Network) / BE.

Actual HexLume capture · 27.0 (11) · 2026-10-30
What to notice: The first byte of the interpreted field is the selected offset. UInt16 reads that byte and its next neighbor, even though only one byte is outlined.
Check yourself: Record the actual app version and the offset base displayed.
Step 03 · Windows
Windows: inspect with HxD
- Open the working copy with HxD’s Open with HxD (readonly) action if available. For a portable copy, launch HxD64.exe with /readonly and the quoted working-file path as shown in Setup and verification notes above. Confirm Readonly in the bottom status bar.
- Locate decimal offset 13 at row 00000000, column 0D. Select that byte, then choose UInt16 in Data inspector. Compare Little endian and Big endian below the inspector; leave Hexadecimal basis unchecked for decimal output.
- Read the text bytes at 0F–11 across the row boundary. Repeat the read-only launch for practice-signature.dat.

Actual HxD capture · 2.5.0.0 (x86-64 on Windows 11 ARM64) · 2026-10-06
What to notice: The left row label identifies the first byte in that row. Add the column offset; do not interpret the text pane’s placeholder as a stored character.
Check yourself: Do not open a physical disk or type into the data pane.
Step 04 · Shared method
Use the byte map
- Inspect the first 16 bytes, then locate the practice two-byte field starting at 0x0D.
- Select bytes in the interactive byte map. Match each hexadecimal offset to its decimal offset.
What to notice: Counting begins at zero. In a 16-byte display, the second row starts at decimal 16, hexadecimal 0x10. The practice grid may wrap differently on a narrow screen.
Check yourself: In a 16-byte display, explain why the second and third text bytes fall on the next row.
Step 05 · Shared method
Show both calculations
- For bytes 04 03, calculate little endian as 4 + (3 × 256).
- Calculate big endian as (4 × 256) + 3. Use the unsigned interpretation and state the field length.

Actual HexLume capture · 27.0 (11) · 2026-10-30

Actual HexLume capture · 27.0 (11) · 2026-10-30

Actual HxD capture · 2.5.0.0 (x86-64 on Windows 11 ARM64) · 2026-10-06

Actual HxD capture · 2.5.0.0 (x86-64 on Windows 11 ARM64) · 2026-10-06
What to notice: The bytes stay fixed while the interpretation changes. Neither byte order is universally correct without a format definition.
Check yourself: Explain why the same bytes produce 772 in little endian and 1027 in big endian.
Step 06 · Shared method
Inspect the disguised example
- Open practice-signature.dat and inspect the leading bytes. The example begins with GIF87a (47 49 46 38 37 61).
- Compare the bytes with a format reference. Treat a scanner label as a lead, then identify a further structural check.

Actual HexLume capture · 27.0 (11) · 2026-10-30

Actual HxD capture · 2.5.0.0 (x86-64 on Windows 11 ARM64) · 2026-10-06
What to notice: Changing a filename extension does not rewrite the file. Recognizing a prefix alone does not validate the whole file.
Check yourself: Separate what the signature supports from what remains untested.
Step 07 · Shared method
Rehash and explain
- Mac — preserve before-hashes.csv and your before screenshots first. Close inspection without saving changes. Both files must remain unchanged. In HashLume choose Add (+) → Clear the workbench. Confirm the list contains only this lab’s two working files; preserve any unrelated work before clearing. Clearing removes displayed results, not files or saved exports. Add both individual working files again with Files or folders…, wait for completion, and check each filename, byte size and full SHA-256 value.
- Windows — in HashMyFiles choose View → Refresh (F5), wait for recalculation, and identify both working files by name because rows may reorder. Compare each fresh result with its own saved before record.
- Keep an offset/byte table, both unsigned calculations, a signature observation and both before/after comparisons. Explain one limitation and a useful next check.
- 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: An unchanged digest supports preservation during your documented procedure. It does not prove the file has never been changed.
Check yourself: Can another reader trace your interpretation back to the actual selected bytes?
Explore the idea
Explore before you examine
Ungraded practice using the demonstration dataset. Controls run only in this page. They do not inspect your device, collect answers or certify tool execution.
Locate a byte and interpret a pair
Select a byte. Offsets start at zero; this practice grid wraps to fit your screen. The practice pair starts at decimal 13 / 0x0D; the three text bytes start at decimal 15 / 0x0F.
Same pair, two unsigned interpretations
04 03 → little endian: 4 + (3 × 256) = 772.
The .dat example begins with a GIF signature. What is the next defensible claim?
Choose an explanation to see feedback. No result is sent or saved.
Correct: distinguish the observed signature from complete structural validity. An extension mismatch alone does not establish malicious intent.
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.
Read the demonstration results as text
These reference values describe the supplied practice files and help you check your reasoning. Record your own tool observations before comparing them. Text remains available without JavaScript.
| Offset decimal | Offset hexadecimal | Byte hexadecimal | Byte decimal | ASCII interpretation |
|---|---|---|---|---|
| 0 | 0x00 | 44 | 68 | D |
| 1 | 0x01 | 45 | 69 | E |
| 2 | 0x02 | 4D | 77 | M |
| 3 | 0x03 | 4F | 79 | O |
| 4 | 0x04 | 2D | 45 | - |
| 5 | 0x05 | 42 | 66 | B |
| 6 | 0x06 | 59 | 89 | Y |
| 7 | 0x07 | 54 | 84 | T |
| 8 | 0x08 | 45 | 69 | E |
| 9 | 0x09 | 53 | 83 | S |
| 10 | 0x0A | 00 | 0 | Not printable ASCII |
| 11 | 0x0B | 00 | 0 | Not printable ASCII |
| 12 | 0x0C | 00 | 0 | Not printable ASCII |
| 13 | 0x0D | 04 | 4 | Not printable ASCII |
| 14 | 0x0E | 03 | 3 | Not printable ASCII |
| 15 | 0x0F | 58 | 88 | X |
| 16 | 0x10 | 59 | 89 | Y |
| 17 | 0x11 | 5A | 90 | Z |
| 18 | 0x12 | 00 | 0 | Not printable ASCII |
| 19 | 0x13 | 7F | 127 | Not printable ASCII |
| 20 | 0x14 | 80 | 128 | Not printable ASCII |
| 21 | 0x15 | FF | 255 | Not printable ASCII |
| 22 | 0x16 | 10 | 16 | Not printable ASCII |
| 23 | 0x17 | 20 | 32 | |
| 24 | 0x18 | 30 | 48 | 0 |
The two-byte field starts at decimal 13 / 0x0D and contains 04 03. As an unsigned 16-bit integer, little endian is 4 + (3 × 256) = 772; big endian is (4 × 256) + 3 = 1027. The unchanged bytes have different interpretations. At offsets 15–17 / 0x0F–0x11, bytes 58 59 5A spell XYZ and cross a 16-byte row boundary.
practice-signature.dat starts with 47 49 46 38 37 61, which reads GIF87a. This prefix suggests GIF; it does not by itself validate the remaining structure.
| File | Bytes | Verified source and after-inspection SHA-256 |
|---|---|---|
| practice-bytes.bin | 25 | f807b7d78383de07821d5a4ed04ac59a0699562f69902a1049a766b104bddebe |
| practice-signature.dat | 42 | 0398994f8b80d4f39700cb480c63b033fcad2cad7959b27eedba686fba58c21d |
Reflect on the result
- Describe one observation and the exact file or value behind it.
- Separate that observation from an inference you cannot yet establish.
- 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
Currently mapped as preparation for ACC 265. 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 2, use the seven items below in the matching Brightspace submission form. The item titles match that form.
Preview your submission before uploading
Reopen evidence.zip. Look for before/practice-bytes.bin and after/practice-bytes.bin. Repeat for every required evidence filename. The before/ and after/ folders contain evidence only.
Attach both original hash exports to question 2. Keep your own comparison in the observation item, not in the evidence ZIP. Type your explanation in the last question. Before submitting, check that the filenames appear beside the intended questions.
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.
- Upload your evidence files
Attach evidence.zip. It contains only the before/ and after/ folders, each with the two evidence files listed below.
- 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.
- Upload S01 — Little-endian interpretation
Attach S01.png or S01.jpg. Use additional images only when needed to show all required details.
- Upload S02 — Big-endian interpretation
Attach S02.png or S02.jpg. Use additional images only when needed to show all required details.
- Upload S03 — Signature bytes
Attach S03.png or S03.jpg. Use additional images only when needed to show all required details.
- Upload your observation record
Attach observations.txt using the blank text template below. If you already made observations.csv, that is also accepted. Submit one observation record.
- 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.
Which format belongs in each item?
Use each file for its own purpose: evidence.zip contains the actual before/ and after/ files; the two hash CSVs are original app exports; S01, S02 and any S03 are pictures of your app; observations.txt is your completed record of values; the final Brightspace response is your explanation. Upload the ZIP once to item 1, not to every item. A raw hash CSV does not replace the observation record, and an edited evidence file does not replace a screenshot.
Keep original hash exports as .csv, not .cvs or an Excel workbook (.xlsx). A CSV may open in Excel without changing its format; do not resave or convert it. Fill the downloaded observation template and save it as plain-text observations.txt. On Mac, check TextEdit’s Format menu: Make Rich Text means the document is already plain text; if it offers Make Plain Text, use that for your observation record. On Windows use Notepad. Check the full filename so you do not add a second extension. Use a text editor only for the observation record and Lab 1’s permitted edit, not to recreate binary or photo evidence.
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-HEX-001 · v0.1.1 · Dataset: ACC265-DEMONSTRATION-20261006-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: practice-bytes.bin, practice-signature.dat.
Inspection only. Both files must remain byte-for-byte unchanged; changing the displayed byte order does not edit the file.
How to make and check evidence.zip
- 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.
- 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.
- 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.
- 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.
- 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.
- S01 — Little-endian interpretation
practice-bytes.bin at hexadecimal offset 0x0D with the two bytes selected, the unsigned 16-bit interpretation and little-endian setting visible.
- S02 — Big-endian interpretation
The same file, offset and two bytes, now with the unsigned 16-bit interpretation and big-endian setting visible.
- S03 — Signature bytes
practice-signature.dat from offset zero, with its leading bytes and decoded text visible. Keep the filename and offset column in view.
Attach your observation record
Download the blank observation template (.txt)
Open the template in TextEdit on Mac or Notepad on Windows. Fill in your own observations, then save your completed copy as observations.txt. You can submit an existing observations.csv instead; one observation record is enough.
Submit observations.csv or observations.txt with filename, offset and number base, exact raw bytes, selected length, unsigned data type, byte order and interpreted value. Include the signature observation and the limits of inferring a file type from a prefix.
Your original hash CSVs belong in item 2. This observation record is the separate completed comparison described above. Fill the blank template with your own values and save plain text, not Rich Text (.rtf). Do not upload an empty template or simply rename a hash export.
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.
Organize your final response: you may use these headings in the same Brightspace answer box. They organize the existing requirements; they are not extra questions or uploads. Replace any template placeholders with your own details or an honest unavailable result.
- Findings: Explain the two unsigned interpretations of the same bytes, your before/after preservation check, and what the signature supports and leaves untested.
- Evidence: Cite your actual filename, offset/base, bytes, byte orders, observation record and S01–S03. Explain the relevant hash-export columns.
- Limitations or problems: State any unavailable result, failed step or restart, or state none. Distinguish recognizing a prefix from validating a complete file.
- Work details: Identify the lab ID/version, dataset ID and whether you used the assigned packet; list your actual operating system and app versions and the work you performed. The guide’s verification date is not your app version.
- Sources and assistance: State sources, collaboration and AI assistance according to your course’s rules, including none when applicable.
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
My file shows Rich Text code or has the wrong size
The supplied practice-bytes.bin is 25 bytes and practice-signature.dat is 42 bytes. If you see {\rtf1 or different starting sizes, check the selected file and path. Extract a fresh copy of this lab’s ZIP into a separate folder and open the actual .bin or .dat in HexLume or HxD. Do not create, convert or save the evidence in a text editor. Record any restart.
The interpreted number looks wrong
Check the filename, offset and its number base, selected byte count, unsigned data type and byte order. Compare the same raw bytes in both interpretations; a different selection changes the question.
Does changing byte order change the file?
No. This is an inspection-only lab: each file’s freshly measured after hash should match its own before hash. Switching the inspector’s byte order changes the displayed number, not the file bytes. Keep read-only mode enabled and do not save edited data or force a hash change.
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 2: Read bytes, offsets and signatures · lab v0.1.1 · quiz revision 1 · 7 written-response questions · 100 points
Download Lab 2 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 45–60 minutes for the lab, plus installation and course submission time. This is a planning estimate.
- Suggested preparation: Hashing and file integrity.
- 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
- Find bytes using zero-based decimal and hexadecimal offsets.
- Interpret a two-byte unsigned value in both byte orders.
- Distinguish a file signature from complete format validation.
Teach this lab
- Opening question: Write a two-byte field on the board. Ask students to point separately to the address, the stored bytes, and the number displayed by the inspector. Have them predict which will change when they switch byte order.
- During practice: Have partners hold the starting offset fixed while switching the unsigned 16-bit display. Then move to the second file: the last screenshot must document the leading signature bytes, not a hash refresh.
- If students get stuck: If the values do not reconcile, ask to see the filename, base of the offset, field width and signed/unsigned control. A rich-text document saved with a binary-looking name is a different file; check the source packet before debugging the calculation.
- Debrief: If the displayed integer changes while the same file retains its digest, how can both measurements be right? What additional check would you want before calling a file valid from its prefix?
What the quiz collects · 100 points
- Upload your evidence files (15 points). Attach evidence.zip. It contains only the before/ and after/ folders, each with the two evidence files. Include these files in each folder: practice-bytes.bin, practice-signature.dat. Inspection only. Both files must remain byte-for-byte unchanged; changing the displayed byte order does not edit the file. Reopen the ZIP before submitting. Keep exports, screenshots and notes outside it.
- Upload your hash exports (15 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.
- Upload S01 — Little-endian interpretation (5 points). Attach S01.png or S01.jpg. Use additional images only when needed to show all required details. practice-bytes.bin at hexadecimal offset 0x0D with the two bytes selected, the unsigned 16-bit interpretation and little-endian setting visible.
- Upload S02 — Big-endian interpretation (5 points). Attach S02.png or S02.jpg. Use additional images only when needed to show all required details. The same file, offset and two bytes, now with the unsigned 16-bit interpretation and big-endian setting visible.
- Upload S03 — Signature bytes (5 points). Attach S03.png or S03.jpg. Use additional images only when needed to show all required details. practice-signature.dat from offset zero, with its leading bytes and decoded text visible. Keep the filename and offset column in view.
- Upload your observation record (25 points). Attach observations.txt using the blank text template on the lab page. If you already made observations.csv, that is also accepted. Submit one observation record. Submit observations.csv or observations.txt with filename, offset and number base, exact raw bytes, selected length, unsigned data type, byte order and interpreted value. Include the signature observation and the limits of inferring a file type from a prefix.
- Enter your findings and work details (30 points). Type your explanation and work details directly into Brightspace. This item needs no file attachment. Connect each interpretation to the same selected bytes. Explain why changing byte order changes a displayed number while the file hash remains unchanged. Explain what the signature supports and what it cannot establish about the rest of the file. 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
- Open Quizzes in your course. Create a New Quiz, keep it hidden, and name it “Lab 2: Read bytes, offsets and signatures”. Put this lab link in the description: https://knowledge.wandt.us/labs/hex/
- Inside the new quiz choose Add Existing → Upload a File. Select hex-quiz-r1.csv, review the question preview, choose Import All, and save. Import once into an empty quiz to avoid duplicates.
- 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.
- 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.
- 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
- Practice response A: “The offset stayed fixed, but changing the byte order changed my number.” Look for the same file, selection and unsigned width in both views. Credit a reproducible comparison even when the two apps label the control differently.
- Practice response B: “I know the file is valid because its first bytes match a known signature.” Credit the located bytes and offset when shown. Ask what the prefix cannot establish about the rest of the file. Do not deduct for an unchanged final digest in this inspection-only lab.
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.