Now that we have gained some knowledge of the essentials of Visual Basic, it's time to shift our focus and learn how to dissect Visual Basic samples. In this section, we are going to perform detailed static and dynamic analysis.
Dissecting Visual Basic samples
Static analysis
The common part for VB malware is that the code generally gets executed as part of the SubMain routine and event handlers where timer and form load events are particularly typical.
As we have already mentioned, the choice of tools will be defined by the compilation mode that's used when creating a malware sample.