Post: How to detect RATs/Keyloggers with cmd and task manager
12-04-2013, 04:23 PM #1
Lxgion
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); ========================================================================================

How To Detect RATs/Keyloggers With Cmd and Task Manager

========================================================================================




1. To get started, open up your TaskManager by right clicking your TaskBar and selecting TaskManager or just hit CTRL+ALT+DEL to get it open.

2. Once that is done, click the "Processes" tab of your TaskManager and click View -> Select Columns -> Make sure that "Process Identifier(PID)" is ticked.

You must login or register to view this content.


3. Now click the PID column to make sure that all the processes are sorted in a specific order. This step is not necessary, but it will make it easier for you to detect processes using their IDs.

You must login or register to view this content.


You must login or register to view this content.

Once you've done that right, we're going to move on to part 2 of our tutorial, which is using CMD to view established connections.
========================================================================================
Step Two Using Cmd

========================================================================================
Assuming you know how to open up CMD, I'm just going to rush through step 1.
1. Start -> Run -> CMD
OR
Just type in cmd in the searchbar if you're running a system powered by Windows7.

2. Once cmd is open, I want you to type in "netstat -ano".
Your result should be something like this:

You must login or register to view this content.


3. Now what we're interested in are only the connections with the state "ESTABLISHED".
Isolate them out and look for the PID right next to them. There will be many connections with "ESTABLISHED" state, you'll have to repeat the following steps for all of them.

You must login or register to view this content.


This is the fun part. Now go back to the Task Manager and look for the name of the process(es) that has the same PID(s) as the one you found with the ESTABLISHED connection(s).

You must login or register to view this content.


In the above case, it's a safe and trusted application known as Dropbox, so I'm good. But incase you find a process which you do not know, if it's something like svchost.exe that you're sure is infected, right click the process and select "Open File Location".

Now all you have to do is right click the file and scan it using your AV or upload it to an online scanner such as VirusTotal.com and check if it's infected.

You must login or register to view this content.


It's as easy as that.
Hope you find this useful.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Lxgion for this useful post:

Josh

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo