Search found 89 matches

by Sirmabus
Mon Sep 28, 2015 2:57 pm
Forum: madCodeHook
Topic: Microsoft Edge hooking
Replies: 36
Views: 42849

Re: Microsoft Edge hooking

Keep playing around. You might even just ask Microsoft on their forum. Maybe first explaining your software is not malicious, etc. Just a guess, they probably want you to go the "legit" route by making some BS extension/plug-in. Anyhow keep messing with it, if it's important to you. Maybe ...
by Sirmabus
Sat Sep 19, 2015 7:58 pm
Forum: madCodeHook
Topic: Microsoft Edge hooking
Replies: 36
Views: 42849

Re: Microsoft Edge hooking

Thanks much. The internals seem to have little documentation if at all. Have you figured out how to reverse these in a meaningful way? From what I understand so far is you submit your application to the MS store as .NET code. At Microsoft they take this code and compile it to platform targets. So if...
by Sirmabus
Fri Sep 18, 2015 8:18 pm
Forum: madCodeHook
Topic: Microsoft Edge hooking
Replies: 36
Views: 42849

Re: Microsoft Edge hooking

Yep, got it to work just had to reboot after setting the access rights for what ever reason. I set the root of the project's folder to "ALL APPLICATION PACKAGES" which in turn sets the DLL or anything else I build in it with the needed rights. Now I'm trying to figure out how to break out ...
by Sirmabus
Tue Sep 15, 2015 9:38 pm
Forum: madCodeHook
Topic: Microsoft Edge hooking
Replies: 36
Views: 42849

Re: Microsoft Edge hooking

I'm not the OP. Just trying to help :-) I wanted to avoid getting into the whole WinRT world my self, but now do some project in it for fun. Also he should try this at least for troubleshooting, under "Settings" , "UPDATES & SECURITY", "For developer": set to "...
by Sirmabus
Mon Sep 14, 2015 2:21 pm
Forum: madCodeHook
Topic: Microsoft Edge hooking
Replies: 36
Views: 42849

Re: Microsoft Edge hooking

Apparently just "ALL APPLICATION PACKAGES" rights (DLL directly, or entire dev folder) alone is not enough. I found this in doing tests recently. With Windows 10 we probably need to have our DLL cross-signed like it says in that article. What I found that does work is to put my DLL in any ...
by Sirmabus
Mon Mar 15, 2010 2:33 pm
Forum: madCodeHook
Topic: Hooking Direct3d without hooking Direct3DCreate9
Replies: 4
Views: 5833

Use some sort of code signature (search for a pattern of bytes) inside of the right loaded D3D DLL (don't know off hand). Then you can hook the D3D methods of interest directly. To make the signature, look at a D3D9 sample, or make some test code in a debugger and break when you get the interface po...
by Sirmabus
Fri Oct 16, 2009 12:03 pm
Forum: madCodeHook
Topic: NtOpenKey problem
Replies: 3
Views: 3889

Go look at your OP here: viewtopic.php?t=5039
I updated it with some info.

Sounds similar to the project I did, at least for this need.
Can you share some details of your project?
by Sirmabus
Fri Oct 16, 2009 11:22 am
Forum: madCodeHook
Topic: registry key/value information from handle
Replies: 9
Views: 10536

Guys I'm facing a big problem. I read some docs on the net and found out that NtQueryKey/RegQueryKey requires that the HKEY param have to be created with KEY_QUERY_VALUE, KEY_READ, or KEY_ALL_ACCESS security flags. And so, if the HKEY is created with KEY_WRITE security attribute, than these functio...
by Sirmabus
Fri Oct 09, 2009 8:33 am
Forum: madCodeHook
Topic: RegCreateKeyA/W, RegCreateKeyExA/W
Replies: 4
Views: 6000

You need to look at the call chains through "advapi32.dll" and "ntdll.dll".

If you can't find them documented, then you can find them your self by
loading the DLL's into IDA Pro et al.
You'll need to do this for every OS you want to support XP,Vista,Win7, etc.
by Sirmabus
Fri Oct 09, 2009 8:24 am
Forum: madCodeHook
Topic: registry key/value information from handle
Replies: 9
Views: 10536

Use "NtQueryKey()" with "KeyNameInformation" (3).
Works on XP anyhow.

That gives you NT/kernel style paths.

Now I wish my self there was a clean way to convert these NT paths into a nice Win32 style.
I made my own detailed parser for it..
by Sirmabus
Fri Jan 02, 2009 10:53 am
Forum: madCodeHook
Topic: help wife is spying on me
Replies: 2
Views: 3415

:crazy: comic relief..

Then stop downloading porn, so she has nothing to spy on you about..
by Sirmabus
Thu Aug 07, 2008 11:33 am
Forum: madCodeHook
Topic: connect hook doesn't work.
Replies: 2
Views: 3301

Use a debugger. Stick a breakpoint on "connect()" and step through what happens. If it's difficult to put a debugger on the application before it gets to the "connect()" (because it's from a chain of creates), then put a "_asm int3" in there which hopefully will allow y...
by Sirmabus
Thu Aug 07, 2008 11:22 am
Forum: madCodeHook
Topic: Hooking recv function
Replies: 5
Views: 5846

I'm hooking recv in client process and I want to send it to the client IMHO that makes next to no sense to in normal client/server relationship concepts. Your client is already receiving the message, why does it need to be sent to it?? Normally recv means incomming, send = outgoing. You want to &qu...
by Sirmabus
Thu Jul 10, 2008 10:30 pm
Forum: madCodeHook
Topic: RegQueryValueExA() hook on Vista failing.
Replies: 3
Views: 4907

HookAPI() is returning TRUE, which I thought was odd for it still failing some place (and all is working fine in WinXP 32bit). I did a lot of stuff like dumping out the first 16bytes of RegQueryValueExA code right after HookAPI() and renew. At no time were any of the bytes modifed so my assumption w...
by Sirmabus
Thu Jul 10, 2008 10:08 pm
Forum: madCodeHook
Topic: FileNameFromHandle causing exception in certain MS apps
Replies: 12
Views: 11013

Don't guess.
Attach a debugger and find out exactly where the exception happens and why...