I found this really nice document from Roger Grimes – it is about how and where malware hides itself. Roger is also speaking about less known features like ADS or ActiveSetup – I highly recommend to check it out 😉
I needed to solve this problem couple of times – you need to send message to specific servers, however you dont know their names. Of course you can create one directory where you will just create ini file with computer names, however there is also additional solution – Net Send.
As you probably know, using Net Send you can send messages to specified user or computer. However you can add “nickname” for computer – the alias for which it will also interact.
You are using Net Name command for this purpose. If you use
Net Name CitrixServer /Add
on your servers, they will show messages that are send to CitrixServer (Net Send CitrixServer “Shutting down”). This can be handy, right? 😉
UPDATE: Due to tons of spam I had to disable comments for this. If there is anything, just send it by Contact form… Spammers 🙁
This is extremely simple method to generate specified errorlevel:
Cmd /c Exit /B
For example using
Cmd /c Exit /B 99
will generate errorlevel 99, if you just want to clear the errorlevel, run
Cmd /c Exit /B 0