Discovery · Windows
tasklist.exe
Tasklist
Lists running processes, services and loaded modules, locally or on a remote host. Often used to look for security tools or to find the LSASS process ID.
Legitimate use
Used to check what is running and which services share a process.
Switches
Shows the services hosted in each process.
LowVerbose output, including the user that owns each process.
LowShows the DLLs loaded by each process, or the processes that load a given DLL.
LowFilters the output, for example by image name or PID.
LowQueries a remote computer.
MediumAccount for the remote query.
MediumPassword for the remote query, in clear text.
MediumCommand lines to worry about
Where it is recorded
- Security4688Process creation with the full command line, when command-line auditing is enabled.
- Sysmon1Process creation with command line, hashes and parent process.
Community detections
4 SigmaHQ rules for tasklist.exe. The explainer checks every pasted command line against all of them.
- CriticalSuspicious Child Process Of Veeam Dabatase
Detects suspicious child processes of the Veeam service process. This could indicate potential RCE or SQL Injection.
by Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious Child Process Of SQL Server
Detects suspicious child processes of the SQLServer process. This could indicate potential RCE or SQL Injection.
T1505.003T1190by FPT.EagleEye Team, wagga
- HighWebshell Detection With Command Line Keywords
Detects certain command line parameters often used during reconnaissance activity via web shells
T1505.003T1018T1033T1087by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, Anton Kutepov, oscd.community, Chad Hudson, Matt Anderson
- MediumLoaded Module Enumeration Via Tasklist.EXE
Detects the enumeration of a specific DLL or EXE being used by a binary via "tasklist.exe". This is often used by attackers in order to find the specific process identifier (PID) that is using the DLL in question. In order to dump the process memory or perform other nefarious actions.
T1003by Swachchhanda Shrawan Poudel
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.