View Full Version : tcpip.sys?
disavowed
09-03-2002, 09:26 PM
i'm working on modifying how windows (xp) handles certain packets. for example, right now i'm trying to prevent windows from returning a RST when someone tries sending a (SYN-)ACK to a closed port. i'm assuming that this is controlled by tcpip.sys, but i'm not positive. has anyone done any work in this area before?
NervGaz
09-03-2002, 10:05 PM
probably... but why don't you just write your own KMD and intercept the (SYN-)ACK and just drop them? shouldn't be too hard
disavowed
09-04-2002, 02:43 AM
the problem is, despite all the reading i've been doing lately, i've had trouble finding an "easy" (without me having to re-write tcpip.sys or an ndis interpreter or something like that from scratch) way of intercepting them before they reach tcpip.sys (if that is what handles them). i don't see how a kmd would help

NervGaz
09-04-2002, 08:15 AM
I'm not sure when tcpip.sys is loaded ie. boot, system or automatic... but if you write a KMD that is loaded before tcpip.sys (providing it isn't loaded at boot) it would be before tcpip.sys in the driver chain, iirc, and as such would intercept the packages before it... or you could write one that simply hooks that part of it and RET's without handling it, in effect dropping it... but that is not so easy...
Snatch
09-04-2002, 08:43 AM
Im very interested in this work too. If I get bored I may track down where in tcpip.sys all the good stuff is. disavowed remember something called IDA Pro. And the other thing called symbols from Microsoft. They make a very powerful pair

. In fact I got way into plenty of sys files that way.
Snatch
foxthree
09-04-2002, 04:47 PM
Ppl:
Look for documentation on NDIS Intermediate Driver and prepare for nightmares and a heavy dosage of sleepless nites/caffeine....
Signed,
-- FoxThree
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.