title: Microsoft Entra High-Risk Application Role Grant or Credential Update id: 72a8c341-5e19-4b84-9a22-72d40b91e701 status: experimental description: Detects Microsoft Entra audit events granting Exchange full_access_as_app or User.ReadWrite.All app roles or adding service-principal credentials outside approved provisioning apps. author: Odin by Brandefense date: 2026-11-27 logsource: product: azure service: auditlogs detection: selection_role_op: properties.message: 'Add app role assignment to service principal' TargetResources|contains: - 'full_access_as_app' - 'User.ReadWrite.All' - 'RoleManagement.ReadWrite.Directory' selection_cred_op: properties.message: 'Update application - Certificates and secrets management' filter_approved_apps: InitiatedByAppId: - '00000000-0000-0000-0000-000000000001' condition: (selection_role_op or selection_cred_op) and not filter_approved_apps falsepositives: - Planned secret rotations or Exchange RBAC updates performed by approved admins level: high tags: - attack.persistence - attack.privilege-escalation --- title: Linux Headless Playwright Chromium Session Profile Automation id: 72a8c341-5e19-4b84-9a22-72d40b91e702 status: experimental description: Detects headless Chromium or Playwright browser launches referencing temporary playwright_chromiumdev_profile directories outside approved QA automation hosts. author: Odin by Brandefense date: 2026-11-27 logsource: category: process_creation product: linux detection: selection_bin: Image|endswith: - '/chrome' - '/chromium' - '/headless_shell' selection_profile: CommandLine|contains: 'playwright_chromiumdev_profile-' filter_approved_hosts: ComputerName: - 'qa-playwright-01.corp.example' - 'app-ci-01.corp.example' condition: selection_bin and selection_profile and not filter_approved_hosts falsepositives: - Authorized end-to-end web testing runners using Playwright temporary Chromium user-data directories level: medium tags: - attack.credential-access - attack.t1111 --- title: Linux Python Execution of Autosecure OAuth FlowToken or Discord OTP Scripts id: 72a8c341-5e19-4b84-9a22-72d40b91e703 status: experimental description: Detects Python interpreter invocations running Autosecure OAuth flowToken, one-time-code submission, or Discord OTP lure modal scripts. author: Odin by Brandefense date: 2026-11-27 logsource: category: process_creation product: linux detection: selection_py: Image|endswith: - '/python' - '/python3' - '/python3.12' - '/python3.13' selection_scripts: CommandLine|contains: - 'probe_flowtoken_cookie.py' - 'probe_signup_otc.py' - 'probe_otc_altemail.py' - 'ms_probe.py' - 'views/otp.py' filter_approved_hosts: ComputerName: - 'sec-lab-01.corp.example' condition: selection_py and selection_scripts and not filter_approved_hosts falsepositives: - Isolated malware-analysis sandboxes inspecting captured Python phishing bot scripts level: high tags: - attack.credential-access - attack.t1111