Malicious PDF — malware analysis report

Static analysis result for SHA-256 0ba7c7a42b9ee42a…

MALICIOUS

PDF

45.0 KB
MD5: b0e5fae934a4bdf6bf96c2493d76cea8 SHA-1: 977f8ad45af2d529c8b0fc315f7f3deaec1fe755 SHA-256: 0ba7c7a42b9ee42a41266dac2e0981cb0162bf3423f3a43f69d4e74ef00f795d
166 Risk Score

Malware Insights

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

The file is identified as malicious by ClamAV and a machine learning classifier, indicating it exploits a known PDF vulnerability. Embedded JavaScript streams were extracted, which are heavily obfuscated but appear to be designed to execute code. The primary function of the script is likely to download and execute a second-stage payload, as suggested by the exploit detection.

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
1919d1a4bf04d8cfa87a33a9bb60f2df06093c4f1e50056c2dd48621a6970570
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 45305 bytes
javascript_obj0008_001.js
9e0d16d2de9ce86180a62d9c444ca2221ded3c777f99f75e9a6bd1aad42691a6
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
57967946a3a13ecec732d905ef52cf1073360eee8ce36a404a4bd4e82df7eeab
deobfuscated-js double percent-decoded annotation JavaScript at offset 0x1E7 33047 bytes