CPENT Iot And OT Exploitation Practice Question
A security analyst is performing a security assessment on a Siemens S7-1200 PLC. Using Nmap, which NSE script should the analyst run to gather detailed device information, including rack, slot, and firmware version via the S7 communication protocol?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
s7-info
Nmap includes specific industrial control scripts in the 'scripts/' directory. The 's7-info' script specifically queries Siemens S7 devices to extract operational data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
s7-info
Why this is correct
The 's7-info' NSE script connects to TCP port 102 and retrieves Siemens S7 controller identification details.
- ✗
modbus-discover
Why it's wrong here
The 'modbus-discover' script is used for Modbus/TCP protocol enumeration, not Siemens S7.
- ✗
bacnet-info
Why it's wrong here
The 'bacnet-info' script is used for building automation control networks (BACnet).
- ✗
enip-info
Why it's wrong here
The 'enip-info' script is designed for EtherNet/IP and Rockwell Automation devices.
About these practice questions
Courseiva writes every CPENT question from scratch — 274 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official EC-Council exam blueprint
This CPENT practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CPENT exam.