Malicious PDF — malware analysis report

Static analysis result for SHA-256 7d9df0955c6847b9…

MALICIOUS

PDF

11.7 KB
MD5: d37fa7afe0b947c7f0f334e4c5f71459 SHA-1: f81f5cd239402be5fadc93380c7d08317736983f SHA-256: 7d9df0955c6847b9ffedea4af394a7bf8a02057db757fb98e2d6a5baa8a406bc
146 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link or Document T1566.001 Spearphishing Attachment T1204.002 Malicious File

The PDF file contains embedded JavaScript that exploits CVE-2007-5659, specifically targeting the Collab.collectEmailInfo function. The heuristics indicate that this JavaScript is encoded and likely serves as a loader for a secondary stage, as evidenced by the extracted files legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js. ClamAV also detected this as Pdf.Exploit.Agent-35903, confirming its malicious nature. The primary attack pattern involves leveraging a known PDF vulnerability to execute arbitrary code.

Heuristics 6

  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • ClamAV: Pdf.Exploit.Agent-35903 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35903
  • 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.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed stream)
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
860eae5f96eb426380281c575a089242b50523bbb4bbb8dd765e582cd9c07d2e
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 294 bytes
legacy_pdfkit_stage_000.js
9ec0e2999a18f0b085b0b144f7f8574367b504d0e86a584d6ac3d1ecc7584eb5
deobfuscated-js z-percent hex-pair decoded JavaScript at offset 0x2E8 4931 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
ed884a4fcc0f2b3f9e0dff8b0324c21faf5621e420a41752b9c5b5ef66d874b8
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2E8 11847 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).