Malicious PDF — malware analysis report

Static analysis result for SHA-256 5f4ad548377f46e2…

MALICIOUS

PDF

117.3 KB Authoring application: PyPDF2
MD5: 8c7ddf9e433d21572780bacc34a6fbbb SHA-1: 7271c8a7dd91a0a5ec4011df1862cfc01e92de5c SHA-256: 5f4ad548377f46e21fdb17de66cd0b195a16603e7bb7e67d9955f9a5f6396ac5
266 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that is heavily obfuscated but appears to be designed to download and execute a secondary payload. Heuristics indicate a PDF JavaScript exploit cluster and a detected embedded script payload. The ClamAV detection of 'Txt.Downloader.Swabfex-6769575-0' further supports the downloader functionality.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 7

  • 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.
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • Embedded script payload in PDF stream high PDF_EMBEDDED_SCRIPT_PAYLOAD
    PDF stream bytes contain script execution markers such as ActiveXObject/CreateObject, WScript.Shell, PowerShell, or shell-exec primitives. This is stronger than ordinary PDF JavaScript because it indicates a staged external script payload hidden in stream bytes.
  • 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.
  • JavaScript action low 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0010_000.js
93c824db4493c97397a9fe469e7379598a99adbd7c7cd0f3944aac8f72ac04f8
pdf-javascript-stream PDF /JS object 10 at offset 0x710 84885 bytes
Detection
ClamAV: Txt.Downloader.Swabfex-6769575-0
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0010_001.js
0a898e84e9032982c91ad562262e43534ac2ac5aeacfa0b45dc1af54d4abe35e
pdf-javascript-stream PDF /JS object 10 at offset 0x710 44 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s).