ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 68 - PT0-002 discussion

Report
Export

A penetration tester is looking for a vulnerability that enables attackers to open doors via a specialized TCP service that is used for a physical access control system. The service exists on more than 100 different hosts, so the tester would like to automate the assessment. Identification requires the penetration tester to:

Have a full TCP connection

Send a "hello" payload

Walt for a response

Send a string of characters longer than 16 bytes

Which of the following approaches would BEST support the objective?

A.
Run nmap -Pn -sV -script vuln <IP address>.
Answers
A.
Run nmap -Pn -sV -script vuln <IP address>.
B.
Employ an OpenVAS simple scan against the TCP port of the host.
Answers
B.
Employ an OpenVAS simple scan against the TCP port of the host.
C.
Create a script in the Lua language and use it with NSE.
Answers
C.
Create a script in the Lua language and use it with NSE.
D.
Perform a credentialed scan with Nessus.
Answers
D.
Perform a credentialed scan with Nessus.
Suggested answer: C

Explanation:

The Nmap Scripting Engine (NSE) is one of Nmap's most powerful and flexible features. It allows users to write (and share) simple scripts (using the Lua programming language ) to automate a wide variety of networking tasks. https://nmap.org Creating a script in the Lua language and using it with NSE would best support the objective of finding a vulnerability that enables attackers to open doors via a specialized TCP service that is used for a physical access control system. NSE (Nmap Scripting Engine) is a feature of Nmap that allows users to write and run scripts to automate tasks or perform advanced scans. Lua is a scripting language that NSE supports and can be used to create custom scripts for Nmap.

asked 02/10/2024
shvoal gerama
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first