Forfiles

Tool · ATT&CK S0193
1
Groups · 1 APAC
0
Campaigns
3
Techniques
0
CVEs cited
Profile

Forfiles is a Windows utility commonly used in batch jobs to execute commands on one or more selected files or directories (ex: list all directories in a drive, read the first line of all files created yesterday, etc.). Forfiles can be executed from either the command line, Run window, or batch files/scripts.

Used by
  • APT28 Asia-Pacific EU
    Espionage · RU Russia

Groups that ATT&CK documents using this program; a ransomware brand is listed with its own ransomware. A tool is used by many groups and by defenders: using it does not link two groups.

Reference
Text and mappings from MITRE ATT&CK®; citations are on the ATT&CK page. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use and licence.