FORENSIA

ATT&CK · T1055.004 · sub-technique

Asynchronous Procedure Call

Tactics: stealth, privilege-escalation

About

Adversaries may inject malicious code into processes via the asynchronous procedure call (APC) queue in order to evade process-based defenses as well as possibly elevate privileges. APC injection is a method of executing arbitrary code in the address space of a separate live process. APC injection is commonly performed by attaching malicious code to the APC Queue of a process's thread. Queued APC functions are executed when the thread enters an alterable state. A handle to an existing victim process is first created with native Windows API calls such as <code>OpenThread</code>. At this point <code>QueueUserAPC</code> can be used to invoke a function (such as <code>LoadLibrayA</code> pointing to a malicious DLL). A variation of APC injection, dubbed "Early Bird injection", involves creating a suspended process in which malicious code can be written and executed before the process' entry point (and potentially subsequent anti-malware hooks) via an APC. AtomBombing is another variation that utilizes APCs to invoke malicious code previously written to the global atom table. Running code in the context of another process may allow access to the process's memory, system/network resources, and possibly elevated privileges. Execution via APC injection may also evade detection from security products since the execution is masked under a legitimate process.

Platforms: WindowsParent: T1055 Process InjectionMITRE ATT&CK ↗

Used by actors

1 known groups

Software

12 malware/tools implement this

TURNEDUPInvisiMoleAttorIcedIDCarberpPillowmintSaint BotBumblebeeBADHATCHSardonicXLoaderHeartCrypt

Corpus indicators tagged with this technique

44 indicators in the corpus carry T1055.004.

IndicatorTypeFamilySevSrc
a59742d3086924c5f511d248df01601bfbf723359590fb3f3ba355f2792cc455sha256phishing802
f8da52ff98e66b137b5d31908f0a5d0fa1eb446034337f8bba3d5bba60f586besha256phishing802
a6821c7e9bfe2e6af0f690d906ec6a26161e2198c256fb60f3b4731c317f3ad9sha256phishing802
f4491736743a16f1278b8ba01649ee93343764e35ae5e1c0d5e0c0e1d7e32c14sha256phishing802
ddcf66ecc61dc6b8cd36748d284d8cb45a470201b5373dd2bfc47700c7da32e1sha256phishing802
d52540621dec5ed56cac8532f0e4fe10a7575c3e17e984f59646909fa587dd35sha256phishing802
162e436f18fe6099c57855c8d63fd747493624e87702dc749b242eb9a6b758casha256phishing802
17e41d66ebfd56edc960f58f4285697ceceaa812514bb15092672c747979896esha256phishing802
1a01ad25712d306f27f526332fdccf959f2de53207b54e4e80f60faa804d6cb6sha256phishing802
1b46f761719dce44baa2d7b417c5214fc41c080f7f9ba485e7e489d949097f1fsha256phishing802
2751281d3800d82ecd3fad7c1d2293f3b947875a343b0672b4f4024a261165d2sha256phishing802
2a27b3415114b874da295c19cce5227a8b8d9525cc2da331034a1f45528eecaesha256phishing802
2c7a99f137efd718f89cf8b260379c99af89ea1939568df09314918f2c5999a3sha256phishing802
365024336c7681ac0854321ac6c140a245b9593285da02d2a590124cdc592370sha256phishing802
36e3838d07978f49ebe6546d57d2f311b8d6566558bcd58448e921c988cc346asha256phishing802
451ac8ca34d5bcdfe476465f69eb517b2608f267c7e8d69f8ef36197a6f1d949sha256phishing802
47dedb08385449d48d8b6543030310317c92cddafa25e14ee0cb9a32d53ced5csha256phishing802
575ce92c473e6d47810321e309a4e29dd7f52f4152526b0bdca80f54b53aed2fsha256phishing802
5b9bf7957a9f8869c87ace1a6d76b48e2623073e72739ad0636b5dfa4bb2e0c3sha256phishing802
603fd9724de346a06e00c1b8502c2ac1180812a18bbf30032dab8d469e5c18e1sha256phishing802
6ae334ce60d1a9b7fb96d1d0d0eda5ec7c2c31d3f0cf3e4d7e3056504d50043dsha256phishing802
6ca7a458985350ac082a9c9820d7f8d39128a4c4bda2f5d32f169a45b7b22bc6sha256phishing802
7dc77a5abab119960fbe42b1535c957020cce1b8e0a3cf58d4eddc51b5bf9940sha256phishing802
896185a89bd7eb0520b03fdcfb8db0be98b43cf15f14041d73b23d3988c1bcabsha256phishing802
964256d3259b6e0c701ec04116c45cf0ec381c1c209dc29b09a7930cd7a4810bsha256phishing802
a080b5380ccc8fc40b24c02151d305efc32d931dc547881e01a2e6f2b070c7dcsha256phishing802
a1835d333ac3db961a8ff1f4864e3c10a6f73a872c040599091390a009ac7804sha256phishing802
a32ac345e39cb7606322e2155bd7b4d6941c1678619e48d1f14d9301ee53e6c0sha256phishing802
650e751e8ee5f5958c6a70288a24a4e3d19904a2sha1phishing782
c33f097fdb2b69b4cbb1c3f29ae88b43md5phishing762

Showing the top 30 by severity of 44.