Skip to content

Extract strings from binary bytes

Recover printable ASCII runs from a small binary sample.

Install in Serialize

What it can do

  • Read a byte-oriented sample
  • Find printable runs
  • Deduplicate the recovered strings

How the recipe works

From Hex

Rebuild the raw bytes.

Strings

Emit printable single-byte strings of at least four characters.

Demonstration

Sample input

00 01 53 65 72 69 61 6c 69 7a 65 00 ff 44 45 4d 4f 5f 54 4f 4b 45 4e 00

Expected result

Serialize
DEMO_TOKEN

When to use it

  • Static file triage
  • Firmware exercises
  • Locating configuration fragments

Adapt it

Select All encodings when a file may contain UTF-16 strings as well as ASCII.

Source and verification

Adapted from University Politehnica of Bucharest: introductory security lab. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close