Azure sign-in logs: Detect AzureHound discovery tool via default User-Agent

Flags successful Azure sign-ins where the User-Agent contains "azurehound", indicating AzureHound discovery.

FreeReviewedSigma · High · v5
Product
azure
Service
signinlogs
Author
Janantha Marasinghe (SigmaHQ), DRL 1.1
Published
2022-11-27
Updated
2026-07-31
title: "Azure sign-in logs: Detect AzureHound discovery tool via default User-Agent"
id: 38e586ac-6c82-4350-ada5-b20895084950
status: test
description: This rule identifies activity consistent with AzureHound by matching the default User-Agent string used after a successful sign-in. Attackers often run AzureHound to enumerate Azure AD and related permissions for subsequent discovery and targeting. The detection relies on Azure sign-in log telemetry, specifically the User-Agent field and the ResultType indicating successful authentication.
references:
  - https://github.com/BloodHoundAD/AzureHound
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/signin_logs/azure_ad_azurehound_discovery.yml
author: Janantha Marasinghe, Huntrule Team
date: 2022-11-27
tags:
  - attack.discovery
  - attack.t1087.004
  - attack.t1526
logsource:
  product: azure
  service: signinlogs
detection:
  selection:
    userAgent|contains: azurehound
    ResultType: 0
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: 35b781cc-1a08-4a5a-80af-42fd7c315c6b
    type: derived