用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-compute-20-11命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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
基于 SOC 职业分类
| name | cis-azure-compute-20.11 |
| description | Ensure that encryption at host is enabled |
| category | cis-azure-compute |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","virtual-machines","vm","disks","encryption"] |
| cis_id | 20.11 |
| cis_benchmark | CIS Microsoft Azure Compute Services Benchmark v2.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Encryption at host enhances Azure Disk Storage Server-Side Encryption to ensure that all temporary disks and disk caches are encrypted at rest and flow encrypted to the storage clusters.
Encryption at host provides an additional layer of security to protect sensitive information.
Virtual machines.Properties pane, under Disk, ensure that Encryption at host is set to Enabled.Run the following command to list VM names and security profile settings:
az vm list --query [*].[name,securityProfile]
For each VM, ensure that encryptionAtHost is set to true.
Run the following command to list VMs:
Get-AzVm
Run the following command to get the VM in a resource group with a given name:
$vm = Get-AzVm -ResourceGroupName <resource-group> -Name <vm>
Run the following command to get the security profile settings for the VM:
$vm.SecurityProfile
Ensure that EncryptionAtHost is set to True.
Repeat for each VM.
All VMs should have encryptionAtHost set to true in the security profile.
Note: Encryption at host must first be enabled in a subscription before it can be used for virtual machines.
Set-AzContext -SubscriptionId <subscription-id>
Register-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
RegistrationState is Registered:Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
Note: Ensure that it is safe to change the state of the VM.
Virtual machines.Stop.Yes.Settings, click Disks.Additional settings.Encryption at host, select Yes.Save.Overview.Start.Note: Ensure that it is safe to change the state of the VM.
Run the following command to deallocate the VM:
az vm deallocate --resource-group <resource-group> --name <vm>
Run the following command to update the VM, enabling encryptionAtHost:
az vm update --resource-group <resource-group> --name <vm> --set securityProfile.encryptionAtHost=true
Run the following command to restart the VM:
az vm start --resource-group <resource-group> --name <vm>
Repeat for each VM requiring remediation.
Note: Ensure that it is safe to change the state of the VM.
Run the following command to stop the VM:
Stop-AzVm -ResourceGroupName <resource-group> -Name <vm> -Force
Run the following command to get the VM in a resource group with a given name:
$vm = Get-AzVM -ResourceGroupName <resource-group> -Name <vm>
Run the following command to update the VM, enabling encryptionAtHost:
Update-AzVm -ResourceGroupName <resource-group> -VM $vm -EncryptionAtHost 1
Run the following command to start the VM:
Start-AzVm -ResourceGroupName <resource-group> -Name <vm>
Repeat for each VM requiring remediation.
Encryption at host is disabled by default.
Level 1 | Automated