Server Software Component: Transport Agent T1505.002

Tactic: Persistence

Adversaries may abuse Microsoft transport agents to establish persistent access to systems. Microsoft Exchange transport agents can operate on email messages passing through the transport pipeline to perform various tasks such as filtering spam, filtering malicious attachments, journaling, or adding a corporate signature to the end of all outgoing emails. Transport agents can be written by application developers and then compiled to .NET assemblies that are subsequently registered with the Exchange server. Transport agents will be invoked during a specified stage of email processing and carry out developer defined tasks.

Events covered

6 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 6 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (8 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
EventData2contains 2enable-transportagent, install-transportagent
ScriptBlockText2contains 1, in 1enable-transportagent, install-transportagent
CommandLine1contains 1install-transportagent
Data1contains 1install-transportagent
Image1eq 1\exchangesetup\exsetupui.exe
Payload1contains 1enable-transportagent, install-transportagent
TargetFilename1ends_with 1\transportroles\shared\agents.config
event.category1eq 1process

Top indicator values (13 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
EventDatacontains
enable-transportagent
22
EventDatacontains
install-transportagent
22
CommandLinecontains
install-transportagent
1
Datacontains
install-transportagent
1
Imageeq
\exchangesetup\exsetupui.exe
1
Payloadcontains
enable-transportagent
1
Payloadcontains
install-transportagent
1
ScriptBlockTextcontains
enable-transportagent
1
ScriptBlockTextcontains
install-transportagent
1
ScriptBlockTextin
enable-transportagent
1
ScriptBlockTextin
install-transportagent
1
TargetFilenameends_with
\transportroles\shared\agents.config
1
event.categoryeq
process
1128

Exclusions (6 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
Imageeq
\exchangesetup\exsetupui.exe
1
ScriptBlockTexteq
'enable-transportagent', 'enable-transportrule', 'export-activesynclog',...
1
ScriptBlockTexteq
'install-transportagent', 'invoke-monitoringprobe', 'mount-database',...
1
ScriptBlockTexteq
forwardhelptargetname install-transportagent
1
ScriptBlockTexteq
scriptcmd.getsteppablepipeline
1
user.ideq
S-1-5-18
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 5 rules

Elastic 1 rule