<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Twistlock on Medium]]></title>
        <description><![CDATA[Stories by Twistlock on Medium]]></description>
        <link>https://medium.com/@twistlockteam?source=rss-b29f9a8d03d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fqRoLINuPKbW_ErTUjMpBA.png</url>
            <title>Stories by Twistlock on Medium</title>
            <link>https://medium.com/@twistlockteam?source=rss-b29f9a8d03d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 18:48:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@twistlockteam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Preparing for a Cloud Native World]]></title>
            <link>https://medium.com/@twistlockteam/preparing-for-a-cloud-native-world-dddfeae9fbc5?source=rss-b29f9a8d03d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dddfeae9fbc5</guid>
            <category><![CDATA[cloud-native-technologies]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Twistlock]]></dc:creator>
            <pubDate>Fri, 24 Aug 2018 17:53:55 GMT</pubDate>
            <atom:updated>2018-08-24T17:53:55.006Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.twistlock.com/2017/07/24/twistlock-cloud-native-cyber-security/">Cloud-native computing</a> is not on the way. It’s already here. We now live in a cloud-native world. The cloud has evolved from being a complement to IT infrastructures into their core, and new technologies like Docker and serverless have made it easier than ever to deploy in the cloud.</p><p>The cloud-native revolution offers many promising innovations and opportunities for businesses. But it also poses new challenges, especially in the realm of security. In order to ensure that the cloud-native phenomenon helps your business rather than hurts it, you need to start preparing today for the realities of a cloud-native world.</p><h3>What Is Cloud Native?</h3><p>Cloud computing is not new. In fact, at this point, talking about “the cloud” can seem boring. On its own, the cloud lost its buzzworthy status circa 2010.</p><p>What is novel today, however, is the phenomenon of cloud-native computing. Cloud-native means something different than just the conventional cloud.</p><p>On its own, the cloud is merely a type of architecture that involves running workloads and hosting data on remote servers, and it is no longer a very big or exciting deal for most companies. They have been using the cloud for years now.</p><p>In contrast, cloud-native computing is defined by next-generation, cloud-based technologies that allow businesses to double down on the value they leverage from the cloud.</p><p>Containers are one example of such technologies. Although containers don’t have to be deployed in the cloud (you could run Docker on-premises), they are a perfect fit for cloud environments because they allow applications to be deployed as quickly and seamlessly as you can stand up virtual servers or set up ultra-scalable storage buckets in the cloud. In this way, containers add further value to the cloud by simplifying application deployment.</p><p>Serverless functions are another example of next-generation, cloud-native technologies. Serverless workloads can also be deployed and scaled with great ease, increasing the value of cloud environments.</p><p>According to a <a href="https://www.capgemini.com/news/business-demands-for-agility-and-innovation-prompt-rise-of-cloud-native-applications-adoption/">recent Capgemini report</a>, 15 percent of new enterprise applications are cloud native, a statistic that is expected to hit 34 percent by 2020. It’s highly evident that the growth of cloud native will only expand upwards as organizations are developing the need to deploy innovations at an accelerated pace, as well as enhancing their applications for the end-user.</p><h3>Cloud-Native Challenges</h3><p>While cloud-native computing presents rich opportunities for achieving new IT efficiencies, it also gives rise to distinct challenges that did not exist in traditional cloud environments. They include:</p><ul><li><strong>Complexity</strong>. Simply put, cloud-native environments have more moving parts. Whereas the typical business might have had only a dozen virtual machines to manage in the past, it now has to keep tabs on hundreds of containers, which might be spread across multiple host environments.</li><li><strong>Dynamism</strong>. Cloud-native environments change very quickly. Containers can spin up and down in seconds. Or you might run hundreds of serverless functions one second, then scale back down to a handful minutes later, as demand fluctuates. The ability to support this level of dynamism is a major advantage, but it also makes it more imperative than ever to detect performance and security issues in real time.</li><li><strong>No perimeters</strong>. In the past, most application environments had clearly defined <a href="https://www.twistlock.com/2018/02/26/defining-perimeter-microservices-world/">perimeters</a>, which you could secure using firewalls. In cloud-native environments, this ceases to be the case. You have multiple layers of software-defined networks to manage. You have endpoints that change constantly. You have applications running in one environment and storage resources in another. The lack of clear perimeters means traditional security strategies don’t work.</li><li><strong>Future-proofing</strong>. Perhaps the greatest challenge of the cloud-native age is that it’s hard to know what is coming next technology-wise. Just a few years ago, few people predicted how important Docker would become to production workloads, and almost no one was talking about <a href="https://www.twistlock.com/2018/02/22/decide-use-serverless/">serverless</a>. Developing an effective IT strategy in the cloud-native era requires not just accommodating the innovative technologies that exist today, but also preparing for whatever might come next. And, of course, you need to do all of this while retaining compatibility with legacy infrastructure.</li></ul><h3>Meeting the Cloud-Native Challenge</h3><p>What’s a business to do in the face of cloud-native complexities? Clearly, doing nothing is not the solution — not if you want to take advantage of the opportunities that cloud-native computing presents.</p><p>In order to protect your business from the new IT management threats that arise from cloud-native environments, your IT team should embrace the following strategies:</p><ul><li><strong>Multi-layered monitoring</strong>. When it comes to both application performance monitoring and security monitoring, keeping tabs on just one layer of the environment is not enough. You need to watch everything — from network configurations to the code inside container images to the behavior of applications in runtime.</li><li><strong>DevSecOps</strong>. Keeping pace with the dynamic, highly scalable nature of cloud-native environments requires an IT organization that is as agile as the infrastructure it manages. That’s why embracing the DevSecOps concept is paramount. DevSecOps means maximizing collaboration between developers, security engineers and IT Ops engineers so that they work in parallel and coordinate responses to performance and security issues.</li><li><strong>Automate, automate, automate</strong>. You probably already know <a href="https://www.twistlock.com/2017/10/30/automation-key-making-cloud-native-reality/">why automation is valuable in a cloud native world</a>. It saves your IT staff time. But in the cloud-native age, automation is not just a nice-to-have feature. It’s essential for staying on top of highly changing environments and configurations. You can’t rely on humans to find configuration errors that could disrupt a service or create a security vulnerability. You need tools to automate the process for you.</li><li><strong>Keep your eyes on the horizon</strong>. An effective cloud-native IT strategy not only meets the technological and business needs of your organization today — It is also flexible enough to support new technologies and workloads in the future. Although you don’t know exactly what the future will demand, your strategies should be designed with the future in mind.</li></ul><h3>Conclusion</h3><p>Opportunities and challenges tend to come in tandem, and this is certainly true of cloud-native computing. Taking advantage of the benefits of cloud-native environments requires addressing the special challenges that cloud-native computing presents.</p><p>-By <a href="https://www.twistlock.com/about-us/team/ben-bernstein/">Ben Bernstein</a>, <a href="https://www.twistlock.com/">Twistlock</a> CEO</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dddfeae9fbc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Place Security (Partly) in the Hands of Developers]]></title>
            <link>https://medium.com/@twistlockteam/why-place-security-partly-in-the-hands-of-developers-c23f2a794fb4?source=rss-b29f9a8d03d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c23f2a794fb4</guid>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Twistlock]]></dc:creator>
            <pubDate>Wed, 01 Aug 2018 20:51:01 GMT</pubDate>
            <atom:updated>2018-08-01T20:51:01.401Z</atom:updated>
            <content:encoded><![CDATA[<p>Developers’ jobs no longer start and stop with writing code. The <a href="https://www.twistlock.com/2018/03/12/operationalize-devsecops-practices/">DevOps</a> movement, combined with the demands created by <a href="https://www.twistlock.com/2018/03/27/the-continuum-of-cloud-native-topologies-pt-1/">cloud-native technologies</a> like <a href="https://www.twistlock.com/2017/07/06/ultimate-guide-container-security/">containers</a> and <a href="https://www.twistlock.com/solutions/serverless-security-aws-lambda-azure-google-cloud/">serverless</a>, has significantly expanded the roles that developers play in the IT organization as a whole.</p><p>This change means not only that developers must assume greater responsibility for releasing secure code that is easy to manage and scale — It also places new expectations upon developers from a security standpoint.</p><p>How can enterprises ensure that their developers actually have the security skills required to help their teams create and deploy secure code? And beyond writing the code itself, what else should developers be doing to assist with security needs?</p><p>Let’s explore those questions with today’s cloud-native demands in mind.</p><h3>How Developer Roles are Changing</h3><p>In years past, developers wrote application code. They then handed it off to other teams to test it, build it, deploy it, monitor it and secure it.</p><p>That practice has now started to change at most organizations. One of the big reasons why is the advent of DevOps. DevOps encourages constant collaboration between developers and IT Ops teams. The driving idea is that when developers and IT Ops are in constant communication, they are better positioned to understand each others’ pain points and address them.</p><p>DevOps has spawned similar movements, too, such as QAOps, which emphasizes the integration of QA teams into the rest of the DevOps workflow, and <a href="https://www.twistlock.com/2018/06/18/devsecops-no-longer-optional/">DevSecOps</a>, which integrates security testing and operations into the rest of the software delivery cycle.</p><p>Meanwhile, the emergence of new, cloud-native technologies has also placed new responsibilities upon developers. In order to write applications that perform stably and securely in complex environments like containers and serverless platforms, developers need a deep understanding of the particular requirements of those environments. It’s no longer enough to write code and assume that IT Ops will be able to deploy it wherever needed; developers must be aware of deployment infrastructure and goals, and tailor their work accordingly.</p><h3>Empowering Developers to Improve Security</h3><p>That’s how the work of the typical enterprise developer is changing in general. Now, let’s focus on security in particular, and how developers can expand the role they play in security operations in order to benefit the enterprise as a whole.</p><p>The first big step in involving developers in security is to embrace the DevSecOps model (which was described above). DevSecOps means not only requiring security engineers to work more closely with developers and IT Ops, but also increasing the expertise of developers from a security perspective.</p><p>Do your developers understand the particular security challenges that arise from the deployment technologies your organization uses? Are they aware of the security strategies (such as multi-layered defenses and whitelisting) that define best practices for IT security today? Do they understand the different types of security threats that may impact their applications?</p><p>If the answers to these questions are no, then it’s time to educate your developers about security. This is the only way to achieve a complete DevSecOps workflow.</p><p>At the same time, developers can assume a greater role in security by accepting more responsibility for security ownership. In other words, when a vulnerability happens, developers should be held accountable in addition to security engineers. If developers write the code, they must be responsible when the code contains security flaws. Organizations should use tools that integrate vulnerability and compliance checks directly into build pipelines, check every build, and allow enforcement of minimum security baselines. Even though security engineers should also be testing the code and monitoring it in production for security problems, the burden of owning security should not be on them alone.</p><p>Finally, consider asking your developers to play a greater role in writing and executing the security tests and monitoring rules that the security team deploys. Even if security testing and monitoring is not the primary responsibility of developers, having developers play a hand in these processes will help to keep them more aware of the state of security for each application they write. It may also benefit your security team by providing additional perspective and coding expertise.</p><h3>Conclusion</h3><p>I’m not here to argue that developers should assume sole ownership of security, or that they should replace dedicated security teams. Any enterprise that has a large IT team should continue to employ security specialists.</p><p>Still, the fact is that we are living in a <a href="https://www.twistlock.com/2018/03/27/the-continuum-of-cloud-native-topologies-pt-1/">complex, cloud-native world</a> where security engineers alone cannot adequately find and address all security risks. Developers have an important role to play in security, too. By empowering developers to expand the work they perform related to security, enterprises can streamline security operations and ensure that security concerns are front and center from the very start of the application delivery pipeline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c23f2a794fb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Security Risks of Serverless]]></title>
            <link>https://medium.com/@twistlockteam/the-security-risks-of-serverless-963647f1362c?source=rss-b29f9a8d03d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/963647f1362c</guid>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Twistlock]]></dc:creator>
            <pubDate>Tue, 31 Jul 2018 20:22:55 GMT</pubDate>
            <atom:updated>2018-07-31T20:22:55.849Z</atom:updated>
            <content:encoded><![CDATA[<p>By its very nature, serverless can help make workloads more secure. With the advent of serverless as an option to deploy small components which can perform a specific function and be chained together to form full functioning services, security-minded developers have gained a useful new tool. <a href="https://www.twistlock.com/2018/02/22/decide-use-serverless/">Serverless</a> can be used to abstract yet another layer from the infrastructure, enabling DevOps teams to stop worrying about keeping the compiler and runtime for their language up-to-date and patched against all known security vulnerabilities. That’s great from a security stance.</p><p>You could sum up the security advantages of serverless this way: What containers did for ensuring the operating system and hardware layer could be maintained and secured separately, serverless offers the same at the application and web server layer.</p><p>And yet, serverless is no silver bullet from a security perspective. Serverless environments still need to be designed and managed with security in mind at every moment.</p><p>Toward that end, this article discusses typical security risks associated with serverless computing, and tips for addressing them.</p><h3>Serverless still needs input validation</h3><p>As with any application built and deployed, serverless applications process and transfer data. That data can arrive as part of the event that kicks off processing, or can be retrieved from a datasource as part of the application’s functionality.</p><p>Proper input validation does more than make sure area codes are properly formatted. Input validation stops some of the most common types of attacks that applications face. In the case of serverless applications, the most common type of injection attack is SQL Injection (SQLi).</p><p>SQL Injection attacks involve inserting code into a request that is designed to either return too much data, or destroy data.</p><p>A practical example of input validation is if your function expects a phone number to be passed in as part of the payload; then, it will return all orders for that phone number.</p><p>Good Case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*CYFsmfJqczY4yiZy_zNL1w.png" /></figure><p>Returning way too much data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*rq1rRLXBPIiN8PM1ENuPXg.png" /></figure><p>With a simple Regex for input validation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*czuy_UYDrdtzDO7aMoytLA.png" /></figure><p>More types of injection attacks are detailed in an article posted by <a href="https://www.acunetix.com/blog/articles/injection-attacks/">Acunetix</a>.</p><h3>Secrets still need to be secret</h3><p>When leveraging application development components like API gateways and cloud services like SQS on AWS, there is a move towards keys and certificates in the authentication and authorization spaces. As these aren’t traditional usernames and passwords, they can often be overlooked and checked into source repository systems. By leveraging vaults inside the different cloud platforms that are presented to the individual functions as environment variables, you can avoid having this problem.</p><p>If you are curious whether you have checked in any <a href="https://www.twistlock.com/2017/09/12/manage-secrets-container-based-applications/">secrets</a> into your code, there are tools like <a href="https://github.com/dxa4481/truffleHog">Truffle Hog</a> that can help search your history on GitHub.</p><p>Setting an environment variable in Lambda is an option in the Environment Variables section. Azure and GCP Functions have similar configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rwHBb_1pRyrmTH7f7H5low.png" /></figure><p>For example, in Python, you would read the environment variable by loading the OS package, then use it like every other variable.</p><p>In JavaScript, it is using the process.env object.<br>const secret_api_token = process.env.SECRET_API_TOKEN</p><h3>Too much access (and too little access control)</h3><p>There are two distinct risks associated with access control in a serverless environment. The first centers around the access that clients have into the serverless app and how much access the serverless app has into the systems it interacts with.</p><p>Taking into consideration clients having too much access — as a serverless application is a single function, it is tempting to only put the minimum criteria in place to have it perform as needed. In reality, the function needs the ability to distinguish between clients that call it and only filter data so it is only allowing interaction with data that is relevant to that requestor. Whether it is automatically appending a WHERE clause onto an SQL query or including the requestor information on messages sent downstream, data leaking can lead to large public relations problems down the road if someone were to figure out they could ask for more data than is returned by default.</p><p>The second access-control risk occurs when developers take the easy way out and grant the specific application being worked on access to more than required of other functions and services it needs to work. This practice is common in development tiers as the goal is to just make it work, but in today’s model with continuous integration and continuous delivery (CI/CD), it is far too easy to have excess security propagate up to production systems. A simple example would be that in development the application is granted full access to the data store, but it only really needs the ability to select and insert. Having the extra access to the data store to update or delete may seem harmless until the day the wrong script is run against the wrong environment and you’ve lost precious customer data (like orders). Going forward, the best practice is to only grant the required access starting at the lowest tiers in development, and have separate users for each serverless function to make traceability and data integrity much easier to guarantee.</p><h3>Third-party libraries age poorly</h3><p>As with development on any platform, using third-party libraries is an extremely common and useful way to speed up development and delivery of business functionality. Even the input validation example above uses a library to check phone numbers.</p><p>Once you have deployed your new serverless application and you move on to the next piece of work, the application you just deployed starts to age. A large part of this aging is that third-party libraries are still being updated for new functionality and potential security vulnerabilities. If you aren’t constantly updating your applications to ensure the latest release of every library, you can very easily find yourself in a position like Capital One in 2016 where a third-party library that was out of date allowed the exposure of millions of customers’ private data.</p><p>The easiest way to mitigate this stale application problem without having to constantly update all your applications is to scan your code and build artifact repositories to identify at-risk libraries. By relying on a scanning tool you can make better use of your time and resources and be able to target which applications and libraries require an update vs. what would just be nice to update.</p><h3>Conclusion</h3><p>Serverless applications are great in that they remove the requirement to maintain and update the operating system and <a href="https://www.twistlock.com/2018/06/19/twistlock-releases-serverless-runtime-defense/">runtime layers</a> of deployed applications. Unfortunately, however, serverless is not a silver bullet for solving problems with in-house code and third-party libraries. Serverless applications by design are small and single-purpose which is great from a design and deployment point of view, but a holistic approach needs to be taken to ensure that the vast number of serverless functions deployed are kept up-to-date from a security standpoint.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=963647f1362c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>