This detection identifies anomalous patterns associated with Quarian code features that may indicate early-stage reconnaissance or lateral movement by adversaries exploiting specific Azure workloads. Proactively hunting for these signals in Azure Sentinel allows the SOC team to validate potential false positives and refine baseline behaviors before they escalate into higher-severity incidents.
rule QuarianCode : Quarian Family
{
meta:
description = "Quarian code features"
author = "Seth Hardy"
last_modified = "2014-07-09"
strings:
// decrypt in intelnat.sys
$ = { C1 E? 04 8B ?? F? C1 E? 05 33 C? }
// decrypt in mswsocket.dll
$ = { C1 EF 05 C1 E3 04 33 FB }
$ = { 33 D8 81 EE 47 86 C8 61 }
// loop in msupdate.dll
$ = { FF 45 E8 81 45 EC CC 00 00 00 E9 95 FE FF FF }
condition:
any of them
}
This YARA rule can be deployed in the following contexts:
Here are 5 specific false positive scenarios for the “Quarian code features” detection rule in an enterprise environment, including suggested filters and exclusions:
Automated CI/CD Pipeline Artifact Generation
*.jenkins.internal, gitlab-runner-01) and restrict the rule to only trigger on user-initiated sessions, excluding service accounts running under the “BuildAgent” identity.Enterprise Endpoint Protection Scanning
csagent.exe, MsMpEng.exe) and filter out events where the parent process is identified as a scheduled maintenance task rather than an interactive user session.Database Schema Migration Scripts