The new docs.trellix.com offers a modernized UI and AI-powered features like conversational searches. Content is currently available only in English. Other languages will be available in mid-October 2026. We hope you enjoy the new experience.

Detect InstallUtil execution

Prev Next

Most of the malicious software uses InstallUtil to execute the untrusted files. This sample Expert rule detects when InstallUtil is used to execute .exe or .dll files.

Note

Exploit Prevention is not supported in the ARM architecture.

You can exclude the known and trusted applications in the rule, to allow the regular processes for executing .exe and .dll files.

Important

Make sure to test this Expert rule on a client system before enforcing wider.

Rule {
Process {
    Include DESCRIPTION { -v ".NET Framework installation utility" }
}
Target {
    Match FILE {
        Include OBJECT_NAME { -v "**.EXE**"  }
        Include OBJECT_NAME { -v "**.DLL**"  }

Exclude AggregateMatch {        
        Include OBJECT_NAME { -v "C:\\WINDOWS\\**" }
        Include OBJECT_NAME { -v "C:\\PROGRAM FILES\\MCAFEE\\**" }
        Include OBJECT_NAME { -v "C:\\PROGRAM FILES\\COMMON FILES\\MCAFEE\\**" }
        Include OBJECT_NAME { -v "C:\\PROGRAM FILES (X86)\COMMON FILES\\MCAFEE\\**" }
        }

# Excluding known apps
        Exclude AggregateMatch {        
            Include OBJECT_NAME { -v "**snake1.exe*" }
            Include MD5 { -v 2f3b994e836d731d04ad4cf0f37f10ab }
        }
        Include -access "READ WRITE CREATE EXECUTE"
        }              
    }
}

For more Expert Rules examples, visit the Trellix Github repository.