Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Data Components DC0020 — Process Modification
DC0020

Process Modification

29 analytic(s) · 24 detection strategy(ies)

Description

Changes made to a running process, such as writing data into memory, modifying execution behavior, or injecting code into an existing process. Adversaries frequently modify processes to execute malicious payloads, evade detection, or gain escalated privileges.

Referenced in Analytics

29
AN0022 Analytic 0022 DET0009

Developer or CI invokes package managers/compilers (apt/yum + build-essential, npm/yarn/pnpm, pip/pip3, gem, cargo, go, maven/gradle). These write executable or script files into PATH or project dirs and immediately execute embedded lifecycle hooks (preinstall/postinstall, setup.py, npm scripts) that spawn shells or curl/wget, followed by egress to unfamiliar registries or domains.

auditd:SYSCALL auditd:SYSCALL journald:package NSM:Flow
AN0067 Analytic 0067 DET0023

Correlates ELF file execution with high-entropy writable memory segments and self-modifying code patterns.

auditd:SYSCALL auditd:SYSCALL
AN0068 Analytic 0068 DET0023

Detection of packed Mach-O binaries unpacking into memory and transferring control to dynamically modified code segments.

macos:unifiedlog macos:endpointsecurity
AN0171 Analytic 0171 DET0062

Disabling or modifying the Linux Audit system through process termination (auditd killed), service management (systemctl stop auditd), or tampering with rule/configuration files (/etc/audit/audit.rules, audit.conf). Defender view: suspicious execution of auditctl/systemctl commands, file modifications to audit rules, or sudden absence of audit logs correlated with privileged execution.

auditd:EXECVE auditd:SYSCALL auditd:FILE linux:syslog
AN0239 Analytic 0239 DET0087

Detection of encoded payloads being decoded and executed in-memory using scripting tools or third-party decoders.

macos:unifiedlog macos:endpointsecurity macos:unifiedlog
AN0277 Analytic 0277 DET0100

Detects malicious injection behavior involving memory allocation, remote thread queuing via APC (e.g., QueueUserAPC), and altered thread context within another live process to execute unauthorized code under legitimate context.

WinEventLog:Sysmon WinEventLog:Sysmon etw:Microsoft-Windows-Kernel-Process WinEventLog:Sysmon
AN0297 Analytic 0297 DET0106

Detects PE injection through a behavioral sequence where one process opens (OpenProcess) a handle to another, allocates remote memory (VirtualAllocEx), writes a PE header (MZ) or shellcode (WriteProcessMemory), then initiates a new thread (CreateRemoteThread or NtCreateThreadEx) in that process—executing injected code in memory without touching disk. Optional: injects a trampoline or shellcode that unpacks/reflectively maps the payload.

WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon
AN0389 Analytic 0389 DET0139

Detects credential harvesting via userland API hooking (e.g., SetWindowsHookEx, IAT, or inline patching) by correlating memory modifications with hook installation functions and suspicious module loads in credential-sensitive processes like lsass.exe, explorer.exe, or winlogon.exe.

WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon
AN0391 Analytic 0391 DET0139

Detects DYLD_INSERT_LIBRARIES abuse to hook credential-sensitive applications by correlating process spawns with unauthorized library injection and monitoring changes to the __TEXT segment (code) of credential handling binaries.

macos:unifiedlog fs:fsusage macos:osquery
AN0466 Analytic 0466 DET0164

Detects adversary behavior where the command-line arguments of a running process are overwritten in memory to spoof the process name, typically replacing it with a benign or misleading string. The detection correlates unexpected null byte sequences, discrepancies between `/proc/<pid>/cmdline` and process ancestry, and suspicious memory writes shortly after process start.

auditd:SYSCALL ebpf:tracepoints
AN0498 Analytic 0498 DET0176

Correlated evidence of anomalous browser/network behavior (suspicious external resource fetches and script injection patterns) followed by atypical child processes, ephemeral execution contexts, memory modification or process injection, and unexpected file drops. Defender sees network requests to previously unseen/suspicious domains or resources + browser process spawning unusual children or loading unsigned modules + file writes or registry changes shortly after those requests.

WinEventLog:Security WinEventLog:Security WinEventLog:Sysmon WinEventLog:Application etw:Microsoft-Windows-Kernel-Process WinEventLog:Sysmon NSM:Flow
AN0500 Analytic 0500 DET0176

Correlated evidence where Safari/Chrome/WebKit-based processes issue network requests for uncommon or obfuscated JS resources followed by spawning of script interpreters, launchd or ad-hoc binaries, unusual child processes, or dynamic library loads into browser processes. Defender sees: proxy/HTTP logs with suspicious resource content + unifiedlogs/ASL showing browser/plugin crashes or extension loads + process events indicating child process creation and file writes to /var/folders or /tmp shortly after the fetch.

macos:unifiedlog macos:unifiedlog macos:unifiedlog NSM:Flow macos:unifiedlog
AN0541 Analytic 0541 DET0189

Detection of anti-malware quarantining or flagging a tool, followed by a new binary written to disk with a similar function or name and a resumed process chain.

auditd:SYSCALL auditd:SYSCALL linux:osquery EDR:detection
AN0822 Analytic 0822 DET0295

Detects hijacking of an existing thread (OpenThread) through a behavioral chain involving thread suspension (SuspendThread), memory modification (VirtualAllocEx + WriteProcessMemory), context manipulation (SetThreadContext), and thread resumption—all within another live process's address space (ResumeThread).

WinEventLog:Sysmon WinEventLog:Sysmon etw:Microsoft-Windows-Kernel-Process WinEventLog:Sysmon
AN0914 Analytic 0914 DET0322

Detects ELF binaries written to disk that demonstrate anomalous file size or entropy, quickly followed by execution or memory region writes into remote processes (e.g., using ptrace).

auditd:SYSCALL auditd:SYSCALL auditd:SYSCALL
AN0915 Analytic 0915 DET0322

Identifies Mach-O binaries dropped into temporary directories with abnormally high binary size or padding patterns, followed by privilege escalation, `exec`, or memory mapping of other processes.

macos:endpointsecurity macos:endpointsecurity macos:endpointsecurity
AN0921 Analytic 0921 DET0324

Tracks modification of executables or interpreter payloads (e.g., Mach-O, dylib) that mutate across runs—using scripting engines, JIT compilers, or side-loaded plugins.

macos:unifiedlog fs:fsusage macos:endpointsecurity macos:endpointsecurity
AN0941 Analytic 0941 DET0331

Detects the use of message-based injection by monitoring for sequences involving FindWindow (EnumWindows or EnumChildWindows), VirtualAllocEx or related API calls, combined with suspicious PostMessage/SendMessage (e.g., LVM_SETITEMPOSITION) use to SysListView32 controls, followed by LVM_SORTITEMS invocation instead of WriteProcessMemory.

WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon etw:Microsoft-Windows-Win32k
AN0984 Analytic 0984 DET0347

Detects renamed binaries or scripts placed into trusted paths like /usr/bin or /lib with mismatched metadata or unexpected creation/modification times.

auditd:SYSCALL auditd:SYSCALL auditd:SYSCALL linux:osquery
AN1076 Analytic 1076 DET0382

Detects adversary use of suspended process creation, using the CREATE_SUSPENDED flag via CreateProcess, followed by unmapping the memory of the child process (NtUnmapViewOfSection) and replacing it with malicious code via VirtualAllocEx/WriteProcessMemory, then SetThreadContext and ResumeThread to begin execution within the hollowed process.

WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon etw:Microsoft-Windows-Kernel-Process
AN1214 Analytic 1214 DET0438

Detects custom archive routines by correlating script execution (Python, Perl, Bash) with creation of high-entropy files in temporary or user directories. Flags processes performing unusual bitwise operations or writing files without standard compression headers.

auditd:SYSCALL auditd:FILE linux:osquery
AN1215 Analytic 1215 DET0438

Detects custom archiving by monitoring execution of Swift/Objective-C apps or scripts producing high-entropy files with non-standard headers. Correlates unified logs of abnormal NSFileHandle/NSData operations, memory use of XOR/bitwise operations, and file creation events.

macos:unifiedlog macos:unifiedlog macos:unifiedlog
AN1241 Analytic 1241 DET0448

Detects the redirection of syscall execution flow via modification of VDSO code stubs or GOT entries to load and execute a malicious shared object through mmap and ptrace.

auditd:SYSCALL auditd:memprotect auditd:file-events linux:osquery
AN1289 Analytic 1289 DET0467

Detects thread local storage (TLS) callback injection by monitoring memory modifications to PE headers and TLS directory structures during or after process hollowing events, followed by anomalous thread behavior prior to main entry point execution.

WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon EDR:memory
AN1398 Analytic 1398 DET0507

Adversary gains high integrity or special privileges (e.g., SeDebugPrivilege), locates a running browser process, opens it with write/inject rights, and modifies it (e.g., CreateRemoteThread / DLL load) to inherit cookies/tokens or establish a browser pivot. Optional step: create a new logon session or use explicit credentials, then drive the victim browser to intranet resources.

WinEventLog:Security WinEventLog:Security WinEventLog:Security WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon
AN1400 Analytic 1400 DET0508

Detects ptrace- or memfd-based process injection through audit logs capturing system calls (e.g., ptrace, mmap) targeting running processes along with suspicious file descriptors or memory writes.

auditd:SYSCALL auditd:SYSCALL linux:procfs
AN1481 Analytic 1481 DET0537

1) Package manager or curl/wget installs/upgrades from non-approved repos or unsigned packages; 2) new ELF written into PATH directories or replacement of existing binaries/libraries; 3) first run leads to unexpected child processes or outbound connections.

auditd:SYSCALL auditd:SYSCALL journald:package NSM:Flow
AN1535 Analytic 1535 DET0556

MSBuild.exe is invoked outside expected developer/build contexts or with anomalous arguments (e.g., non-canonical paths, remote shares, Base64/obfuscated property values). Within a short window, it (a) spawns high-risk LOLBins/script interpreters, (b) writes new PE/DLL/script artifacts into user-writable paths and executes them, (c) loads unsigned/user-writable modules, (d) performs memory injection/thread creation into other processes, and/or (e) initiates outbound network connections.

WinEventLog:Security WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Microsoft-Windows-CodeIntegrity/Operational EDR:AMSI
AN1551 Analytic 1551 DET0562

Windows environmental validation behavioral chain: (1) Rapid system discovery reconnaissance through WMI queries, registry enumeration, and network share discovery, (2) Environment-specific artifact collection (hostname, domain, IP addresses, installed software, hardware identifiers), (3) Cryptographic operations or conditional logic based on collected environmental values, (4) Selective payload execution contingent on environmental validation results, (5) Temporal correlation between discovery activities and subsequent execution or network communication

WinEventLog:Security WinEventLog:Security WinEventLog:Security WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:Sysmon WinEventLog:WMI WinEventLog:PowerShell

Detection Strategies

24
DET0009 Supply-chain tamper in dependencies/dev-tools (manager→write/install→first-run→egress) DET0023 Obfuscated Binary Unpacking Detection via Behavioral Patterns DET0062 Detection Strategy for Disable or Modify Linux Audit System Log DET0087 Encrypted or Encoded File Payload Detection Strategy DET0100 Behavioral Detection of Asynchronous Procedure Call (APC) Injection via Remote Thread Queuing DET0106 Behavioral Detection of PE Injection via Remote Memory Mapping DET0139 Detection of Credential Harvesting via API Hooking DET0164 Detection Strategy for Overwritten Process Arguments Masquerading DET0176 Drive-by Compromise — Behavior-based, Multi-platform Detection Strategy (T1189) DET0189 Detection Strategy for Indicator Removal from Tools - Post-AV Evasion Modification DET0295 Behavioral Detection of Thread Execution Hijacking via Thread Suspension and Context Switching DET0322 Detection Strategy for Junk Code Obfuscation with Suspicious Execution Patterns DET0324 Detection Strategy for Polymorphic Code Mutation and Execution DET0331 Detection Strategy for ListPlanting Injection on Windows DET0347 Detection Strategy for Masquerading via Legitimate Resource Name or Location DET0382 Detection Strategy for Process Hollowing on Windows DET0438 Detect Archiving via Custom Method (T1560.003) DET0448 Detection Strategy for VDSO Hijacking on Linux DET0467 Detection Strategy for TLS Callback Injection via PE Memory Modification and Hollowing DET0507 Detect browser session hijacking via privilege, handle access, and remote thread into browsers DET0508 Behavioral Detection of Process Injection Across Platforms DET0537 Behavioral detection for Supply Chain Compromise (package/update tamper → install → first-run) DET0556 Behavior-chain detection strategy for T1127.001 Trusted Developer Utilities Proxy Execution: MSBuild (Windows) DET0562 Multi-Platform Execution Guardrails Environmental Validation Detection Strategy

Details

MITRE ID
DC0020
STIX ID
x-mitre-data-component--d5fca4e4-e47a-487b-873f-3d22f8865e96
Analytics
29
Detection Strategies
24
Leaving Threaticon

This link opens an external site that isn't part of the platform.