Hi all !
I'd like to write a program that logs who tried to connect to a PC over the network. The program is to run on a local PC and should only show who (username/PC name) tried to log in to that local machine and perhaps notify the user on the local PC or even ask him whether the other person should be allowed to enter. So, basically I want to make a better version of 'NetWatcher' as it comes with Windows98.
One of the reasons is that we experienced that some virus on a PC in one of our european offices checked all computers in our office searching for shared hard drives and directories that might not be secured (by passwords). Another reason is that I want to learn from this and then use this knowledge to improve the self-made program
s running in our plant.
The problem is I don't know where to start. We have a TCP/IP network, 100 Mbits, UTP cabling, Windows NT servers, IP numbers are supplied by the system.
What do you suggest ? Perhaps some of you have made a similar program ? I'd be much obliged if a could see some basic code (written in C/C++ that is 😉 ).
Thanks in advance !