TMAegis
Más reglas para iis

TMA-IIS-6.1

Ensure FTP requests are encrypted

AltaNivel 1Automatizadaiis

Descripción

FTP Publishing Service for IIS supports adding an SSL certificate to an FTP site. Using an SSL certificate with an FTP site is also known as FTP-S or FTP over Secure Socket Layers (SSL). FTP-S is an RFC standard (RFC 4217) where an SSL certificate is added to an FTP site and thereby making it possible to perform secure file transfers. siteDefaults FTP ssl controlChannelPolicy and dataChannelPolicy must both be SslRequire. 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.

Cómo se verifica

Método de auditoría: Comando de shell

shell
Import-Module WebAdministration -ErrorAction Stop; $c = Get-WebConfiguration -Filter 'system.applicationHost/sites/siteDefaults/ftpServer/security/ssl' -PSPath 'MACHINE/WEBROOT/APPHOST'; if ([string]$c.controlChannelPolicy -eq 'SslRequire' -and [string]$c.dataChannelPolicy -eq 'SslRequire') { 'compliant' } else { 'noncompliant' }
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Set-WebConfigurationProperty -PSPath 'MACHINE/WEBROOT/APPHOST' -Filter system.applicationHost/sites/siteDefaults/ftpServer/security/ssl -Name controlChannelPolicy -Value SslRequire; same for dataChannelPolicy (and assign an SSL certificate)

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
iisftp
Referencia
CIS Microsoft IIS 10 Benchmark v1.2.1 - 6.1 Ensure FTP requests are encrypted

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target iis