Skip to content
Write-up Intermediate

Static Analysis Of Ranas apt39 Vbs Malware Sample

The report analyses a malicious VBS script embedded in a Microsoft Office document used by the APT39 group. When opened, the document deobfuscates and extracts two scripts, which could then execute on the victim's machine.

Adetomiwa Follow

Published on systemweakness.com

The FBI identified several malicious VBS scripts used by Rana (APT39). The VBS malware was embedded in Microsoft Office documents.

Adetomiwa, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary code on the victim's machine, potentially leading to further compromise.

What the attacker needed

Victim opens a malicious .doc file

How it was found

  1. Open the malicious .doc file.
  2. The document deobfuscates and extracts two VBS scripts.
  3. The extracted scripts are executed, potentially via wscript.exe.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a write-up about analysing a malicious document that contains hidden code. When a victim opens the document, it runs a script that extracts and runs other scripts, which is how the attacker gains control of the computer. The analysis uses tools to look inside the document without running it.

More by Adetomiwa

View all

2 more disclosed reports, best first.

Similar reports

Same bug class and techniques, clearest first.