Malicious PDF — malware analysis report

Static analysis result for SHA-256 710ddb80cd2d6d1a…

MALICIOUS

PDF

45.0 KB
MD5: ba143daf4dd84aa9387e7ed376bb67c4 SHA-1: ebb874bf8eefa1de143720aea7496b33ca1dddc6 SHA-256: 710ddb80cd2d6d1a54af725f8e8997825f6d701db8b4eadb826e1894a24501ba
166 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The PDF file was flagged as malicious by multiple heuristics, including ClamAV and an ML classifier, indicating it contains an exploit. Embedded JavaScript streams were extracted, which are known to be used for executing malicious code. The primary function of the JavaScript appears to be the download and execution of a second-stage payload, as suggested by the obfuscated code and the nature of PDF exploits.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 4

  • ClamAV: Pdf.Exploit.Agent-36128 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36128
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • JavaScript action low PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Embedded JS stream low PDF_JS
    PDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
a83599f75a57526e907043f3cd00b3b52257645917e8d0c407985d937e36c480
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 45305 bytes
javascript_obj0008_001.js
9411ae86ffe73f2d2f3f2ee29506712e170dd7befbcbf0f893b53c58f69f7530
pdf-javascript-stream PDF /JS object 8 at offset 0x20A 45555 bytes
Detection
ClamAV: Pdf.Exploit.Agent-36128
Obfuscation or payload: unlikely
legacy_pdfkit_stage_000.js
b2220a58fc16890c16f4eb608bb81024e1405cae761d24f138a5a1ebb52621b1
deobfuscated-js double percent-decoded annotation JavaScript at offset 0x1E7 33047 bytes