Malicious PDF — malware analysis report

Static analysis result for SHA-256 0c6def0e59a8a6c8…

MALICIOUS

PDF

84.4 KB Created: 2021-09-05 03:48:22 +03:00 Authoring application: wkhtmltopdf 0.12.5 (via Qt 5.11.3) First seen: 2021-10-26
MD5: 241010c20b906815781d9bb1cab9fb7b SHA-1: cacb4dd97a880959d68814698d59063d3b90d22c SHA-256: 0c6def0e59a8a6c8879b3fd93853da24ddd0466029acf61dc6b7009ff95757e3
216 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment

This PDF file contains an embedded JavaScript payload that likely attempts to download and execute a second-stage payload from one of the numerous external URLs. The document's metadata and heuristic firings indicate it is a malicious PDF, with ClamAV detecting it as a phishing trojan. The embedded script's content suggests a lure related to saving Excel worksheets as CSV files, aiming to trick the user into interacting with the malicious content.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9956

Heuristics 8

  • ClamAV: Pdf.Phishing.Trojan-d2528dad23a95d95-d2528dad23a95d95-10044376-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Phishing.Trojan-d2528dad23a95d95-d2528dad23a95d95-10044376-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://pistant.ru/uplcv?utm_term=excel+worksheet+save+as+csv PDF link annotation
    • https://clinicamanila.com/ckfinder/userfiles/files/tavaziledazukamituv.pdfIn PDF document text
    • http://zabradli-znerezu.cz/userfiles/file/wapebesokelasemubakodewu.pdfIn PDF document text
    • https://businessincasey.com.au/application/third_party/ckfinder/userfiles/files/52440530336.pdfIn PDF document text
    • http://sk-uralstroy.ru/uploads/files/75805132940.pdfIn PDF document text
    • https://holocaustresearch.pl/nowy/photo/file/lunajusaporegotox.pdfIn PDF document text
    • http://tebsc.com/clients/84181/File/katodegegoxo.pdfIn PDF document text
    • http://carrollcountylawyers.com/customer/3/d/9/3d947ad6ce2568d98b832ccf5548371bFile/jamovulusasimi.pdfIn PDF document text
    • https://wentworthre.com/wp-content/plugins/super-forms/uploads/php/files/78df5df1f8cec83a3689b19932f6e2fb/42666007184.pdfIn PDF document text
    • http://canyonoaksmtg.com/~duckdi5/canyonoaksmtg.com/content/file/gekilijivipi.pdfIn PDF document text
    • http://www.sensible-seeds-premium.com/wp-content/plugins/formcraft/file-upload/server/content/files/160999995f265f---witilibimu.pdfIn PDF document text
    • http://rutka.pl/media/upload/files/cdb221fba995f9852e74c4b3a1ec5e35.pdfIn PDF document text
    • https://hafa-verein.de/wp-content/plugins/super-forms/uploads/php/files/069c3016e74c2cd5f876f39ae2497251/gobijuwaw.pdfIn PDF document text
    • http://vdgairconditioning.nl/wp-content/plugins/formcraft/file-upload/server/content/files/1608a7de2cb926---50523667424.pdfIn PDF document text
    • http://www.1atlanticfunding.com/wp-content/plugins/formcraft/file-upload/server/content/files/160bfd34abb3be---17155196633.pdfIn PDF document text
    • http://sofia-es.tokyo/yamituki-n/uploads/files/xomokatezaxuwod.pdfIn PDF document text
    • http://grandinhr.eu/images/user/file/7721329116.pdfIn PDF document text
    • http://ekolojikweb.net/upld/userfiles/file/2342142039.pdfIn PDF document text
    • http://adanateknikservis.web.tr/wp-content/plugins/formcraft/file-upload/server/content/files/16076bf2085cd1---40583335487.pdfIn PDF document text
    • https://nguyenvanhuongloc.vn/app/webroot/files/images/pages/files/66500923005.pdfIn PDF document text
    • http://flexicourse.cz/res/file/2821807037.pdfIn PDF document text
    • https://churchosonline.com/wp-content/plugins/super-forms/uploads/php/files/f3a42f32cdf2d568b6ea573776c9517d/sirapexabidukanejixal.pdfIn PDF document text
    • http://asalsold.com/wp-content/plugins/formcraft/file-upload/server/content/files/1606eeea7f326b---bafid.pdfIn PDF document text
    • https://pilotcenter.gr/wp-content/plugins/super-forms/uploads/php/files/1d11r514fp0p0dn14dpsuqhuae/30165084404.pdfIn PDF document text
    • https://thewaves.net/wp-content/plugins/super-forms/uploads/php/files/bg9thh2064239qmijn4dvqfko0/63750601522.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 5

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_00014c8c.bin pdf-embedded-script PDF raw stream script payload at offset 0x14C8C 1616 bytes
SHA-256: c5925825fc4839961cae91ee63609aa871cbab57fe4e07df7afcdf2534e20383
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 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='pdf-parser'>
<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>Viwiha Cohice</rdf:li>
   </rdf:Seq>
  </dc:creator>
  <dc:description>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Excel worksheet save as csv. &lt;br&gt;&lt;center&gt;&lt;h2&gt;Powershell save excel worksheet as csv. Vbscript save excel worksheet as csv. Vba ex</rdf:li>
   </rdf:Alt>
  </dc:description>
  <dc:subject>
   <rdf:Bag>
    <rdf:li>Excel worksheet save as csv. &lt;br&gt;&lt;center&gt;&lt;h2&gt;Powershell save excel worksheet as csv. Vbscript save excel worksheet as csv. Vba ex</rdf:li>
   </rdf:Bag>
  </dc:subject>
  <dc:title>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Excel worksheet save as csv</rdf:li>
   </rdf:Alt>
  </dc:title>
 </rdf:Description>

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

 <rdf:Description rdf:about=''
  xmlns:xmp='http://ns.adobe.com/xap/1.0/'
  xmp:CreateDate='2020-04-12T05:33:06'
  xmp:CreatorTool='pdf-parser'/>

 <rdf:Description rdf:about=''
  xmlns:xmpMM='http://ns.adobe.com/xap/1.0/mm/'
  xmpMM:DocumentID='09b07cd8-9119-473f-a5f5-814a3332e566'
  xmpMM:InstanceID='19d3dc74-0857-4421-8101-7b028bc50d4d'/>

 <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_off0000cb6d.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xCB6D 10460 bytes
SHA-256: 27378cbd4f5b7153f6ca8ecfab6ae269d777cf721e146d960c5aa20aaeb7c1fa
font_01_sfnt_off0000e37a.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xE37A 17592 bytes
SHA-256: 7e989f5aaba81588b419eb42419ea4e707bea725de39c8f7f4018ce2c84431ef
font_02_sfnt_off0001119a.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x1119A 16792 bytes
SHA-256: 9d2294e344127da9ddc2b77d68b1576b6b78373885bc9da2859f180a98f2c1e1
font_03_sfnt_off000129ab.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x129AB 17352 bytes
SHA-256: 24a109e6faec71dacb800baa4c02a91a2b50bca32daeca89927a74a553bb64ea