Hi, I want to know how does PCHunter enumerate ports. I try these ways to test, all failed:
1.Hook IRP_MJ_DEVICE_CONTROL of TCPIP.SYS(NT5) or TDX.SYS(NT6).
2.Hook IRP_MJ_DEVICE_CONTROL of TCPIP.SYS(NT5) or TDX.SYS(NT6), delete TCPIP.SYS(NT5) or TDX.SYS(NT6) to prevent PCHunter get original address.
3.Hook NETIO!NsiGetAllParametersEx and NETIO!NsiGetParameterEx, return STATUS_UNSUCCESSFUL (test on NT6).
All these ways can bypass NETSTAT.EXE, but no effect for PCHunter.
1.Hook IRP_MJ_DEVICE_CONTROL of TCPIP.SYS(NT5) or TDX.SYS(NT6).
2.Hook IRP_MJ_DEVICE_CONTROL of TCPIP.SYS(NT5) or TDX.SYS(NT6), delete TCPIP.SYS(NT5) or TDX.SYS(NT6) to prevent PCHunter get original address.
3.Hook NETIO!NsiGetAllParametersEx and NETIO!NsiGetParameterEx, return STATUS_UNSUCCESSFUL (test on NT6).
All these ways can bypass NETSTAT.EXE, but no effect for PCHunter.