# Benchmark v1 labels for the 56 public cases (held-out labels stay private). Drafted by Claude from
# evidence and reviewed by the owner with no edits, 2026-10-23 (PREREGISTRATION.md §5).
A01:
  advisory:
    title: Iranian Cyber Actors' Brute Force and Credential Access Activity Compromises Critical Infrastructure Organizations
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-290a
  expected_tables:
  - - SigninLogs
    - AADNonInteractiveUserSignInLogs
  - - AuditLogs
  expected_techniques:
  - T1110.003
  - T1621
  - T1098.005
  kind: advisory
  must_match:
  - password spraying
  - MFA prompt bombing
  - MFA method added or changed after a suspicious sign-in
  must_not_match:
  - single-account lockouts
  notes: Endpoint discovery is a fair extra rule but not required.
  platform: sentinel
  request: 'We run our detections as Sentinel scheduled rules. Please write detections for the behaviours described in this
    CISA advisory. Focus on what we could actually see in our identity, cloud sign-in and endpoint logs.

    '
  split: public
A02:
  advisory:
    title: SVR Cyber Actors Adapt Tactics for Initial Cloud Access
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-057a
  expected_tables:
  - - SigninLogs
    - AADNonInteractiveUserSignInLogs
  - - AuditLogs
  expected_techniques:
  - T1110.003
  - T1098.005
  kind: advisory
  must_match:
  - spraying of service or dormant accounts
  - a new device registered after a sign-in
  must_not_match:
  - active users' normal sign-ins
  notes: Token reuse (T1550.001) and residential-proxy sign-ins are fair extras.
  platform: sentinel
  request: 'We use Sentinel scheduled rules. Write detections for the cloud-focused behaviours in this CISA advisory, aimed
    at our identity and cloud control-plane logs.

    '
  split: public
A04:
  advisory:
    title: PRC State-Sponsored Actors Compromise and Maintain Persistent Access to U.S. Critical Infrastructure
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-038a
  expected_tables:
  - - DeviceProcessEvents
  expected_techniques:
  - T1003.003
  - T1090.001
  kind: advisory
  must_match:
  - ntdsutil IFM creation
  - netsh portproxy configuration
  must_not_match:
  - routine admin use of native tools within baseline
  notes: Living-off-the-land discovery against a baseline is a fair extra rule.
  platform: defender_xdr
  request: 'We write Defender XDR advanced hunting custom detections over our endpoint and on-premises identity telemetry.
    Please write detections for the behaviours this CISA advisory describes.

    '
  split: public
A05:
  advisory:
    title: '#StopRansomware: Black Basta'
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-131a
  expected_tables:
  - - SecurityEvent
    - DeviceProcessEvents
    - Event
  expected_techniques:
  - T1490
  - T1685
  - T1567.002
  kind: advisory
  must_match:
  - shadow-copy deletion
  - antivirus or EDR being disabled
  - a sync tool (e.g. rclone) moving data out
  must_not_match:
  - sanctioned sync tools to corporate storage
  notes: Network scanning and lateral movement are fair extras.
  platform: sentinel
  request: 'We run Sentinel scheduled rules over our endpoint and server logs. Please write detections for the behaviours
    in this CISA advisory.

    '
  split: public
A06:
  advisory:
    title: '#StopRansomware: Medusa Ransomware'
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa25-071a
  expected_tables:
  - - SecurityEvent
    - DeviceProcessEvents
    - Event
  expected_techniques:
  - T1219
  - T1567.002
  - T1490
  kind: advisory
  must_match:
  - remote-access tools launched unexpectedly
  - a sync tool moving data out
  - shadow-copy deletion
  must_not_match:
  - sanctioned remote-access tools
  notes: ''
  platform: sentinel
  request: 'We use Sentinel scheduled rules. Please write detections for the behaviours in this CISA advisory, targeting our
    endpoint and server telemetry.

    '
  split: public
A08:
  advisory:
    title: Russian GRU Targeting Western Logistics Entities and Technology Companies
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa25-141a
  expected_tables:
  - - SigninLogs
    - AADNonInteractiveUserSignInLogs
  - - OfficeActivity
  expected_techniques:
  - T1110.003
  - T1098.002
  kind: advisory
  must_match:
  - password spraying against mail accounts
  - mailbox folder permissions granted to another account
  must_not_match:
  - delegations by mailbox owners to their own assistants (if listed)
  notes: Add-MailboxFolderPermission / Set-MailboxFolderPermission in OfficeActivity.
  platform: sentinel
  request: 'We run Sentinel scheduled rules over our email and identity logs. Please write detections for the behaviours in
    this CISA advisory.

    '
  split: public
A09:
  advisory:
    title: '#StopRansomware: Interlock Ransomware'
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa25-203a
  expected_tables:
  - - DeviceProcessEvents
    - DeviceRegistryEvents
  expected_techniques:
  - T1204.004
  - T1547.001
  - T1567.002
  kind: advisory
  must_match:
  - a user-pasted command run from the Run dialog (explorer spawning PowerShell/cmd/mshta)
  - a Run-key persistence entry
  - a transfer utility pushing data to cloud storage
  must_not_match:
  - IT scripts run from known paths
  notes: RunMRU registry values record pasted Run-dialog commands.
  platform: defender_xdr
  request: 'We hunt with Defender XDR advanced hunting custom detections over endpoint and cloud telemetry. Please write detections
    for the behaviours in this CISA advisory.

    '
  split: public
A10:
  advisory:
    title: '#StopRansomware: Akira Ransomware'
    url: https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-109a
  expected_tables:
  - - SecurityEvent
    - DeviceProcessEvents
    - Event
  expected_techniques:
  - T1136.002
  - T1558.003
  - T1490
  kind: advisory
  must_match:
  - new domain accounts created
  - service-ticket harvesting
  - shadow-copy deletion
  must_not_match:
  - routine account provisioning
  notes: Kerberos service-ticket requests are 4769 in SecurityEvent.
  platform: sentinel
  request: 'We run Sentinel scheduled rules. Please write detections for the behaviours in this CISA advisory, aimed at our
    endpoint and on-premises identity telemetry.

    '
  split: public
C01:
  expected_tables:
  - - SigninLogs
    - AADUserRiskEvents
    - SecurityAlert
  - - OfficeActivity
    - CloudAppEvents
  expected_techniques:
  - T1078.004
  - T1114.003
  kind: correlation
  must_match:
  - a risky sign-in for a user followed within a short window by that user creating an external forwarding rule
  must_not_match:
  - forwarding rules with no preceding risky sign-in
  - risky sign-ins with no later rule
  notes: Join on the user with time ordering.
  platform: sentinel
  request: 'Sentinel scheduled rule. Tie together a single user''s risky sign-in — one flagged as coming from an unfamiliar
    place or device — with that same user, shortly afterwards, setting up a mailbox rule that forwards their mail somewhere
    outside the company. The sequence of a shaky sign-in followed quickly by a quiet forwarding rule is a much stronger signal
    of account takeover than either event alone. Link them by user and keep the window tight.

    '
  split: public
C02:
  expected_tables:
  - - EntraIdSignInEvents
    - AADSignInEventsBeta
  - - CloudAppEvents
  expected_techniques:
  - T1110
  - T1098.005
  - T1528
  kind: correlation
  must_match:
  - failed sign-ins then a success, then a new MFA method registered, then a broad app consent, same user, in order, in a
    short window
  must_not_match:
  - any one or two of the three steps alone
  notes: MFA registration and consent events come from CloudAppEvents in advanced hunting.
  platform: defender_xdr
  request: 'Defender XDR custom detection. I want the full account-takeover chain for one user: a successful sign-in that
    follows a run of failed password attempts, then that same user registering a new authentication factor, and then consenting
    to a third-party app with broad data access — all inside a short window. Any one of these is noise; the three in order
    against the same user is the story. Correlate on the user and the timeline.

    '
  split: public
C03:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1136.003
  - T1098.001
  kind: correlation
  must_match:
  - a ConsoleLogin followed within minutes by CreateUser or CreateAccessKey by the same principal
  must_not_match:
  - either step alone
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule over our AWS account''s API call history. Connect a console sign-in by a principal with
    that same principal, minutes later, creating a new user or minting a new access key. Fresh identity or key creation right
    on the heels of an interactive login is how an attacker nails down persistence after getting in. Correlate by principal
    and time, and show both steps.

    '
  split: public
C04:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1685.002
  - T1530
  kind: correlation
  must_match:
  - a principal stopping or deleting CloudTrail logging, then later a large volume of S3 GetObject calls
  must_not_match:
  - data access with no preceding logging change
  notes: S3 object reads need data events in CloudTrail.
  platform: sentinel
  request: 'Sentinel scheduled rule on our AWS account''s API call history. Link a principal switching off or deleting the
    API-activity recording with that same principal, afterwards, reaching into object storage and pulling large amounts of
    data. Blinding the logs and then raiding the data is a deliberate two-step. Correlate by principal across the gap and
    show the logging change followed by the data access.

    '
  split: public
C07:
  expected_tables:
  - - AuditLogs
  - - OfficeActivity
    - CloudAppEvents
  expected_techniques:
  - T1098.005
  - T1530
  kind: correlation
  must_match:
  - a user registering a new device, then downloading an unusually large volume of mail or files soon after
  must_not_match:
  - new devices with normal data use
  notes: Linking downloads to the new device (device ID or name) strengthens it but isn't required.
  platform: sentinel
  request: 'Sentinel scheduled rule. Link a user adding a new device to the tenant with that same user, shortly after, pulling
    an unusually large amount of mail or files down to that new device. Attackers register their own device and then use it
    to harvest data, so the two together are worth more than a new-device alert on its own. Correlate on the user and keep
    them close in time.

    '
  split: public
C09:
  expected_tables:
  - - AzureActivity
  - - AuditLogs
  expected_techniques:
  - T1098.003
  - T1098.001
  kind: correlation
  must_match:
  - a principal receiving a powerful role, then the same principal adding a credential to an app soon after
  must_not_match:
  - either step alone
  notes: Role grants in AzureActivity; app credential additions in AuditLogs.
  platform: sentinel
  request: 'Sentinel scheduled rule over Azure control-plane records. Tie a principal receiving a powerful management role
    to that same principal, soon after, attaching a new sign-in credential to an application or workload identity. Getting
    elevated and then planting an app credential to come back later is a deliberate persistence play. Correlate by principal
    and time.

    '
  split: public
C10:
  expected_tables:
  - - EmailEvents
  - - SigninLogs
    - AADUserRiskEvents
  expected_techniques:
  - T1534
  - T1078.004
  kind: correlation
  must_match:
  - an internal sender's phishing burst, then risky or unfamiliar sign-ins by its recipients soon after
  must_not_match:
  - recipients' normal sign-ins
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule. Join a compromised internal mailbox that starts sending phishing to colleagues with those
    recipients then showing fresh sign-ins from unfamiliar places shortly afterward. The chain of one hijacked account seeding
    internal phishing and new victims lighting up is how these spread through an org. Correlate the internal sender''s recipients
    to subsequent risky sign-ins for those same people.

    '
  split: public
C12:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1552.005
  - T1537
  kind: correlation
  must_match:
  - instance-role credentials used from outside AWS, then the same identity sharing a snapshot externally
  must_not_match:
  - either step alone
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule over our AWS account''s API call history. Tie temporary instance credentials being used
    from outside the provider''s network to that same identity then sharing a disk snapshot with an external account, close
    together in time. Stolen instance credentials followed by a snapshot handed to an outside account is a theft-then-exfiltration
    sequence. Correlate by identity and ordering.

    '
  split: public
C13:
  expected_tables:
  - - AuditLogs
  expected_techniques:
  - T1098.003
  - T1556.009
  kind: correlation
  must_match:
  - a user added to a powerful directory role, then the same user disabling or weakening a conditional access or security
    policy soon after
  must_not_match:
  - policy changes by long-standing admins with no recent elevation
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule. Connect a user being added to a powerful administrative role with that same user, soon
    after, weakening or disabling one of the tenant''s security or access-control policies. Freshly elevated and then dismantling
    a guardrail is exactly what an attacker does to clear the path. Correlate by user and time, showing the elevation then
    the policy change.

    '
  split: public
C14:
  expected_tables:
  - - DeviceLogonEvents
    - IdentityLogonEvents
  - - DeviceProcessEvents
  expected_techniques:
  - T1021
  - T1490
  kind: correlation
  must_match:
  - one account's lateral logons across several hosts, then those hosts deleting shadow copies, in order
  must_not_match:
  - shadow-copy deletion with no preceding lateral logons
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR custom detection. Join a spread of lateral logons by one account across several hosts with those
    same hosts then having their local backup snapshots wiped out, within a short window. Credentials spreading and then recovery
    being destroyed across multiple machines is the run-up to a ransomware detonation. Correlate on the account and the hosts,
    in order.

    '
  split: public
C15:
  expected_tables:
  - - EmailEvents
  - - AuditLogs
    - OfficeActivity
    - CloudAppEvents
  expected_techniques:
  - T1566.002
  - T1528
  kind: correlation
  must_match:
  - an external message reaching a user, then the same user consenting to a broad-scope app within minutes
  must_not_match:
  - consents with no preceding external mail
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule. Tie a message from an outside sender reaching a user with that same user, shortly after,
    granting a third-party application broad access to their data. A lure landing and then an app consent from the same person
    within minutes is the consent-phishing pattern. Correlate the recipient to the consenting user and keep the window tight.

    '
  split: public
C16:
  expected_tables:
  - - AzureActivity
  - - AzureDiagnostics
    - AzureActivity
  expected_techniques:
  - T1651
  - T1555.006
  kind: correlation
  must_match:
  - a principal running a VM script via the management layer, then listing or reading vault secrets soon after
  must_not_match:
  - either step alone
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule over Azure control-plane records. Connect a principal running a script on a virtual machine
    through the management layer with that same principal then listing or pulling secrets out of a secrets vault, close together.
    Executing code on a box and then reaching for stored credentials is a lateral-movement-plus-credential-access chain. Correlate
    by principal and ordering.

    '
  split: public
C17:
  expected_tables:
  - - SigninLogs
  - - EmailEvents
    - OfficeActivity
  expected_techniques:
  - T1078.004
  kind: correlation
  must_match:
  - an impossible-travel sign-in for a user, then a burst of mail to many external recipients from that user
  must_not_match:
  - either step alone
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule. Link an impossible-travel sign-in for a user — two logins too far apart to be the same
    person — with that same user then sending a burst of mail to many external recipients soon after. A suspect sign-in followed
    quickly by an outbound mail blast is account takeover being put to use. Correlate on the user and time.

    '
  split: public
C18:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1136.003
  - T1098.003
  - T1685.002
  kind: correlation
  must_match:
  - root creating a user, then that user attaching broad permissions to itself and disabling GuardDuty or CloudTrail, in sequence
  must_not_match:
  - root creating a user with no later escalation
  notes: Correlate across the created user name and event order.
  platform: sentinel
  request: 'Sentinel scheduled rule over our AWS account''s API call history. Tie the root identity creating a new user to
    that new user then granting itself sweeping permissions and switching off a threat-detection or logging service, all in
    sequence. Root spawning an identity that immediately arms itself and blinds defences is a deliberate takeover chain. Correlate
    across the created identity and the ordering of events.

    '
  split: public
C19:
  expected_tables:
  - - DeviceEvents
    - DeviceProcessEvents
  - - DeviceNetworkEvents
    - DeviceLogonEvents
  expected_techniques:
  - T1003.001
  - T1021.001
  kind: correlation
  must_match:
  - lsass credential access on a workstation, then an RDP session from it to a server with the same account
  must_not_match:
  - RDP with no preceding credential access
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR custom detection. Join a workstation where an account''s credentials were just scraped from memory
    with that same workstation then opening a remote-desktop session to a server using the stolen account. Credential theft
    on a box followed immediately by a remote hop with that credential is textbook lateral movement. Correlate by host and
    account, in order.

    '
  split: public
C20:
  expected_tables:
  - - IdentityLogonEvents
    - IdentityQueryEvents
  - - DeviceLogonEvents
    - IdentityLogonEvents
  expected_techniques:
  - T1558.003
  - T1078.002
  kind: correlation
  must_match:
  - a burst of service-ticket requests targeting a service account, then that account authenticating from a new host and accessing
    a file share
  must_not_match:
  - the service account's usual hosts
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. Connect a burst of service-ticket requests aimed at a service
    account with that targeted service account then authenticating from a host it has never used before and reaching into
    a file share, soon after. Harvesting a service account''s ticket and then seeing that account appear somewhere new is
    the crack-and-use sequence. Correlate the targeted account across the two phases and the timeline.

    '
  split: public
S01:
  expected_tables:
  - - SigninLogs
    - AADNonInteractiveUserSignInLogs
  expected_techniques:
  - T1110.003
  kind: single
  must_match:
  - one source IP with failed sign-ins against many distinct accounts in a short window, few tries per account
  must_not_match:
  - one account failing many times (lockout by a mistyped password)
  - a single user's failures from several IPs
  notes: Failure result codes such as 50126; distinct-account count per IP is the core.
  platform: sentinel
  request: 'We run this as a Sentinel scheduled rule. I want to catch someone guessing passwords across the whole directory:
    a single source address that fails to sign in against a lot of different user accounts inside a short window, with only
    a handful of tries per account. Surface the source address, the number of distinct accounts it touched, and the time window.
    Low-and-slow spraying is the pattern we care about, not one account getting hammered.

    '
  split: public
S02:
  expected_tables:
  - - SigninLogs
  expected_techniques:
  - T1078.004
  kind: single
  must_match:
  - two successful sign-ins by the same user whose distance over elapsed time implies impossible speed
  must_not_match:
  - sign-ins from known corporate VPN egress addresses
  - two sign-ins from the same city or country
  notes: Needs geolocation (LocationDetails or the IP) and the time between the two sign-ins.
  platform: sentinel
  request: 'As a Sentinel scheduled rule, flag any user who signs in successfully from two locations that are too far apart
    for the same person to have travelled between them in the elapsed time. Work it out per user from their own successful
    sign-ins, and ignore the obvious noise from corporate VPN egress points. Show both sign-ins, the places, and how fast
    they''d have had to move.

    '
  split: public
S03:
  expected_tables:
  - - EntraIdSignInEvents
    - AADSignInEventsBeta
  expected_techniques:
  - T1621
  kind: single
  must_match:
  - many MFA denials or timeouts for one user within minutes, followed by an approved MFA and a successful sign-in
  must_not_match:
  - a single failed MFA followed by success
  - MFA failures with no later success
  notes: Advanced hunting sign-in tables; AADSignInEventsBeta is deprecated in favour of EntraIdSignInEvents.
  platform: defender_xdr
  request: 'We use Defender XDR advanced hunting custom detections. I''m after multi-factor prompt bombing: a user who gets
    a rapid burst of repeated authentication approval requests they keep rejecting, and then one finally gets approved. The
    giveaway is many denials in a few minutes followed by an approval and a completed sign-in from the same attempt. Give
    me the user, the count of prompts, and the moment it flipped to approved.

    '
  split: public
S04:
  expected_tables:
  - - SigninLogs
    - AADNonInteractiveUserSignInLogs
  expected_techniques:
  - T1078.004
  kind: single
  must_match:
  - a sign-in using a legacy client (IMAP, POP, SMTP, ActiveSync, other clients) by an account that hasn't used that client
    in the previous 30 days
  must_not_match:
  - accounts that used the same legacy client in the baseline window
  - modern-auth browser or app sign-ins
  notes: ClientAppUsed carries the legacy client name. A 30-day per-user baseline is required.
  platform: sentinel
  request: 'Sentinel scheduled rule. Alert when an account authenticates using one of the old, non-interactive sign-in methods
    that pre-date modern authentication, when that same account has never used that method in the previous month. Build the
    baseline per user from the last thirty days of their own sign-ins and only fire on a genuinely first-seen method. These
    legacy paths sidestep conditional access, so a sudden first-time appearance on a given account is what I want.

    '
  split: public
S05:
  expected_tables:
  - - CloudAppEvents
  expected_techniques:
  - T1098.005
  kind: single
  must_match:
  - a user adding or registering a new device to the tenant, with the device and the time
  must_not_match:
  - device check-ins or compliance updates on existing devices
  notes: 'In advanced hunting, Entra device-registration audit events surface through CloudAppEvents (owner: confirm for this
    tenant). Out-of-hours weighting is optional.'
  platform: defender_xdr
  request: 'Defender XDR custom detection. Let me know whenever a user registers or joins a brand-new device to our tenant,
    especially when it happens outside normal working hours. I just want the user, the device that was added, and when. New
    devices appearing on accounts are worth a quick look because attackers add their own to keep a foothold.

    '
  split: public
S06:
  expected_tables:
  - - CloudAppEvents
  expected_techniques:
  - T1528
  kind: single
  must_match:
  - a non-admin user consenting to an app with broad delegated scopes (Mail.Read, Files.Read.All, Mail.ReadWrite, offline_access)
  must_not_match:
  - consent with sign-in-only scopes (openid, profile, User.Read)
  - admin consent by a directory admin
  notes: The consent event's raw detail carries the permission scopes; OAuthAppInfo is an acceptable enrichment.
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. I need to catch a regular (non-admin) user agreeing to give a
    third-party application broad, standing access to their mailbox and files — the kind of consent that lets an app read
    data without anyone signing in again. Dig into the permission detail that gets recorded with the consent event, and only
    flag the sweeping read/read-write scopes, not trivial sign-in-only ones. Return the user, the app, and the permissions
    granted.

    '
  split: public
S08:
  expected_tables:
  - - DeviceProcessEvents
    - DeviceNetworkEvents
  expected_techniques:
  - T1105
  kind: single
  must_match:
  - a built-in Windows utility (certutil, bitsadmin, curl, PowerShell download cradles) fetching a URL
  must_not_match:
  - browser downloads
  - software updaters and package managers fetching from their own hosts
  notes: Command line with a URL is the core; network events help confirm the download.
  platform: defender_xdr
  request: 'Defender XDR custom detection over our endpoint telemetry. Catch when a trusted built-in Windows command-line
    utility is used to pull a file down from the internet — the classic trick of borrowing a signed system tool to fetch a
    payload instead of using a browser. I want the host, the account, the tool, and the command line it ran with.

    '
  split: public
S09:
  expected_tables:
  - - DeviceEvents
    - DeviceProcessEvents
  expected_techniques:
  - T1003.001
  kind: single
  must_match:
  - an unusual process opening lsass.exe for memory read, or a tool dumping lsass to disk (procdump, comsvcs MiniDump)
  must_not_match:
  - known backup and AV agents accessing lsass
  - Windows' own processes (e.g. wininit, csrss)
  notes: DeviceEvents OpenProcessApiCall on lsass, or a dump command in DeviceProcessEvents.
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. I want to spot an attempt to read the memory of the Windows process
    that holds signed-in users'' secrets, which is how credentials get scraped off a box. Look for an unusual process opening
    that protected process or dumping it to disk, and exclude our known backup and AV agents. Return the host, the tool doing
    it, and the account.

    '
  split: public
S10:
  expected_tables:
  - - SecurityEvent
    - DeviceProcessEvents
    - Event
  expected_techniques:
  - T1003.003
  kind: single
  must_match:
  - ntdsutil run with 'ifm' / 'create full' on a domain controller
  must_not_match:
  - ntdsutil used for routine maintenance without IFM creation
  notes: Windows process creation (4688) in SecurityEvent, MDE DeviceProcessEvents, or Sysmon in Event.
  platform: sentinel
  request: 'We collect our Windows endpoint events into Sentinel and run this as a scheduled rule. Alert when someone uses
    the built-in directory maintenance tool to make a copy of the domain controller''s identity database — the install-media
    trick that lets an attacker carry off every account''s password hash to crack offline. This should almost never happen,
    so even one instance on a domain controller is worth paging on. Give me the controller, the account, and the full command.

    '
  split: public
S11:
  expected_tables:
  - - DeviceProcessEvents
  expected_techniques:
  - T1204.002
  - T1059
  kind: single
  must_match:
  - an Office app (winword, excel, powerpnt, outlook) spawning cmd, PowerShell, wscript, cscript or mshta, limited to rare
    parent-child pairs
  must_not_match:
  - common, frequent add-in child processes across the estate
  notes: Rarity tuning (prevalence of the pair) is part of the request.
  platform: defender_xdr
  request: 'Defender XDR custom detection. Catch an office document application launching a scripting or command interpreter
    as a child process, but only when that parent-child combination is rare across the estate — tune it against what''s normal
    so routine add-ins don''t drown it. This is the hallmark of a malicious attachment kicking off the next stage. Include
    the host, the user, the document app, and what it spawned.

    '
  split: public
S13:
  expected_tables:
  - - DeviceRegistryEvents
    - DeviceFileEvents
  expected_techniques:
  - T1547.001
  kind: single
  must_match:
  - a new Run/RunOnce value or Startup-folder entry pointing to a program in a temp or downloads folder
  must_not_match:
  - auto-start entries pointing to Program Files or Windows paths
  - entries already seen in the baseline
  notes: Registry Run keys or the Startup folder; a baseline of known entries is requested.
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. I want new auto-start entries that make a program run every time
    the machine boots or a user logs on, specifically when the program lives in a world-writable temp or download folder rather
    than a proper install location. Baseline what''s normal so you only alert on genuinely new, suspicious auto-start entries.
    Give the host, the account, the auto-start location, and the target program.

    '
  split: public
S15:
  expected_tables:
  - - IdentityLogonEvents
    - IdentityQueryEvents
    - IdentityDirectoryEvents
  expected_techniques:
  - T1558.003
  kind: single
  must_match:
  - one account requesting service tickets for many service accounts, or requesting RC4 encryption, against its own baseline
  must_not_match:
  - normal service-ticket volume for that account
  notes: 'Advanced hunting exposes Kerberos activity through the Identity tables (owner: confirm which one carries ticket
    requests in this tenant).'
  platform: defender_xdr
  request: 'Defender XDR custom detection against our on-premises directory telemetry. I''m hunting the technique where an
    attacker asks the domain for service access tickets for lots of service accounts so they can crack those passwords offline,
    and they deliberately request the weakest ticket encryption. Flag an account pulling an unusual number of these tickets,
    or asking for the weak encryption type, compared with how it normally behaves. Return the requesting account, the targeted
    service accounts, and the counts.

    '
  split: public
S17:
  expected_tables:
  - - IdentityLogonEvents
    - IdentityQueryEvents
  expected_techniques:
  - T1078.002
  - T1087.002
  kind: single
  must_match:
  - any authentication as, or directory lookup of, a named decoy account
  must_not_match:
  - activity on any other account
  notes: The decoy accounts are a list in the query (a watchlist or let).
  platform: defender_xdr
  request: 'Defender XDR custom detection. We keep a couple of decoy accounts that no human should ever touch — attractive
    names, left dormant on purpose. Alert the second anything tries to authenticate as one of them or even looks them up in
    the directory. Any activity at all against those accounts is suspicious, so just give me the decoy account, what happened,
    and the source.

    '
  split: public
S18:
  expected_tables:
  - - SecurityEvent
    - IdentityLogonEvents
    - DeviceLogonEvents
  expected_techniques:
  - T1021
  kind: single
  must_match:
  - one account logging on interactively to many more distinct hosts than its own recent baseline
  must_not_match:
  - service and admin accounts whose baseline already spans many hosts
  notes: Interactive logon types (2, 10) or the equivalent field; per-account baseline required.
  platform: sentinel
  request: 'Sentinel scheduled rule over our on-premises authentication data. Flag a single account that logs on interactively
    to an unusually large number of distinct machines in a short span — far more hosts than that account normally touches
    — which looks like someone hopping across the network with stolen credentials. Base the threshold on that account''s own
    recent habits. Show the account, the list of hosts, and the window.

    '
  split: public
S19:
  expected_tables:
  - - IdentityQueryEvents
  expected_techniques:
  - T1087.002
  - T1069.002
  kind: single
  must_match:
  - a first-time spike of user/group/membership directory queries by one account against its own baseline
  must_not_match:
  - accounts whose baseline already includes high query volume
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection on directory telemetry. I want to catch a single account firing
    off a burst of directory lookups — enumerating users, groups and their members — at a volume it has never shown before,
    which is how attackers map out the environment before escalating. The key is the first-time spike against that account''s
    own baseline, not the lookups themselves. Return the account, the kinds of lookups, and the counts.

    '
  split: public
S21:
  expected_tables:
  - - CloudAppEvents
  expected_techniques:
  - T1114.003
  kind: single
  must_match:
  - an inbox rule or mailbox setting that forwards or redirects mail to an external address
  must_not_match:
  - forwarding to internal addresses
  notes: New-InboxRule / Set-InboxRule / Set-Mailbox with ForwardTo, RedirectTo or ForwardingSmtpAddress.
  platform: defender_xdr
  request: 'Defender XDR custom detection. Alert whenever a mailbox owner sets up a rule that automatically forwards their
    incoming mail to an address outside our organisation. That''s a common way a hijacked account quietly leaks correspondence.
    Give me the mailbox, the external destination, and when the rule was made.

    '
  split: public
S22:
  expected_tables:
  - - CloudAppEvents
  expected_techniques:
  - T1564.008
  kind: single
  must_match:
  - an inbox rule matching finance or password-reset keywords that moves to an obscure folder, marks read or deletes
  must_not_match:
  - ordinary sorting rules without those keywords or hiding actions
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. I''m after inbox rules that quietly hide or divert messages —
    rules that move anything mentioning money, invoices, payments or password resets straight into an obscure folder, mark
    them read, or delete them. Attackers do this after a takeover so the real owner never sees the finance thread they''re
    meddling in. Surface the mailbox, the rule''s conditions and actions, and the creation time.

    '
  split: public
S23:
  expected_tables:
  - - EmailPostDeliveryEvents
  - - EmailEvents
  expected_techniques:
  - T1566
  kind: single
  must_match:
  - delivered phishing later removed by post-delivery clean-up (ZAP), clustered in a short period, with subjects and senders
  must_not_match:
  - messages blocked before delivery
  - manual removals by admins
  notes: Subjects and senders come from EmailEvents, joined on NetworkMessageId.
  platform: sentinel
  request: 'We run this as a Sentinel scheduled rule. I want to see phishing that actually landed in people''s inboxes and
    was only yanked back out after the fact by the automatic post-delivery clean-up. A cluster of those removals in a short
    period usually means a phishing wave got through the gateway. Show the subjects, the senders, how many recipients each
    hit, and the clean-up time.

    '
  split: public
S24:
  expected_tables:
  - - EmailUrlInfo
  - - EmailEvents
  expected_techniques:
  - T1566.002
  kind: single
  must_match:
  - messages whose URL was extracted from a QR code, raised when the sender domain is first seen
  must_not_match:
  - messages with ordinary text links only
  notes: UrlLocation identifies QR-code links; the first-seen sender domain needs a lookback over EmailEvents.
  platform: defender_xdr
  request: 'Defender XDR advanced hunting custom detection. Hunt for the phishing trick where the only link in a message is
    buried inside an image of a scannable square code, pushing the victim onto their phone where the destination is hard to
    inspect. Focus on messages where the link was pulled out of that embedded code, and raise the priority when it''s the
    first time we''ve ever seen mail from that sending domain. Return the sender, the recipient, and the extracted destination.

    '
  split: public
S25:
  expected_tables:
  - - UrlClickEvents
  expected_techniques:
  - T1204.001
  kind: single
  must_match:
  - a click on a URL judged malicious where the user went through (allowed or clicked through a warning)
  must_not_match:
  - clicks that were blocked with no click-through
  notes: ''
  platform: defender_xdr
  request: 'Defender XDR custom detection. Tell me when someone actually clicked a link in an email that was later judged
    malicious — the case where protection fired at click time but the user had already gone through, or clicked through the
    warning. Those are the people most likely already compromised. Give me the user, the link, and the click time.

    '
  split: public
S26:
  expected_tables:
  - - EmailEvents
  expected_techniques:
  - T1534
  kind: single
  must_match:
  - an internal sender's spike in internal recipients versus its own baseline, with lure-style subjects
  must_not_match:
  - normal internal broadcast senders (HR, IT announcements) within their baseline
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule. Catch an internal mailbox that suddenly starts blasting phishing-style messages to a
    large number of our own colleagues — a volume and spread it has never shown before — which is what a freshly hijacked
    account does to spread sideways. Judge the spike against that sender''s own normal internal fan-out, and look for the
    lookalike or lure-style subjects going to many recipients at once. Return the sender, recipient count, and the window.

    '
  split: public
S27:
  expected_tables:
  - - EmailEvents
  expected_techniques:
  - T1566
  kind: single
  must_match:
  - an internal sender mailing an unusually large number of external recipients in a short window
  must_not_match:
  - known bulk or newsletter senders
  notes: Outbound direction and distinct external recipients per window.
  platform: defender_xdr
  request: 'Defender XDR custom detection. Flag an internal user who sends mail to an unusually large number of external recipients
    in a short burst — the kind of outbound spray that happens when an account is taken over and used to send spam or phishing
    outward. Keep it simple: the sender, the external recipient count, and the time window.

    '
  split: public
S28:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1078.004
  kind: single
  must_match:
  - any console sign-in or API call made by the root identity
  must_not_match:
  - calls by IAM users or roles
  notes: UserIdentityType = Root.
  platform: sentinel
  request: 'We ingest our AWS account''s API call history into Sentinel and run this as a scheduled rule. Alert on any use
    of the account''s root identity — a console sign-in or an API call made as root. Root should sit unused behind lock and
    key, so every appearance deserves eyes on it. Give me the account, what action it took, and the source address.

    '
  split: public
S30:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1098.001
  kind: single
  must_match:
  - CreateAccessKey for a user with no prior access-key use (console-only history)
  must_not_match:
  - key rotation on users that already use access keys
  notes: Needs a lookback of the user's own key usage.
  platform: sentinel
  request: 'Sentinel scheduled rule on our AWS account''s API call history. Let me know when a long-lived programmatic access
    key is created for a user account that normally only ever signs in interactively and has no history of using such keys.
    A new key on an otherwise console-only identity is a classic persistence move. Give me the user, who created the key,
    and the time.

    '
  split: public
S32:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1537
  kind: single
  must_match:
  - ModifySnapshotAttribute adding an external account or 'all' to createVolumePermission
  must_not_match:
  - snapshot permission changes for accounts in the organisation
  notes: The shared-with account is in the request parameters.
  platform: sentinel
  request: 'Sentinel scheduled rule on our AWS account''s API call history. Catch a disk snapshot being shared with an outside
    account or opened up publicly — the quiet way data gets exfiltrated by handing a copy to attacker-controlled infrastructure
    rather than copying files out. Dig into the permission change on the snapshot to see who it was shared with. Return the
    principal, the snapshot, and the external account it was exposed to.

    '
  split: public
S33:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1552.005
  kind: single
  must_match:
  - calls by an assumed instance-role identity from a source IP outside AWS ranges
  must_not_match:
  - the same role used from inside AWS
  notes: Instance-role sessions are identifiable from the session/ARN; AWS ranges need a list (externaldata or let).
  platform: sentinel
  request: 'Sentinel scheduled rule over our AWS account''s API call history. I want to detect temporary credentials that
    were minted for a compute instance being used from somewhere outside AWS''s own network — a strong sign the instance''s
    role credentials were stolen and are being replayed from the attacker''s machine. You''ll need to tie the calling identity
    to an instance role and judge whether the calling address sits outside the provider''s ranges. Give me the identity, the
    source address, and the calls made.

    '
  split: public
S34:
  expected_tables:
  - - AWSCloudTrail
  expected_techniques:
  - T1580
  kind: single
  must_match:
  - one principal with many AccessDenied/UnauthorizedOperation errors across many services in a short window
  must_not_match:
  - a single service's repeated denials from one misconfigured job
  notes: Count of distinct event sources with error codes.
  platform: sentinel
  request: 'Sentinel scheduled rule on our AWS account''s API call history. Flag a single principal racking up a run of permission-denied
    errors across many different services in a short time — the probing an attacker does to map out what a stolen identity
    is allowed to do. Return the principal, the count of denials, the services probed, and the window.

    '
  split: public
S36:
  expected_tables:
  - - AzureDiagnostics
    - AzureActivity
  expected_techniques:
  - T1555.006
  kind: single
  must_match:
  - an unusual principal listing or getting many secrets or keys from a vault it doesn't normally use
  must_not_match:
  - the vault's usual applications at their usual volume
  notes: Secret reads are data-plane and land in AzureDiagnostics (Key Vault logs); AzureActivity shows management listing.
    The request says control plane; either table is accepted.
  platform: sentinel
  request: 'Sentinel scheduled rule on Azure control-plane records. Catch an unusual principal listing or pulling a batch
    of secrets or keys out of a secrets vault — especially one that doesn''t normally touch that vault — which is how stored
    credentials get harvested for lateral movement. Return the principal, the vault, and the volume of secrets accessed.

    '
  split: public
S37:
  expected_tables:
  - - AzureActivity
  expected_techniques:
  - T1098.003
  kind: single
  must_match:
  - a role assignment granting Owner or Contributor at subscription scope
  must_not_match:
  - reader-level or resource-group-scoped assignments
  notes: Microsoft.Authorization/roleAssignments/write; the role and scope are in the properties.
  platform: sentinel
  request: 'Sentinel scheduled rule over Azure control-plane records. Let me know when a powerful management role — owner-
    or contributor-level over a whole subscription — is handed to a principal. These grants are rare and high-impact, so each
    one should be reviewed. Give me who granted it, who received it, the role, and the scope.

    '
  split: public
S38:
  expected_tables:
  - - AzureActivity
  expected_techniques:
  - T1651
  kind: single
  must_match:
  - one principal running run-command or custom-script extensions on many VMs in a short window versus its own baseline
  must_not_match:
  - deployment pipelines whose baseline already includes this
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule on Azure control-plane records. Flag a single principal pushing a run-command or custom-script
    action onto a batch of virtual machines in a short window — running code with high privilege across many machines through
    the management layer, which is rare in normal operations and a strong compromise signal. Baseline how often this principal
    normally does it. Return the principal, the machines touched, and the window.

    '
  split: public
S39:
  expected_tables:
  - - AzureActivity
  expected_techniques:
  - T1686.001
  kind: single
  must_match:
  - an NSG rule created or changed to allow 3389 or 22 from any source (*, 0.0.0.0/0, Internet)
  must_not_match:
  - rules restricted to specific source ranges
  - rules for non-management ports
  notes: ''
  platform: sentinel
  request: 'Sentinel scheduled rule over Azure control-plane records. Alert when a network rule is created or changed to expose
    a remote-administration port straight to the entire internet. Opening management access to the world is a common misstep
    attackers go looking for. Return the principal, the rule, the port, and the resource.

    '
  split: public
S40:
  expected_tables:
  - - AuditLogs
    - AzureActivity
  expected_techniques:
  - T1098.001
  kind: single
  must_match:
  - a new client secret, certificate or federated identity credential added to an existing app or workload identity
  must_not_match:
  - credentials added when the app is first created by its owner pipeline
  notes: Entra app credential changes are in AuditLogs; federated credentials on managed identities are in AzureActivity.
    The request says control plane; either is accepted.
  platform: sentinel
  request: 'Sentinel scheduled rule on Azure control-plane records. Catch a new sign-in credential or trusted federation being
    added to an existing application or workload identity — the backdoor move where an attacker attaches their own secret
    to a legitimate app so they can authenticate as it later. Dig into the change detail to pick out the added credential
    or federation. Give me the app, the principal who changed it, and what was added.

    '
  split: public
