Malicious PDF — malware analysis report

Static analysis result for SHA-256 23d3cdc6a3f09fcf…

MALICIOUS

PDF

15.4 KB
MD5: 62d3a4cdda67766ef2234ea9a97802b4 SHA-1: 5cd01678b7c830be4aa8746c54d8e2e550d831f5 SHA-256: 23d3cdc6a3f09fcf70f5bcc5184b0c6ad96d7454cfd95c43755b94a46dc0b1e5
66 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT, PDF_JS, and PDF_EVAL. The JavaScript stream utilizes eval() and String.fromCharCode() for obfuscation, suggesting an attempt to hide malicious code. The primary function of this script appears to be downloading and executing a second-stage payload from a remote source, although the specific URL is not directly extractable due to the obfuscation.

Heuristics 5

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
5e83b426ba701ce2d219f76b7d95612e341535f1b0545c37dd88dc8144a55b9d
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 307 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
cd803f8a74e4c96d36070ffc4f0dc37fcf6f0ddaeb1b4b0ac60deff40ad12250
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1992 12671 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).