LEGAL DISCLAIMER: This "hack" has been performed by using virtual machines running on my own computer. Don't use it against other people's systems, unless you've been given explicit written permission by their owners. I'm not responsible for any unintended use of these instructions.
A bunch of people on Quora keep asking me why it's so important to keep your system up-to-date.
They think if they keep using Windows XP, they're fine.
This post answers their questions better than any words.
Kali Linux includes a tool, called msfvenom, allowing to realize a custom payload for you to hack into a victim machine.