Skip to content

1768.py

What 1768.py does

Guided SUSA tool journey

1768.py supports malware analysis. In this guide, you will use it to extract configuration from a safe training sample without executing it. The procedure and screenshots provide the practical reference; the surrounding context explains what to record and how to judge the result.

Tool guide at a glance

Investigation task

Extract configuration from a safe training sample without executing it.

Starting material

An inert or purpose-built training sample stored in a disposable isolated analysis VM.

Successful outcome

A static observation or capability finding with sample hash, tool output, and confidence statement.

Evidence and safety

Do not execute unknown samples on SUSA. Disable shared folders and credentials, and use only authorised training material. Record the input identifier, tool version, relevant commands or settings, time and time zone, output location, and any errors or limitations as you work.

Choose your journey

How the labs complement this guide

The Interactive Lab is a safe browser simulation for practising the workflow and validation logic. The Full Lab is an independent exercise for an isolated, authorised environment. Confirm the installed tool version and expected output before relying on either exercise in a real case.

Accessing 1768.py in SUSA

1768.py is a Python tool by Didier Stevens used to extract and decode Cobalt Strike Beacon configuration from files such as PE executables, shellcode, and memory dumps.

Download 1768.json and 1768.py.

Screenshot: Download 1768.json and 1768.py

Screenshot: Download 1768.json and 1768.py

Move the two files to C:\Tools\1768 folder.

Screenshot: Move the two files to C:\Tools\1768 folder

Move the two memory samples from C:\Tools\VolatilityWorkbench-v2.1 to C:\Lab\memory.

Screenshot: Move the two memory samples from C:\Tools\VolatilityWorkbench-v2.1 to C:\Lab\memory

Open a command prompt and run the following command against your extracted process memroy (minidump) for CCC.exe. Note this is for testing purposes and 1768.py is known to produce a lot of false positives.

Adding 1768.py to Path Environment

Open Environment Variables (Start → Environment Variables → Edit the system environment variables → Environment Variables).

Screenshot: Open Environment Variables (Start → Environment Variables → Edit the system environment variables → Environment Variables)

Under User variables, select path and click Edit.

Screenshot: Under User variables, select path and click Edit

Click New and add (one entry per line):

C:\Tools\1768

Screenshot: Click New and add (one entry per line):

Click OK (then OK on other windows to save changes).

Testing 1768.py

Open an administrator Command Prompt and run the following command:

python C:\Tools\1768\1768.py -x C:\Labs\memory\minidump.dmp

Screenshot: Open an administrator Command Prompt and run the following command:

The -x flag increases false positives because it tells 1768.py to try all 256 possible single-byte XOR keys when looking for a Cobalt Strike config.

To reduce the false positives, use the sanity check flag -S

python C:\Tools\1768\1768.py -S C:\Labs\memory\minidump.dmp

If prompted to install minidump module, install it by running:

pip install minidump

If prompted to update pip, update it by running:

C:\Users\analyst\AppData\Local\Python\pythoncore-3.14-64\python.exe -m pip install --upgrade pip

Screenshot: If prompted to update pip, update it by running:

The result of the command should be similar to below screenshot:

Screenshot: The result of the command should be similar to below screenshot: