Skip to content
All tools
ForensicsRuns locallyNo account

Strings extractor for binaries and blobs

Pull printable ASCII and UTF-16 strings out of any file, filtered by length, with flag-pattern highlighting.

Open in ctfpal

Running strings is the cheapest possible move on any binary, and it solves a genuinely surprising number of challenges outright. Flags get left in the data section, debug messages explain the check the program performs, and hardcoded passwords sit in plain view.

Two details people miss

  • UTF-16. Windows binaries store strings as two-byte characters, so a naive ASCII scan sees H\0e\0l\0l\0o\0 and finds nothing. Always scan both encodings - it is the reason strings -el exists.
  • Minimum length. The default of 4 buries the signal in noise. Raising it to 8 or 10 cuts the output dramatically while keeping anything flag-shaped, and lowering it to 3 is worth one pass in case the flag was split.

If strings turns up nothing at all, that is informative: the file is compressed, encrypted, or packed. Check the entropy and the file signature before assuming there is nothing there.

Part of a module

7. File forensics and carving

Identify files by their bytes, find data appended past a format’s end marker, and pull evidence out of images and documents.

Practise on real challenges

Go deeper

Related tools