ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 168 - SK0-005 discussion

Report
Export

A senior administrator instructs a technician to run the following script on a Linux server:

for i in {1..65536); do echo Si; telnet localhost $i; done

The script mostly returns the following message: Connection refused. However, there are several entries in the console display that look like this:

80

Connected to localhost

443

Connected to localhost

Which of the following actions should the technician perform NEXT?

A.
Look for an unauthorized HTTP service on this server
Answers
A.
Look for an unauthorized HTTP service on this server
B.
Look for a virus infection on this server
Answers
B.
Look for a virus infection on this server
C.
Look for an unauthorized Telnet service on this server
Answers
C.
Look for an unauthorized Telnet service on this server
D.
Look for an unauthorized port scanning service on this server.
Answers
D.
Look for an unauthorized port scanning service on this server.
Suggested answer: A

Explanation:

The script that the technician is running is trying to connect to every port on the localhost (the same machine) using telnet, a network protocol that allows remote access to a command-line interface. The script mostly fails because most ports are closed or not listening for connections. However, the script succeeds on ports 80 and 443, which are the default ports for HTTP and HTTPS protocols, respectively. These protocols are used for web services and web browsers. Therefore, the technician should look for an unauthorized HTTP service on this server, as it may indicate a security breach or a misconfiguration. Looking for a virus infection on this server is also possible, but not the most likely source of the issue. Looking for an unauthorized Telnet service on this server is not relevant, as the script is using telnet as a client, not a server. Looking for an unauthorized port scanning service on this server is not relevant, as the script is scanning ports on the localhost, not on other machines.

Reference:

https://phoenixnap.com/kb/telnet-windows

https://www.techopedia.com/definition/23337/http-port-80

https://www.techopedia.com/definition/23336/https-port-443

asked 02/10/2024
Victor Avila
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first