Notes

Short things learned at the bench: tool flags, one-liners, and small surprises.

  1. FLOSS can skip the slow part

    When a sample builds its strings on the stack, floss --only stack tight skips static string extraction and the slow decoded-string emulation. On a 2 MB loader that cut the run from about four minutes to twenty seconds, and the strings I wanted were all in the stack set anyway.

    sh
    floss --only stack tight -- sample.bin
  2. Defanging a list of indicators with one sed line

    Before pasting indicators into a ticket or chat, defang them so nobody clicks one by accident:

    sh
    sed -E 's/^http/hxxp/; s/\./[.]/g' iocs.txt

    It’s crude: it also brackets the dots in file names. For anything going into a report, use a real defanging library and keep the raw values in a separate machine-readable file.