Malicious PDF — malware analysis report

Static analysis result for SHA-256 058a9462ee65758c…

MALICIOUS

PDF

51.6 KB
MD5: e843e883f11c5d70d597d2771b6dc31d SHA-1: 9f33483b8c25b46b0ad2a3b49d1e869121eb85fb SHA-256: 058a9462ee65758ccf1547db069d53677a8120b7b7f9d82cbd274d50a78e5792
264 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

The PDF file contains an XFA form that exploits CVE-2010-0188 in Adobe Reader. A deobfuscated JavaScript stager was recovered, which attempts to download and execute a second-stage payload from the URL http://a.betterterrell.com/w.php?f=97d1926&e=40000. The embedded URL http://www.xfa.org/schema/xfa-template/2.5/ appears to be a legitimate XFA schema URL, but the JavaScript payload is malicious.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • Adobe Reader LibTIFF XFA image exploit — CVE-2010-0188 critical CVE likely CVE_2010_0188
    PDF contains the CVE-2010-0188 exploit template: XFA JavaScript heap-spray setup, a generated TIFF image payload, and assignment of that TIFF data to an XFA image field rawValue to trigger Adobe Reader's LibTIFF parser.
  • ClamAV: Js.Exploit.HTML-30 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Js.Exploit.HTML-30
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • XFA numeric JavaScript stager high PDF_XFA_NUMERIC_JS_STAGER
    PDF XFA script reconstructs a hidden JavaScript stage from numeric field data or a character table, then evals the result. The decoder is gated on XFA script, numeric staging, and recovered exploit-like JavaScript or shellcode markers.
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSEOF. 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.
  • 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.xfa.org/schema/xfa-template/2.5/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xfa_numeric_stage_000.js
b92f0622139d7a5be3cfb9462b7542a16d957fe257ac3e1a3c1226853e0797df
deobfuscated-js XFA replacement character-table decoded JavaScript (raw) at offset 0x30C 3771 bytes
Detection
ClamAV: Pdf.Exploit.Agent-36962
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s). Carved artifact contains 3 long base64-like blob(s).