{"id":10662,"date":"2022-07-08T02:21:51","date_gmt":"2022-07-08T02:21:51","guid":{"rendered":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/?post_type=session&#038;p=10662"},"modified":"2023-05-26T08:14:58","modified_gmt":"2023-05-26T08:14:58","slug":"an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit","status":"publish","type":"session","link":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/","title":{"rendered":"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit"},"content":{"rendered":"<p style=\"text-align: justify;\">When looking for vulnerabilities in products, we sometimes come across software running on seldom used technology without much documentation. We are then left with two choices: moving on, because going down this road will not offer a good return on investment of our time, or&#8230; ignore all common sense and dive down the rabbit hole to shed some light on that mysterious piece of tech.<\/p>\n<p style=\"text-align: justify;\">Choosing the latter is how I crossed paths with JRuby. Unlike Scala, this Java Virtual Machine language isn&#8217;t very popular, but it is used by Elastic, RedHat, and eazyBI among others. It has even been labelled as a &#8220;high performance&#8221; alternative to the standard Ruby implementation. JRuby and its Intermediate Representation (IR) format provide ahead-of-time compilation that turns standard Ruby files into Java ones that contain a serialized IR of the original code.<\/p>\n<p style=\"text-align: justify;\">In this talk, we will dive right down the rabbit hole of navigating through poorly documented software to turn black-box research to grey. We will look at vulnerabilities found during the audit of products that use JRuby thanks to this research and introduce YBurj, a new free and open-source JRuby IR decompiler released during the conference that allows the automated recovery of compiled source code.<\/p>\n","protected":false},"template":"","class_list":["post-10662","session","type-session","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket<\/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:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket\" \/>\n<meta property=\"og:description\" content=\"When looking for vulnerabilities in products, we sometimes come across software running on seldom used technology without much documentation. We are then left with two choices: moving on, because going down this road will not offer a good return on investment of our time, or&#8230; ignore all common sense and dive down the rabbit hole [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/\" \/>\n<meta property=\"og:site_name\" content=\"HITBSecConf2023 - Phuket\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-26T08:14:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/\",\"url\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/\",\"name\":\"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket\",\"isPartOf\":{\"@id\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/#website\"},\"datePublished\":\"2022-07-08T02:21:51+00:00\",\"dateModified\":\"2023-05-26T08:14:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Session\",\"item\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/#website\",\"url\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/\",\"name\":\"HITBSecConf2023 - Phuket\",\"description\":\"August 22 - 26 @ InterContinental\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket","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:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/","og_locale":"en_US","og_type":"article","og_title":"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket","og_description":"When looking for vulnerabilities in products, we sometimes come across software running on seldom used technology without much documentation. We are then left with two choices: moving on, because going down this road will not offer a good return on investment of our time, or&#8230; ignore all common sense and dive down the rabbit hole [&hellip;]","og_url":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/","og_site_name":"HITBSecConf2023 - Phuket","article_modified_time":"2023-05-26T08:14:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/","url":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/","name":"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit - HITBSecConf2023 - Phuket","isPartOf":{"@id":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/#website"},"datePublished":"2022-07-08T02:21:51+00:00","dateModified":"2023-05-26T08:14:58+00:00","breadcrumb":{"@id":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/an-ode-to-rabbit-holes-writing-a-new-decompiler-just-for-a-security-audit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/"},{"@type":"ListItem","position":2,"name":"Session","item":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/session\/"},{"@type":"ListItem","position":3,"name":"An Ode to Rabbit Holes: Writing a New Decompiler Just for a Security Audit"}]},{"@type":"WebSite","@id":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/#website","url":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/","name":"HITBSecConf2023 - Phuket","description":"August 22 - 26 @ InterContinental","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/wp-json\/wp\/v2\/session\/10662"}],"collection":[{"href":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/wp-json\/wp\/v2\/session"}],"about":[{"href":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/wp-json\/wp\/v2\/types\/session"}],"wp:attachment":[{"href":"https:\/\/conference.hitb.org\/hitbsecconf2023hkt\/wp-json\/wp\/v2\/media?parent=10662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}