Remote Access Tools T1219

An adversary may use legitimate remote access tools to establish an interactive command and control channel within a network. Remote access tools create a session between two trusted hosts through a graphical interface, a command line interaction, a protocol tunnel via development or management software, or hardware-level access such as KVM (Keyboard, Video, Mouse) over IP solutions. Desktop support software (usually graphical interface) and remote management software (typically command line interface) allow a user to control a computer remotely as if they are a local user inheriting the user or software permissions. This software is commonly used for troubleshooting, software installation, and system management. Adversaries may similarly abuse response features included in EDR and other defensive tools that enable remote access.

Events covered

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

Authoring guide

Patterns shared across the 84 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 (51 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
Image29ends_with 23, contains 7, eq 2, starts_with 2, wildcard 2, in 1, regex_match 1\anydesk.exe, \anydeskmsi.exe, \cmd.exe, \mstsc.exe, \appdata\local\flock\
EventID22eq 221, 4688, 1033, 22, 4103
CommandLine20contains 12, match 5, ends_with 4, regex_match 2, wildcard 1--accept-server-license-terms, (?i)(anydesk.exe).*(--silent), (?i)\/i\s.*IntegratorLogin=\S+@(gmail|hotmail|outlook|pro..., (?i)anydesk.exe, --meshservicename
process_name16match 8, eq 6, wildcard 2, is_not_null 1(?i)(simple(help(customer)?|service|gatewayservice)|remot..., (?i)^(teamviewer\.exe|anydesk\.exe|lmiignition\.exe|gotoa..., (?i)^anydesk.exe$, (?i)ateraagent\.exe, (?i)jwrapper-remote\s+(access|support)
TargetFilename11ends_with 6, contains 5, wildcard 1.7z, .bat, .cmd, .dll, .exe
Company9eq 8, in 1AnyDesk Software GmbH, LogMeIn, Inc., ATERA Networks*, AmidaWare*, Ammyy LLC*
OriginalFileName9eq 6, is_null 2, contains 1mstsc.exe, client32.exe, meshagent, pcicfgui.exe, ultraviewer_desktop.exe
Product9eq 8, in 1AnyDesk, Advanced Monitoring Agent*, Ammyy Admin*, AnyDesk*, GoTo Opener
event.type9eq 9start, creation, deletion
Description8eq 7, in 1AnyDesk, Advanced Monitoring Agent*, Ammyy Admin*, AnyDesk*, GoTo Opener
ParentImage7ends_with 5, eq 1, wildcard 1?:\programdata\*\client32.exe, ?:\users\*\client32.exe, \action1_agent.exe, \cmd.exe, \code-tunnel.exe
Type6eq 6
isutility5eq 5TRUE, True
parent_process_name5eq 5, wildcard 1AA_v*.exe, AeroAdmin.exe, AgentMon.exe, ScreenConnect.ClientService.exe, ScreenConnect.WindowsBackstageShell.exe
ParentCommandLine4contains 2, ends_with 2 tunnel, :\windows\temp\screenconnect\, \action1\scripts\run_command_, \action1\scripts\run_powershell_, run.cmd

Top indicator values (1018 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
EventIDeq
1
8232
EventIDeq
4688
6312
event.typeeq
start
7241
Imageends_with
\anydesk.exe
45
Imageends_with
\anydeskmsi.exe
44
Imageends_with
\cmd.exe
4134
Imageends_with
\mstsc.exe
36
Imageends_with
\powershell.exe
3186
Imageends_with
\pwsh.exe
3172
CommandLinecontains
--accept-server-license-terms
34
CommandLinecontains
--meshservicename
22
CommandLinecontains
.exe tunnel
22
CommandLinecontains
/d /c
22
CommandLinecontains
\servers\stable-
22
CommandLinecontains
code-server.cmd
23
isutilityeq
TRUE
33
CommandLineends_with
.exe tunnel
22
CommandLineends_with
.rdp
22
CommandLineends_with
.rdp"
22
CommandLinematch
(?i)\/i\s.*IntegratorLogin=\S+@(gmail|hotmail|outlook|protonmail)\.com|(yande...
22
CommandLinematch
(?i)anydesk.exe
22
CommandLineregex_match
(?i)(anydesk.exe).*(--silent)
22
Companyeq
AnyDesk Software GmbH
23
Companyeq
LogMeIn, Inc.
22
Descriptioneq
AnyDesk
23
Imagecontains
\appdata\local\flock\
24
Imagecontains
\appdata\local\maxthon\
24
Imagecontains
\appdata\local\phoebe\
24
Imagecontains
\appdata\local\programs\midori-ng\
23
Imagecontains
\appdata\local\programs\opera\
25

Exclusions (106 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
rmm_exceptioneq
TRUE
5
rmm_exception_endin
FALSE
5
rmm_exception_endin
UNLIMITED
5
CommandLineregex_match
(?i)(install)
2
Imagecontains
\appdata\local\flock\
2
Imagecontains
\appdata\local\maxthon\
2
Imagecontains
\appdata\local\phoebe\
2
Imagecontains
\appdata\local\programs\midori-ng\
2
Imagecontains
\appdata\local\programs\opera\
2
Imagecontains
\appdata\local\vivaldi\
2
Imagecontains
\tor browser\
2
Imageends_with
\avant.exe
2
Imageends_with
\brave.exe
2
Imageends_with
\falkon.exe
2
Imageends_with
\flock.exe
2

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.

Sigma 46 rules

Elastic 10 rules

Splunk 27 rules

YARA-L 1 rule