Malicious PDF — malware analysis report

Static analysis result for SHA-256 b8ba5f4a87087cf7…

MALICIOUS

PDF

12.1 KB
MD5: 56572e55109571035c4f1e8dd56a40f3 SHA-1: e3118f3acfc8ef6155366e57676afa67ca66f913 SHA-256: b8ba5f4a87087cf7aa53ccb8dacc6149fe5f8aa9f14525c9f57b1196adf63d36
198 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, triggered by the 'Collab.collectEmailInfo' function, which is known to be vulnerable (CVE-2007-5659). This JavaScript is obfuscated and appears to be a stager for downloading and executing additional malicious content, as indicated by the extracted files 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js'. The primary attack vector is likely the exploitation of this PDF vulnerability to achieve remote code execution.

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)
  • Annotation subject percent-decoding eval stager critical PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER
    OpenAction JavaScript forces annotation enumeration, reads an annotation /Subject payload with getAnnots(), rewrites marker bytes into percent escapes, decodes it with unescape(), and dispatches it through eval. This is a high-confidence exploit-kit staging pattern. It is intentionally not mapped to CVE-2009-1492 unless getAnnots() itself carries the crafted integer or long argument shape for that vulnerability.
  • ClamAV: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • 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.
  • 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
6f60a1053baafdc578f85eae84a2dc6d16775fbd66240d82cbfb7b4f4ff4e90a
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 295 bytes
legacy_pdfkit_stage_000.js
7b3ac9bee23ad6339c4cb9153231a8101bd63284f2abbf847825f583f030b4bb
deobfuscated-js z-percent hex-pair decoded JavaScript at offset 0x2E9 5144 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
ab1ab62f07c0e6c69a8b15b8e721d697acdb02f44f90735c5700f80b5176bf81
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2E9 12174 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).