Malicious PDF — malware analysis report

Static analysis result for SHA-256 b8374c04c58fa045…

MALICIOUS

PDF

16.1 KB Created: 2009-09-25 19:43:64 Authoring application: PDF Library 4.10.10 (via PDF Library 9.7.9)
MD5: 8ae18bcc2a93a66e9e4d583b8d9ed673 SHA-1: 321420d3ba9b8f259a3e378fd4c2849723529e69 SHA-256: b8374c04c58fa045ea892a6f49cee7bcd473e4e8436e6c58b24bbe6381ef9cf8
88 Risk Score

Malware Insights

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

The PDF file contains obfuscated JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT, PDF_JS, PDF_EVAL, and PDF_FROMCHARCODE. The `eval()` call and `String.fromCharCode` are commonly used to deobfuscate and execute malicious code. The embedded JavaScript file `javascript_obj0007_000.js` is the primary artifact. While the exact payload is not clear due to obfuscation, the techniques suggest the script is designed to download and execute a second-stage payload.

Heuristics 7

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • ASCIIHexDecode filter (with exploit indicators) medium PDF_FILTER_HEX
    Hex-encoding filter present alongside exploit delivery indicators — often used to hide payload or shellcode bytes
  • 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)
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSSyntaxError. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
55c51c17359f515fde9dd0a77cdce7e0aab592479804568a92ca4dd7379cf02a
pdf-javascript-stream PDF /JS object 7 at offset 0x268 170356 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).