TMAegis
Više pravila za iis

TMA-IIS-6.2

Ensure FTP Logon attempt restrictions is enabled

SrednjaNivo 1Automatskaiis

Opis

FTP Logon attempt restrictions is a built-in network security feature to automatically block brute force FTP attacks. This can be used to mitigate a malicious client from attempting a brute-force attack on a discovered account, such as the local administrator account. FTP logon attempt restrictions (system.ftpServer/security/authentication/denyByFailure enabled) must be on. Not applicable when the FTP service is not installed. PowerShell 5.1 with the WebAdministration module; run elevated. CIS marks this recommendation Manual; the automated check implements its audit procedure.

Kako se proverava

Metod provere: Komanda ljuske

shell
Import-Module WebAdministration -ErrorAction Stop; $c = Get-WebConfiguration -Filter 'system.ftpServer/security/authentication/denyByFailure' -PSPath 'MACHINE/WEBROOT/APPHOST'; if ($c.enabled -eq $true) { 'compliant' } else { 'noncompliant' }
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

Set-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' -Filter system.ftpServer/security/authentication/denyByFailure -Name enabled -Value True (set maxFailure and entryExpiration as required)

Svojstva

Operativni sistemi
Bilo koji
Oznake
iisftp
Referenca
CIS Microsoft IIS 10 Benchmark v1.2.1 - 6.2 Ensure FTP Logon attempt restrictions is enabled

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target iis