6. Listing DLLs
Throughout this book, you have seen examples of malware using DLL to implement the malicious functionality. Therefore, in addition to investigating processes, you may also want to examine the list of loaded libraries. To list the loaded modules (executable and DLLs), you can use Volatility's dlllist
plugin. The dlllist
plugin also displays the full path associated with a process. Let's take an example of the malware named Ghost RAT. It implements the malicious functionality as the Service DLL, and as a result, the malicious DLL gets loaded by the svchost.exe
process (for more information on Service DLL, refer to the Service section in Chapter 7, Malware Functionalities and Persistence). The following is the output from the dlllist
, where you can see a suspicious module with a non-standard extension (.ddf)
loaded by the svchost.exe
process (pid 800
). The first column, Base
, specifies the base address, that is, the address in the memory where the module is loaded:
$ python vol...