Azure Activity Logs: VPN Connection Modified or Deleted

Alerts on Azure VPN connection updates or removals recorded in Activity Logs.

FreeReviewedSigma · Medium · v5
Product
azure
Service
activitylogs
Author
Austin Songer @austinsonger (SigmaHQ), DRL 1.1
Published
2021-08-08
Updated
2026-07-31
title: "Azure Activity Logs: VPN Connection Modified or Deleted"
id: c2f0cffa-1300-4945-971a-545f2d170a60
status: test
description: This rule flags Azure activity log events where a VPN connection under a VPN gateway is written or deleted. Attackers may alter VPN connectivity to disrupt access, redirect traffic, or remove legitimate remote access paths. The detection relies on Azure Activity Logs operationName values for VPNCONNECTIONS WRITE and DELETE actions.
references:
  - https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/activity_logs/azure_vpn_connection_modified_or_deleted.yml
author: Austin Songer @austinsonger, Huntrule Team
date: 2021-08-08
modified: 2022-08-23
tags:
  - attack.impact
logsource:
  product: azure
  service: activitylogs
detection:
  selection:
    operationName:
      - MICROSOFT.NETWORK/VPNGATEWAYS/VPNCONNECTIONS/WRITE
      - MICROSOFT.NETWORK/VPNGATEWAYS/VPNCONNECTIONS/DELETE
  condition: selection
falsepositives:
  - VPN Connection being modified or deleted may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
  - VPN Connection modified or deleted from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: medium
license: DRL-1.1
related:
  - id: 61171ffc-d79c-4ae5-8e10-9323dba19cd3
    type: derived