TMAegis
Aturan lainnya untuk iis

TMA-IIS-6.1

Ensure FTP requests are encrypted

TinggiLevel 1Otomatisiis

Deskripsi

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.

Cara pemeriksaan

Metode audit: Perintah 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' }
Output yang diharapkan
compliant

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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)

Properti

Sistem operasi
Apa saja
Tag
iisftp
Referensi
CIS Microsoft IIS 10 Benchmark v1.2.1 - 6.1 Ensure FTP requests are encrypted

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target iis