ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 435 - CAS-004 discussion

Report
Export

A security engineer is assessing a legacy server and needs to determine if FTP is running and on which port The service cannot be turned off, as it would impact a critical application's ability to function. Which of the following commands would provide the information necessary to create a firewall rule to prevent that service from being exploited?

A.
service ---status-ali I grep ftpd
Answers
A.
service ---status-ali I grep ftpd
B.
chkconfig --list
Answers
B.
chkconfig --list
C.
neestat -tulpn
Answers
C.
neestat -tulpn
D.
systeactl list-unit-file ---type service ftpd
Answers
D.
systeactl list-unit-file ---type service ftpd
E.
service ftpd. status
Answers
E.
service ftpd. status
Suggested answer: C

Explanation:

The netstat -tulpn command is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. The -tulpn options specifically show TCP and UDP connections with the process ID and the name that is listening on each port, which would provide the necessary information to identify if FTP is running and on which port without turning the service off. This information can then be used to create a precise firewall rule to prevent the FTP service from being exploited.

asked 02/10/2024
Anthony Wilson
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first