Common Information
Type | Value |
---|---|
Value |
AppInit DLLs - T1103 |
Category | Attack-Pattern |
Type | Mitre-Enterprise-Attack-Attack-Pattern |
Misp Type | Cluster |
Description | Dynamic-link libraries (DLLs) that are specified in the AppInit_DLLs value in the Registry keys <code>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows</code> or <code>HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows</code> are loaded by user32.dll into every process that loads user32.dll. In practice this is nearly every program, since user32.dll is a very common library. (Citation: Engame Process Injection July 2017) Similar to Process Injection, these values can be abused to obtain persistence and privilege escalation by causing a malicious DLL to be loaded and run in the context of separate processes on the computer. (Citation: AppInit Registry) The AppInit DLL functionality is disabled in Windows 8 and later versions when secure boot is enabled. (Citation: AppInit Secure Boot) Detection: Monitor DLL loads by processes that load user32.dll and look for DLLs that are not recognized or not normally loaded into a process. Monitor the AppInit_DLLs Registry values for modifications that do not correlate with known software, patch cycles, etc. Monitor and analyze application programming interface (API) calls that are indicative of Registry edits such as RegCreateKeyEx and RegSetValueEx. (Citation: Engame Process Injection July 2017) Tools such as Sysinternals Autoruns may also be used to detect system changes that could be attempts at persistence, including listing current AppInit DLLs. (Citation: TechNet Autoruns) Look for abnormal process behavior that may be due to a process loading a malicious DLL. Data and events should not be viewed in isolation, but as part of a chain of behavior that could lead to other activities, such as making network connections for Command and Control, learning details about the environment through Discovery, and conducting Lateral Movement. Platforms: Windows Data Sources: Loaded DLLs, Process monitoring, Windows Registry Effective Permissions: Administrator, SYSTEM Permissions Required: Administrator System Requirements: Secure boot disabled on systems running Windows 8 and later |
Details | Published | Attributes | CTI | Title | ||
---|---|---|---|---|---|---|
Details | Website | 2022-04-07 | 17 | 11 Critical Malware Persistence Mechanisms You Must Know | ||
Details | Website | 2022-02-16 | 0 | Autoruns for Windows - Windows Sysinternals | ||
Details | Website | 2020-05-13 | 66 | Ramsay: A cyber‑espionage toolkit tailored for air‑gapped networks | WeLiveSecurity | ||
Details | Website | 2018-10-17 | 14 | Flare-On 5 CTF WriteUp (Part 2) | ||
Details | Website | 2017-07-18 | 21 | Ten process injection techniques: A technical survey of common and trending process injection techniques | ||
Details | Website | 2017-07-18 | 21 | Ten Process Injection Techniques: A Technical Survey Of Common And Trending Process Injection Techniques |