Keynote: Back in Black

David Mortman

BruCON 0x05 · Day 1

Overview

In his BruCON keynote, "Back in Black," David Mortman delivers a compelling call for the security industry to return to fundamental principles, emphasizing that effective security is less about chasing sophisticated zero-day exploits and more about mastering the mundane. Mortman, a seasoned security professional, argues that the vast majority of breaches stem from failures in basic operational and development hygiene: patch management, configuration management, identity management, auditing, and secure coding practices. His talk challenges the prevailing narrative that security is solely a technical problem, instead framing it as a critical business discipline that requires deep integration with development and operations, supported by a cultural shift towards collaboration and automation.

Watch on YouTube

Visual summary for Keynote: Back in Black by David Mortman
Visual summary for Keynote: Back in Black by David Mortman

Key moments

  1. 0:00 Understanding developer pain and business priorities in security
  2. 2:00 Breaches are mostly basic configuration errors, not advanced attacks
  3. 6:30 Configuration management, inventory, and automation with tools like Chef/Puppet
  4. 16:00 Identity management: OAuth tokens, password changes, and device de-authorization
  5. 26:30 DevOps culture: Openness, collaboration, and making friends with audit
  6. 32:00 Strategies for securing and managing unpatchable legacy systems (Q&A)
  7. 46:00 Treating servers as cattle: Rebuilding instead of patching (Q&A)

Keynote: Back in Black

Speakers: David Mortman

Conference: BruCON

YouTube: https://www.youtube.com/watch?v=Qzm4YIKmzjk

Overview

In his BruCON keynote, "Back in Black," David Mortman delivers a compelling call for the security industry to return to fundamental principles, emphasizing that effective security is less about chasing sophisticated zero-day exploits and more about mastering the mundane. Mortman, a seasoned security professional, argues that the vast majority of breaches stem from failures in basic operational and development hygiene: patch management, configuration management, identity management, auditing, and secure coding practices. His talk challenges the prevailing narrative that security is solely a technical problem, instead framing it as a critical business discipline that requires deep integration with development and operations, supported by a cultural shift towards collaboration and automation.

Mortman's central thesis is that security professionals must bridge the gap between their technical expertise and the practical realities of business operations and software development. He highlights that developers are not inherently indifferent to security but are often constrained by competing priorities, tight schedules, and a lack of effective tools or processes. By focusing on automation, fostering an open and collaborative DevOps culture, and communicating security risks in terms of financial and business impact, organizations can achieve significantly stronger security postures without impeding innovation or productivity. This keynote serves as a vital reminder that robust security isn't about exotic defenses, but about consistently executing foundational practices with discipline and business acumen.

Background

▶ Watch: Understanding developer pain and business priorities in security (0:00)

Mortman opens by articulating a common disconnect: security professionals often fail to understand the pressures and priorities of developers and the broader business. He recounts an experience where a critical software vulnerability was weighed against the multi-million dollar cost and two-week delay of a mandatory regression test. This anecdote underscores a persistent challenge in security: the perception of security as a cost center or impediment, rather than an enabler or integrated function. Mortman contends that developers are not inherently against secure coding but face immense pressure to deliver features on schedule, often leading security to be deprioritized.

Drawing on insights from reports like the Verizon Data Breach Investigations Report (DBIR), Mortman asserts that the leading causes of breaches are rarely sophisticated, high-end malware or advanced persistent threats. Instead, they are overwhelmingly attributable to basic failures: forgotten default credentials, unpatched systems, misconfigurations, and inadequate account deprovisioning following role changes. He cites a real-world example of a trader who maintained access to sensitive systems across multiple role changes, leading to a multi-billion dollar loss—a problem of simple change management, not complex hacking. This background sets the stage for Mortman's argument that the industry has overemphasized "sexy" but rare threats, diverting attention and resources from the fundamental operational and development issues that constitute the most significant attack surface.

Key Findings

▶ Watch: Configuration management, inventory, and automation with tools like Chef/Puppet (6:30)

Mortman's talk presents several key findings that challenge conventional security wisdom and advocate for a more pragmatic, business-aligned approach.

Firstly, he unequivocally states that the vast majority of security breaches are not due to advanced, nation-state-level attacks or zero-day vulnerabilities. Instead, they are the result of failures in foundational security practices, such as patch management, configuration management, identity management, and auditing/monitoring. These "oops" moments—like failing to disable default credentials or deprovision accounts—are far more prevalent and impactful than sophisticated malware.

Secondly, Mortman criticizes the widespread reliance on CVSS (Common Vulnerability Scoring System) for prioritizing patches. He argues that CVSS scores, particularly a perfect 10, are often useless for operational prioritization, suggesting that randomly selecting a patch might be as effective. A more practical approach, he proposes, is to prioritize patches for vulnerabilities that are actively being exploited in tools like Metasploit. This provides a more realistic and actionable baseline for defenders, focusing efforts on what attackers are actually using. Combining "CVSS 10" with "exploitable by Metasploit" significantly improves the chances of avoiding exploitation by 30%, compared to a mere 2% improvement from using CVSS alone.

Thirdly, the talk highlights the transformative power of automation and infrastructure as code. Mortman emphasizes that manual processes are inherently prone to error and difficult to scale. Tools like Chef, Puppet, and CFEngine enable organizations to define system configurations and patch deployments as code, leading to consistent, repeatable, and auditable environments. This approach not only enhances security but also delivers significant operational benefits, such as faster deployments, more reliable systems, and self-healing capabilities that can revert unauthorized changes.

Finally, Mortman underscores the critical importance of a cultural shift towards openness and collaboration, particularly within a DevOps framework. He asserts that antagonistic relationships between security teams and developers or business units are counterproductive. Instead, security professionals must engage with empathy, understand business priorities, and communicate risks in financial terms rather than purely technical jargon. This collaborative mindset, extending to audit teams, is crucial for gaining executive buy-in and embedding security seamlessly into organizational processes.

Technical Deep Dive

▶ Watch: Identity management: OAuth tokens, password changes, and device de-authorization (16:00)

Mortman delves into several core technical areas, offering practical insights and advocating for a systematic approach to security fundamentals.

Patch Management: Acknowledged as a "basic thing we have to be able to do," patch management is often poorly executed. Mortman stresses that at scale, it's challenging but essential. He recommends leveraging automation tools like Chef, Puppet, and even Microsoft's built-in capabilities. His key insight here is that the breadth of patch management—ensuring all relevant systems are patched—is often more critical than the speed. While browser vulnerabilities may demand rapid response, for most other systems, a timeframe of weeks or even months for full deployment is acceptable, as long as 100% compliance is achieved. This contrasts with the common industry obsession with immediate patching, often at the expense of comprehensive coverage.

Configuration Management: Mortman identifies configuration management as a "super important thing" directly tied to knowing what systems and software versions an organization possesses. He criticizes traditional commercial GRC (Governance, Risk, and Compliance) tools like Archer as "incredibly painful to use" and difficult to keep updated. The solution lies in treating infrastructure as code, using open-source tools such as Chef, Puppet, and CFEngine. These tools automatically track system states, enforce desired configurations, and can even provide Tripwire-like functionality, reverting unauthorized manual changes. This not only enhances security and compliance but also provides operational benefits like consistent deployments across development, QA, and production environments, reducing errors and accelerating releases.

Identity Management: This area is highlighted as "by far and away one of the biggest sources [of] breaches." Mortman distinguishes between authentication and authorization, emphasizing that too much authorization (privilege creep) is a major problem. He points to the failure to revoke access or adjust permissions when users change roles within an organization. For modern, multi-application, and cloud environments, he advocates for centralized identity management using standards like LDAP and Active Directory. A critical, often overlooked detail is OAuth token invalidation. Mortman explains that changing a password doesn't always invalidate existing session tokens, posing a risk if a device is lost or stolen. Organizations must clearly document when and how users should de-authorize devices.

Auditing and Monitoring: Mortman laments that organizations are "terrible at this," often collecting vast amounts of log data (e.g., "18 terabytes") without a clear plan for analysis or response. While commercial SIEM (Security Information and Event Management) solutions like Splunk are powerful, they are often cost-prohibitive for smaller entities. He suggests open-source alternatives like Logstash combined with Elasticsearch to build effective log aggregation and analysis platforms. The goal is automated alerting for patterns of breach or compromise, akin to an IDS (Intrusion Detection System) but with cross-device correlation capabilities. The emphasis is on proactive monitoring and periodic practice of incident response drills.

Secure Code Development: Mortman challenges the notion that developers don't care about security, asserting that they want to write quality code. The key is to make it easier for them. He advocates for automated testing to catch common vulnerabilities like buffer overflows and SQL injection. Unit and functional tests should be integrated into the build process, freeing developers to focus on complex business logic. Crucially, he champions continuous deployment and small, consumable chunks of code (e.g., 1200 lines instead of 500,000). Referencing 1979 IBM research, he notes that smaller changes lead to exponentially less complex, more stable, and more secure code. This approach allows for rapid identification and remediation of security defects, as developers are immediately notified of issues in their recently committed code.

Legacy Systems: Acknowledging the pervasive problem of unpatchable, unsupported legacy systems (e.g., Windows 2000 servers, old medical MRI systems), Mortman offers strategies. These include isolating such systems behind firewalls, minimizing their network contact, and potentially virtualizing them onto more modern, secure operating systems. For systems that don't require 24/7 availability, he suggests keeping them "paused" or offline, only bringing them up when needed (e.g., for regulatory audits). This approach reduces their attack surface significantly. He also introduces the concept of treating servers like "cattle, not pets" – an approach pioneered by companies like Netflix and Facebook. Instead of patching individual servers, new, fully patched and configured server images are built and deployed, and old ones are simply decommissioned. This eliminates configuration drift and simplifies management, though it's primarily applicable to modern, virtualized, or cloud-native environments.

Demo / Proof of Concept

▶ Watch: Strategies for securing and managing unpatchable legacy systems (Q&A) (32:00)

As a keynote address, David Mortman's "Back in Black" did not feature a live technical demonstration or a specific proof-of-concept exploit. The talk focused on high-level strategic and operational principles rather than hands-on technical execution. However, the principles and tools discussed—such as Chef, Puppet, Logstash, Elasticsearch, and the methodologies of continuous deployment—are all foundational elements that enable organizations to build and demonstrate their own robust security postures and automated defensive capabilities. Mortman's emphasis was on the potential for practical implementation through these methods, rather than showcasing a specific instance of it.

Defensive Implications

▶ Watch: Treating servers as cattle: Rebuilding instead of patching (Q&A) (46:00)

Mortman's keynote provides clear and actionable defensive implications for security professionals and organizations aiming to improve their posture.

  1. Prioritize Foundational Security: Defenders must shift their focus from rare, advanced threats to the pervasive, basic failures that cause most breaches. This means dedicating significant resources and attention to disciplined patch management, robust configuration management, and comprehensive identity and access management. These "boring" tasks are where the most significant security gains can be made.
  1. Embrace Automation: Manual security operations are unsustainable and error-prone. Organizations should invest in and adopt automation tools for patching, configuration enforcement (infrastructure as code), log collection, and security testing. Tools like Chef, Puppet, Logstash, and Elasticsearch are not just for operations or development; they are critical security enablers that ensure consistency, reduce human error, and provide auditable trails.
  1. Integrate Security into Development (DevSecOps): Security cannot be an afterthought or a gate at the end of the development lifecycle. It must be embedded from the start. This involves adopting automated security testing within CI/CD pipelines, encouraging small, continuous code changes, and fostering a collaborative environment where security teams enable developers to write secure code, rather than blocking them.
  1. Improve Business Communication: Security professionals need to learn to speak the language of business. Instead of technical jargon, risks should be articulated in terms of financial impact, regulatory fines, and potential business disruption. Building relationships with business leaders and even audit teams can help secure executive buy-in and resources for security initiatives.
  1. Strategic Legacy System Management: For unavoidable legacy systems, a pragmatic approach is necessary. This involves isolating them, minimizing network exposure, virtualizing them where possible, and performing rigorous monitoring. Crucially, organizations must understand the true business criticality of these systems to make informed risk acceptance decisions and have a robust incident response plan for their inevitable compromise.
  1. Adopt a "Cattle, Not Pets" Mentality: For modern, virtualized, and cloud environments, organizations should move towards treating infrastructure as disposable "cattle" rather than unique "pets." This means building new, fully patched and configured systems from scratch rather than attempting to patch and tweak existing ones. This approach, exemplified by Netflix and Facebook, drastically simplifies patch and configuration management, leading to inherently more secure and resilient environments.

Key Takeaways

  • Back to Basics: The vast majority of security breaches are caused by failures in fundamental security hygiene (patching, configuration, identity, auditing), not advanced zero-day exploits.
  • Automate Everything Possible: Leverage automation tools (Chef, Puppet, Logstash, Elasticsearch) to ensure consistent patch deployment, configuration enforcement, and security monitoring, turning "infrastructure as code" into a security advantage.
  • Culture Over Technology: Foster an open, collaborative DevOps culture between security, development, and operations teams, moving away from antagonism to shared goals.
  • Speak Business, Not Tech: Communicate security risks and needs to executives and business stakeholders in terms of financial impact, compliance, and operational continuity, not technical vulnerabilities.
  • Continuous and Small Changes: Embrace continuous deployment with small, frequent code changes, as this leads to less complex, more stable, and more secure software, with quicker detection and remediation of flaws.
  • Strategic Legacy System Management: Understand the true business criticality of legacy systems, isolate them, monitor them heavily, and be prepared to accept and manage the inherent risks they pose.

About the Speaker(s)

David Mortman is a seasoned security expert who advocates for a pragmatic, business-aligned approach to cybersecurity. Throughout his career, he has focused on bridging the gap between technical security challenges and the operational realities of software development and business priorities. His talks often emphasize the importance of foundational security practices, automation, and fostering collaborative cultures (like DevOps) to build resilient organizations. Mortman's insights are grounded in extensive experience, allowing him to articulate complex security problems in a way that resonates with both technical audiences and business leaders, highlighting the financial and operational implications of security decisions.

Reviews

→ Top-rated talks at BruCON 0x05

All talks from BruCON 0x05