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

Access denied when trying to open Hearthstone process #11

Open
sebastientromp opened this issue Oct 23, 2019 · 5 comments
Open

Access denied when trying to open Hearthstone process #11

sebastientromp opened this issue Oct 23, 2019 · 5 comments

Comments

@sebastientromp
Copy link
Collaborator

Hey,

I have a user who reported an "Access denied" issue with the following stack trace:

Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.OpenProcessHandle(Int32 access)
at System.Diagnostics.Process.get_Handle()
at HackF5.UnitySpy.Util.Native.GetProcessModulePointers(ProcessFacade process)
at HackF5.UnitySpy.AssemblyImageFactory.GetMonoModule(ProcessFacade process)
at HackF5.UnitySpy.AssemblyImageFactory.Create(Int32 processId, String assemblyName)

Running the app in Admin mode solves the issue.

However it's difficult to ask users to run the app as admin. Are you familiar with this? Are you aware of a way to ask for less permissions, so that it might work in more restrictive environments?

Looking at the trace I'm not sure exactly what part is causing the issue. It looks like Native.EnumProcessModulesEx is the only thing that does some actual access here, so it's probably it?

@hackf5
Copy link
Owner

hackf5 commented Nov 12, 2021

has anyone else reported this? i can imagine that examining the memory space of another program is something that av software looks for.

@sebastientromp
Copy link
Collaborator Author

I see this pretty often in the logs, yes.

@hackf5
Copy link
Owner

hackf5 commented Nov 12, 2021

ouch. that could mean that some av's have blacklisted the dll. it might be worth contacting the av software company to see if anything can be done about it.

An interesting check would be to rename the dll and see if it still gets picked up. that would tell you whether it's being blacklisted by name or behaviour.

@sebastientromp
Copy link
Collaborator Author

I had one AV (I think it was Panda? Not sure anymore) who blacklisted it because of the name. Renaming is something we said we'd do, but unfortunately I haven't been able to spend much time on it recently.

@hackf5
Copy link
Owner

hackf5 commented Nov 12, 2021 via email

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

2 participants