Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 866 Bytes

Forfiles.md

File metadata and controls

36 lines (24 loc) · 866 Bytes

UPDATE BOOKMARKS - PROJECT MOVED TO A DEDICATED PROJECT SITE. THIS SITE WILL NOT BE UPDATED ANYMORE, BUT WILL BE KEPT FOR HISTORICAL REASONS.

New site: https://github.com/LOLBAS-Project/LOLBAS Web portal: https://lolbas-project.github.io/

Forfiles.exe

  • Functions: Execute, Read ADS
forfiles /p c:\windows\system32 /m notepad.exe /c calc.exe     

forfiles /p c:\windows\system32 /m notepad.exe /c "c:\folder\normal.dll:evil.exe"    

Acknowledgements:

  • Eric - @vector_sec
  • Oddvar Moe - @oddvarmoe

Code sample: *

Resources:

Full path:

C:\Windows\system32\forfiles.exe
C:\Windows\sysWOW64\forfiles.exe

Notes: