PDA

View Full Version : How to prevent COD1.1 to run .exe files/PowerShell ... ?



raphael
17th January 2023, 08:54
Hello

Do you know how to prevent COD 1.1 to run .exe files/PowerShell ? (in other words prevent it to run trojans...)

I guess there is a software available to temporary prevent any PowerShell / .exe files to be runt by anything, or by a specific process...
But I wanted to ask you how would you do.

(I noticed that joining CODExtended v21 servers, cod replaces codmp.exe and runs it, and also open some powershells)

IzNoGoD
17th January 2023, 17:13
Just run it through sandboxie? No clue exactly how, but it should mostly sandbox anything it does.

kung foo man
17th January 2023, 18:54
This is a good question and IMO one of the key points that this community still needs to tackle.

My first thought is to edit CoD2_mp.exe and turn CreateProcessA into a no-op, but I'm not even using Windows anymore to test it.

So another thing you can do is using Linux and make a "cod2" user account that has no rights whatsoever besides playing... and you can nuke that account easily and keep it in check (also make sure to run secure Linux versions to prevent local root exploits).

raphael
18th January 2023, 12:45
I thank you for your golden answers
I'll try your ideas and make a report here.