Show answerHide answer
Correct answer: D Prompting a chatbot to describe server naming patterns and Internet Protocol (IP) ranges
Explanation
Explanation:Prompting a chatbot to reveal internal infrastructure details—such as server naming conventions and IP subnets—directly strengthens an LLM’s utility for malicious reconnaissance. This technique, known as informational prompt engineering, exploits the model’s training data, which often includes publicly exposed code repositories, forum posts, or documentation containing organizational network patterns. By crafting a benign-sounding query, the attacker coerces the LLM to output specific, actionable intelligence without modifying the model itself. This is far more effective than other methods because it leverages the LLM’s parametric memory and reasoning capabilities to correlate fragmented data points, producing a comprehensive reconnaissance report. The attack falls under the OWASP LLM06: Sensitive Information Disclosure category, where the model inadvertently reveals proprietary or internal system details.
Why the other options are incorrect:
A. RAG:
RAG enhances accuracy by grounding responses in an external vector database. It does not inherently improve the model’s reasoning or ability to perform reconnaissance; it simply retrieves documents. An attacker would need prior access to the RAG data store, making it a secondary vector, not a performance enhancer.
B. Web scraper script:
This is an external OSINT tool, not an LLM capability. While it gathers data, it does not “strengthen” the model’s internal performance or reasoning. The LLM merely consumes the scraped data; its core functionality remains unchanged.
C. Query as an administrator:
This describes a role-playing jailbreak to bypass guardrails. While dangerous, it targets policy enforcement, not the model’s ability to perform reconnaissance. It does not make the LLM more effective at identifying patterns or correlating network data—it only removes content filters.
References:
CompTIA SecAI+ CY0-001 Exam Objectives: Domain 2.2 (Threats to AI Systems – Inference and Extraction Attacks) and Domain 3.2 (Implementing AI Security Controls – Prompt Filtering).
OWASP Top 10 for LLMs (v1.1): LLM06 – Sensitive Information Disclosure, which explicitly warns against extracting internal system details via prompts.