Malicious PDF — malware analysis report

Static analysis result for SHA-256 c3def67ce9491b99…

MALICIOUS

PDF

512.0 KB Created: 2009-08-13 20:07:41 +02:00 Authoring application: Compart mcopy API (via iText 1.4.7 (by lowagie.com))
MD5: d447b2c88c0029d8463a4d46e2b470e2 SHA-1: bbe785fb4f5c299aae3d1881beef514564f3ba87 SHA-256: c3def67ce9491b99b9292264150a8e92398d6a93da18018912cb0573bbdd36f1
310 Risk Score

Malware Insights

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

The PDF contains embedded JavaScript that utilizes PDF_EVAL, PDF_UNESCAPE, and PDF_FROMCHARCODE functions, indicating an exploit attempt. The heuristics suggest this script is designed to download and execute a second-stage payload. The presence of multiple deobfuscated JavaScript files further supports this, although their specific actions are not fully detailed in the provided output. The URLs extracted are likely related to the delivery or command and control infrastructure.

Machine Learning

  • Nyx PDF Classifier malicious score 0.5115

Heuristics 10

  • 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.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits
  • 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.
  • 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.
  • Suspicious extracted artifact high 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 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.
  • Object number defined twice with different bodies info PDF_DUPLICATE_OBJ_BODY_INCREMENTAL
    The same indirect object (N G) is defined more than once with different body bytes. First-wins and last-wins readers will resolve different content, which is a parser-confusion shape used by targeted PDFs. Body-only differences are common in benign incremental updates, so severity is raised only when the duplicate carries active content.
  • 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://community.germanwings.com/
    • http://www.germanwings.com/skysales/Boomerang.aspx?c=
    • http://www.germanwings.com/css/default_print.css
    • http://www.germanwings.com/js/default.js
    • http://blog.deconcept.com/swfobject/=0A=
    • http://www.germanwings.com/js/default_topnav.js
    • http://www.germanwings.com/skysales/Search.aspx?culture=3Dde-DE
    • https://www.germanwings.com/sc/s_code.js
    • http://www.monotype.comMonotype
    • http://www.opensource.org/licenses/mit-license.php=0A=
    • http://www.omniture.com
    • http://schemas.openxmlformats.org/drawingml/2006/main
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/iX/1.0/
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://www.monotype.com/html/mtname/ms_timesnewroman.htmlhttp://www.monotype.com/html/mtname/ms_welcome.htmlhttp://www.monotype.com/html/type/license.html

Extracted artifacts 13

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_000220cd.bin
e4689491839c891ef262d7f1d046704fde776d0dd0a6a2ec01e23d3e920d424e
pdf-embedded-script PDF raw stream script payload at offset 0x220CD 176817 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
40e424d4fb8e79cf415596b20c8b3b7bf75755ae6da879ce1c27a5c0de581c8b
deobfuscated-js generic stage recovery null-collapse from raw PDF metadata at offset 0x0 262144 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
5cceacaeee144b9af09fd830a4070064cfc55e880d8ac72aa10f07a850282c17
deobfuscated-js generic stage recovery split-literal-normalize from raw PDF metadata at offset 0x0 262089 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
824c5dbf2eca1a2269753712c2c50775a76a1eaa9fcde894a4cefb79eb2ed0a2
deobfuscated-js generic stage recovery null-collapse from decompressed stream at 0x0 at offset 0x0 262144 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_003.js
290082bf8f372c7abd97a36d7c927a43a303ba15e89b7e0d41762e8439187375
deobfuscated-js generic stage recovery split-literal-normalize from decompressed stream at 0x0 at offset 0x0 262089 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_004.js
404098e3262b5aed865d912de9a01932fd422838819f19424212d418b854798f
deobfuscated-js generic stage recovery null-collapse -> split-literal-normalize from raw PDF metadata at offset 0x0 261984 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
generic_stage_recovery_005.js
3e19c0ca63eae64ba1ba0c64ec6f65a863ad02eee067181051d9c8d8148d36c4
deobfuscated-js generic stage recovery null-collapse -> split-literal-normalize from decompressed stream at 0x0 at offset 0x0 261984 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 15 eval/decoder/string-building token(s).
font_00_cff_off0000b796.bin
6aa1e786d4acfe0b269482d11ca891d58b4450a57c6a097d3c534fcb13b7b2d4
pdf-font-stream PDF embedded font (cff) at offset 0xB796 530 bytes
font_01_sfnt_off0000f5f7.bin
9a6f7b89f6bf9939c44d9d706d9e1610b22a5dbcac2bb93acc8b72da2fbcfc27
pdf-font-stream PDF embedded font (sfnt) at offset 0xF5F7 37416 bytes
font_02_cff_off000138be.bin
61ee651da0dd32c9bf2b07cf09b51c20f7a0f6813ca0b3cf58568b22d0b3bf54
pdf-font-stream PDF embedded font (cff) at offset 0x138BE 314 bytes
font_03_cff_off00077f68.bin
ca9fac559e4b2dc523f28ef95be83927c4177d143eecbd2b47fa09b75586a484
pdf-font-stream PDF embedded font (cff) at offset 0x77F68 6918 bytes
font_04_cff_off00079c5b.bin
d74476625dbf0084953c1a4160757c512dcc5a2a8df4fd86104f2fd5fd463381
pdf-font-stream PDF embedded font (cff) at offset 0x79C5B 5140 bytes
font_05_cff_off0007b225.bin
3e586eb79ee53ea32bca821e88a5deddd5b5e172def49abbbdc7a247cde5a308
pdf-font-stream PDF embedded font (cff) at offset 0x7B225 441 bytes