Welcome!

Cloud Security Authors: Xenia von Wedel, Elizabeth White, James Carlini, Pat Romanski, Rostyslav Demush

Related Topics: @DevOpsSummit, Cloud Security

@DevOpsSummit: Blog Post

Is DevOps Bad for Security? | @DevOpsSummit #DevOps

Should the speed of rapid releases, automation, and continuous integration and deployment worry you?

I came across this great article in CIO from Mary Branscombe, in which she discusses the perceived security concerns of moving fast with DevOps. She addresses the concerns people feel towards the speed of rapid releases, automation, and continuous integration and deployment, all of which gives you less time to find security problems and more opportunities to introduce bugs and miss vulnerabilities.

Gartner predicts that 25% of Global 2000 businesses will be using DevOps techniques within 2016 and HP Enterprise predicted that within the next five years DevOps will be the norm for software development. So does this all point to countless future security issues?

Craig Miller, who has helped move Bing to continuous development doesn't believe that will be the case: "The classic response is faster means maybe lower quality or something might get through the process and I don't think that's true at all," says Miller. "CD, if you do it right, provides all the auditing you need to actually be confident in the software you push out. You have to make sure your software is high quality and I think security is a subset of quality."

Said Forrester analyst Kurt Bittner: "There's a perception that with DevOps, speed is achieved by cutting corners and skipping important steps, that it's uncontrolled," says Bittner. "The exact opposite is true; it's a very controlled, very structured environment. Doing DevOps right gives you higher quality, better visibility and speed, as opposed to achieving speed by cutting corners."

Essentially, the security will be good as long as it remains a focus and as long as it is matched with continuous security and monitoring. According to Bittner, the key is having a centralized, standardized delivery pipeline that's a necessary, foundational piece for DevOps. "You get visibility into what's being built and you get the opportunity to inject various kinds of activities; which might be code scanning, or it might be peer reviews, various kinds of security related testing, control over the environment and having the correct settings."

See how DBmaestro mitigates DevOps security risk with CyberArk

Miller believes that automating testing is a crucial step that must be taken extremely seriously. "I think the biggest failure for a lot of companies is that they allow failures in test. We have no tolerance at all for failures," which may mean changing your tools as well as your development practices, he warns. "The web security toolset we used was not very scalable, it was an app that somebody ran every week. We're not going to accept a tool I have to have someone run for me. If it can't be automated, I think there's a problem with the design."

Bing also used to manually sign during deployment, which was also rewritten, which took time and effort but improved the tools. "It was the way they did things, but we don't care how they do things," said Miller firmly. "We're not going to do this."

While recovering fast and adapting based what you have learned is as important as speed to DevOps, Miller dislikes the term "fail fast." "I like learn fast, because I'm not trying to fail; I'm trying to succeed - but when I don't succeed I want to learn, and hopefully next time it comes around, we know how to do this better now and incrementally get better over time."

Added Alan Sharp-Paul, co-founder of DevOps tool vendor Upguard: "Putting a guardrail up on the highway allows you to go faster, not slower. With proper checks, you catch problems before they become showstoppers and security risks in production. And when it's part of the automated workflow, the overhead is essentially nil." Which is what the figures in Puppet's 2015 State of DevOps Report show as well, revealing that "high-performing IT organizations deploy 30x more frequently with 200x shorter lead times; they have 60x fewer failures and recover 168x faster."

The Heartbleed bug in OpenSSL was a good demonstration of that, suggested Bittner. "People who had DevOps and better delivery pipelines were able to respond quickly and that got some attention in businesses; they were able to respond almost immediately and everyone else was scrambling. When a threat occurs, being able to respond quickly is the big differentiator."

This is one of the benefits of DevOps according to Miller. "Because CD emphasizes having a code review process, small check-ins and rapid mitigation come with it," he said. "If you can deploy four or five times a day, you can mitigate something within hours."

"The same applies to spotting breaches," says Sam Guckenheimer from Microsoft's developer tools team. "With DevOps, you're worried about things like mean time to detect, mean time to remediate, how quickly can I find indicators of compromise. If something anomalous happens on a configuration, you have telemetry that helps you detect, and you keep improving your telemetry - so you get better detection, you get better at spotting indicators of compromise and you get better at remediation."

Guckenheimer goes on to explain that continuous deployment makes life harder for attackers in two ways. "If you're one of the bad guys what do you want? You want a static network with lots of snowflakes and lots of places to hide that aren't touched. And if someone detects you, you want to be able to spot the defensive action so you can take countermeasures." In a traditional system, with manually configured servers that are all different, there might be vulnerabilities on different systems, and attackers can see admins trying to track or block them. "They're exceptional measures going on in the static slow moving network, but with DevOps you have a very fast automated release pipeline, you're constantly redeploying," says Guckenheimer. "If you are deploying everywhere on your net it doesn't look like a special action taken against the attackers."

Problems occur when companies use DevOps tools but fail to really understand DevOps.

Upguard's Sharp-Paul says: "The primary error we hear about is the attempt to automate before you know what you've got. Someone got a budget for DevOps and went out and picked up Puppet Enterprise or Chef and wound up hitting roadblock after roadblock because they don't understand the actual working nature of their infrastructure. They just bought into the sense of urgency to ‘do DevOps' and jumped into the deep end without looking." The security of that approach should be fairly obvious by now.

Guckenheimer agrees. "I don't think DevOps replaces any good security practices like key management, key rotation, changing defaults or what have you. I do think it changes the pace at which things move; I store more as code and I rebuild the infrastructure all the time, because I'm treating the infrastructure as code whether I'm doing PaaS or Chef or Puppet. That way, you can apply the good practices better. If you ignore them you're vulnerable. The security problems are there and they're exacerbated or alleviated; [with DevOps] I think you have an amplifier."

There are some common security mistakes, like putting your cloud credentials in your code repository or your deployment script, that leaves them vulnerable. Many people are making the same mistake as Ashley Madison, Uber and D-Link.

Ashley Madison's leaked code included hard-coded AWS tokens, database credentials, certificate private keys and other credentials. Uber had a database containing personal information about drivers compromised in 2014, after storing the key in a publicly available repo and D-Link recently published its private code signing keys in the open source code for a firmware update. Your cloud credentials are likely to end up subsidizing Bitcoin miners, who scan GitHub for keys and use them to run up hundreds or thousands of dollars of bills.

"What people are not necessarily doing in DevOps which they ought to be doing, is doing good secrets management, using Azure Key Vault and equivalents. What I need to do is keep all the secrets external and as I go from environment to environment though the release pipeline, I need to bind the secrets separately for each environment and make sure those secrets are all external, secure, encrypted and rotated continually," Guckenheimer says.

Azure CTO Mark Russinovich suggests a combination of education to teach best practices and static analysis tools to enforce them. "As much as possible, it needs to be built into the CI/CD [process] so developers don't have to opt in to it, it just happens," says Russinovich. "You can tell them all day long ‘don't check secrets into code' but somebody is going to do it, so what you need to do is let them know right then; don't catch it down stream, catch it right when they check it in so that they know they can't do that."

But that enforcement needs to be included in an overall DevOps culture, Russinovich says. "What we believe is developers are actually mostly well intentioned. They might forget, there might be someone who hasn't taken training, hasn't taken it in a while, it slips their mind and the gates are just to catch that, because it's too much of a risk not to have them."

"We run Visual Studio cloud services; we have well over a thousand secrets in there, constantly rotated," Guckenheimer says. "They're well rotated and developers do not have access to any of the secrets for production, they're on a separate domain. We practice Just Enough Admin. So were you to somehow get access to the account of the director of engineering - through some back door or social engineering, or brute force it or steal his badge - it wouldn't do you a lot of good, in terms of hacking to get to the production service, because the secrets would be rotated. He would not have admin privileges, because those get enabled on a ‘just enough,' time-limited expiration basis."

At best, Guckenheimer claims, "you might get access to a little bit of source code he could see from his repository - and it would probably be pretty obvious to someone that his account was compromised, and we would shut that off."

Besides for protecting credentials, DevOps gives you an opportunity to monitor not just the code that your developers are writing but third-party code you're relying on. Forrester's Bittner suggests viewing that as part of your supply chain management and bill of materials. Monitoring the binary artifacts and components you use, with services like Sonatype and Artifactory, is a relatively novel idea but Guckenheimer predicts it will become common practice, in light of issues like Heartbleed, Poodle and Shellshock.

A more fundamental problem of DevOps is the common disconnect with security.

Getting that kind of visibility about problems and vulnerabilities is part of the way DevOps can help you "shift left" on security, by catching flaws earlier in the development cycle - as well as spotting vulnerabilities in configuration before you deploy to a live system. The potential for security problems and improvements applies as much to infrastructure and operations as to developers, points out Forrester analyst Amy DeMartine, noting that 47 percent of web applications servers have vulnerabilities because they're misconfigured.

"I think the reason many companies start DevOps and forget the security folks, is that it's yet another cultural divide," says DeMartine. "Security people speak a totally different language - breaches, incidents, vulnerabilities and exposures - and everyone puts them at the very end of the development lifecycle, if they're remembered at all."

Building compliance and security checklists into the DevOps process allows the security review to keep from bottlenecking at the end of the CD pipeline, as well as raising overall quality.

Security teams need "a total mind-shift" to make this work, DeMartine warns. "It's like the fear of operations that ‘you're going to make all those changes and you are going to break my environment that's stuck together with chewing gum and duct tape.' They have to overcome that fear like operations did. It's going to be uncomfortable for them, but they'll get benefits at the end."

Examples from developers and operations teams of what DevOps has already improved will help that mind-shift, but Bittner cautions, "When we ask a lot of developer teams who have effective continuous integration practices how they engage with their security counterparts, they say they're not ready to have that conversation yet."

This is ultimately part of the culture change that has to happen as part of DevOps. "The way we're all working today isn't working; it's not the most effective way.We've set up arbitrary boundaries in orgs between operations, development and security that shouldn't really exist," says Bittner. "It's about getting everyone to accept that other teams aren't the enemy; they're ultimately trying to do the same thing - they all want the customer to be successful and have good customer experiences."

CIOs should be prepared for how difficult a change this can be, warns Microsoft's Miller. "The CIO is going to take heat. This change is a tough one; if you're in the old world and you have custom systems and manual testing, there are going to be problems and you've got to be ready. It does demand a certain amount of courage to do CD properly; you might have to rethink your leadership. You certainly have to rethink your process, you have to rethink your expectation from delivery. It's not a trivial path but the payoff is ridiculous. If you're not doing it, you're risking your business, is the way I look at it now."

Or as Russinovich somewhat more bluntly puts it, "DevOps is coming; it has to have security. Just deal with it."

More Stories By Josh Litvin

Josh Litvin is a tech writer and blogger.

@ThingsExpo Stories
BnkToTheFuture.com is the largest online investment platform for investing in FinTech, Bitcoin and Blockchain companies. We believe the future of finance looks very different from the past and we aim to invest and provide trading opportunities for qualifying investors that want to build a portfolio in the sector in compliance with international financial regulations.
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Imagine if you will, a retail floor so densely packed with sensors that they can pick up the movements of insects scurrying across a store aisle. Or a component of a piece of factory equipment so well-instrumented that its digital twin provides resolution down to the micrometer.
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settle...
Product connectivity goes hand and hand these days with increased use of personal data. New IoT devices are becoming more personalized than ever before. In his session at 22nd Cloud Expo | DXWorld Expo, Nicolas Fierro, CEO of MIMIR Blockchain Solutions, will discuss how in order to protect your data and privacy, IoT applications need to embrace Blockchain technology for a new level of product security never before seen - or needed.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
When shopping for a new data processing platform for IoT solutions, many development teams want to be able to test-drive options before making a choice. Yet when evaluating an IoT solution, it’s simply not feasible to do so at scale with physical devices. Building a sensor simulator is the next best choice; however, generating a realistic simulation at very high TPS with ease of configurability is a formidable challenge. When dealing with multiple application or transport protocols, you would be...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
We are given a desktop platform with Java 8 or Java 9 installed and seek to find a way to deploy high-performance Java applications that use Java 3D and/or Jogl without having to run an installer. We are subject to the constraint that the applications be signed and deployed so that they can be run in a trusted environment (i.e., outside of the sandbox). Further, we seek to do this in a way that does not depend on bundling a JRE with our applications, as this makes downloads and installations rat...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
DX World EXPO, LLC, a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
In this strange new world where more and more power is drawn from business technology, companies are effectively straddling two paths on the road to innovation and transformation into digital enterprises. The first path is the heritage trail – with “legacy” technology forming the background. Here, extant technologies are transformed by core IT teams to provide more API-driven approaches. Legacy systems can restrict companies that are transitioning into digital enterprises. To truly become a lead...
Digital Transformation (DX) is not a "one-size-fits all" strategy. Each organization needs to develop its own unique, long-term DX plan. It must do so by realizing that we now live in a data-driven age, and that technologies such as Cloud Computing, Big Data, the IoT, Cognitive Computing, and Blockchain are only tools. In her general session at 21st Cloud Expo, Rebecca Wanta explained how the strategy must focus on DX and include a commitment from top management to create great IT jobs, monitor ...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
The IoT Will Grow: In what might be the most obvious prediction of the decade, the IoT will continue to expand next year, with more and more devices coming online every single day. What isn’t so obvious about this prediction: where that growth will occur. The retail, healthcare, and industrial/supply chain industries will likely see the greatest growth. Forrester Research has predicted the IoT will become “the backbone” of customer value as it continues to grow. It is no surprise that retail is ...