Malicious PDF — malware analysis report

Static analysis result for SHA-256 42efafc21205bfdc…

MALICIOUS

PDF

16.3 KB
MD5: 8309c4a926966248655c075a728cebf4 SHA-1: 12654c7d7200c03b47b4d2860f99278da2cdeb3d SHA-256: 42efafc21205bfdcb31a7e10986ccaffdaf45ae41d4641667d1b247f37eed369
66 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The PDF_EVAL and PDF_FROMCHARCODE firings suggest that the JavaScript is obfuscated and uses eval() and String.fromCharCode() for execution. The extracted JavaScript files, 'javascript_obj0004_000.js' and 'legacy_pdfkit_stage_000.js', are likely responsible for downloading and executing a second-stage payload. Due to the obfuscation, the exact nature of the payload and its ultimate destination could not be determined with high confidence.

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
f4d9301a39f62367f2eb67ca63691783efdaa5de613777d3627bf03a9ff1dcff
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 306 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
4a5caaeae1a9a88c6c2757a7811cd03496c67a41db00777125524fee0dcd7b2e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1B0A 11517 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).