Skip to content

Inaccurate CIS check "9.1.3 Ensure 'SMB channel encryption' is Set to 'AES-256-GCM' or Higher for SMB file shares" #11107

@baggers27

Description

@baggers27

Issue search

  • I have searched the existing issues and this bug has not been reported yet

Which component is affected?

Prowler CLI/SDK

Cloud Provider (if applicable)

Azure

Steps to Reproduce

The CIS check "9.1.3 Ensure 'SMB channel encryption' is Set to 'AES-256-GCM' or Higher for SMB file shares" is mapped to storage_smb_channel_encryption_with_secure_algorithm. However, that check only looks for AES-256-GCM within the list of algorithms. So if a weaker algorithm is enabled, the check still works.

Either a new stricter check needs to be created and mapped to the CIS check, or assuming the check was set up to satisfy the CIS mapping anyway, it should check that no weaker algorithms are in the list.

Expected behavior

storage_smb_channel_encryption_with_secure_algorithm should FAIL if 128 algorithms are enabled alongside AES-256-GCM

Actual Result with Screenshots or Logs

N/A

How did you install Prowler?

Cloning the repository from github.com (git clone)

Environment Resource

  1. workstation

OS used

  1. Windows

Prowler version

5.24.4

Python version

3.12

Pip version

NK

Context

No response

Metadata

Metadata

Assignees

Labels

bugseverity/mediumResults in some unexpected or undesired behavior.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions