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

22:14:14 Injection of (process) (PID [REDACTED[) failed. Sandboxes are not supported #89

Open
PROMPTYLOL opened this issue Jul 8, 2024 · 1 comment

Comments

@PROMPTYLOL
Copy link

im encountering this issue when I attempt to inject into processes like backgroundtaskhost, opera.exe process, the "backiee.exe" app from microsoft store (the wallpaper thing), one process of discord.exe (other discord processes are injected), fontdrvhost.exe, one of the "Messenger" app processes (there are 2), msedge.exe, etc

@bytecode77
Copy link
Owner

I'm not sure on what integrity level Discord.exe runs with, but more than likely it's a sandbox (low integrity level). Injecting sandboxes has always been troublesome. Afterall, these processes usually communicate to their "masters", so to speak, so they typically never list directories, or processes. Many times, sandboxed processes don't have those privileges anyway.

Here is the location in the code responsible for not injecting sandboxed processes:

// Sandboxes tend to crash when injecting shellcode. Only inject medium IL and above.
DWORD integrityLevel;
if (GetProcessIntegrityLevel(process, &integrityLevel) && integrityLevel >= SECURITY_MANDATORY_MEDIUM_RID)
{
	...

image

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

No branches or pull requests

2 participants