Skip to content
WETNav

OperationNameValue / operationName / operationName.value / authorization.actionSuspicious

Microsoft.Network/networkSecurityGroups/securityRules/write: NSG rule written

A network security group rule was created or changed.

How to read it

Check for RDP, SSH or all ports opened to the internet.

Find it

AzureActivity
| where OperationNameValue =~ "Microsoft.Network/networkSecurityGroups/securityRules/write"
| project TimeGenerated, Caller, CallerIpAddress, ActivityStatusValue, _ResourceId, Properties

ATT&CK

About OperationNameValue

Every control-plane write in an Azure subscription is an operation of the form Provider/resourceType/action. These are the ones that grant access, run code, move data out or blind logging.

Every Azure Activity Log operation value →

Questions

What does OperationNameValue Microsoft.Network/networkSecurityGroups/securityRules/write mean?
NSG rule written. A network security group rule was created or changed. Check for RDP, SSH or all ports opened to the internet.
Is OperationNameValue Microsoft.Network/networkSecurityGroups/securityRules/write a sign of an attack?
It deserves a look. It is associated with MITRE ATT&CK Disable or Modify Cloud Firewall (T1562.007). Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is OperationNameValue Microsoft.Network/networkSecurityGroups/securityRules/write recorded?
In the operationName.value field of Azure Activity Log.
How do I search for OperationNameValue Microsoft.Network/networkSecurityGroups/securityRules/write?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.