Search found 211 matches

by Brock
Sun Jul 15, 2018 6:31 pm
Forum: Kernel-Mode Development
Topic: Design Question
Replies: 1
Views: 2081

Re: Design Question

Take a look at the Inverted Call Model. Instead of your usermode application using DeviceIoControl with a supplied IOCTL to the driver the driver queues event info to the usermode application, hence the name Inverted.
by Brock
Tue Jul 03, 2018 10:47 pm
Forum: User-Mode Development
Topic: Process Doppelganging
Replies: 7
Views: 16576

Re: Process Doppelganging

Interesting. Thanks for sharing Vrtule
by Brock
Wed May 23, 2018 11:32 pm
Forum: Kernel-Mode Development
Topic: why ExFreePool will blue screen
Replies: 3
Views: 3723

Re: why ExFreePool will blue screen

@lwbkm,

When you graduate to better understanding kernel memory allocation and general management you might also strongly consider, on Windows 8+ anyhow, using ExAllocatePool(NonPagedPoolNx, ...); or the newer compiler's opt-in flag instead of the NonPagedPool type. It's just a best practice is all
by Brock
Sat Apr 28, 2018 4:31 pm
Forum: Kernel-Mode Development
Topic: how to delete driver file and still Keep communication
Replies: 10
Views: 10243

Re: how to delete driver file and still Keep communication

Recently I am writing a rootkit software
This board doesn't support authoring of rootkits.
by Brock
Thu Feb 22, 2018 10:27 pm
Forum: Kernel-Mode Development
Topic: ObRegisterCallbacks return 0xC0000022 error
Replies: 2
Views: 3849

Re: ObRegisterCallbacks return 0xC0000022 error

Vrtule's way should work fine for you. If you want a link-time option though you can simply just use the /INTEGRITYCHECK flag
by Brock
Wed Dec 20, 2017 5:58 pm
Forum: Kernel-Mode Development
Topic: How to redirect registry key in registry callback?
Replies: 4
Views: 8099

Re: How to redirect registry key in registry callback?

Microsoft's sample code doesn't work on Microsoft's Regedit? What do you mean it "cannot" work? Have you verified this with other registry editors/viewers?
by Brock
Wed Dec 20, 2017 8:26 am
Forum: Kernel-Mode Development
Topic: How to redirect registry key in registry callback?
Replies: 4
Views: 8099

Re: How to redirect registry key in registry callback?

This should help you override and redirect the operation but I haven't tested it.

http://joyasystems.com/sample-code%2FWi ... s%2Fpost.c

*see example CallbackPostNotificationOverrideError()*
by Brock
Wed Nov 22, 2017 1:28 pm
Forum: Kernel-Mode Development
Topic: Invalid ProcessId in LoadImageNotifyRoutine
Replies: 2
Views: 4570

Re: Invalid ProcessId in LoadImageNotifyRoutine

If you're attempting to use Load Image notify routines as a source of tracking newly created processes you're better off using PsSetCreateProcessNotifyRoutine since it was designed for this purpose solely. About your issue you're experiencing with PsSetLoadImageNotifyRoutine, any section created and...
by Brock
Mon Nov 13, 2017 3:13 pm
Forum: Newbie Questions
Topic: Pls help find malware
Replies: 3
Views: 7493

Re: Pls help find malware

@lili If you're using IDA Pro 6.2+ you can switch into the user friendly Proximity View which will disassemble a complete call graph for you. The data and function code is separated for easy browsing and is displayed via tree nodes for simplified exploration. If you're looking for an in-depth guide ...
by Brock
Mon Oct 02, 2017 9:29 pm
Forum: Kernel-Mode Development
Topic: Some create process notifications cannot be removed
Replies: 6
Views: 10253

Re: Some create process notifications cannot be removed

Very possible the function is hooked as indicated by tcxyqs, malware has done this to do as he said and that is to prevent the removal of a callback it has installed so it guards it if the 2nd param of the function is set to TRUE (Removal). Anyhow, where are you calling PsSetCreateProcessNotifyRouti...