Courseiva
Network And Perimeter ExploitationmediumMultiple ChoiceObjective-mapped

CPENT Network And Perimeter Exploitation Practice Question

During an internal network assessment, a tester discovers that direct routing to a segmented VLAN is blocked, but an accessible host on that VLAN is running an SSH server. Which Metasploit auxiliary module can be used to set up a routing table so subsequent exploit modules can reach the isolated subnet through the compromised SSH host?

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

post/multi/manage/autoroute

auxiliary/server/socks_proxy combined with autoroute (run autoroute -s <subnet>) or ssh_login allows pivoting through an SSH session. Specifically, post/multi/manage/autoroute is commonly used to add routes through a session.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • post/multi/manage/autoroute

    Why this is correct

    This post-exploitation module adds a route to the Metasploit routing table to pivot through a session.

  • auxiliary/server/socks4a

    Why it's wrong here

    While SOCKS proxy helps proxy traffic, post/multi/manage/autoroute is the primary Metasploit routing module for sessions.

  • auxiliary/scanner/portscan/tcp

    Why it's wrong here

    This module is used for scanning ports, not routing traffic.

  • exploit/unix/ssh/libssh_auth_bypass

    Why it's wrong here

    This is an exploitation module for a specific vulnerability, not a routing mechanism.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

Courseiva writes every CPENT question from scratch — 276 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 →

How Courseiva writes practice questions · Editorial policy

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.