This detection rule identifies potential adversary activity involving the execution of the “NsPack” utility, which may indicate reconnaissance or the deployment of a custom payload within the Azure environment. A proactive hunt is recommended to validate these events and distinguish legitimate administrative usage from suspicious behavior that could signal early-stage lateral movement or data exfiltration attempts.
rule NsPackV2XLiuXingPing
{
meta:
author="malware-lu"
strings:
$a0 = { 6E 73 70 61 63 6B 24 40 }
condition:
$a0
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Based on the rule title NsPackV2XLiuXingPing and its focus on “NsPack” (likely referring to network scanning or packet analysis activities), here are 5 specific false positive scenarios common in enterprise environments, along with targeted exclusion strategies:
Scenario: Scheduled Vulnerability Scanning by Tenable Nessus
10.20.5.10) and whitelist the executable path C:\Program Files\Tenable\Nessus\nessusd.exe to ignore its scanning traffic during business hours or specific maintenance windows.Scenario: Microsoft Defender for Endpoint Real-Time Protection
MsMpEng.exe initiating multiple outbound connections that resemble the rule’s detection logic for unusual packet structures.MsMpEng.exe and the service account NT SERVICE\MsMpSvc, specifically targeting ports 443 and 5061 used for telemetry.Scenario: Automated Backup Jobs via Veeam Backup & Replication