One of my friends has recently found malicious activity on his device. He hasn't lost anything monetary yet, but he has been getting password recovery requests sent to his email from all the various sites on which he uses his email to login. My friend has changed all his passwords and backup his data, and I have cutoff the device's network access and lent him one of my own machines.

I would like to study the extent to which his device has been compromised and what his computer has done on behalf of the attacker.

With some work I was able to find what looks like a Java Generic RAT, and was able to track what site he downloaded the RAT from. Based on the trojan's download date, I can deduce for how long the trojan has been active. The RAT has installed a keylogger and mouselogger on his device, and some of the keylogs and mouselogs are still stored in files on the device. They logs were sent via a simple HTTP connection to the attacker. I assume these have already been compromised, and there could be even more keylogs that were automatically deleted by the logger after being received by the attacker.

My questions are the following:

  1. Is there any way in Windows to determine a list of all executables/jars/commands that were issued from the time the trojan was downloaded to the time we disabled it? I would like to see exactly what was done on the machine on behalf of the Trojan. I could also do this by examining the trojan's source code more carefully, but this would be a time-consuming process, especially because of how well obfuscated the trojan is.

  2. Is there a way to view the raw HTTP packets that were downloaded/uploaded on behalf of this Trojan during its activity? If these packets happen to be unencrypted, then I should be able to use these to figure out exactly what has been compromised. Does Windows/JVM store this sort of thing somewhere?

  • Regarding the first paragraph: Are you sure the password recovery requests come from his device? Anyone can go to the password recovery page and type in your email address... (but the next paragraphs say you actually found a trojan, which is a 100% confirmation that he has a trojan :P) Commented Dec 16, 2020 at 14:44

1 Answer 1


The answer to your first part of the question is only if the device had those activity logs enabled. And the trojan would probably have deleted or disabled those logs.

And the answer to the second part is only if your friend had network traffic logging enabled somewhere on the device or network. Logging on the device would probably have been disabled by the trojan anyway, so look to their network logs.

In summary - almost certainly a no, but use the Event Viewer to check on the device, just in case logging was enabled.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .