How can I have my process detect if antivirus injected a module or DLL to it?

I am writing an installer process (.exe). My installer deploys different components. It will add registry entries, copy files, copy files over the network, remote execute, remote PowerShell, local Powershell, etc.
Sometimes, antivirus DLLs… Continue reading How can I have my process detect if antivirus injected a module or DLL to it?