← Back to SOC feed Coverage →

Detects mailsearcher module from Trickbot Trojan

yara LOW Yara-Rules
backdoorcommunity
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-06-30T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt targets adversaries executing the Trickbot MailSearcher module to harvest email metadata and identify potential targets for phishing campaigns within the organization. Proactively hunting for this behavior in Azure Sentinel is critical because early detection of this reconnaissance activity allows security teams to isolate compromised endpoints before Trickbot escalates to credential theft or lateral movement phases.

YARA Rule

rule MALW_mailsercher_trickbot_module :
Trojan
{
meta:
author = "Marc Salinas @Bondey_m"
description = " Detects mailsearcher module from Trickbot Trojan"
strings:
$str_mails_01 = "mailsearcher"
$str_mails_02 = "handler"
$str_mails_03 = "conf"
$str_mails_04 = "ctl"
$str_mails_05 = "SetConf"
$str_mails_06 = "file"
$str_mails_07 = "needinfo"
$str_mails_08 = "mailconf"
condition:
all of ($str_mails_*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 8 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the “Detects mailsearcher module from Trickbot Trojan” rule in an enterprise environment, along with suggested filters or exclusions:

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