The AIDS Trojan was the first documented ransomware from 1989 that hid and encrypted file names on DOS PCs and demanded a payment to regain access after a set number of reboots.