문제

I have a couple of signatures and I want to build a File System Filter Driver which can check all possible operations with the signatures. If a match is found than the Filter Driver should drop the IRP packet completely.

Is it possible to do that?

도움이 되었습니까?

해결책

Yes.

You're describing what just about every anti-virus package does. You'll need to brush up on your NT-kernel mode development chops, and get familiar with File System MiniFilters. You'll also want to start lurking on OSR NTFSD listserv.

A filter driver cannot "drop an IRP completely". What it CAN do is complete them before lower drivers see them, or in the case of IRP_MJ_CREATE, cancel them before in a post operation callback.

Buckle up, you're in for a bumpy ride :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top