DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • AWS Community Hub
    • CloudBees
    • IT as Code
    • Perforce DevSecOps
    • Rocket on DevOps.com
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Media Kit
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DevSecOps
  • Leadership Suite
  • Practices
  • ROELBOB
  • Low-Code/No-Code
  • IT as Code
  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevSecOps » How DevSecOps Can Help Avoid Catastrophic Breaches

DevSecOps Can Help Avoid Catastrophic Breaches

How DevSecOps Can Help Avoid Catastrophic Breaches

By: Bill Doerrfeld on November 19, 2018 5 Comments

Earlier this year, Tesla’s Cloud was hijacked and used to mine cryptocurrency, exploiting a vulnerability in the company’s Kubernetes cluster. A mountain of FedEx data was recently exposed, affecting 119,000 individuals. The Equifax breach garnered international attention after an estimated 145.5 million Americans were jeopardized. In other news, we’ve reported on how the Vine Docker registry fiasco was hacked, leaving an embarrassing PR trail in its wake.

Recent Posts By Bill Doerrfeld
  • The Role of APIs In Digital Transformation
  • Seven Reasons You Shouldn’t Hire a DevOps Engineer
  • More and More Enterprises Go Headless
More from Bill Doerrfeld
Related Posts
    Related Categories
  • Blogs
  • DevSecOps
    Related Topics
  • containers
  • data breach
  • development
  • devsecops
  • open source
  • security
Show more
Show less

What is common across all these scenarios? They arguably could have been avoided with basic safeguards underpinned by a healthy dose of DecSecOps. In hindsight, let’s see what specific strategies developers can adopt to avoid such horrendous leaks.

DevOpsConnect-RSAConference-Christopher-Krebs
Christopher Krebs, former director of the U.S. Cybersecurity and Infrastructure Security Agency talk about the very real security threat disinformation can cause. Live at DevOps Connect 2021 on May 19.

Basic DevSecOps Can Prevent Vulnerabilities

DevSecOps is described as placing security at the forefront of every action. Within the world of cloud tooling, this means instilling protection at every point of the build life cycle. You would think this equates to advanced container and orchestration security, powerful access management and establishing hardened oversight for internal applications, right? Actually, many modern exploits simply involve a lack of basic password protection.

Case Study No. 1: Tesla Cloud Cryptojacking

In mid–2018, Tesla’s Amazon servers were hijacked by malware and used to mine cryptocurrency for rogue agents. Similar cryptojacking has transpired at Gemalto, Aviva and others. According to RedLock’s report, the hackers infiltrated the Kubernetes console, which was not password-protected. In one pod, they found access credentials to Tesla’s AWS environment. The breach exposed sensitive telemetry data, though was limited to “internally used engineering test cars only,” according to Tesla.

How to Prevent

Password protection for Kubernetes administrative consoles is a readily apparent lesson here. All cloud accounts, even if used internally, must be better-equipped and access credentials sequestered. Surely, instilling a “security by design” mentality can help limit the number of such consoles left accessible.

Case Study No. 2: Vine Registry Breach

In 2016 a white hacker by the alias avicoder was able to infiltrate Vine, the video-sharing social network. The hacker used tools to discover subdomains and behind one—https://docker.vineapp.com—found an open Docker private registry that housed the Vine source code. Such a vulnerability could have been used to collect user details or inject malware for malicious purposes. Thankfully, no users were compromised, and the Twitter Bug bounty program awarded avicoder a handsome sum for the discovery.

How to Prevent

In this particular incident, there was nothing at fault with Docker or Docker containers. The service (which was meant to be private) was simply left public and devoid of access controls. The lesson is that URLs on the world wide web are just that—publicly exposed to the world. It does not matter if no documentation links to them; such subdomains are easy to discover with crawlers and will be exploited if found.

Case Study No. 3: Equifax Exploits

In the Equifax breach, millions of customer records were stolen. The Equifax report notes that hackers exploited a “website application vulnerability.” Further reports detailed that the 2017 breach utilized flaws in Apache Struts, likely through a zero-day exploit, according to the Apache Struts Project Management Committee.

How to Prevent

Some note that the deserialization of untrusted data inherent in Apache Struts applications leaves some major vulnerabilities and potentially malicious code execution.

Containers, due to their short lifespan, are not persistent, therefore making consistent hacking harder. They can also isolate functionalities so as to decrease attack vector. Regarding the Equifax breach, Aquasec speculates that container usage could have lessened the impact:

“… it’s likely that such a breach would have been more difficult with containers, and that if successful, it would have been less persistent, not as widespread, and mitigated sooner.”

Some view containers as a formidable force if armed with behavioral analysis and firewalls for network connections. Still, others note flaws in assuming containers are safer.

Regardless of architecture, In DevSecOps, security for customer data isn’t drafted into the background; rather, it is imbued into the entire tooling process and holds equal footing within each build.

Instilling a DevSecOps Culture

Instead of a build-now, secure-later attitude, DevSecOps seeks to elevate security into every decision. With each build, security is melded with greater forethought regarding the repercussions for how data is treated.

Admin consoles for Kubernetes clusters must be armed and password-protected, and the same goes for private GitHub repositories or Docker registries. Any traversal of data through cloud SaaS services must have authorization in place. A most obvious lesson is to password protect those “hidden” registries with discoverable URLs.

Bounty programs for white hackers continue to lead to successful bug detection. At least for these institutions, there is less evidence of compromised user data and remediation is quickened.

Much of this can be distilled by due diligence and through breeding a culture of security. While that’s a little fluffy for some, it apparently still requires repeating for institutions that continually de-privilege these basic safeguards.

— Bill Doerrfeld

Filed Under: Blogs, DevSecOps Tagged With: containers, data breach, development, devsecops, open source, security

Sponsored Content
Featured eBook
The State of the CI/CD/ARA Market: Convergence

The State of the CI/CD/ARA Market: Convergence

The entire CI/CD/ARA market has been in flux almost since its inception. No sooner did we find a solution to a given problem than a better idea came along. The level of change has been intensified by increasing use, which has driven changes to underlying tools. Changes in infrastructure, such ... Read More
« A Bedtime Story
DevOps Chat: Mainframe Attitudes with LzLabs’ Dale Vecchio »

TechStrong TV – Live

Watch latest episodes and shows
christopher-krebs-rsa-conference

Upcoming Webinars

Digital Transformation - Escaping the Event Horizon
Tuesday, May 18, 2021 - 11:00 am EDT
Cruise to Cloud Native: Chapter 2. Profiting from containers and serverless functions.
Tuesday, May 18, 2021 - 1:00 pm EDT
Protect All Your Applications: A Low Code Approach
Tuesday, May 18, 2021 - 3:00 pm EDT

Top Stories of the Week

  • View DevOps.com Privacy Policy

Upcoming Webinars

Tue 18

Digital Transformation – Escaping the Event Horizon

Tue, May 18, 11:00 am - 12:00 pm EDT
Tue 18

Cruise to Cloud Native: Chapter 2. Profiting from containers and serverless functions.

Tue, May 18, 1:00 pm - 2:00 pm EDT
Tue 18

Protect All Your Applications: A Low Code Approach

Tue, May 18, 3:00 pm - 4:00 pm EDT

More Webinars

Past Webinars

Latest from DevOps.com

Why DevOps Will Cease to Exist
May 14, 2021 | Uri Zaidenwerg
Private and Virtual Private LTE/5G Challenges Network Visibility
May 14, 2021 | Zeev Draer
Why QA and Monitoring Need to Merge
May 14, 2021 | Richard Whitehead
Empowering BizDevOps Teams With SLOs
May 13, 2021 | Andreas Grabner
Five Tips For Creating Design Systems
May 13, 2021 | David Ly

Most Read on DevOps.com

Seven Reasons You Shouldn’t Hire a DevOps Engineer
May 11, 2021 | Bill Doerrfeld
Why We’re Swimming in Dashboards and Drowning in Data
May 10, 2021 | Josh Good
SAST, DAST, SCA: What’s Best For AppSec Testing?
May 10, 2021 | Simon Roe
Developer’s Guide to Open Source Spring Cleaning
May 10, 2021 | Robert Haynes
SecDevOps is the Solution to Cybersecurity
May 12, 2021 | Marc Hornbeek

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays

Download Free eBook

DevOps: Mastering the Human Element
DevOps: Mastering the Human Element
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

© 2021 ·MediaOps Inc.All rights reserved.

Our website uses cookies. By continuing to browse the website you are agreeing to our use of cookies. For more information on how we use cookies and how you can disable them, please read our Privacy Policy.