用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-compute-2-3-3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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 职业分类
正在显示 SKILL.md
| name | cis-azure-compute-2.3.3 |
| description | Ensure 'Basic Authentication Publishing Credentials' are 'Disabled' |
| category | cis-azure-compute |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","function-apps","basic-auth","publishing-credentials","authentication"] |
| cis_id | 2.3.3 |
| cis_benchmark | CIS Microsoft Azure Compute Services Benchmark v2.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
Basic Authentication Publishing Credentials provides the ability to publish -- or deploy to -- a function app without a centralized Identity Provider. For a more effective, capable, and secure solution for Identity, Authentication, Authorization, and Accountability, a centralized Identity Provider such as Entra ID is strongly advised.
Basic Authentication introduces an identity silo for privileged access to a resource and produces logging which may not provide a full chain of accountability. This can be exploited in numerous ways and represents a significant vulnerability and attack vector.
Disabling 'Basic Auth Publishing Credentials' will prevent the following deployment methods from working:
FTP Basic Auth Publishing Credentials:
SCM Basic Auth Publishing Credentials:
If this recommendation cannot be implemented because one of the above listed deployment methods is necessary and cannot be adapted, compensating controls (e.g. using FTPS Only and disabling only "SCM Basic Auth Publishing Credentials") are recommended to reduce potential attack surface.
An Identity Provider that can be used by the function app for authenticating users is required.
App Services or Function App.Settings, click Configuration.General settings pane, under Platform settings, ensure that SCM Basic Auth Publishing Credentials and FTP Basic Auth Publishing Credentials are set to Off.Run the following command to list function apps:
az functionapp list
For each function app, run the following command to get the basic authentication for FTP setting:
az resource show --resource-group <resource-group-name> --name ftp --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<function-app-name> --query properties.allow
Ensure that is returned.
falseFor each function app, run the following command to get the basic authentication for SCM setting:
az resource show --resource-group <resource-group-name> --name scm --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<function-app-name> --query properties.allow
Ensure that false is returned.
Both FTP and SCM basic authentication publishing credentials should return false.
CAUTION: Applying changes may cause your function app to restart.
App Services or Function App.Settings, click Configuration.General settings pane, under Platform settings, set SCM Basic Auth Publishing Credentials and FTP Basic Auth Publishing Credentials to Off.Save.Continue.For each function app requiring remediation, run the following command to disable basic authentication for FTP:
az resource update --resource-group <resource-group-name> --name ftp --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<function-app-name> --set properties.allow=false
For each function app requiring remediation, run the following command to disable basic authentication for SCM:
az resource update --resource-group <resource-group-name> --name scm --namespace Microsoft.Web --resource-type basicPublishingCredentialsPolicies --parent sites/<function-app-name> --set properties.allow=false
Basic authentication is disabled by default.
Level 1 | Automated