Detectionhightest

Mavinject Inject DLL Into Running Process

Detects process injection using the signed Windows tool "Mavinject" via the "INJECTRUNNING" flag

Open in Detection LabConvert ruleBuild Package
François Hubaut, Florian Roth (Nextron Systems)Created 2021-07-12Updated 2022-12-054f73421b-5a0b-4bbf-a892-5a7fb99bea66windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        CommandLine|contains: ' /INJECTRUNNING '
    filter:
        ParentImage: 'C:\Windows\System32\AppVClient.exe' # This parent is the expected process to launch "mavinject"
    condition: selection and not filter
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Testing & Validation

Regression Tests

by frack113
Positive Detection Test1 matchevtx

Microsoft-Windows-Sysmon

Related Rules
Similar

17eb8e57-9983-420d-ad8a-2c4976c22eb8

Rule not found
Rule Metadata
Rule ID
4f73421b-5a0b-4bbf-a892-5a7fb99bea66
Status
test
Level
high
Type
Detection
Created
2021-07-12
Modified
2022-12-05
Path
rules/windows/process_creation/proc_creation_win_lolbin_mavinject_process_injection.yml
Raw Tags
attack.privilege-escalationattack.stealthattack.t1055.001attack.t1218.013
View on GitHub