Skip to content

Instantly share code, notes, and snippets.

@vnStrawHat
vnStrawHat / keybase.md
Last active September 14, 2019 10:05
Keybase.md

Keybase proof

I hereby claim:

  • I am vnstrawhat on github.
  • I am trangngo1516 (https://keybase.io/trangngo1516) on keybase.
  • I have a public key ASAN6I4yKcGapASKxd4D5tuK7ZbvcHpeEyaFIjKm2lywkAo

To claim this, I am signing this object:

@vnStrawHat
vnStrawHat / windows_hardening.cmd
Created May 28, 2019 04:52 — forked from jaredhaight/windows_hardening.cmd
Script to perform some hardening of Windows OS.
::
::#######################################################################
::
:: Change file associations to protect against common ransomware attacks
:: Note that if you legitimately use these extensions, like .bat, you will now need to execute them manually from cmd or powershell
:: Alternatively, you can right-click on them and hit 'Run as Administrator' but ensure it's a script you want to run :)
:: ---------------------
ftype htafile="%SystemRoot%\system32\NOTEPAD.EXE" "%1"
ftype WSHFile="%SystemRoot%\system32\NOTEPAD.EXE" "%1"
ftype batfile="%SystemRoot%\system32\NOTEPAD.EXE" "%1"