用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-azure-foundations-5-6命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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-foundations-5.6 |
| description | Ensure account 'Lockout threshold' is less than or equal to '10' |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","identity","account-lockout","brute-force","password-protection"] |
| cis_id | 5.6 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-5.7","cis-azure-foundations-5.8"] |
| prerequisites | [] |
| severity_boost | {} |
The account lockout threshold determines how many failed login attempts are permitted prior to placing the account in a locked-out state and initiating a variable lockout duration.
Account lockout is a method of protecting against brute-force and password spray attacks. Once the lockout threshold has been exceeded, the account enters a locked-out state which prevents all login attempts for a variable duration. The lockout in combination with a reasonable duration reduces the total number of failed login attempts that a malicious actor can execute in a given period of time.
If account lockout threshold is set too low (less than 3), users may experience frequent lockout events and the resulting security alerts may contribute to alert fatigue. If account lockout threshold is set too high (more than 10), malicious actors can programmatically execute more password attempts in a given period of time.
Microsoft Entra ID.Manage, select Security.Manage, select Authentication methods.Manage, select Password protection.Lockout threshold is set to 10 or fewer.Connect-MgGraph -Scopes "Policy.ReadWrite.AuthenticationMethod"
$p = (Get-MgPolicyAuthenticationMethodsPolicy).PasswordProtection
if ($p.LockoutThreshold -gt 10) {
Update-MgPolicyAuthenticationMethodsPolicy -BodyParameter @{
passwordProtection = @{
lockoutThreshold = 10
lockoutDuration = [Math]::Max($p.LockoutDuration, 60)
}
}
}
Disconnect-MgGraph
az rest --method get \
--url 'https://graph.microsoft.com/v1.0/policies/authenticationMethodsPolicy' \
--query 'passwordProtection.lockoutThreshold'
Lockout threshold should be 10 or fewer.
Microsoft Entra ID.ManageSecurityManage, select Authentication methods.Manage, select Password protection.Lockout threshold to 10 or fewer.Save.Connect-MgGraph -Scopes "Policy.ReadWrite.AuthenticationMethod"
Update-MgPolicyAuthenticationMethodsPolicy -PasswordProtection @{
LockoutThreshold = 10
LockoutDuration = "PT1M"
}
az rest --method patch \
--url 'https://graph.microsoft.com/v1.0/policies/authenticationMethodsPolicy' \
--headers 'Content-Type=application/json' \
--body '{"passwordProtection":{"lockoutThreshold":10,"lockoutDuration":"PT1M"}}'
By default, Lockout threshold is set to 10.
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 4.10 Enforce Automatic Device Lockout on Portable End-User Devices | x | x |
Level 1 | Manual