nerdexam
CompTIA

PT0-001 · Question #141

A company hires a penetration tester to determine if there are any vulnerabilities in its new VPN concentrator installation with an external IP of 100.170.60.5. Which of the following commands will…

The correct answer is B. ike-scan -A -t 1 --sourceip=apoof_ip 100.170.60.5. IKE-scan is the purpose-built tool for probing IPsec/IKE VPN concentrators, making it the correct choice for testing whether a VPN endpoint is reachable and responsive.

Reconnaissance and enumeration

Question

A company hires a penetration tester to determine if there are any vulnerabilities in its new VPN concentrator installation with an external IP of 100.170.60.5. Which of the following commands will test if the VPN is available?

Options

  • Afpipe.exe -1 8080 -r 80 100.170.60.5
  • Bike-scan -A -t 1 --sourceip=apoof_ip 100.170.60.5
  • Cnmap -sS -A -f 100.170.60.5
  • Dnc 100.170.60.5 8080 /bin/sh

How the community answered

(43 responses)
  • A
    16% (7)
  • B
    74% (32)
  • C
    7% (3)
  • D
    2% (1)

Why each option

IKE-scan is the purpose-built tool for probing IPsec/IKE VPN concentrators, making it the correct choice for testing whether a VPN endpoint is reachable and responsive.

Afpipe.exe -1 8080 -r 80 100.170.60.5

fpipe.exe is a TCP port-forwarding and port-redirecting tool used to tunnel traffic, not to probe or test VPN availability on a remote host.

Bike-scan -A -t 1 --sourceip=apoof_ip 100.170.60.5Correct

ike-scan communicates directly over UDP port 500 using the IKE protocol, which is the handshake mechanism for IPsec VPNs. The -A flag tests aggressive mode negotiation, and --sourceip allows spoofing for additional probing - both are standard techniques to determine if a VPN concentrator is alive and accepting IKE negotiations. No other tool in the list speaks the IKE protocol natively.

Cnmap -sS -A -f 100.170.60.5

nmap -sS performs a TCP SYN scan with OS/service detection and packet fragmentation (-f), which tests open TCP ports but cannot probe the UDP-based IKE protocol used by IPsec VPN concentrators.

Dnc 100.170.60.5 8080 /bin/sh

The nc (netcat) command shown here attempts to open a reverse shell to port 8080 on the target, which is a post-exploitation technique and has nothing to do with testing VPN availability.

Concept tested: IPsec/IKE VPN probing with ike-scan

Source: https://www.nta-monitor.com/wiki/index.php/Ike-scan_User_Guide

Topics

#VPN#IKE scan#IPSec#network reconnaissance

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice