Malicious PDF — malware analysis report

Static analysis result for SHA-256 3d64f7978fe8df65…

MALICIOUS

PDF

238.1 KB Created: 2017-11-18 17:22:00 Authoring application: Joomla! 1.5 - Open Source Content Management (via TCPDF 2.5.000_PHP4 (http://www.tcpdf.org))
MD5: 9de27a141bb6d87e52bdfe5e5983d49f SHA-1: 4b206fc9d945498ea23f7d2e6a4c1c1cd178561a SHA-256: 3d64f7978fe8df65915b834346c280e55e7b0b59e9d7af9af5a59199019f88eb
120 Risk Score

Malware Insights

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

The PDF was flagged by a machine learning classifier and ClamAV as malicious, with ClamAV identifying it as 'Pdf.Dropper.Agent-7252297-0'. Heuristics indicate the presence of an embedded script payload and the use of String.fromCharCode, suggesting an attempt to obfuscate malicious code. The ML classifier's high score further supports the malicious nature of the file. The embedded script is likely responsible for downloading and executing a second-stage payload.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9504

Heuristics 4

  • ClamAV: Pdf.Dropper.Agent-7252297-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7252297-0
  • Embedded script payload in PDF stream medium 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules.
  • 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
stream_002_off0000b783.bin
a5337ef1f5a0dfe4dc8fa6b4f3ef847a53624800b5928a0eeef5b888ceecaabc
decompressed-pdf-stream PDF FlateDecoded stream at offset 0xB783 264072 bytes
embedded_pdf_script_0003a937.bin
d9ee0a1fb25aa1d607a384bfb0157b66ea26d474fde0628472ad06884d6e76cf
pdf-embedded-script PDF decompressed stream script payload at offset 0x3A937 243782 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).