PMA 110: Capa (15 pts extra)

What you need


To practice using Capa to see the capabilities of a sample easily.

Downloading capa

In a browser, go to

In the left column, click the green "Latest release" button.

At the bottom of the next page, download the correct version for your system. There are versions for Linux, MacOS, and Windows.

Unzip the downloaded file. It's a command-line utility.

Running capa

Open a Terminal or Command Prompt. Execute these commands to move to your Downloads folder and execute capa.

(On a Windows system, omit the "./".)

cd Downloads
If you are using a Mac, you see a message saying "...the developer cannot be verified...".

In System Preferences, click "Security & Privacy". On the General tab, in the lower section, you see a message saying capa was blocked, as shown below.

Click the "Allow Anyway" button.

Close Preferences.

Now you will be able to run capa from the Terminal, as shown below.

Downloading the Lab Files

If you don't already have the lab files on the machine running capa, go here:

Click PracticalMalwareAnalysis-Labs.7z.

On the next page, right-click Download and click "Save Link As...", as shown below.

The password to open the .7z file is malware

On Windows, extract the executable with 7-zip and run it.

On a Mac, use The Unarchiver twice to extract the files.

Analyzing Lab01-01.exe

Run capa on the Lab01-01.exe sample. This sample searches through the file system, as shown below.

PMA 110.1: Lab01-01.dll (10 pts)

Analyze Lab01-01.dll. This file has networking capabilities, as shown below. Find the word covered by a green box in the image below.

That's the flag.

PMA 110.2: Lab01-04.exe (5 pts)

Analyze Lab01-04.exe. This file uses two ATT&CK tactics, as shown below.

Find the word covered by a green box in the image below.

That's the flag.

Posted 9-8-2020