I have analysed a shortcut virus statically and its impact on USB drives and wrote a code to repair its damage.
My static analysis of this malware on USB drives:
It creates shortcuts for all folders and files present in my removable drive.
In order to infect the computer, it modifies the autorun.inf file and thereby infects the PC when removable drive is plugged in.
I analysed this statically without executing anything. (I mean just analyzing the removable drive)
So in order to solve these issues I wrote a small piece of code to iterate over the drive to find shortcuts and fixing the attributes. I used several iteration techniques to dive through the drive fixes the auto-run problem of USB drive.
This of-course fixes the problem of the USB drive. But shortcut viruses infect the computer modifying the start-up and registry.
I want to see what the malware changes, so I want to analyse the malware dynamically. Static malware analysis will not help here, I am sure of it.
To analyse the malware I need to set up an environment suitable for analysis.
I came to know about virtual machines like VMWare will do that. I have no problem with that but some suggest Linux is the best OS for analyzing malware.
Since this malware modifies the registry entry and start-up I am quite confused about which operating system to install. To analyse Malware which affects the Windows platform, I think I should install Windows or should I install Linux or something?
I have all the tools to analyse the malware statically.