← Back to SOC feed Coverage →

Create a COM server

yara LOW Yara-Rules
community
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 Yara-Rules →
Retrieved: 2026-04-20T09:00:00Z · Confidence: medium

Hunt Hypothesis

The creation of a COM server may indicate an adversary establishing a persistence mechanism or executing malicious code through a legitimate system component. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential covert operations or malware leveraging COM interfaces for persistence and execution.

YARA Rule

rule create_com_service {
    meta:
        author = "x0r"
        description = "Create a COM server"
	version = "0.1"
    strings:
        $c1 = "DllCanUnloadNow" nocase
        $c2 = "DllGetClassObject"
        $c3 = "DllInstall"
        $c4 = "DllRegisterServer"
        $c5 = "DllUnregisterServer"
    condition:
        all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/capabilities/capabilities.yar