Malicious PDF — malware analysis report

Static analysis result for SHA-256 40cc4a6731092072…

MALICIOUS

PDF

2.9 KB Created: 2008-12-17 23:30:58 UTC
MD5: 219faab99b5caacbbc4349ec56d16bdb SHA-1: 6ca91ebca25bc90d447735a7cb1a6766c9dd0bd0 SHA-256: 40cc4a67310920725df3c4fb7b4bab01dbf8c9d7be848fbef713d9f938df7943
218 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link

The PDF file contains embedded JavaScript that leverages the CVE-2008-2992 vulnerability in Adobe Reader. The script performs array division and uses String.fromCharCode to reconstruct JavaScript code, which is then evaluated. This stage is designed to download and execute a second-stage payload, as indicated by the ClamAV signature 'Js.Exploit.Shellcode-18' and the ML classifier's high confidence. The extracted artifacts 'javascript_obj0006_000.js' and 'numeric_array_division_stage_000.js' are components of this exploit chain.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 7

  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • 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_obj0006_000.js
28ede8729d4e8f69ed46f015541fb12343ec7f96da110344da576f77ca48c7de
pdf-javascript-stream PDF /JS object 6 at offset 0xB5 14784 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
numeric_array_division_stage_000.js
bdf6f0cfc16035b3bb16d7e546fefc98e7cac3dd908a052ab28f31db677377bd
deobfuscated-js numeric array division decoded JavaScript at offset 0xD4 2894 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).