Malicious PDF — malware analysis report

Static analysis result for SHA-256 338d4953a949f045…

MALICIOUS

PDF

157.5 KB Created: 2010-06-16 09:54:20 +02:00 Authoring application: Adobe InDesign CS3 (5.0.4) (via Adobe PDF Library 8.0) First seen: 2026-05-08
MD5: 4136d3b0e00e2698f5f9bf82e8015a5c SHA-1: 2a3edfc60051cbfe1872dd7679d25db6430da0e6 SHA-256: 338d4953a949f0458147eb864695ef1b80cab8a700e2a1550a945c5149a90771
76 Risk Score

🔏 Digital signature Signed

A signature covers the whole signed byte range — PDF JavaScript is never signed on its own — and does not by itself mean the document is safe.

Malware Insights

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

The PDF file contains multiple embedded JavaScript streams and an embedded script payload, indicating a malicious intent to execute code. The presence of XFA forms and JavaScript actions further supports this. The primary function appears to be downloading and executing a second-stage payload from the embedded scripts.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9005

Heuristics 8

  • JavaScript action low 1 related finding PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • 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.
  • 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
  • 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 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://www.w3.org/1999/02/22-rdf-syntax-ns# In PDF document text
    • http://ns.adobe.com/pdf/1.3/In PDF document text
    • http://ns.adobe.com/xap/1.0/In PDF document text
    • http://ns.adobe.com/xap/1.0/g/img/In PDF document text
    • http://ns.adobe.com/xap/1.0/mm/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/xap/1.0/t/pg/In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/Dimensions#In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/Font#In PDF document text
    • http://ns.adobe.com/xap/1.0/g/In PDF document text
    • http://www.xfa.org/schema/xci/1.0/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
    • http://www.xfa.org/schema/xfa-locale-set/2.1/In PDF document text
    • http://ns.adobe.com/xtd/In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/ManifestItem#In PDF document text
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In PDF document text
    • http://cgi.adobe.com/special/acrobat/updateReferenced by PDF JavaScript
    • http://ns.adobe.com/xdp/Referenced by PDF JavaScript
    • http://www.xfa.org/schema/xfa-form/2.6/Referenced by PDF JavaScript
    • http://www.iec.chIn PDF document text

Extracted artifacts 12

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_file_obj0012.bin pdf-embedded-file PDF EmbeddedFile object 12 at offset 0x1A00B 85 bytes
SHA-256: c06dcd026a7ea0536b63e07ce688691b585339a3ab7ff59065e546b56308c7bb
embedded_file_obj0018.bin pdf-embedded-file PDF EmbeddedFile object 18 at offset 0x21DA1 103 bytes
SHA-256: 52b1206af7195349900d96c5364b796150a3600d65563da9c72ae5b8ea5389dc
javascript_obj0035_000.js pdf-javascript-stream PDF /JS object 35 at offset 0x3830 1604 bytes
SHA-256: f979542c4992f256c12537db5bbe5f86605da11ef877e634ccfc2c47c9284b10
Preview script
First 1,000 lines of the extracted script
if (typeof(xfa_installed) == "undefined" || typeof(xfa_version) == "undefined" || xfa_version < 1.2)
{
   if (app.viewerType == "Reader")
   {
      if (ADBE.Reader_Value_Asked != true)
      {
         if (app.viewerVersion < 6.01)
         {
            if (app.alert(ADBE.Viewer_Form_string_Reader_Older, 1, 1) == 1)
               this.getURL(ADBE.Reader_Value_New_Version_URL + ADBE.SYSINFO, false);
         }
         else
         {
            if (app.alert(ADBE.Viewer_Form_string_Reader_601, 1, 1) == 1)
               app.findComponent({cType:"Plugin", cName:"XFA",
                                   cDesc: ADBE.Viewer_string_Update_Reader_Desc});
         }
         ADBE.Reader_Value_Asked = true;
      }
   }
   else
   {
      if (ADBE.Viewer_Value_Asked != true)
      {
         if (app.viewerVersion == 6)
         {
            app.response({cQuestion: ADBE.Viewer_Form_string_Viewer_60,
            cDefault: ADBE.Viewer_Value_New_Version_URL + ADBE.SYSINFO,
            cTitle: ADBE.Viewer_string_Title});
         }
         else if (app.viewerVersion < 6)
         {
            app.response({cQuestion: ADBE.Viewer_Form_string_Viewer_Older,
            cDefault: ADBE.Viewer_Value_New_Version_URL + ADBE.SYSINFO,
            cTitle: ADBE.Viewer_string_Title});
         }
         else
         {
            if (app.alert(ADBE.Viewer_Form_string_Viewer_601, 1, 1) == 1)
                app.findComponent({cType:"Plugin", cName:"XFA",
                                   cDesc: ADBE.Viewer_string_Update_Desc});
         }
         ADBE.Viewer_Value_Asked = true;
      }
   }
}
javascript_obj0036_001.js pdf-javascript-stream PDF /JS object 36 at offset 0x3A18 902 bytes
SHA-256: 3bf84668674e23c91aaaa6c58c24a1f80a30566e9cfbd09040882d18101fed76
Preview script
First 1,000 lines of the extracted script
if (typeof(ADBE.Reader_Value_Asked) == "undefined")
   ADBE.Reader_Value_Asked = false;
if (typeof(ADBE.Viewer_Value_Asked) == "undefined")
   ADBE.Viewer_Value_Asked = false;
if (typeof(ADBE.Reader_Need_Version) == "undefined" || ADBE.Reader_Need_Version < 6.01)
{
   ADBE.Reader_Need_Version = 6.03
   ADBE.Reader_Value_New_Version_URL =
       "http://cgi.adobe.com/special/acrobat/update";
   ADBE.SYSINFO = "?p=" + app.platform + "&v=" + app.viewerVersion + "&l="
       + app.language + "&c=" + app.viewerType + "&w=" + "XFA1_5";
}
if (typeof(ADBE.Viewer_Need_Version) == "undefined" || ADBE.Viewer_Need_Version < 6.01)
{
   ADBE.Viewer_Need_Version = 6.03;
   ADBE.Viewer_Value_New_Version_URL =
       "http://cgi.adobe.com/special/acrobat/update";
   ADBE.SYSINFO = "?p=" + app.platform + "&v=" + app.viewerVersion + "&l=" 
       + app.language + "&c=" + app.viewerType + "&w=" + "XFA1_5";
}
javascript_obj0037_002.js pdf-javascript-stream PDF /JS object 37 at offset 0x3B82 2798 bytes
SHA-256: 922f7942d25f53e6e6eedc1b3a95c47a757faab3be4838fa02db0dbea2c4dbcc
Preview script
First 1,000 lines of the extracted script
if (typeof(this.ADBE) == "undefined")
   this.ADBE = new Object();
ADBE.LANGUAGE = "ENU";
ADBE.Viewer_string_Title = "Adobe Acrobat";
ADBE.Viewer_string_Update_Desc = "Adobe Interactive Forms Update";
ADBE.Viewer_string_Update_Reader_Desc = "Adobe Reader 7.0.5";
ADBE.Reader_string_Need_New_Version_Msg = "This PDF file requires a newer version of Adobe Reader. Press OK to download the latest version or see your system administrator.";
ADBE.Viewer_Form_string_Reader_601 = "This PDF form requires a newer version of Adobe Reader. Although the form may appear to work properly, some elements may function improperly or may not appear at all. Press OK to initiate an online update or see your system administrator.";
ADBE.Viewer_Form_string_Reader_Older = "This PDF form requires a newer version of Adobe Reader. Although the form may appear to work properly, some elements may function improperly or may not appear at all. Press OK for online download information or see your system administrator.";
ADBE.Viewer_Form_string_Viewer_601 = "This PDF form requires a newer version of Adobe Acrobat. Although the form may appear to work properly, some elements may function improperly or may not appear at all. Press OK to initiate an online update or see your system administrator.";
ADBE.Viewer_Form_string_Viewer_60 = "This PDF form requires a newer version of Adobe Acrobat. Although the form may appear to work properly, some elements may function improperly or may not appear at all. For more information please copy the following URL (CTRL+C on Win, Command-C on Mac) and paste into your browser or see your system administrator.";
ADBE.Viewer_Form_string_Viewer_Older = "This PDF requires a newer version of Acrobat. Copy this URL and paste into your browser or see your sys admin.";
ADBE.Viewer_Form_string_Reader_5x = "This PDF form requires a newer version of Adobe Reader. Without a newer version, the form may be displayed, but it might not work properly. Some form elements might not be visible at all. If an internet connection is available, clicking OK will open your browser to a web page where you can obtain the latest version.";
ADBE.Viewer_Form_string_Reader_6_7x = "This PDF form requires a newer version of Adobe Reader. Without a newer version, the form may be displayed, but it might not work properly. Some form elements might not be visible at all. If an internet connection is available, clicking OK will download and install the latest version.";
ADBE.Viewer_Form_string_Viewer_7x = "This PDF form requires a newer version of Adobe Acrobat. Without a newer version, the form may be displayed, but it might not work properly. Some form elements might not be visible at all. If an internet connection is available, clicking OK will download and install the latest version.";
embedded_pdf_script_0001a894.bin pdf-embedded-script PDF raw stream script payload at offset 0x1A894 3122 bytes
SHA-256: 2a305563b6b2c02ce56e644aa21f872186accced1c8ef9280f32ec07012432ee
Preview script
First 1,000 lines of the extracted script
<config xmlns="http://www.xfa.org/schema/xci/1.0/"
><trace
><area level="1" name="font"
></area
></trace
><agent name="designer"
><!--  [0..n]  --><destination
>pdf</destination
><pdf
><!--  [0..n]  --><fontInfo
></fontInfo
></pdf
></agent
><present
><!--  [0..n]  --><pdf
><!--  [0..n]  --><fontInfo
><embed
>0</embed
><subsetBelow
>100</subsetBelow
></fontInfo
><version
>1.5</version
><creator
>Adobe LiveCycle Designer 8.0</creator
><producer
>Adobe LiveCycle Designer 8.0</producer
><interactive
>1</interactive
><tagged
>0</tagged
><compression
><level
>6</level
><compressLogicalStructure
>1</compressLogicalStructure
><type
></type
></compression
><linearized
>1</linearized
><batchOutput
></batchOutput
><encryption
><encrypt
></encrypt
><permissions
><accessibleContent
>1</accessibleContent
><contentCopy
>1</contentCopy
><documentAssembly
>1</documentAssembly
><formFieldFilling
>1</formFieldFilling
><modifyAnnots
>1</modifyAnnots
><print
>1</print
><printHighQuality
>1</printHighQuality
><change
>1</change
><plaintextMetadata
>1</plaintextMetadata
></permissions
></encryption
><openAction
><destination
></destination
></openAction
><scriptModel
></scriptModel
><taggedMode
></taggedMode
><viewerPreferences
><addViewerPreferences
></addViewerPreferences
><duplexOption
></duplexOption
><numberOfCopies
></numberOfCopies
><pageRange
></pageRange
></viewerPreferences
><silentPrint
><addSilentPrint
></addSilentPrint
><printerName
></printerName
></silentPrint
></pdf
><xdp
><packets
>*</packets
></xdp
><common
><data
><uri
></uri
><adjustData
>1</adjustData
><xsl
><uri
></uri
></xsl
><outputXSL
><uri
></uri
></outputXSL
></data
><messaging
></messaging
><log
><to
>memory</to
><uri
>C:\DOCUME~1\csernok\LOCALS~1\Temp\_83k1bbev16ce13k1t.log</uri
><mode
>overwrite</mode
><threshold
></threshold
></log
><template
><base
>C:\DOCUME~1\csernok\LOCALS~1\Temp\</base
><relevant
></relevant
><uri
></uri
></template
><locale
></locale
></common
><cache
><renderCache
></renderCache
></cache
><incrementalMerge
></incrementalMerge
><script
><runScripts
></runScripts
><exclude
></exclude
><currentPage
></currentPage
></script
><pagination
></pagination
><copies
></copies
><layout
></layout
><destination
>pdf</destination
><output
><to
>uri</to
><uri
>C:\DOCUME~1\csernok\LOCALS~1\Temp\_83k1bbev1709e4n2j.tmp</uri
></output
></present
><agent name="acrobat"
><common
><locale
></locale
><data
><uri
></uri
><adjustData
>1</adjustData
><xsl
><uri
></uri
></xsl
><outputXSL
><uri
></uri
></outputXSL
></data
><template
><base
>C:\DOCUME~1\csernok\LOCALS~1\Temp\</base
><relevant
></relevant
><uri
></uri
></template
></common
></agent
><psMap
></psMap
><coolType
><additionalFontsDirectory
>C:\Program Files\Adobe\Acrobat 8.0\Designer 8.0\fonts</additionalFontsDirectory
><commonFontsDirectory
>C:\Program Files\Adobe\Acrobat 8.0\Designer 8.0\fonts</commonFontsDirectory
><unicodeDirectory
>C:\Program Files\Adobe\Acrobat 8.0\Designer 8.0\fonts\typeSpt\Unicode</unicodeDirectory
><fntNamesDBFile
>C:\Program Files\Adobe\Acrobat 8.0\Designer 8.0\fonts\typeSpt\FntNames.db</fntNamesDBFile
></coolType
></config
>
icc_00_off0000ae93.icc pdf-icc-profile PDF ICC profile at offset 0xAE93 3144 bytes
SHA-256: 2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e
font_00_cff_off00004954.bin pdf-font-stream PDF embedded font (cff) at offset 0x4954 1647 bytes
SHA-256: 343a8a5c2595f43d6d6eec1922ef02f7e59c9d5561b44ba587e0cdcc7740d063
font_01_cff_off0000b9ca.bin pdf-font-stream PDF embedded font (cff) at offset 0xB9CA 3874 bytes
SHA-256: 4c33cab7e3e4147f820f591729c227dc4768883533e0034df3b5b330f8c5a2d1
font_02_cff_off0000ca5d.bin pdf-font-stream PDF embedded font (cff) at offset 0xCA5D 4579 bytes
SHA-256: 350d8cd5f27bb845728c31f1afe81ee45517e1f275e5d9c2ac2070cb7f84c15f
font_03_cff_off0000ddf7.bin pdf-font-stream PDF embedded font (cff) at offset 0xDDF7 6093 bytes
SHA-256: 7fcb2a96be8efe41beed6ca4e0dcb4e2075eadf2661e739382c6551ab5ea8078
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 7.41, consistent with packed or encrypted content.
font_04_cff_off0000f5f6.bin pdf-font-stream PDF embedded font (cff) at offset 0xF5F6 3453 bytes
SHA-256: 1ef21f1e1c4f86b3961001d4efc8932ff9299446a6611d6cf3b2bf0874c2a878