Is there a way to access the shared memory(File Mapping Object) from a process that is executed as AppContainer?

0

Say there is two processes: server and client. Server simply calls CreateFileMapping() to create file mapping object and commits the memory by calling MapViewOfFile() and write on that memory. Meanwhile, client tries to access the memory and only reads what is written on the memory.

There is no problem when those two binaries run as medium integrity level (I haven't checked for the other two, but I can assume it will be alright). But the problem is when the client gets executed at the AppContainer Level. When the client calls OpenFileMapping(), it returns 0x00000005, Access Denied.

Then I found out msdn documentation about AppContainer.

It looks like AppContainer level is designed to prevent the app from affecting (or rather corrupting) resources on the computer. But there must be ways to read registry, etc., to perform the same job like other normal processes. How does the one with AppContainer level does that?

Is there a way I can access the memory?

c++
memory
shared-memory
dll-injection
file-mapping
asked on Stack Overflow May 22, 2020 by vaska11

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0