I have Avast family pack with the server edition running on my Windows Home Server (Windows 2003 server) and the professional edition on my PC's. For three nights in a row Avast detects PHP/C99Shell-A in a temp file on the server. The file is detected and moved to the Chest presumably before it can do any damage.
This is from the Avast log:
05.08.2009 01:35:53 Sign of "PHP:C99Shell-A [Trj]" has been found in "C:\Documents and Settings\Administrator\Local Settings\Temp\Temp_{1F019F8F-5169-4018-9371-2972F7C1B064}.bin" file.
06.08.2009 00:20:09 Sign of "PHP:C99Shell-A [Trj]" has been found in "C:\Documents and Settings\Administrator\Local Settings\Temp\Temp_{2E220728-EF7E-40CB-996E-204CBD09E616}.bin" file.
07.08.2009 00:20:30 Sign of "PHP:C99Shell-A [Trj]" has been found in "C:\Documents and Settings\Administrator\Local Settings\Temp\Temp_{995E3DD3-82F6-4A0B-B4DA-5D159F4EB71B}.bin" file.
I've run several full scans, but no other signs of trouble are found. So the question is, who or what is downloading this file in the middle of the night? I'm the administrator and I'm asleep

Only open port in the router is 22 (SSH) since I always access the server via RDP over SSH when I'm out of the house. So this trojan is presumably being downloaded via some program I've inadvertently installed myself, or it's using some flaw in windows that has not yet been fixed by Microsoft (server is fully patched via windows update). The family's three laptops are also scanned without any trace of badware.
I don't like this at all. Any tips on how I can find the source is appreciated.