Adversaries may attempt to get information about running processes on a system. Information obtained could be used to gain an understanding of common software running on systems within the network.An example command that would obtain details on processes is "tasklist" using the Tasklist utility.
In Mac and Linux, this is accomplished with the
ps
command.
Utilize ps to identify processes
Supported Platforms: macOS, CentOS, Ubuntu, Linux
Name | Description | Type | Default Value |
---|---|---|---|
output_file | path of output file | path | /tmp/loot.txt |
ps >> #{output_file}
ps aux >> #{output_file}