Malicious PDF — malware analysis report

Static analysis result for SHA-256 608ba3b27b117017…

MALICIOUS

PDF

7.4 KB Authoring application: Viraciregavi
MD5: b1841301b70d9aad9b4b0c6b1f207a80 SHA-1: 8cfa422f87bf7ba676b7aa0470419e4762e6c4d5 SHA-256: 608ba3b27b117017280fbac494e728e662855ac31a608c5084f1c1939ba07296
468 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript that leverages multiple critical vulnerabilities (CVE-2009-0927, CVE-2007-5659, CVE-2008-2992) to achieve code execution. The JavaScript is heavily obfuscated but appears to be a stage recovery mechanism for a larger exploit. The primary goal is to download and execute a secondary payload, typical of a malicious document delivered via spearphishing.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 11

  • Collab.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (identified after JavaScript deobfuscation)
  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • 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: Pdf.Tool.HeapSprayHeuristic-6301967-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Tool.HeapSprayHeuristic-6301967-1
  • 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)
  • Generic recovered JavaScript exploit stage high PDF_GENERIC_STAGE_RECOVERY
    Bounded static stage recovery exposed hidden JavaScript through generic transforms such as null-byte collapse, percent decoding, marker replacement, arithmetic character codes, fromCharCode, numeric arrays, numeric-array minus-key decoders, alphabet-index arrays, /Producer half-difference metadata arrays, hex literals, marker-stripped Base64 literals, custom 6-bit XOR table decoders, or repeated-marker hex carriers. This rule is emitted only when the recovered stage contains exploit-like Acrobat JavaScript or shellcode markers.
  • 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.
  • 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 7

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0009_000.js
b234b6ac1ad5bb29dd9dc0568a00a276c267813dc1495b3c8177fa99037017c5
pdf-javascript-stream PDF /JS object 9 at offset 0x565 5787 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
e326f6d5f776799146b91a9ce70d759f662363299653e6f79835b876682ae124
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 9 at offset 0x565 5520 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_001.js
8014553da6f3531d4103e9a201fa84ac04c0ab07643d56223e770b8009b850c4
deobfuscated-js generic stage recovery split-literal-normalize from decompressed stream at 0xFDA at offset 0xFDA 2882 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_002.js
d02572d6084b4d75ea740332de84bd64d1805f342fe6a7040d2c28d3f1518530
deobfuscated-js generic stage recovery split-literal-normalize from decompressed stream at 0xFDA at offset 0xFDA 2851 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_003.js
cc2aea35fc8af728c3027a97458453ccdc927d4544d99999e376d707847c02d2
deobfuscated-js generic stage recovery split-literal-normalize -> percent-decode from JavaScript object 9 at offset 0x565 5516 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_004.js
a93013b519a743a5271006a79878ddab0972c9f02e2fee41cb0358f268adfef4
deobfuscated-js generic stage recovery percent-decode -> split-literal-normalize from JavaScript object 9 at offset 0x565 5518 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
1e0c8ca4c6180400afd62497a161d41969b04e1091a2d4ffa9764c7f00cf51a1
deobfuscated-js string-concatenation normalized Acrobat API aliases at offset 0x565 851 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 long base64-like blob(s).