基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-storage-8-4命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
macOS post-exploitation for credential harvesting, DTrace monitoring, TCC bypass, and stealth operations via native tools
Windows userland post-exploitation for credential harvesting, monitoring, AMSI/ETW bypass, and stealth operations
Kubernetes post-exploitation for container escape, secret extraction, RBAC abuse, and cluster persistence
| name | cis-azure-storage-8.4 |
| description | Ensure 'SMB channel encryption' is set to 'AES-256-GCM' or higher for SMB file shares |
| category | cis-azure-storage |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","storage","azure-files","smb","encryption"] |
| cis_id | 8.4 |
| cis_benchmark | CIS Microsoft Azure Storage Services Benchmark v1.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Implement SMB channel encryption with AES-256-GCM for SMB file shares to ensure data confidentiality and integrity in transit. This method offers strong protection against eavesdropping and man-in-the-middle attacks, safeguarding sensitive information.
AES-256-GCM encryption enhances the security of data transmitted over SMB channels by safeguarding it from unauthorized interception and tampering.
Using the AES-256-GCM SMB channel encryption may impact client compatibility.
Storage accounts.Data storage, click File shares.File share settings, click the link next to Security.SMB channel encryption, ensure that AES-256-GCM, or higher, is the only checked SMB channel encryption setting.Run the following command to list storage accounts:
az storage account list
For each storage account, run the following command:
az storage account file-service-properties show --resource-group <resource-group> --account-name <storage-account>
Ensure that under protocolSettings > smb, channelEncryption is set to AES-256-GCM;, or higher, only.
Run the following command to list storage accounts:
Get-AzStorageAccount
Run the following command to get the file service properties for a storage account in a resource group with a given name:
$storageaccountfileservice = Get-AzStorageFileServiceProperty -ResourceGroupName <resource-group> -AccountName <storage-account>
Run the following command to get the SMB channel encryption setting:
$storageaccountfileservice.ProtocolSettings.Smb.ChannelEncryption
Ensure that the command returns AES-256-GCM, or higher, only. Repeat for each storage account.
Under protocolSettings > smb, channelEncryption is set to AES-256-GCM;, or higher, only.
Storage accounts.Data storage, click File shares.File share settings, click the link next to Security.Profile is set to Maximum compatibility, click the drop-down menu and select Maximum security or Custom.Custom, under SMB channel encryption, uncheck the boxes next to AES-128-CCM and AES-128-GCM.Save.For each storage account requiring remediation, run the following command to set the SMB channel encryption:
az storage account file-service-properties update --resource-group <resource-group> --account-name <storage-account> --channel-encryption AES-256-GCM
For each storage account requiring remediation, run the following command to set the SMB channel encryption:
Update-AzStorageFileServiceProperty -ResourceGroupName <resource-group> -StorageAccountName <storage-account> -SmbChannelEncryption AES-256-GCM
By default, the following SMB channel encryption algorithms are allowed:
Level 1 | Automated