Malicious PDF — malware analysis report

Static analysis result for SHA-256 02d2ac8f567978b6…

MALICIOUS

PDF

122.6 KB Created: 2013-06-24 11:15:47 +03:00 Authoring application: Microsoft® Word 2010 First seen: 2015-09-24
MD5: 7c9bc2eb32556493ab3fe28ebfad7610 SHA-1: 260b33474dfbc9cbec970f30e65358d11951e930 SHA-256: 02d2ac8f567978b632d098bb39d205bef514e53724af9795ba2907f5027851aa
676 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that triggers a launch action, executing cmd.exe. This action is designed to export an embedded object named 'temizpdf.pdf', which is actually a Windows executable payload. The embedded executable is detected as a Trojan by ClamAV, and the overall behavior is consistent with a malicious dropper.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 14

  • Adobe Reader Launch action command execution critical CVE exact CVE_2010_1240
    PDF uses the Adobe Reader/Acrobat Launch action pattern associated with CVE-2010-1240: cmd.exe is invoked with attacker-controlled parameters, paired with an embedded/exported payload.
  • TrueType bitmap font + active content — CVE-2023-26369 related high CVE related PDF_CVE_2023_26369_RELATED
    PDF embeds a TrueType font with bitmap tables (EBDT/sbix/CBDT) alongside exploit delivery indicators — CVE-2023-26369 exploits the sfac_GetSbitBitmap function in Adobe's libCoolType for arbitrary code execution. This CVE was actively exploited in the wild, but this rule does not validate the malformed EBLC/EBDT primitive.
  • ClamAV: Pdf.Tool.Agent-1388586 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Tool.Agent-1388586
  • Launch action critical PDF_LAUNCH
    PDF contains a /Launch action whose target is an executable, URL, or UNC path — can start an external application
  • Embedded Windows executable payload in PDF stream critical PDF_EMBEDDED_PE_PAYLOAD
    PDF stream bytes contain an embedded Windows executable with a verified PE header. Exploit chains often hide droppers inside ordinary streams rather than standard /EmbeddedFile attachments.
  • /Launch action target: cmd.exe critical PDF_LAUNCH_COMMAND
    PDF /Launch action specifies an executable target with parameters '/Q /C %HOMEDRIVE%&cd %HOMEPATH%&(if exist "Desktop\\temizpdf.pdf" (cd "Desktop"' — references a known-dangerous executable (cmd, PowerShell, etc.).
  • Embedded attachment masquerades: declared document, content is windows-executable critical PDF_EMBEDDED_FILESPEC_CONTENT_MISMATCH
    An /EmbeddedFile attachment's declared filename extension or /Subtype MIME type contradicts the magic bytes of its decompressed content. The attachment is declared as a benign document or image but the bytes are an executable or executable-bearing archive. This is a deliberate deception used to hide droppers in PDF attachments and is a generic indicator of embed-and-drop weaponisation, independent of any specific CVE.
  • Suspicious extracted artifact critical 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.
  • 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.
  • /Launch action paired with attachment-dropping JS API high PDF_LAUNCH_PLUS_DROPPER_JS
    PDF combines a /Launch action with a JavaScript API call that writes or opens an attached/external resource — the canonical shape of the CVE-2010-1240 /Launch + exportDataObject family. Benign PDFs do not pair these surfaces; the combination indicates a drop-and-execute chain regardless of the specific JS API knobs or /Launch target.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • 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.zeustech.net/ Referenced by PDF JavaScript
    • http://]hostname[:port]/pathIn extracted file (temizpdf.pdf)
    • tcp://10.20.20.118:4444In extracted file (temizpdf.pdf)
    • http://www.apache.org/Referenced by PDF JavaScript
    • http://www.microsoft.com/typography/ctfontshttp://fontfabrik.comYouIn extracted file (font_00_sfnt_off00000685.bin)
    • http://www.microsoft.com/typography/fonts/default.aspxIn extracted file (font_00_sfnt_off00000685.bin)
    • http://crl.microsoft.com/pki/crl/products/MicCodSigPCA_08-31-2010.crl0ZIn extracted file (font_00_sfnt_off00000685.bin)
    • http://www.microsoft.com/pki/certs/MicCodSigPCA_08-31-2010.crt0In extracted file (font_00_sfnt_off00000685.bin)
    • http://crl.microsoft.com/pki/crl/products/MicrosoftTimeStampPCA.crl0XIn extracted file (font_00_sfnt_off00000685.bin)
    • http://www.microsoft.com/pki/certs/MicrosoftTimeStampPCA.crt0In extracted file (font_00_sfnt_off00000685.bin)
    • http://crl.microsoft.com/pki/crl/products/microsoftrootcert.crl0TIn extracted file (font_00_sfnt_off00000685.bin)
    • http://www.microsoft.com/pki/certs/MicrosoftRootCert.crt0In extracted file (font_00_sfnt_off00000685.bin)
    • http://www.microsoft.com/typographyIn extracted file (font_00_sfnt_off00000685.bin)

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
temizpdf.pdf pdf-embedded-file PDF EmbeddedFile object 21 at offset 0x138D1 73802 bytes
SHA-256: 507dbee875a480064ce7bb6d4704ca56e261ac4f5855095aff4a68df0c254cf5
Detection
ClamAV: Win.Trojan.Swrort-5710536-0
Obfuscation or payload: likely
actual_type=PE; declared_or_context_type=PDF; filename=temizpdf.pdf; kind=pdf-embedded-file Static shellcode analysis recovered the Metasploit stager connect-back address: 10.20.20.118:4444 (reverse/x86, lab (non-routable)) Static shellcode analysis found candidate code region(s). Indicators: SC_PEB_ACCESS, SC_MSF_BIND, SC_PUSH_STRING Static shellcode analysis recovered API/import strings: kernel32.dll, advapi32.dll, KERNEL32.DLL, ADVAPI32.DLL, LoadLibraryA, GetProcAddress
javascript_obj0022_000.js pdf-javascript-stream PDF /JS object 22 at offset 0x1E508 57 bytes
SHA-256: 4481750eeb54ce17a4fe0cc2a85f0b12cce1ad083f0270da72bc89994fca3170
Preview script
First 1,000 lines of the extracted script
this.exportDataObject({ cName: "temizpdf", nLaunch: 0 });
font_00_sfnt_off00000685.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x685 168868 bytes
SHA-256: 346d447c60325bab9db30abfb12df0c68fc2cadb13faad1c67605cab60510032