Cross-source coverage
T1574 / ATT&CK
Hijack Execution Flow
328 rules · 325 families across 8 sources.
7 deprecated hidden · include
From MITRE ATT&CK 19.2
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs. Hijacking execution flow can be for the purposes of persistence, since this hijacked execution may reoccur over time. Adversaries may also use these mechanisms to elevate privileges or evade defenses, such as application control or other restrictions on execution.
There are many ways an adversary may hijack the flow of execution, including by manipulating how the operating system locates programs to be executed. How the operating system locates libraries to be used by a program can also be intercepted. Locations where the operating system looks for programs/resources, such as file directories and in the case of Windows the Registry, could also be poisoned to include malicious payloads.
- Platforms
- Linux · macOS · Windows
- Telemetry
-
WinEventLog:SysmonWinEventLog:Securityauditd:SYSCALLlinux:sysloglinux:osquerymacos:unifiedlog
How MITRE says to detect it DET0218
Detection Strategy for Hijack Execution Flow across OS platforms.
Windows Analytic 0609
Unusual modifications to service binary paths, registry keys, or DLL load paths resulting in alternate execution flow. Defender observes registry key modifications, suspicious file writes into system directories, and processes loading libraries from abnormal paths.
WinEventLog:SysmonEventCode=1WinEventLog:SysmonEventCode=7WinEventLog:SecurityEventCode=4657WinEventLog:SysmonEventCode=11
Linux Analytic 0610
Adversary manipulation of shared library paths, environment variables, or replacement of service binaries. Defender observes suspicious modifications in /etc/ld.so.preload, service config changes, or file writes replacing existing executables.
auditd:SYSCALLopen/write syscalls targeting /etc/ld.so.preload or binaries in /usr/binlinux:syslogService restart with modified executable pathlinux:osqueryProcess execution with LD_PRELOAD or modified library path
macOS Analytic 0611
Abuse of DYLD_INSERT_LIBRARIES or hijacking framework paths for malicious libraries. Defender observes processes invoking abnormal dylibs, modified plist files, or persistence entries pointing to altered binaries.
macos:unifiedlogExecution of process with DYLD_INSERT_LIBRARIES setmacos:unifiedlogModified application plist or binary replacement in /Applicationsmacos:unifiedlogDylib loaded from abnormal location
Sub-techniques with coverage
Counted in the 328 above — a rule tagged a sub-technique covers this technique too.
- T1574.001 DLL 167
- T1574.006 Dynamic Linker Hijacking 28
- T1574.011 Services Registry Permissions Weakness 18
- T1574.007 Path Interception by PATH Environment Variable 10
- T1574.002 DLL Side-Loading 5
- T1574.008 Path Interception by Search Order Hijacking 4
- T1574.009 Path Interception by Unquoted Path 3
- T1574.005 Executable Installer File Permissions Weakness 2
- T1574.010 Services File Permissions Weakness 2
- T1574.012 COR_PROFILER 2
- T1574.013 KernelCallbackTable 2
- T1574.014 AppDomainManager 1
SigmaHQ/sigma
121 rules| Detection | Severity | Format |
|---|---|---|
| APT27 - Emissary Panda Activity | Critical | Sigma |
| HackTool - SharpUp PrivEsc Tool Execution | Critical | Sigma |
| Winnti Malware HK University Campaign | Critical | Sigma |
| Winnti Pipemon Characteristics | Critical | Sigma |
| Abuse of Service Permissions to Hide Services Via Set-Service | High | Sigma |
| Abuse of Service Permissions to Hide Services Via Set-Service - PS | High | Sigma |
| Aruba Network Service Potential DLL Sideloading | High | Sigma |
| Code Injection by ld.so Preload | High | Sigma |
| DHCP Callout DLL Installation | High | Sigma |
| DHCP Server Error Failed Loading the CallOut DLL | High | Sigma |
+ 111 more from SigmaHQ/sigma → showing the 10 highest-severity
elastic/detection-rules
73 rules| Detection | Severity | Format |
|---|---|---|
| Dylib Injection via Process Environment Variables | High | Elastic TOML |
| Dynamic Linker Copy | High | Elastic TOML |
| Dynamic Linker Modification Detected via Defend for Containers | High | Elastic TOML |
| Persistence via TelemetryController Scheduled Task Hijack | High | Elastic TOML |
| Persistence via Update Orchestrator Service Hijack | High | Elastic TOML |
| Potential CVE-2025-32463 Nsswitch File Creation | High | Elastic TOML |
| Potential Masquerading as System32 DLL | High | Elastic TOML |
| Potential privilege escalation via CVE-2022-38028 | High | Elastic TOML |
| Potential Privilege Escalation via InstallerFileTakeOver | High | Elastic TOML |
| Potential Privilege Escalation via PKEXEC | High | Elastic TOML |
+ 63 more from elastic/detection-rules → showing the 10 highest-severity
elastic/protections-artifacts
72 rules| Detection | Severity | Format |
|---|---|---|
| BindFltApi Loaded by an Unusual Process | Undefined | Elastic TOML |
| Default Application Hijacking | Undefined | Elastic TOML |
| DLL Dropped by MSIEXEC followed by SideLoad | Undefined | Elastic TOML |
| DLL Side Loading of a file dropped by Microsoft Office | Undefined | Elastic TOML |
| DLL Side Loading via a Copied Microsoft Executable | Undefined | Elastic TOML |
| Dylib Loaded by Process in Suspicious Location | Undefined | Elastic TOML |
| Dylib Load via SSH-Keygen | Undefined | Elastic TOML |
| Egress Connection by a DNF Package Manager Descendant | Undefined | Elastic TOML |
| Egress Connection by a YUM Package Manager Descendant | Undefined | Elastic TOML |
| Egress Network Connection from Default DPKG Directory | Undefined | Elastic TOML |
+ 62 more from elastic/protections-artifacts → showing the 10 highest-severity
splunk/security_content
34 rules| Detection | Severity | Format |
|---|---|---|
| Detect Path Interception By Creation Of program exe | Undefined | SPL |
| GitHub Workflow File Creation or Modification | Undefined | SPL |
| Linux Auditd Preload Hijack Library Calls | Undefined | SPL |
| Linux Auditd Preload Hijack Via Preload File | Undefined | SPL |
| Linux Possible Privilege Escalation via PYTHONPATH | Undefined | SPL |
| Linux Preload Hijack Library Calls | Undefined | SPL |
| MSI Module Loaded by Non-System Binary | Undefined | SPL |
| Msmpeng Application DLL Side Loading | Undefined | SPL |
| Python PYTHONPATH Modification During Package Installation | Undefined | SPL |
| Reg exe Manipulating Windows Services Registry Keys | Undefined | SPL |
+ 24 more from splunk/security_content → showing the 10 highest-severity
socfortress/Wazuh-Rules
19 rules · 17 families+ 9 more from socfortress/Wazuh-Rules → showing the 10 highest-severity
Wazuh Core Ruleset
5 rulesAzure/Azure-Sentinel
3 rules| Detection | Severity | Format |
|---|---|---|
| First-Time Network Connection by Unusual Process | High | KQL |
| COM Registry Key Modified to Point to File in Color Profile Folder | Medium | KQL |
| Gentlemen Ransomware payload execution and staging | Undefined | KQL |
Bert-JanP/Hunting-Queries-Detection-Rules
1 rule| Detection | Severity | Format |
|---|---|---|
| Smoke Sandstorm - SnailResin and SlugResin Infection Detection | Undefined | KQL |