String Analysis
Also called Strings triage.
Extracting readable text from a binary to infer its purpose.
What it is
The practice of pulling human-readable ASCII and Unicode sequences out of a sample's bytes and reviewing them for meaning. It surfaces URLs, file paths, error messages, mutex names, and embedded commands.
Why it matters
Strings are the cheapest, highest-yield first look at a sample, often handing over indicators and intent in seconds. A binary with almost no meaningful strings usually points to packing, encryption, or string-stacking.
In practice
Grepping a sample's strings and finding a hard-coded C2 URL and a distinctive user-agent that becomes a hunting indicator.
What to look for
- URLs, IPs, file paths, registry keys and commands.
- Unicode strings that ASCII extraction misses.
- Very few strings, which suggests packing or encoding.
Common mistake
Treating strings as proof. Malware can carry decoy strings to mislead analysts.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- File Triage
Drop any file. It names the format from its first bytes, hashes it, and opens the parser that reads it: PE, ELF, Mach-O, Office, PDF, plist, or entropy and strings.
- Indicator Extractor
Pull every IOC out of a log or a report, then score the domains against published string heuristics.
- Regex Tester
A live regex playground, with a library of common DFIR patterns.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Ghidra Open source
A disassembler and decompiler for reading what a sample's code actually does. Our notes.
-
YARA Open source
Writes rules that match a family's code or strings across many files. Our notes.
-
VirusTotal Commercial
Shows how many engines flag a file, plus its relations to domains and other samples.
-
ANY.RUN Commercial
An interactive sandbox where you watch a sample run and click through what it asks for.
Read next
- String Stacking: Building strings byte by byte at runtime to hide them from triage.
- Static Analysis: Examining a sample's code and structure without executing it.
- Indicator Extraction from Memory: Pulling addresses, names, and strings from RAM to drive a hunt.