Azure Activity Logs: Point-to-site VPN Gateway Modified or Deleted

Flags Azure Point-to-site VPN gateway modifications or deletions from Activity Log operation events.

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: Point-to-site VPN Gateway Modified or Deleted"
id: dc927313-82c1-4fea-86f2-f7445c073904
status: test
description: This rule flags activity log events where a Point-to-site VPN gateway is modified, deleted, reset, or has VPN profile/diagnostic settings operations applied. Such changes can disrupt remote access or indicate administrative or potentially malicious attempts to alter VPN connectivity and configuration. It relies on Azure Activity Logs operationName values corresponding to Point-to-site VPN gateway write/delete/reset/profile/connection disconnect/diagnostic settings 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_network_p2s_vpn_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/P2SVPNGATEWAYS/WRITE
      - MICROSOFT.NETWORK/P2SVPNGATEWAYS/DELETE
      - MICROSOFT.NETWORK/P2SVPNGATEWAYS/RESET/ACTION
      - MICROSOFT.NETWORK/P2SVPNGATEWAYS/GENERATEVPNPROFILE/ACTION
      - MICROSOFT.NETWORK/P2SVPNGATEWAYS/DISCONNECTP2SVPNCONNECTIONS/ACTION
      - MICROSOFT.NETWORK/P2SVPNGATEWAYS/PROVIDERS/MICROSOFT.INSIGHTS/DIAGNOSTICSETTINGS/WRITE
  condition: selection
falsepositives:
  - Point-to-site VPN 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.
  - Point-to-site VPN 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: d9557b75-267b-4b43-922f-a775e2d1f792
    type: derived