Malicious PDF — malware analysis report

Static analysis result for SHA-256 b94f1d5b33787c78…

MALICIOUS

PDF

362.6 KB
MD5: bdcd80d47c95745580ad54e187f7456b SHA-1: 247c4bc31aa53c39d387611685a3fd7a4ada0aea SHA-256: b94f1d5b33787c78694721ad497ffec68e2ed18ccfeb785e1f7603771d317dc7
106 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

The PDF file contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream, specifically stream_002_off0000065f.js, utilizes eval() and unescape() functions, suggesting obfuscation and dynamic code execution. This script is likely responsible for downloading and executing a second-stage payload. The presence of these techniques points to a downloader or droppper functionality, common in initial access stages of an attack.

Machine Learning

  • Nyx PDF Classifier suspicious score 0.2593

Heuristics 7

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • 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. (matched inside decoded stream)
  • 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. (matched inside decoded stream)
  • 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. (matched inside decoded stream)
  • 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#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/g/img/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://ns.adobe.com/illustrator/1.0/
    • http://ns.adobe.com/xap/1.0/t/pg/
    • http://ns.adobe.com/xap/1.0/sType/Dimensions#
    • http://ns.adobe.com/xap/1.0/g/
    • http://ns.adobe.com/pdf/1.3/

Extracted artifacts 5

Files carved from inside the sample during analysis.

FilenameKindSourceSize
stream_002_off0000065f.js
78a09da5d2c3141b9b5e84788882238071d67b5ac7da2a1d84457b00801ccc9b
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x65F 433067 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 10 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
stream_080_off00037600.js
88cf83eacfa4ab997462d207c0c2ed6b53626fc3794ce976e7bdf29d2c84f5d4
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x37600 213 bytes
objstm_0179_00.bin
35a9117d5d85253f7dc78e83df30e6cc2fc04de10bc831e855cf9502f348eb06
pdf-objstm-decoded PDF /ObjStm 179 0 obj (inflated) 29641 bytes
objstm_0050_00.bin
5908c02938ade32c57089f6db3365eb8e04fa3625f912e623529ee0abf596f4b
pdf-objstm-decoded PDF /ObjStm 50 0 obj (inflated) 7938 bytes
objstm_0052_00.bin
a2d800a4fb1f25c290b8a7af16a81ba0c6b1550a2d5552366cf06269efdf7a46
pdf-objstm-decoded PDF /ObjStm 52 0 obj (inflated) 180 bytes