Wednesday, January 1, 2020

Questions in Malware Identification

Week 5

When thinking about malware identification or analysis we typically think of 'baselining' but what does this mean? In a computer network, it means we see the traffic we expect to see. How do we know what we should expect to see? This all comes with knowing the network you are supposed to protect. Same works for a host station. How can we identify a malware process? To do this, we must differentiate normal processes from abnormal.

There are questions the analyst should be asking when thinking about suspicious processes. Is this process launched by an unexpected user? Is it running in a suspicious location such as TEMP? Is the processes misspelled such as 'expllorer.exe' instead of 'explorer.exe'? All these questions and more should be asked by the analyst to determine if the process is of normal system behavior. The relationship between a parent and child process can help determine normal behavior as well.

Prefetch files are cache files that are generated when a program is installed or ran on a host system. They provide insight to files that were recently ran on the system. They contain a list of files, pointers to DLLs or other accessed files. It can also contain the number of times the program was executed and the most recent executed date. When malware runs on a system, they may use normal system processes to raise less suspicion in their own intent. Will there be any prefetch files for the malware program running? Yes and no. Malware actors are sometimes aware of prefetch files and may use anti-forensic techniques to be deleted right away. However, because there is no prefetch file does not mean a program was not executed.

Lastly, I will talk about windows registry hives and ask; what type of keys are generated or artifacts will be found in registry should there be malware operating on the system? Windows registry files are a database of settings, options and information for applications. The most important registry hive in terms of malware analysis will be the Software hive. There is a plethora of information stored here such as installed software or programs set to autorun. This means windows has the ability to start and run processes without any user interaction. Malware may attempt to disable or remove installed programs so that it can be ran, taking the place of a normal process.

The tactics used in hiding malware are near endless. There are many questions we as analysts should ask to close in the scope of identifying malware. The system behavior may tip off what questions to ask and where the analyst should begin analysis. Understanding normal processes can help identify abnormal ones quicker but malware actors are aware of this and attempt to hide their processes, sometimes naming them a similar name as a normal process.


References:

https://www.hackers-arise.com/post/2016/10/21/digital-forensics-part-5-analyzing-the-windows-registry-for-evidence

https://pdfs.semanticscholar.org/9276/23cd4d9654bc669b734d37e60dec0fe43d51.pdf

No comments:

Post a Comment