Keynote
Dan Guido (Co-founder · Trail of Bits)
BruCON 0x05 · Day 2
Overview
In this thought-provoking keynote titled "EIP Revisited," Dan Guido, co-founder of Trail of Bits, takes a critical look at the state of exploitation and defense in 2013, four years after his initial "Exploit Intelligence Project" (EIP) research. Guido challenges prevailing industry narratives by presenting hard data on the efficacy of common security mitigations against both commodity crime packs and sophisticated Advanced Persistent Threat (APT) groups. He argues for a shift from a reactive, product-centric security mindset to a proactive, intelligence-driven approach focused on understanding adversary capabilities and deploying effective, technology-based defenses.

Key moments
- 5:50 EIP: Separating what could happen from what is happening
- 18:15 Basic exploit mitigations successfully defeated mass malware
- 26:00 NYU Poly undergrads write better exploits than APTs
- 32:00 Amateurs push hard, professionals push as hard as needed
- 34:30 Taming the tiger: using the Kill Chain model
- 49:00 User security awareness training is 'placebo'
- 60:00 Undergraduates are the attackers and defenders of tomorrow
EIP Revisited
Speakers: Dan Guido, Co-founder, Trail of Bits
Conference: BruCON
YouTube: https://www.youtube.com/watch?v=z9UfoAyje-4
Overview
In this thought-provoking keynote titled "EIP Revisited," Dan Guido, co-founder of Trail of Bits, takes a critical look at the state of exploitation and defense in 2013, four years after his initial "Exploit Intelligence Project" (EIP) research. Guido challenges prevailing industry narratives by presenting hard data on the efficacy of common security mitigations against both commodity crime packs and sophisticated Advanced Persistent Threat (APT) groups. He argues for a shift from a reactive, product-centric security mindset to a proactive, intelligence-driven approach focused on understanding adversary capabilities and deploying effective, technology-based defenses.
The talk dissects the evolution of exploit kits, highlighting how widespread adoption of basic security mitigations has largely blunted their effectiveness. More controversially, Guido reveals surprising weaknesses in the exploits used by highly-touted APT groups like Aurora and Elderwood, demonstrating that even these "elite" attackers often rely on unreliable code and outdated attack vectors. This analysis underscores a fundamental disconnect between the perceived sophistication of attackers and their actual operational capabilities, offering a fresh perspective on how organizations should prioritize their defensive strategies.
Guido's presentation serves as a call to action for the security industry, urging researchers and practitioners to focus on building inherently more secure software, developing better tools for threat intelligence, and implementing robust technical controls rather than relying on less effective measures like user training. By dissecting real-world attack data and contrasting it with academic understanding, he provides a compelling case for a more analytical and data-driven approach to cybersecurity, emphasizing that true progress comes from understanding "what is happening" rather than being consumed by "what could happen."
Background
▶ Watch: EIP: Separating what could happen from what is happening (5:50)
Dan Guido's "EIP Revisited" builds directly upon his earlier work, the "Exploit Intelligence Project" (EIP), a case study from 2009-2010 that pioneered an intelligence-driven security methodology. The original EIP aimed to cut through the fear, uncertainty, and doubt (FUD) prevalent in the security industry by focusing on concrete, observed attack patterns rather than theoretical possibilities. The core questions were: How can intelligence mitigate threats? What are optimal defenses against specific threats, like mass malware crime packs? What is the exploit ecosystem, and how do security research and exploits apply to real-world compromises?
The initial EIP yielded several key findings regarding crime packs of that era:
- Clear Market Leaders: Only four to five dominant exploit kits were prevalent.
- Limited Target Support: These kits primarily targeted four main programs.
- Low-Quality Exploits: They rarely used advanced exploitation techniques, making them vulnerable to basic mitigations.
- Component Targeting: They often attacked easily disabled components like Java applets in the Internet zone.
- External Exploit Development: Exploit kits were not developing their own memory corruption flaws; instead, they were "stealing" them from APT campaigns. Logic flaws, conversely, often came from white hat security researchers. This led to an interesting observation: APT groups seemed adept at memory corruption but lacked architectural understanding for logic flaws, while white hats focused on logic flaws.
- Java Prediction: Guido predicted that Java would become a primary path forward for attackers due to its ease of exploitation and ability to bypass existing mitigations.
Based on these findings, the original EIP derived simple yet highly effective defenses:
- Enable DEP (Data Execution Prevention): Many systems in 2009-2010 didn't have DEP enabled by default.
- Remove Java from the Internet Zone: Disabling Java applets in the browser would prevent a common attack vector.
- Flip a Configuration Flag in Adobe Reader: Simple configuration changes could significantly harden the application.
- Use EMET (Enhanced Mitigation Experience Toolkit) where possible: EMET, released around late 2009/early 2010, offered additional exploit mitigations.
Crucially, the EIP emphasized continuous monitoring of threat intelligence to adapt defenses as the threat landscape evolved. "EIP Revisited" examines how these predictions and recommendations held up by 2013 and explores the new challenges posed by evolving threat actors.
Key Findings
▶ Watch: NYU Poly undergrads write better exploits than APTs (26:00)
Guido's "EIP Revisited" reveals a stark contrast between the progress made against commodity crime packs and the evolving, albeit often overestimated, capabilities of APT groups.
Against Crime Packs (2013): A Success Story (Mostly)
- Mitigation Adoption: By 2013, modern desktops widely featured DEP, ASLR (Address Space Layout Randomization), and robust sandboxes with restricted tokens and low integrity, presenting a significant challenge for mass exploitation. Internet Explorer 10, for example, saw a large jump in usage, bringing these protections to more users.
- Exploit Kit Stagnation: Popular exploit kits like Blackhole, Cool, Sweet Orange, and Ganda showed minimal investment in bypassing these modern mitigations. Their primary modes of operation were:
- Java exploits for Windows 7 and other non-XP systems.
- IE, Reader, and Flash exploits primarily for Windows XP.
- They had not implemented capabilities to exploit memory corruption flaws on platforms higher than XP, indicating a failure to bypass ASLR on modern systems.
- The Dooku Font Bug Anomaly: The only significant exception was the TrueType font bug (CVE-2011-3402), originally used in the Dooku APT campaign. This exploit, "repurposed for a lot of these massive exploitation campaigns," was a "monolith from the sky" that bypassed every protection and achieved kernel code execution on a wide variety of platforms. It was a rare instance of a sophisticated APT exploit being adopted by crime packs.
- Exploit Sources: Memory corruption exploits were almost exclusively derived from APT campaigns or the VUPEN blog. Java exploits, however, were a "dog pile" from white hat security researchers like Adam Gowdiak (Security Explorations), Stefan Cornelius, and ZDI reporters, who aggressively broke the Java sandbox.
- "White Hat Strike": Guido observed a decline in white hat security research focused on memory corruption flaws, contrasting with 2010. This meant fewer new memory corruption exploits were publicly released and subsequently integrated into crime packs.
- Ponch's Innovation (and limits): Ponch, the developer of Blackhole and Cool exploit kits, recognized the pressure and offered a $100,000 bug bounty for exploits bypassing DEP and ASLR. As a result, the Cool exploit kit gained some unique capabilities, including the Dooku font bug and two other exploits (IE9 and Reader 10 bugs) that worked on sandboxed platforms. However, Guido had not observed any bundled privilege escalation exploits in the wild with Cool, though some kernel exploits were present in its source code.
- EIP Recommendations Validated: The original EIP recommendations (DEP, secure Java config, Adobe Reader hardening) proved highly effective. Systems with secure Java configurations were "completely out of reach of all the crime packs." This demonstrated a significant success for the industry in pushing back against mass exploitation.
Against APT (Aurora/Elderwood): Surprising Weaknesses
- Aurora's Reputation: APT groups like Aurora (responsible for the Google hack, prolific zero-day developers, pioneers of watering hole attacks) were perceived as highly sophisticated and a "force to be reckoned with."
- Elderwood Group Analysis: Guido analyzed the Elderwood group, an Aurora spin-off that conducted "internal research and development to figure out how they could scale their operations even wider." They developed reusable vulnerability discovery and exploitation tools, using nine zero-days (five for Adobe Flash, four for Internet Explorer) over two years, compromising dozens of websites (e.g., Council on Foreign Relations).
- Elderwood's Exploit Quality: Contrary to popular belief, Elderwood's exploits were found to be low quality and unreliable. They:
- Affected only specific versions (e.g., Internet Explorer 8).
- Required multiple outdated plugins (Java, Office, Flash) to be enabled.
- Had a 50% crash rate even on supposedly supported platforms, making them highly unreliable in real-world scenarios.
- Did not demonstrate a single capability to overcome ASLR without using an array of outdated plugins.
- NYU Poly Undergrads vs. APT: Guido dramatically illustrated this point by comparing Elderwood's capabilities to his NYU Poly computer science undergraduates. Students with no prior exploitation experience could, after 40 hours of basic training (the "Assured Exploitation" course), write more reliable exploits that bypassed ASLR, worked on Windows 7, and did not require plugins. His intern, Davis, completed the course in five days and developed even better exploits in ten.
- APT's Tactical Shifts: Guido concluded that APT groups can often achieve their goals without directly confronting modern mitigations. They rapidly shift tactics to find "low cost entry points":
- Spear-phishing with attachments: RSA SecurID compromise used Flash exploits delivered as attachments, executing in medium integrity and bypassing browser sandboxes.
- Targeting weak links: The Google hack found "one guy in a remote office that used IE6" – demonstrating reconnaissance to find the path of least resistance.
- "Professionals push as hard as they have to," implying they don't always deploy their most sophisticated capabilities if an easier path exists.
In essence, while commodity attackers struggled against better-protected systems, APTs, despite their perceived prowess, often relied on surprisingly weak exploits or tactical shifts to avoid direct confrontation with modern defenses.
Technical Deep Dive
▶ Watch: Amateurs push hard, professionals push as hard as needed (32:00)
The technical deep dive of "EIP Revisited" dissects the mechanisms of exploit mitigations and the contrasting technical approaches of commodity exploit kits versus sophisticated APT groups.
Guido begins by highlighting the widespread adoption of exploit mitigations by 2013, particularly in modern operating systems and browsers. These include:
- DEP (Data Execution Prevention): Prevents code execution from non-executable memory regions, making many traditional buffer overflow attacks impossible.
- ASLR (Address Space Layout Randomization): Randomizes the memory locations of key executable areas, making it difficult for attackers to predict addresses for ROP (Return-Oriented Programming) chains or shellcode.
- Sandboxes: Modern browsers and applications increasingly utilize sandboxes, often involving restricted tokens and low integrity levels. This limits the privileges of potentially compromised processes, restricting their ability to access sensitive system resources or escalate privileges.
The analysis of commodity exploit kits (e.g., Blackhole, Cool, Sweet Orange, Ganda) revealed their struggle against these advancements. For systems running Windows 7 or newer, their primary exploit vector was Java. This was because Java, despite its cross-platform appeal, had a history of vulnerabilities that allowed attackers to escape its sandbox and achieve code execution without needing to bypass OS-level mitigations like ASLR. For older systems, particularly Windows XP, these kits still relied on exploits for Internet Explorer, Adobe Reader, and Adobe Flash – applications that either lacked robust mitigations or had a larger attack surface of known vulnerabilities on legacy platforms. Crucially, Guido noted that these kits had not developed ASLR bypass techniques for memory corruption exploits targeting platforms beyond Windows XP, confirming the effectiveness of ASLR in deterring mass exploitation.
A significant outlier was the Dooku font bug (CVE-2011-3402), a TrueType font exploit used in the Dooku APT campaign. This bug, when repurposed by exploit kits, was uniquely potent because it allowed for kernel code execution, effectively bypassing all user-mode mitigations (DEP, ASLR, sandboxes) and working across a wide range of platforms. Guido metaphorically described it as a "monolith from the sky," indicating its rare and overwhelming capability compared to other commodity exploits.
Regarding the sources of exploits, Guido presented a fascinating breakdown. Memory corruption flaws incorporated into crime packs primarily originated from APT campaigns or publicly disclosed vulnerabilities from the VUPEN blog. This suggests a pipeline where high-value, complex exploits developed by state-sponsored actors or professional exploit researchers eventually trickle down to commodity malware. In contrast, Java exploits were predominantly discovered and published by white hat security researchers. Names like Adam Gowdiak of Security Explorations (known for dropping "about 50 different sandbox escapes on Oracle in one year"), Stefan Cornelius, and ZDI reporters were frequently cited. Guido specifically mentioned an unnamed individual who was exceptionally skilled at finding bugs in the JVM, often posting public exploits that were quickly integrated into crime packs. This highlights the double-edged sword of public vulnerability research.
Guido also introduced the concept of "White Hat Strike," observing a decline in white hat research into memory corruption flaws by 2013 compared to 2010. This trend was seen as beneficial for mass exploitation defense, as fewer such exploits were being publicly released and subsequently incorporated into crime packs.
The most striking technical revelation concerned the Elderwood group, an APT spin-off. Despite their reputation, analysis of their nine zero-day exploits (five Flash, four IE) revealed surprising technical deficiencies. Their exploits were:
- Version-Specific: Often targeting older versions like Internet Explorer 8.
- Plugin-Dependent: Reliant on the presence and outdated status of multiple plugins, including Java, Office, and Flash. Without these, their ASLR bypass capabilities were non-existent.
- Unreliable: Guido's team performed reliability testing by having a system open common websites (Alexa top 500) before visiting the exploit page. This simulated real-world browser state (messy DOM, fragmented memory). Under these conditions, Elderwood exploits had an astonishing 50% crash rate, meaning they failed half the time they were deployed. This directly contradicted the narrative of APT groups always having perfectly crafted, reliable exploits.
This unreliability was contrasted with the capabilities of Guido's NYU Poly undergraduates. With just 40 hours of training in his "Assured Exploitation" course, these students, with no prior experience, could write exploits that were:
- More Reliable: Significantly higher success rates than Elderwood's.
- Plugin-Independent: Did not rely on external, often outdated, browser plugins.
- ASLR-Bypassing: Successfully worked on Windows 7, demonstrating the ability to defeat modern mitigations.
Guido argued that the unreliability of plugin-dependent exploits stems from the inherent variability of plugin loading and interaction within a complex browser environment. A single plugin failing to load or loading too slowly could disrupt the entire exploit chain. Students, by focusing on native browser vulnerabilities and robust ASLR bypasses, achieved greater consistency.
Finally, Guido touched on APT's strategic adaptability. While they could develop sophisticated exploits, "professionals push as hard as they have to." They would often shift tactics to find the easiest path:
- Spear-phishing with attachments: For the RSA compromise, Flash exploits were delivered as attachments, which execute locally with medium integrity, bypassing the browser's low-integrity sandbox and negating the need for complex sandbox escapes.
- Targeting weak endpoints: The Google hack involved finding an individual in a remote office still using IE6, a highly vulnerable browser. This demonstrates a focus on reconnaissance to identify and exploit the weakest link in a target's infrastructure, rather than always confronting the strongest defenses head-on.
This detailed technical breakdown underscores Guido's central thesis: the perceived sophistication of APTs is often inflated, and robust, data-driven analysis of actual exploit code reveals significant weaknesses that defenders can leverage.
Demo / Proof of Concept
▶ Watch: User security awareness training is 'placebo' (49:00)
While Dan Guido's "EIP Revisited" did not feature a live, in-talk demonstration or proof-of-concept, the entire presentation was built upon extensive data and analysis derived from reverse-engineering and testing real-world exploit kits and APT campaign artifacts. Guido's "Exploit Intelligence Project" methodology inherently involves the technical dissection of exploit code to understand its capabilities and limitations.
Instead of a direct demo, Guido provided compelling evidence through:
- Statistical Analysis: Presenting percentages of exploit reliability and sources, as well as deployment statistics for various IE versions.
- Code Analysis Insights: Discussing the specific components exploited, the absence or presence of ASLR bypasses, and the dependency on outdated plugins for various exploit kits (e.g., Blackhole, Cool, Elderwood).
- Reliability Testing Methodology: Describing how his team rigorously tested Elderwood exploits by simulating real-world browser usage (opening Alexa top 500 sites before triggering the exploit) to measure their actual success rates, revealing a 50% crash rate.
- Student Capabilities as a Benchmark: Perhaps the most impactful "proof of concept" was the comparison of APT exploits to those developed by his NYU Poly undergraduates. He highlighted that students, with just 40 hours of training, could craft more reliable exploits that bypassed ASLR on Windows 7 without relying on multiple outdated plugins. This served as a powerful, indirect "proof" of the relatively low technical bar set by many APT exploits when directly confronted with modern mitigations.
Essentially, the talk itself was a comprehensive "proof of concept" of intelligence-driven security, demonstrating how deep technical analysis of adversary capabilities can debunk myths and inform effective defensive strategies.
Defensive Implications
▶ Watch: Undergraduates are the attackers and defenders of tomorrow (60:00)
Dan Guido's "EIP Revisited" offers critical defensive implications, urging a fundamental shift in how organizations approach cybersecurity. His analysis points towards a multi-pronged strategy prioritizing technology, data-driven intelligence, and a structured approach over conventional, often ineffective, methods.
- Push for Stronger Software Protections:
- Challenge the "They'll always get better" mentality: Guido directly refutes the idea that APTs will always overcome any defense, stating, "is it really proof not to act just because you know they'll respond?" Defenders can stay ahead by making exploitation harder.
- Focus on inherent security: The industry should invest in research for programming languages, compilers, and operating systems to create defenses that "bored CS undergrads can't take out in one semester." This means building software that is fundamentally more resistant to exploitation.
- Continue widespread adoption: The success against crime packs highlights the importance of widely deploying and enabling existing mitigations like DEP, ASLR, and sandboxes. Secure configurations for applications like Java and Adobe Reader are also crucial.
- Develop Intelligence-Driven Adversary Understanding:
- Know your adversary's capabilities and intent: Organizations need better tools and processes to understand who is targeting them, what they are capable of, and why. This contrasts sharply with the FUD generated by some vendors who "aren't interested in giving you a sober answer."
- Measure system posture: Companies should be able to measure where their systems stand on a "graph" of exploitability (e.g., against Metasploit's baseline, or actual APT capabilities) and how fast that posture is changing. This enables proactive defense rather than reactive purchasing.
- Prioritize Technology over User Training for Phishing Resistance:
- Critique of User Training: Guido is highly opinionated, calling user training "the worst type of security" and a "placebo." He argues that if an attacker can compromise one person out of 10% or 35% of a trained workforce, the company is "still on fire." User training addresses a tactic, not a strategy, and is easily invalidated by shifts to watering holes or other attack vectors. It's also slow, costly, and can desensitize users.
- Identify High-Risk Individuals: Research shows that a tiny percentage of employees receive a disproportionately high number of phishing emails (e.g., two individuals receiving 18 times more). Instead of training everyone, identify these individuals and implement different, stronger control structures for them (e.g., more effective email filtering, stricter web proxy monitoring, different software deployments).
- Harden Email Infrastructure: Focus on making it "hard" for attackers to conduct spear-phishing campaigns. This includes implementing widely understood defenses like DKIM (DomainKeys Identified Mail) and DMARC (Domain-based Message Authentication, Reporting & Conformance), and robust spam filtering. He cites Raytheon's strict email validation as an example of an organization taking this seriously.
- Address Physical Vectors with Technology: For threats like USB drops, the solution is not user training but technological controls. Guido describes a company that disables USB by default, uses a streamlined, audited ticketing system for temporary re-enablement, and tracks USB ID numbers for forensics – a robust technology solution to a physical problem.
- Embrace a Structured Defensive Approach (Kill Chain):
- Courses of Action: Adopt frameworks like the kill chain to identify each step an attacker must take (reconnaissance, weaponization, delivery, exploitation, installation, command and control, actions on objectives).
- Detect, Deny, Disrupt, Degrade, Deceive, Destroy: For each step, define specific actions to counter the adversary. This structured approach moves beyond simply buying "the next vendor product."
- Implement Advanced Endpoint Monitoring:
- Guido advocates for host-based deep monitoring solutions like Mandiant's MIR/Endpoint Agent, Carbon Black's Cloud Cover, and Immunity's LFA. These systems provide crucial data to identify compromises and are "very difficult kind of monitoring system to get around as an attacker," as the cost to properly avoid them is high.
In summary, Guido's defensive recommendations are clear: stop focusing on FUD and reactive product purchases. Instead, invest in intelligence to understand your adversaries, strengthen your core technological defenses, and implement proactive, technology-driven controls, especially for email and endpoint security.
Key Takeaways
- Commodity Exploit Kits are Largely Defeated: Widespread adoption of DEP, ASLR, sandboxing, and secure Java configurations has significantly blunted the effectiveness of mass malware campaigns. Java exploits remain a primary vector for unpatched systems.
- APT Exploit Quality is Often Overestimated: Despite their formidable reputation, APT groups like Elderwood often use surprisingly unreliable exploits (e.g., 50% crash rate), are dependent on outdated plugins, and may not possess advanced ASLR bypass capabilities without significant effort or tactical shifts.
- Focus on Data-Driven Adversary Intelligence: Security efforts should shift from FUD and vendor-driven product cycles to a data-driven understanding of actual adversary capabilities and intent. This enables more effective, targeted defenses.
- Technology-Centric Defenses Outperform User Training: For cyber espionage and spear-phishing, robust technological controls (e.g., hardened email infrastructure, strong OS mitigations, advanced endpoint monitoring, controlled USB access) are far more effective than user-centric security awareness training, which Guido views as a "placebo."
- Invest in Fundamentally More Secure Software: The industry needs to push for deeper research into programming languages, compilers, and operating systems to create inherently more resilient software that is difficult for even skilled attackers to exploit.
- Adopt a Strategic, Kill Chain Approach: Organizations should move beyond reactive product purchases and adopt structured frameworks like the kill chain to analyze attack steps and implement proactive measures to detect, deny, disrupt, and degrade adversary operations.
About the Speaker(s)
Dan Guido is a co-founder of Trail of Bits, a renowned security research and consulting firm specializing in advanced exploitation and software security. He is also hacker in residence at NYU Poly, where he teaches computer science undergraduates how attackers build exploits.
Beyond his work at Trail of Bits, Dan Guido is also a Hacker in Residence at NYU Poly, where he dedicates his time to educating the next generation of security professionals. He teaches a class titled "Penetration Testing and Vulnerability Analysis," guiding students through the process of writing Windows 7 exploits and conducting phishing campaigns. He also mentors students in security research, encouraging them to explore cutting-edge areas of the field. Guido is known for his candid and data-driven approach, challenging conventional security wisdom, and advocating for practical, evidence-based defensive strategies. On social media, he is active under his security-focused Twitter handle, @dguido, in addition to his humorous "Why isn't Dan fat?" persona.
Reviews
- Dr. Zero (Offensive Security Researcher) — MUST SEE ★★★★★
- Heather Calloway (CISO) — MUST SEE ★★★★★