Adversary-in-the-Middle T1557

Tactics: Credential Access, Collection

Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as Network Sniffing, Transmitted Data Manipulation, or replay attacks (Exploitation for Credential Access). By abusing features of common networking protocols that can determine the flow of network traffic (e.g. ARP, DNS, LLMNR, etc.), adversaries may force a device to communicate through an adversary controlled system so they can collect information or perform additional actions.

Events covered

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

Authoring guide

These 69 rules share fields, values, and exclusions.

Fields filtered most (107 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventID12eq 11, in 35137, 4624, 5145, 4625, 4662
src_ip10is_not_null 5, ne 4, eq 2, in 2, cidr_match 1, 127.0.0.1, ::1, 10.0.0.0/8, 172.16.0.0/12
EventType8eq 7, in 1login_success, AssociateVPCWithHostedZone, DEVICE_REGISTER_UNREGISTER_EVENT, Microsoft.ContainerService/managedClusters/diagnosticLogs/Read, authorize
data_stream.dataset8eq 7, in 1google_workspace.login, aws.cloudtrail, azure.auditlogs, azure.platformlogs, azure.signinlogs
CommandLine7contains 7, ends_with 1, match 1 --adcs , --port , /ntlm:NTLMhash , ntlmrelay, smbrelay
Image6ends_with 5, contains 2\gup.exe, HotPotato, HotPotatoes , HotPotatoes6, \GetADUsers_windows.exe
LogonType6eq 63, Network, network
AuthenticationPackageName5eq 5NTLM, Kerberos
ObjectDN5contains 2, starts_with 2, wildcard 1*1UWhRCA*, *AAAAA*, *UWhRC*BAAAA*MicrosoftDNS*, *YBAAAA*, BAAAA
ObjectClass4eq 4dnsNode
Provider_Name4eq 4Microsoft-Windows-DistributedCOM, Microsoft-Windows-Iphlpsvc, login, route53.amazonaws.com
QueryName4contains 2, ends_with 1, eq 1, wildcard 1*1UWhRC*, *AAAAA*, *UWhRC*BAAAA*, *YBAAAA*, .azurewebsites.net
event.outcome4eq 4success
event.type4eq 3, in 1change, start, process_started
facility4eq 4PM, DHCP_SNOOPING, PORT_SECURITY, SISF

Top indicator values (465 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
src_ipis_not_null
570
LogonTypeeq
3
430
LogonTypeeq
Network
24
src_ipne
127.0.0.1
422
src_ipne
::1
420
userends_with
$
45
EventIDeq
5137
38
EventIDeq
5137
36
EventIDeq
5145
319
EventIDeq
4662
28
EventIDeq
5136
225
EventIDin
4624
36
EventIDin
4625
36
ObjectClasseq
dnsNode
33
event.outcomeeq
success
382
user.emailis_not_null
35
AuthenticationPackageNameeq
Kerberos
25
AuthenticationPackageNameeq
NTLM
27
Esql.distance_kmge
500
22
Esql.region_countge
2
22
Esql.region_countle
5
22
Esql.travel_kmhge
800
22
Imagecontains
\ntlmrelayx
22
Imagecontains
\smbrelayx
22
Imageends_with
\gup.exe
25
computer_namestarts_with
substring(user.name, 0, (-1))
2
event.typeeq
change
289
facilityeq
PM
22
file.nameeq
dhcpserver
22
file.nameeq
dnsserver
22

Exclusions (102 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
src_ipends_with
string(host.ip)
4
computer_namestarts_with
substring(user.name, 0, (-1))
2
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagecontains
HotPotatoes
1
Imagecontains
HotPotatoes6
1
Imagecontains
HotPotatoes7
1
Imagewildcard
?:\Program Files (x86)\*.exe
1
Imagewildcard
?:\Program Files\*.exe
1
Imagewildcard
?:\ProgramData\CTES\Components\SNG\AbtSngSvc.exe
1
Imagewildcard
?:\ProgramData\CTES\Components\SVC\CtesHostSvc.exe
1
Imagewildcard
?:\ProgramData\CTES\Ctes.exe
1
Imagewildcard
?:\ProgramData\Lenovo\Vantage\Addins\LenovoHardwareScanAddin\*\LdeApi.Server.exe
1
Imagewildcard
?:\ProgramData\bomgar-*\*\bomgar-scc.exe
1
Imagewildcard
?:\ProgramData\bomgar-*\*\sra-pin.exe
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 23 rules

Elastic 26 rules

Splunk 11 rules

Kusto 9 rules