mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-25 22:39:27 +01:00
40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
---
|
|
Name: Mavinject.exe
|
|
Description: Used by App-v in Windows
|
|
Author: 'Oddvar Moe'
|
|
Created: 2018-05-25
|
|
Commands:
|
|
- Command: MavInject.exe 3110 /INJECTRUNNING c:\folder\evil.dll
|
|
Description: Inject evil.dll into a process with PID 3110.
|
|
Usecase: Inject dll file into running process
|
|
Category: Execute
|
|
Privileges: User
|
|
MitreID: T1218
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1218
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
|
- Command: Mavinject.exe 4172 /INJECTRUNNING "c:\ads\file.txt:file.dll"
|
|
Description: Inject file.dll stored as an Alternate Data Stream (ADS) into a process with PID 4172
|
|
Usecase: Inject dll file into running process
|
|
Category: ADS
|
|
Privileges: User
|
|
MitreID: T1096
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1096
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
|
Full_Path:
|
|
- Path: C:\Windows\System32\mavinject.exe
|
|
- Path: C:\Windows\SysWOW64\mavinject.exe
|
|
Code_Sample:
|
|
- Code:
|
|
Detection:
|
|
- IOC: mavinject.exe should not run unless APP-v is in use on the workstation
|
|
Resources:
|
|
- Link: https://twitter.com/gN3mes1s/status/941315826107510784
|
|
- Link: https://twitter.com/Hexcorn/status/776122138063409152
|
|
- Link: https://oddvar.moe/2018/01/14/putting-data-in-alternate-data-streams-and-how-to-execute-it/
|
|
Acknowledgement:
|
|
- Person: Giuseppe N3mes1s
|
|
Handle: '@gN3mes1s'
|
|
- Person: Oddvar Moe
|
|
Handle: '@oddvarmoe'
|
|
---
|