Loaded Module Enumeration Via Tasklist.EXE

 Original Source: [Sigma source]
Title: Loaded Module Enumeration Via Tasklist.EXE
Status: test
Description: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.
References:
  -https://www.n00py.io/2021/05/dumping-plaintext-rdp-credentials-from-svchost-exe/
  -https://pentestlab.blog/tag/svchost/
Author: Swachchhanda Shrawan Poudel
Date: 2024-02-12
modified:2024-03-13
Tags:
  • -'attack.t1003'
  • -'attack.credential-access'
Logsource:
  • product: windows
  • category: process_creation
Detection:
  selection_img:
Image|endswith:'\tasklist.exe' OriginalFileName:'tasklist.exe'   selection_flags:
    CommandLine|contains|windash: '-m'
  selection_module:
    CommandLine|contains: 'rdpcorets.dll'
  condition:all of selection_*
Falsepositives:
  -Unknown
Level: medium