Loading...
Loading...
Compare original and translation side by side
/windows-infra-admin/powershell-7-expert/ad-security-reviewer/network-engineer/windows-infra-admin/powershell-7-expert/ad-security-reviewer/network-engineerSecurity Requirement?
├── Script Execution Control
│ ├── Basic → Execution Policy
│ └── Strict → AppLocker/WDAC
├── Language Restriction
│ └── Constrained Language Mode
├── Privilege Reduction
│ └── JEA (Just Enough Administration)
└── Auditing
└── Script Block Logging + TranscriptionSecurity Requirement?
├── Script Execution Control
│ ├── Basic → Execution Policy
│ └── Strict → AppLocker/WDAC
├── Language Restriction
│ └── Constrained Language Mode
├── Privilege Reduction
│ └── JEA (Just Enough Administration)
└── Auditing
└── Script Block Logging + Transcription| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Credentials in scripts | Exposure risk | SecretManagement vault |
| Disabled logging | No visibility | Enable all logging |
| Bypass execution policy | Security theater | AppLocker/WDAC |
| Full admin for automation | Over-privileged | JEA with minimal rights |
| Ignoring AMSI | Malware blind spot | Keep AMSI enabled |
| 反模式 | 问题 | 正确做法 |
|---|---|---|
| 脚本中存储凭据 | 凭据泄露风险 | 使用SecretManagement密钥库 |
| 禁用日志记录 | 无安全可见性 | 启用全部日志功能 |
| 绕过执行策略 | 安全形同虚设 | 使用AppLocker/WDAC |
| 自动化使用完全管理员权限 | 权限过度授予 | 使用最小权限的JEA |
| 忽略AMSI | 恶意软件检测盲区 | 保持AMSI启用状态 |