Skip to content

🪲 CIS.M365.5.2.3.5 and CISA.MS.AAD.3.3: Mismatch Test result and Test documentation and rationale #2565

Open

Description

@blindzero

Pre-submission checklist

  • I can reproduce this issue using the latest released version of Maester.
  • I have searched the existing issues and did not find a similar report.

Describe the bug

Maester 3.0.0-rc4

Test CIS.M365.5.2.3.5: Ensure weak authentication methods are disabled fails with result

Authentication method | Result
-- | --
SMS | ✅ Pass
Voice call | ✅ Pass
Email OTP | ❌ Fail

However, the Test documentation and rationale only reflect SMS and voice call, not Email OTP.
Is the documentation incomplete or is the test too strict?

Edit: I just discovered that CISA.MS.AAD.3.3 has the same issue: it tests on OTP although this is not included in title nor rationale.

Steps to reproduce

  • Disable SMS, Voice
  • Leave OTP enabled
  • Run Maester 3.0.0-rc4
  • Check Result of CIS.M365.5.2.3.5

Expected behavior

Unsure which option is correct 🤷
a) if CIS.M365.5.2.3.5 includes recommendation for OTP as disabled as well: add documentation and rational about OTP
b) if CIS.M365.5.2.3.5 is only about SMS and voice: relax test and remove OTP check

Debug output


Module version

3.0.0-rc4

Environment data

Name                           Value
----                           -----
PSVersion                      7.6.4
PSEdition                      Core
GitCommitId                    7.6.4
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Screenshots

No response

Additional context

No response

Activity

  1. added
    bug
    on Oct 26, 2026
  2. changed the title [-]🪲 CIS.M365.5.2.3.5: Mismatch Test result and Test documentation and rationale[/-] [+]🪲 CIS.M365.5.2.3.5 and CISA.MS.AAD.3.3: Mismatch Test result and Test documentation and rationale[/+] on Oct 26, 2026
  3. JeremyFinney-lgtm commented on Oct 27, 2026

    @JeremyFinney-lgtm
    Contributor

    Thanks for reporting this. I confirmed CIS.M365.5.2.3.5 currently fails when Email OTP is enabled, even if SMS and Voice are disabled. In CIS Foundations Benchmark v7, 5.2.3.5 covers SMS and Voice Call; Email OTP has a separate control, CIS 5.2.3.7. I am working on a PR to remove Email OTP from the 5.2.3.5 pass condition and result table, and clarify the guide.

    Regarding CISA.MS.AAD.3.3: this checks Microsoft Authenticator software OATH/OTP, not Email OTP. The current CISA MS.AAD.3.3v2 implementation guidance includes turning off Authenticator OTP, and ScubaGear enforces it. The issue is that the title and rationale do not explain this additional setting, although the Maester remediation does. I will leave CISA 3.3 unchanged in the CIS 5.2.3.5 fix.

  4. JeremyFinney-lgtm commented on Oct 27, 2026

    @JeremyFinney-lgtm
    Contributor

    The PR is now open: #2586. It addresses CIS.M365.5.2.3.5; CISA.MS.AAD.3.3 remains unchanged as discussed.

  5. JeremyFinney-lgtm commented on Oct 28, 2026

    @JeremyFinney-lgtm
    Contributor

    CIS.M365.5.2.3.5 issue should be resolved now.

  6. blindzero commented on Nov 2, 2026

    @blindzero
    ContributorAuthor

    Hi @JeremyFinney-lgtm,
    thanks a lot. Can confirm CIS.MS365.5.2.3.5 in -rc38.

  7. JeremyFinney-lgtm commented on Nov 10, 2026

    @JeremyFinney-lgtm
    Contributor

    The remaining CISA documentation/result mismatch is addressed in #2756, pushed in commit 6e6d1b1d7. The CIS portion was already resolved by #2586 and confirmed above.

    For CISA.MS.AAD.3.3, the requirement is to disable Microsoft Authenticator software OTP, not Email OTP or the separate Software OATH tokens method. The SCuBA MS.AAD.3.3v2 instructions explicitly require Allow use of Microsoft Authenticator OTP = No, and ScubaGear checks IsSoftwareOathEnabled == false.

    The title, rationale and result table now make that distinction explicit. Missing software-OTP data is no longer displayed as passing in the table. The benchmark condition has not been relaxed: Authenticator software OTP enabled still fails even when both context settings are enabled. Email OTP is assessed separately by CISA.MS.AAD.3.5.

    All five focused Authenticator regressions passed, including Email OTP independence, enabled/missing software OTP and disabled context settings. The broader targeted selection passed 137 tests, plus 92 analyzer/retired-check validations.

    Pending review and merge; no live-tenant validation performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions