Malicious PDF — malware analysis report

Static analysis result for SHA-256 3aaf4a5198c150ec…

MALICIOUS

PDF

8.4 KB
MD5: 354f2f3774fd29eb7959b889cf30381d SHA-1: 2822661d92af1ccaf78b306ec21e1a6e99761792 SHA-256: 3aaf4a5198c150ec746528e1b04df6e98b2e87dedeb799b60ea638437e2acf75
124 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript T1204.001 Malicious Link or Macro: Malicious Link T1204.002 Malicious Link or Macro: Malicious Macro

The PDF file contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability. The heuristics indicate that this JavaScript is obfuscated and uses techniques like String.fromCharCode and syncAnnotScan to decode and execute malicious code. The ML classifier strongly flags this PDF as malicious. The primary attack vector appears to be exploiting a known PDF vulnerability to achieve arbitrary code execution, likely for downloading further malicious content.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • 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)
  • 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.
  • 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)
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (identified after JavaScript deobfuscation)
  • 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
b771a67801a2a024471cb29d8ce119b13dc98b5c56ef213dece7e1a5cc7b8bed
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 1814 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
numeric_charcode_stage_000.js
4718a27c2224fc36bf24f8e8e04598f1ad78adce4401c7be2708318738a6983d
deobfuscated-js numeric char-code string decoded JavaScript at offset 0xEF 469 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
8e95a6b824be5f74faa58cd1e04dce266ee8fef91fbbd6f35dfabf364193c87b
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1C2A 1628 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
1a199ba725a7cb9cda2b3119d9df475d9b9382b22db05c0cb633dcc86b3c0224
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x4BB 5053 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).