Malicious PDF — malware analysis report

Static analysis result for SHA-256 a94389e7bd305786…

MALICIOUS

PDF

9.6 KB Created: 2009-02-19 14:45:49 -02:00 Authoring application: Writer (via OpenOffice.org 3.0)
MD5: a5012fd8df3d510f605adae5ab96b504 SHA-1: ff0b4bde08409c0ce8a344942656793b35929184 SHA-256: a94389e7bd305786d80310f9bd15a4e49c999c8ad9d0eb4bdf828fe18ab91b59
196 Risk Score

Malware Insights

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

The PDF contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The presence of PDF_LAUNCH and PDF_EVAL, along with a critical ClamAV detection for Pdf.Exploit.Agent-35541, strongly suggests the JavaScript is malicious. The ML classifier output of 0.999945 further supports this. The script likely downloads and executes a secondary payload, as evidenced by the 'eval()' call and the 'String.fromCharCode' usage, which are common obfuscation techniques for malicious JavaScript within PDFs. The extracted artifact 'javascript_obj0027_000.js' also contains script obfuscation indicators.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-35541 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35541
  • Launch action high PDF_LAUNCH
    PDF contains a /Launch action with an unresolved or extension-less target — treat as potentially dangerous
  • 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0027_000.js
835afa52386eab5bd82723064cefb89622bb635846fe71bb4c8b3c7d8c1bb1ad
pdf-javascript-stream PDF /JS object 27 at offset 0x1D69 5950 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).