{"id":6680,"date":"2011-02-27T17:56:34","date_gmt":"2011-02-27T16:56:34","guid":{"rendered":"http:\/\/www.corelan.be\/?p=6680"},"modified":"2026-03-25T09:04:14","modified_gmt":"2026-03-25T08:04:14","slug":"anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis","status":"publish","type":"post","link":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/","title":{"rendered":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>A while ago I stumbled upon an awesome write-up of a very nice CTF challenge created by sapheads:<br \/>\n<a href=\"http:\/\/hackerschool.org\/DefconCTF\/17\/B300.html\" target=\"_blank\" rel=\"noopener\">http:\/\/hackerschool.org\/DefconCTF\/17\/B300.html<\/a><\/p>\n<p>I love cartoons, and I love reversing, so I decided to play a little bit with that binary (b300.exe) which was a lot of fun.<\/p>\n<p>Because some interesting anti-debugging tricks were implemented into the binary, I decided to make a short video about the reversing process.<\/p>\n<p>First of all, thanks to KorUPt and Sapheads (http:\/\/www.sapheads.org) for the awesome cartoon.<br \/>\nAt the time of creating this video, the binary and KOrUPt's write-up are available here:<br \/>\n<a href=\"http:\/\/www.rohitab.com\/discuss\/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=2736\" target=\"_blank\" rel=\"noopener\">http:\/\/www.rohitab.com\/discuss\/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=2736<\/a><\/p>\n<p>Finally, thanks to Defcon and DDTek for this great challenge !<\/p>\n<p>Enjoy!<\/p>\n<p>&nbsp;<\/p>\n<h3>Video<\/h3>\n<p><video controls width=\"100%\" preload=\"metadata\"><source src=\"\/public\/video\/Defcon2009.mp4\" type=\"video\/mp4\">Your browser does not support the video tag.<\/video><\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>A while ago I stumbled upon an awesome write-up of a very nice CTF challenge created by sapheads: http:\/\/hackerschool.org\/DefconCTF\/17\/B300.html I love cartoons, and I love reversing, so I decided to play a little bit with that binary (b300.exe) which was a lot of fun. Because some interesting anti-debugging tricks were implemented into the binary...<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3708,2561,127,2633],"tags":[2802,2676,2619,2308,2128,261],"class_list":["post-6680","post","type-post","status-publish","format-standard","hentry","category-debugging","category-malware-and-reversing","category-security","category-video-security","tag-mona-py","tag-reverse-engineering","tag-anti-debugging","tag-ctf","tag-immunity-debugger","tag-corelan"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research<\/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:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"og:description\" content=\"A while ago I stumbled upon an awesome write-up of a very nice CTF challenge created by sapheads: http:\/\/hackerschool.org\/DefconCTF\/17\/B300.html I love cartoons, and I love reversing, so I decided to play a little bit with that binary (b300.exe) which was a lot of fun. Because some interesting anti-debugging tricks were implemented into the binary...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/\" \/>\n<meta property=\"og:site_name\" content=\"Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/corelanconsulting\" \/>\n<meta property=\"article:published_time\" content=\"2011-02-27T16:56:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-25T08:04:14+00:00\" \/>\n<meta name=\"author\" content=\"Corelan Team (fancy)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@corelanc0d3r\" \/>\n<meta name=\"twitter:site\" content=\"@corelanc0d3r\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/\"},\"author\":{\"name\":\"Corelan Team (fancy)\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/19ac49794ad03a4f053203b956e97513\"},\"headline\":\"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis\",\"datePublished\":\"2011-02-27T16:56:34+00:00\",\"dateModified\":\"2026-03-25T08:04:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/\"},\"wordCount\":151,\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"keywords\":[\"mona.py\",\"reverse engineering\",\"anti debugging\",\"ctf\",\"immunity debugger\",\"corelan\"],\"articleSection\":[\"Debugging\",\"Malware and Reversing\",\"Security\",\"Video\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/\",\"name\":\"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\"},\"datePublished\":\"2011-02-27T16:56:34+00:00\",\"dateModified\":\"2026-03-25T08:04:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2011\\\/02\\\/27\\\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.corelan.be\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"name\":\"Corelan CyberSecurity Research\",\"description\":\"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.corelan.be\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\",\"name\":\"Corelan CyberSecurity Research\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"contentUrl\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"width\":200,\"height\":200,\"caption\":\"Corelan CyberSecurity Research\"},\"image\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/corelanconsulting\",\"https:\\\/\\\/x.com\\\/corelanc0d3r\",\"https:\\\/\\\/x.com\\\/corelanconsulting\",\"https:\\\/\\\/instagram.com\\\/corelanconsult\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/19ac49794ad03a4f053203b956e97513\",\"name\":\"Corelan Team (fancy)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x\",\"caption\":\"Corelan Team (fancy)\"},\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/author\\\/fancy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research","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:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/","og_locale":"en_US","og_type":"article","og_title":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research","og_description":"A while ago I stumbled upon an awesome write-up of a very nice CTF challenge created by sapheads: http:\/\/hackerschool.org\/DefconCTF\/17\/B300.html I love cartoons, and I love reversing, so I decided to play a little bit with that binary (b300.exe) which was a lot of fun. Because some interesting anti-debugging tricks were implemented into the binary...","og_url":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/","og_site_name":"Corelan | Exploit Development &amp; Vulnerability Research","article_publisher":"https:\/\/www.facebook.com\/corelanconsulting","article_published_time":"2011-02-27T16:56:34+00:00","article_modified_time":"2026-03-25T08:04:14+00:00","author":"Corelan Team (fancy)","twitter_card":"summary_large_image","twitter_creator":"@corelanc0d3r","twitter_site":"@corelanc0d3r","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/#article","isPartOf":{"@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/"},"author":{"name":"Corelan Team (fancy)","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/19ac49794ad03a4f053203b956e97513"},"headline":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis","datePublished":"2011-02-27T16:56:34+00:00","dateModified":"2026-03-25T08:04:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/"},"wordCount":151,"publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"keywords":["mona.py","reverse engineering","anti debugging","ctf","immunity debugger","corelan"],"articleSection":["Debugging","Malware and Reversing","Security","Video"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/","url":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/","name":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis - Corelan | Exploit Development &amp; Vulnerability Research","isPartOf":{"@id":"https:\/\/www.corelan.be\/#website"},"datePublished":"2011-02-27T16:56:34+00:00","dateModified":"2026-03-25T08:04:14+00:00","breadcrumb":{"@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.corelan.be\/index.php\/2011\/02\/27\/anti-debugging-tricks-revealed-defcon-ctf-qualifications-2009-bin300-analysis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.corelan.be\/"},{"@type":"ListItem","position":2,"name":"Anti-debugging tricks revealed - Defcon CTF Qualifications 2009: Bin300 Analysis"}]},{"@type":"WebSite","@id":"https:\/\/www.corelan.be\/#website","url":"https:\/\/www.corelan.be\/","name":"Corelan CyberSecurity Research","description":"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.","publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.corelan.be\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.corelan.be\/#organization","name":"Corelan CyberSecurity Research","url":"https:\/\/www.corelan.be\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/","url":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","contentUrl":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","width":200,"height":200,"caption":"Corelan CyberSecurity Research"},"image":{"@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/corelanconsulting","https:\/\/x.com\/corelanc0d3r","https:\/\/x.com\/corelanconsulting","https:\/\/instagram.com\/corelanconsult"]},{"@type":"Person","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/19ac49794ad03a4f053203b956e97513","name":"Corelan Team (fancy)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e61c2a72c3ac875b017df8edf75c236f8c0147bee76db02a9b84f58d24283ed9?s=96&d=mm&r=x","caption":"Corelan Team (fancy)"},"url":"https:\/\/www.corelan.be\/index.php\/author\/fancy\/"}]}},"views":8888,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/6680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/comments?post=6680"}],"version-history":[{"count":2,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/6680\/revisions"}],"predecessor-version":[{"id":18670,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/6680\/revisions\/18670"}],"wp:attachment":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/media?parent=6680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/categories?post=6680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/tags?post=6680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}