Malicious PDF — malware analysis report

Static analysis result for SHA-256 225af32209508945…

MALICIOUS

PDF

604.9 KB Created: 2012-09-23 13:03:05 +03:30 Authoring application: Microsoft® Word 2010 First seen: 2015-11-28
MD5: 762327243ba02d74749617f40124f46a SHA-1: a7ce7353e0e5aa557b0cb0c13e9974aa78edc533 SHA-256: 225af32209508945e3437454037dee8742c851ef931a8096ee290e62d64f7115
636 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1059.003 Windows Command Shell T1105 Ingress Tool Transfer T1566.001 Spearphishing Attachment T1027 Obfuscated Files or Information

The PDF file contains embedded JavaScript and a launch action that executes cmd.exe, indicating an attempt to exploit vulnerabilities like CVE-2010-1240. The critical heuristic 'PDF_EMBEDDED_PE_PAYLOAD' confirms an embedded Windows executable disguised as 'ospf.pdf'. This executable is likely a downloader for additional malicious content, as suggested by the 'PDF_LAUNCH_PLUS_DROPPER_JS' firing.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9930

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\\ospf.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.
  • 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.
  • Suspicious extracted artifact medium 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 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 (ospf.pdf)
    • http://www.apache.org/Referenced by PDF JavaScript
    • http://www.microsoft.com/typography/ctfontshttp://fontfabrik.comYouIn extracted file (stream_037_off0004a74e.bin)
    • http://www.microsoft.com/typography/fonts/default.aspxIn extracted file (stream_037_off0004a74e.bin)
    • http://crl.microsoft.com/pki/crl/products/CSPCA.crl0HIn extracted file (stream_037_off0004a74e.bin)
    • http://www.microsoft.com/pki/certs/CSPCA.crt0In extracted file (stream_037_off0004a74e.bin)
    • http://crl.microsoft.com/pki/crl/products/tspca.crl0HIn extracted file (stream_037_off0004a74e.bin)
    • http://www.microsoft.com/pki/certs/tspca.crt0In extracted file (stream_037_off0004a74e.bin)
    • http://www.microsoft.com/typographyIn extracted file (stream_037_off0004a74e.bin)

Extracted artifacts 10

Files carved from inside the sample during analysis.

FilenameKindSourceSize
ospf.pdf pdf-embedded-file PDF EmbeddedFile object 747 at offset 0x8C195 73802 bytes
SHA-256: 66caaf3c84570ad8c5aec99ca67415f3beefb55112576c4bb85cd1c5e2b047e2
Detection
ClamAV: Win.Trojan.Swrort-5710536-0
Obfuscation or payload: likely
actual_type=PE; declared_or_context_type=PDF; filename=ospf.pdf; kind=pdf-embedded-file 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_obj0748_000.js pdf-javascript-stream PDF /JS object 748 at offset 0x96DE4 53 bytes
SHA-256: 30f1b7dd468118f68a4367c7763c4abe9a3933a87a34ea0437a0f44f2714e187
Preview script
First 1,000 lines of the extracted script
this.exportDataObject({ cName: "ospf", nLaunch: 0 });
stream_037_off0004a74e.bin decompressed-pdf-stream PDF FlateDecoded stream at offset 0x4A74E 196056 bytes
SHA-256: c90d679ed73073bbe7b65bc67767b4f0c23a5f2572bf7f03e238b02c1eae61e4
stream_041_off000625ad.bin decompressed-pdf-stream PDF FlateDecoded stream at offset 0x625AD 38352 bytes
SHA-256: b05003aee1c1471bc7466b0956938b87c4e00ed7bfa4acb95bf794f487fe8ad3
stream_046_off00087526.bin decompressed-pdf-stream PDF FlateDecoded stream at offset 0x87526 8240 bytes
SHA-256: 680951d3820e0a586c750a42fae21b5f27054d877ac013ae206abd12954a0023
font_00_sfnt_off00039809.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x39809 116772 bytes
SHA-256: 245693855a40cbc56858cae80292489e9c9c7b9709030742b5eb290ae3ffc915
font_02_sfnt_off000611f8.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x611F8 3684 bytes
SHA-256: cfb00710e5f5b9a0c899c9fbcd7a27a05e36be19045b971a38ebdcd4244ff9a4
font_03_sfnt_off00061b78.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x61B78 5128 bytes
SHA-256: 9c104f38bd8f2aec5b27e0ab8f42599e34eb112ff0b1c1b811cd82717dd84760
font_05_sfnt_off00067085.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x67085 188836 bytes
SHA-256: 11a92beb049693339b5e82430d49b1c4ba6438bc064d129c6258020fed3453e8
font_06_sfnt_off0007d087.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x7D087 177476 bytes
SHA-256: ca338c5087f9804202be22c72682ff45dcbdda804d2538906bf89fa79e62a1aa