The main types of computer forensics are database forensics, mobile forensics, network forensics, and malware forensics.