Static analysis relies on features extracted without executing code while dynamic analysis extracts 1
features based on execution. 2
In general static analysis is more efficient while dynamic analysis can be more informative, particularly 3
in cases where the code is obfuscated. 4
On the other hand automated analysis usually involves running the malware sample inside a malware sandbox 5
while running a number of scripts that perform a combination of static and dynamic analysis.