Selects and executes a command on a file or set of files. This command is useful for batch processing.
forfiles /p c:\windows\system32 /m notepad.exe /c calc.exe
Executes calc.exe since there is a match for notepad.exe in the c:\windows\System32 folder.
Use forfiles to start a new process to evade defensive counter measures
C:\Windows\System32\forfiles.exe, C:\Windows\SysWOW64\forfiles.exe
Sigma: https://github.com/SigmaHQ/sigma/blob/6312dd1d44d309608552105c334948f793e89f48/rules/windows/process_creation/proc_creation_win_lolbin_forfiles.yml
Eric (@vector_sec), Oddvar Moe (@oddvarmoe)