.. /Mavinject.exe
Star

Execute (DLL)
Alternate data streams (DLL)

Used by App-v in Windows

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. Inject evil.dll into a process with PID 3110.

    MavInject.exe 3110 /INJECTRUNNING c:\folder\evil.dll
    Use case
    Inject dll file into running process
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1218.013
    Tags
    Execute: DLL
    This LOLBAS executes Dynamic-Link Libraries (DLLs).

Alternate data streams

  1. Inject file.dll stored as an Alternate Data Stream (ADS) into a process with PID 4172

    Mavinject.exe 4172 /INJECTRUNNING "c:\ads\file.txt:file.dll"
    Use case
    Inject dll file into running process
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1564.004
    Tags
    Execute: DLL
    This LOLBAS executes Dynamic-Link Libraries (DLLs).