Malicious PDF — malware analysis report

Static analysis result for SHA-256 eb5eb5d050e4857c…

MALICIOUS

PDF

10.9 KB Authoring application: .a
MD5: e2cc3e3b47a298f3fe876410b0cc7629 SHA-1: 9bd378afea2ffffe241a8f79a93e61dbe8ad35cf SHA-256: eb5eb5d050e4857c0de5dc2754617de18bfc8129475bdb6c6cf48124a02edf24
480 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript that is heavily obfuscated using arithmetic operations and percent-encoding. The heuristics indicate that this JavaScript exploits multiple known Adobe Reader vulnerabilities, including CVE-2009-4324, CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. The primary function of the script appears to be to download and execute a second-stage payload, though the exact nature of the payload could not be determined due to the obfuscation and incomplete scan results.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 14

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • 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)
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Arithmetic percent-encoded JavaScript stager high PDF_ARITHMETIC_PERCENT_JS_STAGER
    PDF JavaScript stores the hidden stage as many float*4 character code tokens separated by #, rebuilds a percent-encoded script with String.fromCharCode, then unescape/evals the recovered JavaScript. The decoder is gated on metadata-access launchers and requires recovered exploit-like Acrobat JavaScript.
  • 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, or hex literals. 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.
  • 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)
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser exited 1. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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.
  • ClamAV scan did not complete on extracted artifact info CLAMAV_SCAN_INCOMPLETE
    ClamAV did not complete on 7 carved artifact(s); EXTRACTED_FILE_CLAMAV may be missing for this run. The result is not cached so a later submission will retry the scan.

Extracted artifacts 7

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0018_000.js
7acb921ad6a94bad36dbf084fd66b9bc0949dd3a12d1a310484f76a47282a99a
pdf-javascript-stream PDF /JS object 18 at offset 0x4BA 163441 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
arithmetic_percent_stage_000.js
385205e75b5db7f25f26b2a4912f9732d87f5f77260fee06c490b57d2d8aa805
deobfuscated-js arithmetic-percent decoded JavaScript object 18 at offset 0x4BA 7696 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_001.js
7804f0f21f7bb6a586961ac3a4b74f97625f3412934ec4a8b3f514a5f97b25a8
deobfuscated-js generic stage recovery percent-decode -> percent-decode from JavaScript object 18 at offset 0x4BA 7686 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_002.js
b47461ba9f0a8356148996cb737234da0517fadd94bd4b32414b9dddde32fd2d
deobfuscated-js generic stage recovery percent-decode -> marker-##-to-%u from JavaScript object 18 at offset 0x4BA 7612 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_003.js
63e20582debc10607ade445668e0f95592f949dd8fe84267426898b5a83df620
deobfuscated-js generic stage recovery percent-decode -> percent-decode from JavaScript object 18 at offset 0x4BA 7602 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_004.js
1175ddb0d14bbc20f2f5bbdd846b2a19c4624e6a006d917221af58f1561629b8
deobfuscated-js generic stage recovery percent-decode -> marker-##-to-%u from JavaScript object 18 at offset 0x4BA 6611 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_005.js
8c7981b71505a1679901b993744849ac226e42f5c6d8630a0e173f0b0cd6da0d
deobfuscated-js generic stage recovery percent-decode -> percent-decode from JavaScript object 18 at offset 0x4BA 6601 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).