{"id":1629,"date":"2026-03-02T12:12:25","date_gmt":"2026-03-02T12:12:25","guid":{"rendered":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/"},"modified":"2026-03-02T12:12:25","modified_gmt":"2026-03-02T12:12:25","slug":"quick-howto-zip-files-inside-rtf-mon-mar-2nd","status":"publish","type":"post","link":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/","title":{"rendered":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd)"},"content":{"rendered":"<div>\n<p>In diary entry &#8220;<a href=\"https:\/\/isc.sans.edu\/diary\/Quick%20Howto%3A%20Extract%20URLs%20from%20RTF%20files\/32692\">Quick Howto: Extract URLs from RTF files<\/a>&#8221; I mentioned ZIP files.<\/p>\n<p>There are OLE objects inside this RTF file:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png\" style=\"width: 993px; height: 527px;\"><\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124956.png\" style=\"width: 993px; height: 511px;\"><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125102.png\" style=\"width: 993px; height: 333px;\"><\/p>\n<p>They can be analyzed with <a href=\"https:\/\/github.com\/DidierStevens\/DidierStevensSuite\/blob\/master\/oledump.py\">oledump.py<\/a> like this:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125403.png\" style=\"width: 993px; height: 171px;\"><\/p>\n<p>Options &#8211;storages and -E %CLSID% are used to show the abused CLSID.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125518.png\" style=\"width: 993px; height: 191px;\"><\/p>\n<p>Stream CONTENTS contains the URL:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125609.png\" style=\"width: 993px; height: 527px;\"><\/p>\n<p>We extracted this URL with the method described in my previous diary entry &#8220;<a href=\"https:\/\/isc.sans.edu\/diary\/Quick%20Howto%3A%20Extract%20URLs%20from%20RTF%20files\/32692\">Quick Howto: Extract URLs from RTF files<\/a>&#8220;.<\/p>\n<p>But this OLE object contains a .docx file.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125740.png\" style=\"width: 993px; height: 253px;\"><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-125928.png\" style=\"width: 993px; height: 153px;\"><\/p>\n<p>A .docx file is a ZIP container, and thus the URLs it contains are inside compressed files, and will not be extracted with the technique I explained.<\/p>\n<p>But this file can be looked into with <a href=\"https:\/\/github.com\/DidierStevens\/DidierStevensSuite\/blob\/master\/zipdump.py\">zipdump.py<\/a>:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-130005.png\" style=\"width: 993px; height: 367px;\"><\/p>\n<p>It is possible to search for ZIP files embedded inside RTF files: 50 4B 03 04 -&gt; hex sequence of magic number header for file record in ZIP file.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-130139.png\" style=\"width: 993px; height: 207px;\"><\/p>\n<p>Search for all embedded ZIP files:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-130412.png\" style=\"width: 993px; height: 755px;\"><\/p>\n<p>Extract URLs:<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-130600.png\" style=\"width: 993px; height: 149px;\"><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-130636.png\" style=\"width: 993px; height: 169px;\"><\/p>\n<p>\u00a0<\/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>In diary entry &#8220;Quick Howto: Extract URLs from RTF files&#8221; I mentioned ZIP files. There are OLE objects inside this RTF file: \u00a0 They can be analyzed with oledump.py like this: Options &#8211;storages and -E %CLSID% are used to show the abused CLSID. Stream CONTENTS contains the URL: We extracted this URL with the method [&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-1629","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>Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - 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\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - Imperative Business Ventures Limited\" \/>\n<meta property=\"og:description\" content=\"In diary entry &#8220;Quick Howto: Extract URLs from RTF files&#8221; I mentioned ZIP files. There are OLE objects inside this RTF file: \u00a0 They can be analyzed with oledump.py like this: Options &#8211;storages and -E %CLSID% are used to show the abused CLSID. Stream CONTENTS contains the URL: We extracted this URL with the method [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\" \/>\n<meta property=\"og:site_name\" content=\"Imperative Business Ventures Limited\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-02T12:12:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.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\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02\"},\"headline\":\"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd)\",\"datePublished\":\"2026-03-02T12:12:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\"},\"wordCount\":179,\"image\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png\",\"keywords\":[\"Cybersecurity\"],\"articleSection\":[\"Cybersecurity\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\",\"url\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\",\"name\":\"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - Imperative Business Ventures Limited\",\"isPartOf\":{\"@id\":\"https:\/\/blog.ibvl.in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png\",\"datePublished\":\"2026-03-02T12:12:25+00:00\",\"author\":{\"@id\":\"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage\",\"url\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png\",\"contentUrl\":\"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.ibvl.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd)\"}]},{\"@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":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - 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\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/","og_locale":"en_US","og_type":"article","og_title":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - Imperative Business Ventures Limited","og_description":"In diary entry &#8220;Quick Howto: Extract URLs from RTF files&#8221; I mentioned ZIP files. There are OLE objects inside this RTF file: \u00a0 They can be analyzed with oledump.py like this: Options &#8211;storages and -E %CLSID% are used to show the abused CLSID. Stream CONTENTS contains the URL: We extracted this URL with the method [&hellip;]","og_url":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/","og_site_name":"Imperative Business Ventures Limited","article_published_time":"2026-03-02T12:12:25+00:00","og_image":[{"url":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.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\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#article","isPartOf":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/"},"author":{"name":"admin","@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02"},"headline":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd)","datePublished":"2026-03-02T12:12:25+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/"},"wordCount":179,"image":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage"},"thumbnailUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png","keywords":["Cybersecurity"],"articleSection":["Cybersecurity"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/","url":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/","name":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd) - Imperative Business Ventures Limited","isPartOf":{"@id":"https:\/\/blog.ibvl.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage"},"image":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage"},"thumbnailUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png","datePublished":"2026-03-02T12:12:25+00:00","author":{"@id":"https:\/\/blog.ibvl.in\/#\/schema\/person\/55b87b72a56b1bbe9295fe5ef7a20b02"},"breadcrumb":{"@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#primaryimage","url":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png","contentUrl":"https:\/\/isc.sans.edu\/diaryimages\/images\/20260209-124939.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.ibvl.in\/index.php\/2026\/03\/02\/quick-howto-zip-files-inside-rtf-mon-mar-2nd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.ibvl.in\/"},{"@type":"ListItem","position":2,"name":"Quick Howto: ZIP Files Inside RTF, (Mon, Mar 2nd)"}]},{"@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\/1629","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=1629"}],"version-history":[{"count":0,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/posts\/1629\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/media?parent=1629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/categories?post=1629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ibvl.in\/index.php\/wp-json\/wp\/v2\/tags?post=1629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}