Post-exploitation and Lateral Movement

A tester has copied a 2 GB process memory dump from an in-scope host. Only lines of readable text containing "pass" are wanted, and no intermediate file may be written. Which approach is BEST?

Show the answer

Correct answerC. Pipe Strings output into findstr to keep only matching lines

AWhy not this: Explorer search is not a reliable way to extract readable text from a memory dump.

BWhy not this: findstr matches patterns in lines; it does not extract printable strings from binary data.

CWhy this is right: Strings pulls readable text out of the binary, and the pipe lets findstr filter it without writing a file.

DWhy not this: Saving all output creates the intermediate file the tester must avoid and leaves filtering to manual reading.

Strings extracts printable text from binary data, and findstr then filters that text for the pattern; piping them avoids a temporary file. findstr alone matches lines in its input but does not extract readable text from binary content.