Advertisement
CiberSeguridadUTFSM

UTFSM-petya

Jun 27th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem
  2. rem @Author: CiberSeguridadUTFSM
  3. rem @E-mail: ciberseguridadutfsm@gmail.com
  4. rem @Website: fb.me/CiberSeguridadUTFSM
  5. rem @Description:
  6. rem Script to avoid further execution of malware Petya
  7. rem The malware creates several files at the beginning of its execution. If it can't get a valid handle to some of those files it will finish the execution without infecting the computer
  8. rem This script creates an empty file with the same name of one of the files needed by the malware with reading permission
  9. rem Please note, that this script will only stop the execution of the ransomware if it's run on your machine using Administrator privileges. After you download it, rename it with .bat extension then run it as Administrator
  10. rem Please, feel free to share it, but keep this copyright text unchanged
  11. rem
  12. del %WINDIR%\perfc.* /f
  13. echo > %WINDIR%\perfc
  14. echo > %WINDIR%\perfc.dat
  15. echo > %WINDIR%\perfc.dll
  16. attrib +R %WINDIR%\perfc.*
  17. echo DONE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement