{"id":2610,"date":"2026-04-21T08:04:06","date_gmt":"2026-04-21T08:04:06","guid":{"rendered":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/"},"modified":"2026-04-21T08:04:06","modified_gmt":"2026-04-21T08:04:06","slug":"a-wav-with-a-payload-tue-apr-21st","status":"publish","type":"post","link":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/","title":{"rendered":"A .WAV With A Payload, (Tue, Apr 21st)"},"content":{"rendered":"<div>\n<p>There have been reports of threat actors using a <a href=\"https:\/\/www.bleepingcomputer.com\/news\/security\/backdoored-telnyx-pypi-package-pushes-malware-hidden-in-wav-audio\/\">.wav file as a vector for malware<\/a>.<\/p>\n<p>It&#8217;s a proper .wav file, but they didn&#8217;t use staganography. The .wav file will play, but you&#8217;ll just hear noise:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\" style=\"width: 941px; height: 721px;\"><\/p>\n<p>That&#8217;s because the TAs have just replaced the bytes that encode the sound with the BASE64 representation of their payload:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100220.png\" style=\"width: 597px; height: 497px;\"><\/p>\n<p>Thus I don&#8217;t need a .wav parser to extract the encoded payload, I can just use my <a href=\"https:\/\/github.com\/DidierStevens\/DidierStevensSuite\/blob\/master\/base64dump.py\">base64dump.py<\/a> tool:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100408.png\" style=\"width: 993px; height: 223px;\"><\/p>\n<p>The BASE64-decoded payload is an XOR-encoded PE file. So I don&#8217;t need to make a custom decoder, I can just perform a known-plaintext attack looking for the DOS header with my <a href=\"https:\/\/github.com\/DidierStevens\/DidierStevensSuite\/blob\/master\/xor-kpa.py\">xor-kpa.py<\/a> tool:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100857.png\" style=\"width: 1165px; height: 247px;\"><\/p>\n<p>The XOR key was found. Thus we can easily dump the decoded PE file and see the MZ header at position 0x08 and a bit further down the DOS header we used in the known-plaintext-attack:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-102311.png\" style=\"width: 1165px; height: 413px;\"><\/p>\n<p>And my tool <a href=\"https:\/\/github.com\/DidierStevens\/DidierStevensSuite\/blob\/master\/pecheck.py\">pecheck.py<\/a> can extract an analyse the <a href=\"https:\/\/www.virustotal.com\/gui\/file\/a0a8857e8a65c05778cf6068ad4c05ec9b6808990ae1427e932d2989754c59a4\/detection\">sample<\/a>:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-101916.png\" style=\"width: 1165px; height: 171px;\"><\/p>\n<p>Didier Stevens<br \/>\nSenior handler<br \/>\n<a href=\"http:\/\/blog.didierstevens.com\/\">blog.DidierStevens.com<\/a><\/p>\n<p> (c) SANS Internet Storm Center. https:\/\/isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>There have been reports of threat actors using a .wav file as a vector for malware. It&#8217;s a proper .wav file, but they didn&#8217;t use staganography. The .wav file will play, but you&#8217;ll just hear noise: That&#8217;s because the TAs have just replaced the bytes that encode the sound with the BASE64 representation of their [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[90],"tags":[91],"class_list":["post-2610","post","type-post","status-publish","format-standard","hentry","category-cybersecurity","tag-cybersecurity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited\" \/>\n<meta property=\"og:description\" content=\"There have been reports of threat actors using a .wav file as a vector for malware. It&#8217;s a proper .wav file, but they didn&#8217;t use staganography. The .wav file will play, but you&#8217;ll just hear noise: That&#8217;s because the TAs have just replaced the bytes that encode the sound with the BASE64 representation of their [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\" \/>\n<meta property=\"og:site_name\" content=\"Imperative Business Ventures Limited\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-21T08:04:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02\"},\"headline\":\"A .WAV With A Payload, (Tue, Apr 21st)\",\"datePublished\":\"2026-04-21T08:04:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\"},\"wordCount\":194,\"image\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\",\"keywords\":[\"Cybersecurity\"],\"articleSection\":[\"Cybersecurity\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\",\"url\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\",\"name\":\"A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ibvl.in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\",\"datePublished\":\"2026-04-21T08:04:06+00:00\",\"author\":{\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage\",\"url\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\",\"contentUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.ibvl.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A .WAV With A Payload, (Tue, Apr 21st)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.ibvl.in\/#website\",\"url\":\"https:\/\/blog.ibvl.in\/\",\"name\":\"Imperative Business Ventures Limited\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.ibvl.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4d20b2cd313e4417a599678e950e6fb7d4dfa178a72f2b769335a08aaa615aa9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4d20b2cd313e4417a599678e950e6fb7d4dfa178a72f2b769335a08aaa615aa9?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/blog.ibvl.in\"],\"url\":\"https:\/\/blog.ibvl.in\/index.php\/author\/admin_hcbs9yw6\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/","og_locale":"en_US","og_type":"article","og_title":"A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited","og_description":"There have been reports of threat actors using a .wav file as a vector for malware. It&#8217;s a proper .wav file, but they didn&#8217;t use staganography. The .wav file will play, but you&#8217;ll just hear noise: That&#8217;s because the TAs have just replaced the bytes that encode the sound with the BASE64 representation of their [&hellip;]","og_url":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/","og_site_name":"Imperative Business Ventures Limited","article_published_time":"2026-04-21T08:04:06+00:00","og_image":[{"url":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#article","isPartOf":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/"},"author":{"name":"admin","@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02"},"headline":"A .WAV With A Payload, (Tue, Apr 21st)","datePublished":"2026-04-21T08:04:06+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/"},"wordCount":194,"image":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage"},"thumbnailUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png","keywords":["Cybersecurity"],"articleSection":["Cybersecurity"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/","url":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/","name":"A .WAV With A Payload, (Tue, Apr 21st) - Imperative Business Ventures Limited","isPartOf":{"@id":"https:\/\/blog.ibvl.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage"},"image":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage"},"thumbnailUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png","datePublished":"2026-04-21T08:04:06+00:00","author":{"@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02"},"breadcrumb":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#primaryimage","url":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png","contentUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260419-100007.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/04\/21\/a-wav-with-a-payload-tue-apr-21st\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.ibvl.in\/"},{"@type":"ListItem","position":2,"name":"A .WAV With A Payload, (Tue, Apr 21st)"}]},{"@type":"WebSite","@id":"https:\/\/blog.ibvl.in\/#website","url":"https:\/\/blog.ibvl.in\/","name":"Imperative Business Ventures Limited","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.ibvl.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4d20b2cd313e4417a599678e950e6fb7d4dfa178a72f2b769335a08aaa615aa9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d20b2cd313e4417a599678e950e6fb7d4dfa178a72f2b769335a08aaa615aa9?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/blog.ibvl.in"],"url":"https:\/\/blog.ibvl.in\/index.php\/author\/admin_hcbs9yw6\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/posts\/2610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/comments?post=2610"}],"version-history":[{"count":0,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/posts\/2610\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/media?parent=2610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/categories?post=2610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/tags?post=2610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}