Skip to content

[Rule Tuning] Expanding coverage for First Occurrence of Entra ID Auth via DeviceCode Protocol#4466

Merged
terrancedejesus merged 7 commits intomainfrom
rule-tuning-azure-entra-id-sign-in-device-code-phishing
Feb 20, 2025
Merged

[Rule Tuning] Expanding coverage for First Occurrence of Entra ID Auth via DeviceCode Protocol#4466
terrancedejesus merged 7 commits intomainfrom
rule-tuning-azure-entra-id-sign-in-device-code-phishing

Conversation

@terrancedejesus
Copy link
Contributor

@terrancedejesus terrancedejesus commented Feb 19, 2025

Pull Request

Issue link(s):

Summary - What I changed

Expands First Occurrence of Entra ID Auth via DeviceCode Protocol query logic to include the following below. Device code flow is reported for the original transfer method if refresh tokens are used to obtain another access token. The original azure.signinlogs.properties.authentication_protocol can be reported as none and thus miss this activity. Updated the investigation guide as well.

Refs:

azure.signinlogs.properties.original_transfer_method: "Device code flow"

How To Test

Please refer to our meta notes for testing and emulation.

Checklist

  • Added a label for the type of pr: bug, enhancement, schema, maintenance, Rule: New, Rule: Deprecation, Rule: Tuning, Hunt: New, or Hunt: Tuning so guidelines can be generated
  • Added the meta:rapid-merge label if planning to merge within 24 hours
  • Secret and sensitive material has been managed correctly
  • Automated testing was updated or added to match the most common scenarios
  • Documentation and comments were added for features that require explanation

Contributor checklist

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 19, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@terrancedejesus terrancedejesus changed the title [Rule Tunin] Expanding coverage for First Occurrence of Entra ID Auth via DeviceCode Protocol [Rule Tuning] Expanding coverage for First Occurrence of Entra ID Auth via DeviceCode Protocol Feb 19, 2025
@tradebot-elastic
Copy link

tradebot-elastic commented Feb 19, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 19, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 19, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 19, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

Copy link
Contributor

@Samirbous Samirbous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@terrancedejesus
Copy link
Contributor Author

@Mikaayenson @eric-forte-elastic - Approval please when time permits.

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 20, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@tradebot-elastic
Copy link

tradebot-elastic commented Feb 20, 2025

⛔️ Tests failed:

  • ❌ First Occurrence of Entra ID Auth via DeviceCode Protocol (kuery)
    • coverage_issue: no_rta
    • stack_validation_failed: no_rta

@terrancedejesus terrancedejesus merged commit ec4523a into main Feb 20, 2025
13 checks passed
@terrancedejesus terrancedejesus deleted the rule-tuning-azure-entra-id-sign-in-device-code-phishing branch February 20, 2025 15:29
Comment on lines +20 to +22
note = """## Triage and analysis

## Triage and Analysis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate

setup = """
This rule optionally requires Azure Sign-In logs from the Azure integration. Ensure that the Azure integration is correctly set up and that the required data is being collected.
"""
setup = "This rule optionally requires Azure Sign-In logs from the Azure integration. Ensure that the Azure integration is correctly set up and that the required data is being collected.\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also probably don't need the \n

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants