strings command
Pulling readable text out of a binary file, such as addresses, file paths, registry keys and error messages.
In more detail
Run it for both ASCII and UTF-16 text; Windows programs keep many strings in UTF-16, which an ASCII-only search misses. Strings show capability and indicators but can be hidden by packing or encoding.
Related terms
- UTF-16 — A Unicode encoding that stores each character as one or two 16-bit code units, used in memory by Java and JavaScript strings and by Windows.
- ASCII — An old character encoding covering 128 characters: English letters, digits, punctuation and control codes.
- packer — A tool that compresses or encrypts a program and wraps it in a small unpacking stub, hiding the real code and strings from static analysis.
- malware triage — A quick first examination of a suspicious file, using hashes, strings, headers and imports, to judge what it is and what to do next.
Taught in
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)