This hypothesis posits that adversaries are utilizing small network traffic patterns to evade standard threshold-based detection while establishing covert communication channels within the environment. A proactive hunt is essential in Azure Sentinel to correlate these subtle signals across distributed logs, ensuring early identification of stealthy reconnaissance or command-and-control activities before they escalate into significant incidents.
rule SmallNet : RAT
{
meta:
author = " Kevin Breen <[email protected]>"
date = "2014/04"
ref = "http://malwareconfig.com/stats/SmallNet"
maltype = "Remote Access Trojan"
filetype = "exe"
strings:
$split1 = "!!<3SAFIA<3!!"
$split2 = "!!ElMattadorDz!!"
$a1 = "stub_2.Properties"
$a2 = "stub.exe" wide
$a3 = "get_CurrentDomain"
condition:
($split1 or $split2) and (all of ($a*))
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the SmallNet detection rule in an enterprise environment, along with suggested filters and exclusions:
Scenario: Automated Vulnerability Scanning by Qualys or Tenable
qualyspc.exe, tenable_agent.exe) and their associated service accounts. Additionally, filter out traffic originating from the specific subnet dedicated to security scanning infrastructure.Scenario: Microsoft System Center Configuration Manager (SCCM) Software Updates
CCMExec executable path (C:\Windows\CCM\) and filter events occurring during defined maintenance windows (e.g., 02:00–04:00 UTC). Whitelist the specific hash of the SCCM agent update service.Scenario: Azure Arc or AWS Systems Manager (SSM) Agent Connectivity