Strings — Extraction de chaînes de caractères

Triage Rapide

Usage

strings extrait les suites de caractères imprimables d'un binaire ou d'un dump. Outil de triage incontournable pour repérer rapidement URLs, IPs, commandes, chemins, clés ou flags.

Commandes

strings -n 8 binaire            # min 8 caractères
strings -e l dump.bin           # UTF-16 little-endian (Windows)
strings -t x fichier            # afficher l offset hexa
strings dump.raw | grep -iE 'http|password|flag|BEGIN'

En CTF / forensic

# Recherche d indicateurs dans un memdump
strings -e l memory.raw | grep -i 'cmd.exe'
strings malware.bin | grep -iE '\.onion|C2|/api/'