Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is it possible to disallow the execution of a process? #2018

Open
Soulfate24 opened this issue Apr 4, 2024 · 5 comments
Open

Question: Is it possible to disallow the execution of a process? #2018

Soulfate24 opened this issue Apr 4, 2024 · 5 comments

Comments

@Soulfate24
Copy link

Hi everyone,
I want to prevent the execution of a process, for example "Unwanted.exe" on Windows 11. I've tried Group Policies and the Registry, but apart from directly changing the permissions of the executable file, nothing works. Is it possible to prevent the execution of "Unwanted.exe" from System Informer, which is always open in the background, without modifying permissions of the "Unwanted.exe" file?

Many thanks :)

@smallmodel
Copy link

The hard native way: in the registry, create a key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options named Unwanted.exe and inside that key, create a new REG_SZ value named Debugger and set the data to /

@dmex
Copy link
Member

dmex commented Apr 5, 2024

Applications can bypass/ignore the IFEO debugger key:

  1. NtCurrentPeb()->ReadImageFileExecOptions = FALSE;
  2. calling ShellExecute() or CreateProcess()

Is it possible to prevent the execution of "Unwanted.exe" from System Informer,

Yes, but we haven't added the configuration to manage the feature.

@Soulfate24
Copy link
Author

Soulfate24 commented Apr 5, 2024

Thank you both for this information. I no longer wish to use Process Lasso or install it on the concerned computer. I haven't restarted my machine for the registry hack but it doesn't seem to work. In my case, it's a Windows process made useless by the use of Open-Shell.

I'll be looking forward to a future update!

Cheer up

@tnodir
Copy link

tnodir commented Apr 17, 2024

@Soulfate24 Please try Fort Firewall to prevent the execution of process ("Kill Process" action).

@Soulfate24
Copy link
Author

Soulfate24 commented Apr 22, 2024

@Soulfate24 Please try Fort Firewall to prevent the execution of process ("Kill Process" action).

Thank you very much. I've installed and configured it. Windows is now functional using only 2 GB on the 32 GB on my computer :)
I just need to temporary disable Fort Firewall filters to install a Store app.

436586132_314778008310836_3767697337836150707_n
436765083_1357527028244642_5853169293163787336_n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants