Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Created July 9, 2015 13:38
Show Gist options
  • Save mbrownnycnyc/6c1ffc7992ba6dadbae2 to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/6c1ffc7992ba6dadbae2 to your computer and use it in GitHub Desktop.
Quick decrypt script for quarantined files from Trend OfficeScan
@echo off
setlocal
if exist "C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Admin\Utility\VSEncrypt" set PATH="C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Admin\Utility\VSEncrypt";%PATH%
del /f /d "C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Admin\Utility\VSEncrypt\VSEncrypt.log"
cd "C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Virus"
dir /b
set /p filetarget="File to decrypt? "
copy %filetarget% %filetarget%_encrypted >NUL
VSEncode.exe -d /f %filetarget%
more "C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Admin\Utility\VSEncrypt\VSEncrypt.log"
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment