TMA-M365-APP-REGISTRATION
Ensure third-party integrated applications cannot be registered by users
보통레벨 1자동m365
설명
Allowing every user to register applications enables persistence and phishing through attacker-controlled app registrations. Requires an already-connected Microsoft Graph session: Install-Module Microsoft.Graph; Connect-MgGraph -Scopes Policy.Read.All,Directory.Read.All,RoleManagement.Read.Directory (read-only scopes). The audit throws if no session exists.
점검 방법
감사 방식: 셸 명령
shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-MgContext -ErrorAction SilentlyContinue) -or -not (Get-MgContext)) { throw 'Not connected: run Connect-MgGraph first' }; $p = Get-MgPolicyAuthorizationPolicy -ErrorAction Stop; if ($p.DefaultUserRolePermissions.AllowedToCreateApps -eq $false) { 'compliant' } else { 'noncompliant' }- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Entra admin center > Identity > Users > User settings > Users can register applications = No (or Update-MgPolicyAuthorizationPolicy with DefaultUserRolePermissions.AllowedToCreateApps = $false).
속성
- 운영 체제
- 모두
- 태그
- m365identity
- 참고 자료
- CIS Microsoft 365 Foundations Benchmark v7.0.0 - Microsoft Entra ID / Users can register applications (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target m365