Unable to inject a dll using madcodehook driver for app stor

contains all delphi packages mentioned below
manutai
Posts: 85
Joined: Sun Aug 03, 2008 1:40 am

Re: Unable to inject a dll using madcodehook driver for app

Post by manutai »

i want share the link of VM but not publicly should i mail you link or any other way .
madshi
Site Admin
Posts: 10528
Joined: Sun Mar 21, 2004 5:25 pm

Re: Unable to inject a dll using madcodehook driver for app

Post by madshi »

Yes, you can send it via email.
manutai
Posts: 85
Joined: Sun Aug 03, 2008 1:40 am

Re: Unable to inject a dll using madcodehook driver for app

Post by manutai »

I have sent you the link over mail.
Bevan Collins
Posts: 42
Joined: Fri Jul 07, 2006 2:50 am

Re: Unable to inject a dll using madcodehook driver for app

Post by Bevan Collins »

sorry to drag up this old thread. Did this issue get resolved? I'm also unable to inject into App Store applications on Windows 10.0.17763 64bit.
I have tested using HookProcessCreation after adding "ALL APPLICATION PACKAGES" NTFS read/execute rights to the folder. Windows Photos app, candy crush, searchui.exe don't get injected even if system-wide injection happens before application launch.
iconic
Site Admin
Posts: 1028
Joined: Wed Jun 08, 2005 5:08 am

Re: Unable to inject a dll using madcodehook driver for app

Post by iconic »

Include INJECT_METRO_APPS in your InjectLibrary flags. Are you already doing this? That demo doesn't have that flag automatically added. Also, instead of adding the permissions yourself can you try placing your DLL in a folder where your DLL will automatically inherit such permissions from the containing folder, such as C:\Program Files, C:\Windows etc? Make sure you're also not using any *special* manifests inside your DLL, it can create issues.

*Edit*

You'll notice, in the above folders I mentioned, your DLL will also inherit the "ALL RESTRICTED APPLICATION PACKAGES" permissions.
Seems MS isn't done adding UWP (metro style) restrictions quite yet to newer builds of Windows 10

--Iconic
Bevan Collins
Posts: 42
Joined: Fri Jul 07, 2006 2:50 am

Re: Unable to inject a dll using madcodehook driver for app

Post by Bevan Collins »

oops INJECT_METRO_APPS was missing, working now. Thanks iconic
iconic
Site Admin
Posts: 1028
Joined: Wed Jun 08, 2005 5:08 am

Re: Unable to inject a dll using madcodehook driver for app

Post by iconic »

Glad it's working for you now. Easy thing to overlook because it's a relatively new MCH flag :D

--Iconic
Post Reply