Malicious PDF — malware analysis report

Static analysis result for SHA-256 af71f106063b410f…

MALICIOUS

PDF

77.8 KB Created: 2021-03-09 05:20:32 +02:00 Authoring application: wkhtmltopdf 0.12.5 (via Qt 4.8.7) First seen: 2021-05-23
MD5: 001805d6fe9ff961ba09894cbaca29f1 SHA-1: ec4e6ee87f6bded13ad0c3d3c9a164be3aa133f3 SHA-256: af71f106063b410f6d525b6a77c8823ae092441a94bcbd3442ea6bec502e8bc9
226 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.007 JavaScript

The PDF contains an embedded script that references "Automate the boring stuff with powershell pdf" and includes multiple external URLs, some of which are hosted on disposable domains. The embedded script likely serves to download and execute a second-stage payload, indicated by the "PDF_EMBEDDED_SCRIPT_PAYLOAD" and "ML_NYX_PDF_MALICIOUS" heuristics. The presence of "powershell" in the document body and the embedded script suggests an attempt to leverage PowerShell for malicious execution.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9996

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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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://dugedepap.ru/award?keyword=automate+the+boring+stuff+with+powershell+pdf PDF link annotation
    • http://serikanipesemo.iblogger.org/70653331957.pdfIn macro / runtime command snippet
    • https://cdn.sqhk.co/votexeruwiti/jdcIk1b/samorost_3_demo_walkthrough.pdfIn PDF document text
    • https://cdn.sqhk.co/dalegoti/fgjLBjO/2nd_grade_reading_comprehension_online_activities.pdfIn PDF document text
    • https://xakirajurupani.weebly.com/uploads/1/3/2/3/132303083/308716.pdfIn PDF document text
    • https://cdn.sqhk.co/sowotewope/NGifhce/91292413751.pdfIn PDF document text
    • https://fogufufizanalu.weebly.com/uploads/1/3/0/8/130813948/talarikakujun.pdfIn PDF document text
    • http://kevotefanevodaw.iblogger.org/51224270338.pdfIn PDF document text
    • http://www.ascendercorp.com/In PDF document text
    • http://www.ascendercorp.com/typedesigners.htmlIn PDF document text
    • https://6cdb29d4-22ce-4aaf-9e51-562b59d50851.filesusr.com/ugd/1b20fb_83c270e4ad8c4454bfd55165263e4afa.pdf?index=trueIn PDF document text
    • https://uploads.strikinglycdn.com/files/ecf0524a-e9e2-4dc6-8c09-7928bfd7acf2/what_does_ode_1_in_antigone_mean.pdfIn PDF document text
    • https://uploads.strikinglycdn.com/files/d1cabd74-1c7b-480c-af0a-d52bccb4e6c9/descartes_meditation_2_questions.pdfIn PDF document text
    • http://fuguxudurod.rf.gd/92495712192.pdfIn PDF document text
    • https://700ceb37-22d2-47c5-9888-d858af679aee.filesusr.com/ugd/c345b0_680339d2cddc47b08db6715381693911.pdf?index=trueIn PDF document text
    • https://s3.amazonaws.com/wenobagupexekap/35830379495.pdfIn PDF document text
    • http://guligovidafijew.rf.gd/python_learning_books_free.pdfIn PDF document text
    • https://cf2e1f24-e5f1-4289-9567-3affce9c164e.filesusr.com/ugd/a4ea6c_af60d099b2924544954f1e4917145ec2.pdf?index=trueIn PDF document text
    • https://a9864912-ad24-422b-99f3-2d90f7703507.filesusr.com/ugd/d6af85_41dc0aa8d524498abbb827ab2eb095fd.pdf?index=trueIn PDF document text
    • https://s3.amazonaws.com/mipeboro/date-_fns_timezone_format.pdfIn PDF document text
    • https://s3.amazonaws.com/vuterijoze/zusuwolovorawilufiwowi.pdfIn PDF document text
    • https://1864c106-1a4f-4194-99fb-dabd5a0af450.filesusr.com/ugd/17b194_ce917a68117542c593629d70607568d6.pdf?index=trueIn PDF document text
    • http://julajibumomas.rf.gd/werad.pdfIn PDF document text
    • https://uploads.strikinglycdn.com/files/c87fa029-3670-4d46-80fb-677072698bda/crock_pot_digital_instructions_symbols.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://scripts.sil.org/OFLIn PDF document text

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_000131b1.bin pdf-embedded-script PDF raw stream script payload at offset 0x131B1 1634 bytes
SHA-256: 85293138fb35ec69fdadee3c8bd38d6a1865e0f7c102418a189df02e91da0955
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 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='pstoedit'>
<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>Bihetusa Tehunitu</rdf:li>
   </rdf:Seq>
  </dc:creator>
  <dc:description>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Automate the boring stuff with powershell pdf. PowerShell® is both a script language and an administrative shell that allows you to control and aut</rdf:li>
   </rdf:Alt>
  </dc:description>
  <dc:subject>
   <rdf:Bag>
    <rdf:li>Automate the boring stuff with powershell pdf. PowerShell® is both a script language and an administrative shell that allows you to control and aut</rdf:li>
   </rdf:Bag>
  </dc:subject>
  <dc:title>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Automate the boring stuff with powershell pdf</rdf:li>
   </rdf:Alt>
  </dc:title>
 </rdf:Description>

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

 <rdf:Description rdf:about=''
  xmlns:xmp='http://ns.adobe.com/xap/1.0/'
  xmp:CreateDate='2020-08-23T21:25:20'
  xmp:CreatorTool='pstoedit'/>

 <rdf:Description rdf:about=''
  xmlns:xmpMM='http://ns.adobe.com/xap/1.0/mm/'
  xmpMM:DocumentID='f385e5cf-b9f1-4bae-8d68-5b5dffff7394'
  xmpMM:InstanceID='a3038a06-bcf6-4b8b-b02e-07ae06068a85'/>

 <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_off0000ef85.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xEF85 5676 bytes
SHA-256: 8252e840647d6330876eade8276d186c596b9c1aa63ae603da5a580120eb8228
font_01_sfnt_off000102af.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x102AF 10908 bytes
SHA-256: 652141105a3ee6d124a637eeabcf628babc2d39f2802db077bc9202884ad3f50