Malicious PDF — malware analysis report

Static analysis result for SHA-256 c370be34ce27942b…

MALICIOUS

PDF

12.3 KB
MD5: 40e231cdfbcc08807466968898e9a2f6 SHA-1: 240c89f1f14399a4694617dda3d5e4bd6bc0d28c SHA-256: c370be34ce27942ba79f1c8ecd8925e556f7d7ce8afd088372eddc00f8e5a4f0
146 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link T1204.002 Malicious File

The PDF file contains embedded JavaScript, identified by the CVE_2007_5659 heuristic, which targets a known vulnerability in Adobe Reader. The extracted JavaScript streams, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, are indicative of a multi-stage exploit. The primary function of the embedded script appears to be downloading and executing a secondary payload, as suggested by the ClamAV detection and the nature of the extracted files. The specific exploit used is CVE-2007-5659, related to the Collab.collectEmailInfo function.

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
71147895acbd358e8db08d157516e1e27a748122044f4b17445f659142a66bb4
deobfuscated-js z-percent hex-pair decoded JavaScript at offset 0x2E8 5213 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
2709e6a59351a2afbb91e5c87c37a5834df86dc6982eb36cfc836144e388d085
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2E8 12388 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).