2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Mavinject.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Used by App-v in Windows
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: MavInject.exe 3110 /INJECTRUNNING c:\folder\evil.dll
|
|
|
|
Description: Inject evil.dll into a process with PID 3110.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Inject dll file into running process
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1218.013
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: Mavinject.exe 4172 /INJECTRUNNING "c:\ads\file.txt:file.dll"
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Inject file.dll stored as an Alternate Data Stream (ADS) into a process with PID 4172
|
|
|
|
Usecase: Inject dll file into running process
|
2018-09-26 09:34:01 +02:00
|
|
|
Category: ADS
|
2018-09-24 21:59:43 +02:00
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1564.004
|
2021-12-14 16:50:17 +01:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\mavinject.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\mavinject.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Code:
|
2018-09-24 21:59:43 +02:00
|
|
|
Detection:
|
2023-10-18 17:30:34 +02:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_lolbin_mavinject_process_injection.yml
|
2021-11-15 14:19:03 +01:00
|
|
|
- IOC: mavinject.exe should not run unless APP-v is in use on the workstation
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- 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'
|