Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 974 Bytes

Certutil.md

File metadata and controls

39 lines (25 loc) · 974 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/

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: