Malicious PDF — malware analysis report

Static analysis result for SHA-256 371203be5ef2e117…

MALICIOUS

PDF

5.4 KB
MD5: 96d7ebc5ea681bfc232e490d8f8f8d06 SHA-1: 41fc8581b963724f6b3839fb70ed5a1c3bcc3a00 SHA-256: 371203be5ef2e117b2c5b631118193b7a8fc36a3f5f096543e316a53ff61d94b
106 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

The PDF contains embedded JavaScript, which is heavily obfuscated using eval() and unescape() calls. The deobfuscated JavaScript likely downloads and executes a second-stage payload from the URL http://dogmun.com/ddt/tmp/printf.pdf. The presence of JavaScript actions and streams, along with the use of eval and unescape, strongly suggests a malicious intent to deliver further malware. The extracted JavaScript files, 'javascript_obj111611_000.js' and 'legacy_pdfkit_stage_000.js', are indicative of this payload delivery mechanism.

Heuristics 7

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.pctools.com
    • http://dogmun.com/ddt/tmp/printf.pdf
    • http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
    • http://www.w3.org/1999/xhtml

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj111611_000.js
772da696bdb365f3f1eb4ea6af881baad391be62f3591b19f2f9827fcc4c9b53
pdf-javascript-stream PDF /JS object 111611 at offset 0x7D6 479 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
bf7895481c7c7347dab468eb08c9bbffab209db5885a72dc1724b3b8f5c6d8ef
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x189 2816 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).