Attacks and Exploits

In msfconsole, a tester wants to run a port scanner and a login check against in-scope hosts. Neither task delivers a payload. Which module type is used?

Show the answer

Correct answerA. Auxiliary

AWhy this is right: Auxiliary modules handle scanners, fuzzers and login checks without a payload, which matches both tasks.

BWhy not this: Exploit modules deliver a payload through a vulnerability, and these tasks deliver none.

CWhy not this: Encoders reshape payload bytes to avoid bad characters or signatures; they do not scan or test logins.

DWhy not this: Post modules run against an existing session after access, not before it for scanning or login checks.

Auxiliary modules cover scanning, fuzzing and login testing, and they need no payload. Exploit modules are tempting, but they exist to deliver a payload through a vulnerability.