HackBlue

Tools · CTF categories for beginners · 25 / 26

Beginner categories: the category chip is not the file type

The chip is the author bucket. file describes the bytes. Record both before you choose a tool.

10 min read · practice only with authorization

The chip is a bucket the author chose

Practice boards label cards with chips such as Forensics, Crypto, or Web. The chip is how the organizers grouped the card. It is a word on the board, not a description of the bytes in the download.

A Forensics chip can sit on a text file. A Crypto chip can sit on a README. The chip does not choose the program you open next.

The file command describes the download

When you have a file, the file command (or the type your archive tool prints) describes those bytes. Save that line. It can disagree with the chip, and the disagreement is useful: you write both rather than letting the chip replace the bytes.

If you have not run that check, the type is unknown. Do not fill the blank with the chip.

A tool waits until both lines exist

Name a tool only after the notebook has the chip and the type line, and only as a choice you can explain from the type. The chip alone is not the explanation. This page does not walk through a recovery or a decode.

Club night: Forensics printed on a text file

The card Notes From The Pier wears a Forensics chip. The download is notes.txt. The file command prints ASCII text. A draft opens a disk-image viewer because the chip says Forensics.

The notebook records chip Forensics and type ASCII text. The viewer stays closed. The next reading is the text file itself, because that is what the type line described.

Snippet
card: Notes From The Pier
chip: Forensics
file: notes.txt
file command: ASCII text
write: chip and type
not: a disk image because of the chip

Diagram

Two labels that are allowed to disagree

The chip groups the card. The type line describes the download.

  • Category chip

    The organizer bucket, such as Forensics. Quote it as a label.

  • file output

    What the command printed about the bytes. Save the line.

  • No type check yet

    Write that the type was not checked. Do not borrow the chip.

  • Tool choice

    Comes after both lines, and it has to follow the type you saved.

Check yourself

1. A card says Forensics and the file command says ASCII text. What is Forensics here?

2. Which line describes the download?

3. You have not run file yet. What do you write for the type?