Mavinject Inject DLL Into Running Process

 Original Source: [Sigma source]
Title: Mavinject Inject DLL Into Running Process
Status: test
Description:Detects process injection using the signed Windows tool "Mavinject" via the "INJECTRUNNING" flag
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1056.004/T1056.004.md
  -https://posts.specterops.io/mavinject-exe-functionality-deconstructed-c29ab2cf5c0e
  -https://twitter.com/gN3mes1s/status/941315826107510784
  -https://reaqta.com/2017/12/mavinject-microsoft-injector/
  -https://twitter.com/Hexacorn/status/776122138063409152
  -https://github.com/SigmaHQ/sigma/issues/3742
  -https://github.com/keyboardcrunch/SentinelOne-ATTACK-Queries/blob/6a228d23eefe963ca81f2d52f94b815f61ef5ee0/Tactics/DefenseEvasion.md#t1055-process-injection
Author: frack113, Florian Roth
Date: 2021-07-12
modified:2022-12-05
Tags:
  • -'attack.privilege-escalation'
  • -'attack.stealth'
  • -'attack.t1055.001'
  • -'attack.t1218.013'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    CommandLine|contains: ' /INJECTRUNNING '
  filter:
    ParentImage: 'C:\Windows\System32\AppVClient.exe'
  condition:selection and not filter
Falsepositives:
  -Unknown
Level: high