← Back to SOC feed Coverage →

Suspicious JScript staging comment

kql MEDIUM Azure-Sentinel
DeviceProcessEvents
exploithuntingmicrosoftofficialpowershell
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-05-05T11:00:00Z · Confidence: medium

Hunt Hypothesis

Attackers may be using JScript staging techniques with identifiable comments to establish persistence or execute payloads in the environment. SOC teams should proactively hunt for this behavior in Azure Sentinel to detect potential post-compromise activity and mitigate further lateral movement or data exfiltration.

KQL Query

DeviceProcessEvents
| where FileName =~ "powershell.exe"
| where ProcessCommandLine has "VMBlastSG"

Analytic Rule Definition

id: 8495c33d-0048-447f-b1e5-27fa5e7f7417
name: Suspicious JScript staging comment
description: |
  Microsoft has observed attackers who have gained entry to an environment via the Log4J vulnerability utilizing identifiable strings in PowerShell commands.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - DeviceProcessEvents
tactics:
- Execution
- Vulnerability
query: |
  DeviceProcessEvents
  | where FileName =~ "powershell.exe"
  | where ProcessCommandLine has "VMBlastSG"

Required Data Sources

Sentinel TableNotes
DeviceProcessEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Campaigns/Log4J/Suspicious JScript staging comment.yaml