Post-exploitation and Lateral Movement

Which built-in Windows utility searches file contents for a text pattern such as "password"?

Show the answer

Correct answerC. findstr.exe

AWhy not this: msbuild.exe compiles and runs project build files, not text searches.

BWhy not this: rundll32.exe runs DLL exports; it has no text-search function.

CWhy this is right: findstr.exe searches file contents for strings or patterns, such as passwords in config files.

DWhy not this: netstat.exe lists network connections and listening ports, not file contents.

findstr.exe searches files for text strings and regular expressions, so it can locate credentials in scripts and config files. rundll32.exe only runs functions exported from DLLs and does not search text.