nerdexam
CompTIA

CV0-003 · Question #145

Anne, an administrator, notices unusual activity on a database server. After reviewing the logs, she notices a number of successful anonymous FTP logins and transferring of data to an external…

The correct answer is B. Up-to-date patching for operating system software D. Disabling unused ports and services. Anonymous FTP access exploits both an unpatched vulnerability and an unnecessary running service, so OS patching and disabling unused services are the two controls that would have prevented this attack.

Security

Question

Anne, an administrator, notices unusual activity on a database server. After reviewing the logs, she notices a number of successful anonymous FTP logins and transferring of data to an external server. Which of the following hardening techniques would have helped stop this attack from succeeding? (Select two.)

Options

  • AChanging default account settings
  • BUp-to-date patching for operating system software
  • CCurrent updates for the NIDS
  • DDisabling unused ports and services
  • EUp-to-date patching for application system software
  • FCurrent updates for antivirus software

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    71% (22)
  • C
    3% (1)
  • E
    16% (5)
  • F
    3% (1)

Why each option

Anonymous FTP access exploits both an unpatched vulnerability and an unnecessary running service, so OS patching and disabling unused services are the two controls that would have prevented this attack.

AChanging default account settings

Changing default account settings addresses credential-based risks but does not disable the FTP service or patch the underlying vulnerability that permitted anonymous logins.

BUp-to-date patching for operating system softwareCorrect

Applying up-to-date OS patches closes known vulnerabilities in the FTP service or underlying OS that can enable anonymous access and unauthorized data transfer. Without current patches, documented exploits remain available to attackers, allowing the anonymous login observed in the logs.

CCurrent updates for the NIDS

A NIDS can detect and alert on suspicious FTP activity after the fact but does not actively block sessions or prevent data exfiltration from occurring.

DDisabling unused ports and servicesCorrect

If the FTP service was not required for business operations, disabling it entirely removes the attack surface and prevents any FTP-based login - anonymous or otherwise - from succeeding. Disabling unused services is a foundational hardening principle that eliminates entry points an attacker cannot exploit if the service is not running.

EUp-to-date patching for application system software

Application-level patching targets third-party software vulnerabilities, not the OS-integrated FTP service that was exploited in this scenario.

FCurrent updates for antivirus software

Antivirus software inspects files for malware signatures and does not monitor or block FTP data transfers or anonymous login attempts.

Concept tested: FTP server hardening via OS patching and disabling unused services

Source: https://learn.microsoft.com/en-us/iis/publish/using-the-ftp-service/securing-ftp-traffic

Topics

#server hardening#FTP security#patch management#disabling services

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice