Back to Checks
vcf

Backup transfer uses a secure protocol

backup_secure_protocol
Service: backupSeverity: high
OfficialVerifiedVMware Cloud FoundationPrivate
Categories:encryption
Resource Type:Backup

SDDC Manager backup transfers use SFTP or SCP to encrypt data in transit instead of cleartext FTP.

Risk

Using cleartext FTP for backup transfers exposes backup data, including sensitive configuration and credentials, to network interception — breaking confidentiality in transit.

Run this check with Prowler

Run in Prowler Cloud
Install
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-vcf[runtime]"
Run
prowler vcf --checks backup_secure_protocol

Recommendation

Switch the backup protocol to SFTP or SCP to encrypt data in transit and apply defense in depth to the backup pipeline.

Remediation

Other

1Update the backup configuration to use `SFTP` or `SCP` in the **SDDC Manager** UI under **Administration > Backup**, or call `PUT /v1/system/backup-configuration`.

Check Code

from prowler.lib.check.models import Check
from prowler_provider_vcf.check_report import CheckReportVCF
from prowler_provider_vcf.services.backup.backup_client import backup_client


class backup_secure_protocol(Check):
    def execute(self) -> list[CheckReportVCF]:
        findings = []
        if backup_client.backup_config is None:
            return findings
        config = backup_client.backup_config
        secure_protocols = {"SFTP", "SCP"}

        if not config.locations:
            report = CheckReportVCF(
                metadata=self.metadata(),
                resource=config,
            )
            report.status = "FAIL"
            report.status_extended = (
                "No backup locations are configured. "
                "Use SFTP or SCP to encrypt backup data in transit."
            )
            findings.append(report)
            return findings

        for location in config.locations:
            report = CheckReportVCF(
                metadata=self.metadata(),
                resource=location,
            )
            if location.protocol and location.protocol.upper() in secure_protocols:
                report.status = "PASS"
                report.status_extended = (
                    f"Backup location uses secure protocol {location.protocol}."
                )
            else:
                report.status = "FAIL"
                report.status_extended = (
                    f"Backup location uses protocol {location.protocol or 'N/A'} "
                    f"which is not secure. Use SFTP or SCP to encrypt backup data in transit."
                )
            findings.append(report)
        return findings