Malicious PDF — malware analysis report

Static analysis result for SHA-256 8e1bb9f65d002590…

MALICIOUS

PDF

81.5 KB Created: 2021-09-16 16:35:47 +03:00 Authoring application: wkhtmltopdf 0.12.5 (via Qt 5.11.3) First seen: 2021-10-26
MD5: 2344d924cb3c5f587a2e1407b7ce55f8 SHA-1: 40e86f74a98528fda59d82e24541562bc59598bf SHA-256: 8e1bb9f65d002590a888cda2b22c27ff8b77bbb4bf0376421a70eca32b9bd0ae
216 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.001 PowerShell

This PDF file contains an embedded JavaScript payload that attempts to redirect the user to a URL designed to download and execute a PowerShell script. The script's purpose, as indicated by the embedded metadata and URL parameters, is to facilitate a 'Powershell connect o365' action, strongly suggesting a phishing or credential harvesting attempt. The presence of multiple links to potentially compromised or disposable hosting further supports a malicious intent.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9981

Heuristics 8

  • ClamAV: Pdf.Phishing.Trojan-d2568dad23a94d95-d2568dad23a94d95-10044375-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Phishing.Trojan-d2568dad23a94d95-d2568dad23a94d95-10044375-0
  • 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.
  • PDF link farm points to compromised-WordPress upload storage medium PDF_COMPROMISED_CMS_UPLOAD_LINK_FARM
    PDF contains multiple clickable links, across many distinct hosts, whose targets are random-slug files parked in the upload directories of vulnerable WordPress form plugins (FormCraft, Super Forms). This is the hallmark of the 'free document/template' SEO phishing PDF family, which ranks for search queries and routes users into payload/redirect chains hosted on compromised sites. The PDF itself carries no exploit — the risk is the linked destinations.
  • Small PDF is a non-clustered link farm on disposable hosting medium PDF_SEO_DISPOSABLE_LINK_FARM
    Small PDF contains many clickable external PDF links spread thin across many distinct hosts (no single dominant host), corroborated by a utm_term SEO-redirector link and/or links parked on free/disposable content hosts. This is the 'free document/template' SEO phishing PDF family, which ranks for search queries and routes users into payload/redirect chains, rather than a normal document citation pattern. The PDF itself carries no exploit — the risk is the linked destinations.
  • Suspicious extracted artifact medium 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.
  • External URI info PDF_URI
    PDF contains an external URL action
  • 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 https://coretry.ru/uplcv?utm_term=powershell+connect+o365 PDF link annotation
    • https://adurucui.com/ckfinder/files/45825737781.pdfIn PDF document text
    • http://vektor-bezpeki.com/userfiles/files/fiwivusokesugekideris.pdfIn PDF document text
    • https://biocoils.com/img/file/12076221314.pdfIn PDF document text
    • http://kotrackusa.com/fckedit_file/file///20210901_22_52_4.pdfIn PDF document text
    • http://twtipa.com/upfile/files/2021/09/03/94398248326.pdfIn PDF document text
    • https://tiemhoahaibara.com/data/dulieu/files/7221891264.pdfIn PDF document text
    • http://stauarchitetti.eu/userfiles/files/37796240558.pdfIn PDF document text
    • https://antoinepanau.com/wp-content/plugins/super-forms/uploads/php/files/ee5444f187452c2600665d93d25ef1db/naremaxumizedono.pdfIn PDF document text
    • http://elistaprezentow.pl/userfiles/file/kolifulivegivo.pdfIn PDF document text
    • https://atx-stroy.ru/wp-content/plugins/super-forms/uploads/php/files/9a0e090fb22f4f40b2c11308ec6c7b0c/dotozetixulivadiw.pdfIn PDF document text
    • http://accutindustry.com/Upload/files/20210916025929.pdfIn PDF document text
    • http://namthangbasaltstone.com/uploads/image/files/64197531711.pdfIn PDF document text
    • https://safetyhanoi.com/userfiles/file/vobaxodexa.pdfIn PDF document text
    • http://abyss.sk/userfiles/file/fabipigenalowifib.pdfIn PDF document text
    • https://kopari.hu/files/file/nowerejiximozato.pdfIn PDF document text
    • http://huseyindurmuslar.com/images_upload/files/2825496590.pdfIn PDF document text
    • http://3handseg.com/wp-content/plugins/formcraft/file-upload/server/content/files/1613b642d8639d---27039184505.pdfIn PDF document text
    • http://airzo.net/userData/board/file/70283286547.pdfIn PDF document text
    • https://spacio.hk/attachment/file/folipulusex.pdfIn PDF document text
    • https://www.novet.de/wp-content/plugins/formcraft/file-upload/server/content/files/16137c775d102c---18840864575.pdfIn PDF document text
    • https://paklya.su/design/img/upload/file/70582551551.pdfIn PDF document text
    • http://craft-personal.de/userfiles/file/19152193102.pdfIn PDF document text
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In PDF document text
    • http://purl.org/dc/elements/1.1/In PDF document text
    • http://ns.adobe.com/pdf/1.3/In PDF document text
    • http://ns.adobe.com/xap/1.0/In PDF document text
    • http://ns.adobe.com/xap/1.0/mm/In PDF document text
    • http://ns.adobe.com/xap/1.0/rights/In PDF document text
    • http://dejavu.sourceforge.netIn PDF document text
    • http://dejavu.sourceforge.net/wiki/index.php/LicenseIn PDF document text

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_0001406c.bin pdf-embedded-script PDF raw stream script payload at offset 0x1406C 1617 bytes
SHA-256: d523f6c51fa77ff57ccc32640630b4a83c9794aaf64bc0dea87f45bc11e65e46
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 9 shell/COM execution token(s).
Preview script
First 1,000 lines of the extracted script
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Poppler-utils'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

 <rdf:Description rdf:about=''
  xmlns:dc='http://purl.org/dc/elements/1.1/'
  dc:format='application/pdf'>
  <dc:creator>
   <rdf:Seq>
    <rdf:li>Voharizi Gegopinu</rdf:li>
   </rdf:Seq>
  </dc:creator>
  <dc:description>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Powershell connect o365. &lt;br&gt;&lt;center&gt;&lt;h2&gt;Powershell connect o365 script. Connect to o365 using powershell. Powershell connect</rdf:li>
   </rdf:Alt>
  </dc:description>
  <dc:subject>
   <rdf:Bag>
    <rdf:li>Powershell connect o365. &lt;br&gt;&lt;center&gt;&lt;h2&gt;Powershell connect o365 script. Connect to o365 using powershell. Powershell connect</rdf:li>
   </rdf:Bag>
  </dc:subject>
  <dc:title>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Powershell connect o365</rdf:li>
   </rdf:Alt>
  </dc:title>
 </rdf:Description>

 <rdf:Description rdf:about=''
  xmlns:pdf='http://ns.adobe.com/pdf/1.3/'
  pdf:Producer='Poppler-utils'/>

 <rdf:Description rdf:about=''
  xmlns:xmp='http://ns.adobe.com/xap/1.0/'
  xmp:CreateDate='2020-03-09T09:17:02'
  xmp:CreatorTool='Poppler-utils'/>

 <rdf:Description rdf:about=''
  xmlns:xmpMM='http://ns.adobe.com/xap/1.0/mm/'
  xmpMM:DocumentID='4329745c-9829-4cc5-8690-1696368d60ef'
  xmpMM:InstanceID='37bb3d40-c913-4c7e-911b-18b01d23a270'/>

 <rdf:Description rdf:about=''
  xmlns:xmpRights='http://ns.adobe.com/xap/1.0/rights/'
  xmpRights:Marked='True'/>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>
font_00_sfnt_off0000d610.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xD610 18820 bytes
SHA-256: f21b288f4b32a6aede63d5e948f850ac29517a0251d95df5bf00dc0fba69c85a
font_01_sfnt_off000107b8.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x107B8 16792 bytes
SHA-256: 9d2294e344127da9ddc2b77d68b1576b6b78373885bc9da2859f180a98f2c1e1
font_02_sfnt_off00011fcf.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x11FCF 10636 bytes
SHA-256: a0547d039526625a3670270885df081d11e334f61408d790970bb89192812944