Show answerHide answer
Correct answer: A Browser Exploitation Framework
Explanation
Explanation:The key part of the question is:
“leverage a CSRF vulnerability to gather sensitive details from an application's end users.”
A Cross-Site Request Forgery (CSRF) attack works by:
Targeting authenticated users’ browsers
Forcing the victim’s browser to send unauthorized requests
Exploiting trust between the browser and the web application
To successfully exploit CSRF and collect user data, the tester needs a tool that can interact directly with and control victim browsers.
✅ A. Browser Exploitation Framework (BeEF) — Correct
The Browser Exploitation Framework (BeEF) is specifically designed to:
Hook victim browsers via injected JavaScript
Exploit browser-based vulnerabilities
Perform CSRF attacks automatically
Steal session data and sensitive information
Execute actions as the authenticated user
BeEF is commonly used in scenarios involving:
CSRF
XSS-assisted attacks
Session hijacking
Client-side exploitation
Perfect match for targeting end users through their browsers.
❌ Why the Other Options Are Wrong
B. Maltego
OSINT and relationship-mapping tool.
Used for reconnaissance and intelligence gathering.
Does not exploit web vulnerabilities or browsers.
C. Metasploit
Excellent exploitation framework for hosts and services.
Can assist with web attacks, but it is not specialized for browser control/CSRF exploitation like BeEF.
D. theHarvester
Passive reconnaissance tool.
Collects emails, domains, and public information.
No exploitation capability.
PenTest+ Exam Tip
When CompTIA mentions:
CSRF
End users
Browser interaction
Client-side attacks
Think immediately:
BeEF (Browser Exploitation Framework)
Quick mapping often tested:
Attack Type — Common Tool
CSRF / XSS browser attacks — BeEF
OSINT — Maltego / theHarvester
Exploitation framework — Metasploit