BTLO Memory Analysis - Ransomware (Writeups)

By: Lwan Eain Ko On: Jul 11, 2021 CTF Write up, Forensics 65

Memory Analysis - Ransomware

In forensics category, as we already know that if the title is memory analysis, we need to use volatility tool.

volatilityfoundation/volatility: An advanced memory forensics framework (

For this challenge, I used python and volatility tool ( on Kali Linux VM for this challenge. 

Q1. Run “ -f infected.vmem --profile=Win7SP1x86 psscan” that will list all processes. What is the name of the suspicious process?

For Q1, we don't have to think about which command to use for check the image profile and  suspicious process that is already given in question " -f infected.vmem --profile=Win7SP1x86 psscan".

So, we just need to run.

# python volatility/ -f --profile=Win7SP1x86 psscan

Scroll down to bottom...... you will see an abnormal process with unusual parent ID as shown in below screenshot.

So, answer is @WannaDecryptor.

Q2. What is the parent process ID for the suspicious process?

The parent process ID of @WannaDecryptor is 2732.

Q3. What is the initial malicious executable that created this process?

It is easy to know that the parent process ID (2732) of @WannaDecryptor is the process ID of or4qtckT.exe (executable).

Q4. If you drill down on the suspicious PID ( -f infected.vmem --profile=Win7SP1x86 psscan | grep (PIDhere)), find the process used to delete files.

we need to scan the suspicious PID (2732) with given command.

#  python volatility/ -f --profile=Win7SP1x86 psscan | grep 2732

After you run the command, it will show four processes and taskdl.exe is deletion tool for deleting the files.

So, answer is taskdl.exe.

Q5. Find the path where the malicious file was first executed?

For this question, we can use two commands 'cmdline' or 'filescan'.

# python volatility/ -f --profile=Win7SP1x86 cmdline | grep or4qtckT

So, answer is C:\Users\hacker\Desktop\or4qtckT.exe.


# python volatility/ -f --profile=Win7SP1x86 filescan | grep or4qtckT

we already know that \Device\HarddiskVolume1 is C: directory.

So, answer is C:\Users\hacker\Desktop\or4qtckT.exe.

Q6. Can you identify what ransomware it is? (Do your research!)

I used two keywords (or4qtckT.exe and @WannaDecryptor) for googling.

We will see that is WannaCry.

Q7. What is the filename for the file with the ransomware public key that was used to encrypt the private key? (.eky extension)

As I mentioned earlier, let's use that filescan command again.

So, the answer is 00000000.eky.


BTLO account is