During TCM Security's Practical Malware Analysis & Triage (PMAT) course, one of the samples you get to tear apart is a trojanized version of PuTTY. I nicknamed it SillyPutty . On the surface, it looks and acts like normal PuTTY. Underneath, it is running a fileless PowerShell backdoor that phones home over TLS. This is the walkthrough of how I pulled it apart.
Starting Simple: What Is This Thing?
The first move with any unknown binary is file :
Ξ» file putty.exe putty.exe: PE32 executable (GUI) Intel 80386, for MS Windows, 10 sections
Enter fullscreen mode
Exit fullscreen mode
32-bit Windows executable. Nothing unusual yet. It even launches a perfectly normal PuTTY window when you run it.β¦