用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-compute-15-1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | cis-azure-compute-15.1 |
| description | Ensure Batch account is set to use customer-managed keys to encrypt data |
| category | cis-azure-compute |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","batch"] |
| cis_id | 15.1 |
| cis_benchmark | CIS Microsoft Azure Compute Services Benchmark v2.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Customer-managed keys introduce additional depth to security by providing a means to manage access control for encryption keys. Where compliance and security frameworks indicate the need, and organizational capacity allows, sensitive data at rest can be encrypted using customer-managed keys (CMK) rather than Microsoft-managed keys.
While it is possible to automate the assessment of this recommendation, the assessment status for this recommendation remains 'Manual' due to ideally limited scope. The scope of application -- which workloads CMK is applied to -- should be carefully considered to account for organizational capacity and targeted to workloads with specific need for CMK.
By default in Azure, data at rest tends to be encrypted using Microsoft-managed keys. If your organization wants to control and manage encryption keys for compliance and defense-in-depth, customer-managed keys can be established.
If the key expires due to setting the 'activation date' and 'expiration date', the key must be rotated manually.
Using customer-managed keys may also incur additional man-hour requirements to create, store, manage, and protect the keys as needed.
Batch accountsFor each Batch account perform the following:
Settings section, click on EncryptionCustomer-managed key radio button is selectedIf no key vault key is set, the configuration fails this audit procedure.
The following command should return the Key URL and source Key Vault:
az batch account show --name <batch-account-name> --resource-group <resource-group-name> --query "keyVaultReference"
If the result is null or Empty, the configuration fails this audit procedure.
Set-AzBatchAccount -ResourceGroupName <resource_group_name> -AccountName <batch_account_name> `
-KeyVaultReferenceId "/subscriptions/<subscription_ID>/resourceGroups/<resource_group_name>/providers/Microsoft.KeyVault/vaults/<keyvault_name>" `
-KeyVaultReferenceUrl "https://<keyvault_name>.vault.azure.net/keys/<key_name>"
The Batch account should have Customer-managed key encryption selected with a valid key vault key configured. The keyVaultReference should not be null or empty.
Batch accountsFor each Batch account:
Settings section, click on EncryptionCustomer-managed key radio buttonEnter key URI or Select from key vault to select and set the encryption key.# Link CMK to Batch account
az batch account set \
--resource-group <resource_group_name> \
--name <batch_account_name> \
--encryption-key-identifier https://<keyvault_name>.vault.azure.net/keys/<key_name>/<Version>
Set-AzBatchAccount -ResourceGroupName <resource_group_name> -AccountName <batch_account_name> `
-KeyVaultReferenceId "/subscriptions/<subscription_ID>/resourceGroups/<resource_group_name>/providers/Microsoft.KeyVault/vaults/<keyvault_name>" `
-KeyVaultReferenceUrl "https://<keyvault_name>.vault.azure.net/keys/<key_name>"
Azure Batch accounts uses Microsoft-managed keys (service-managed encryption) for data at rest by default.
Level 2 | Manual
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 职业分类