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, PropertiesATT&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.
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.
Appears in
Other Azure Activity Log operation values
- Microsoft.Authorization/roleAssignments/writeRole assignment created
- Microsoft.Authorization/roleAssignments/deleteRole assignment removed
- Microsoft.Authorization/roleDefinitions/writeCustom role created or changed
- Microsoft.Compute/virtualMachines/runCommand/actionVM Run Command
- Microsoft.Compute/virtualMachines/extensions/writeVM extension written
- Microsoft.Compute/disks/beginGetAccess/actionDisk export URL created
- Microsoft.Compute/snapshots/beginGetAccess/actionSnapshot export URL created
- Microsoft.Compute/snapshots/writeSnapshot created
- Microsoft.Storage/storageAccounts/listKeys/actionStorage account keys listed
- Microsoft.Storage/storageAccounts/regenerateKey/actionStorage account key regenerated
- Microsoft.KeyVault/vaults/accessPolicies/writeKey Vault access policy changed
- Microsoft.KeyVault/vaults/writeKey Vault changed
- Microsoft.Insights/diagnosticSettings/deleteDiagnostic setting deleted
- Microsoft.Insights/diagnosticSettings/writeDiagnostic setting changed
Decode a whole event
Paste the event and every field is explained, in your browser.