<?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 Sandeep Lahane on Medium]]></title>
        <description><![CDATA[Stories by Sandeep Lahane on Medium]]></description>
        <link>https://medium.com/@sandeep.lahane?source=rss-653fc3619dd0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3a91CxwNkp4lShYU4JTUXQ.jpeg</url>
            <title>Stories by Sandeep Lahane on Medium</title>
            <link>https://medium.com/@sandeep.lahane?source=rss-653fc3619dd0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:18:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sandeep.lahane/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[CVE-2021–44228: Log4j2 Exploitability & Attack Path Mitigation with ThreatMapper — Deepfence]]></title>
            <link>https://medium.com/deepfence-cloud-native-security/cve-2021-44228-log4j2-exploitability-attack-path-mitigation-with-threatmapper-deepfence-6dff1e6fc6de?source=rss-653fc3619dd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6dff1e6fc6de</guid>
            <category><![CDATA[log4j-vulnerability]]></category>
            <category><![CDATA[cve-2021-44228]]></category>
            <category><![CDATA[log4shell]]></category>
            <category><![CDATA[log4j]]></category>
            <category><![CDATA[log4j2]]></category>
            <dc:creator><![CDATA[Sandeep Lahane]]></dc:creator>
            <pubDate>Sun, 12 Dec 2021 22:41:16 GMT</pubDate>
            <atom:updated>2021-12-17T20:19:09.706Z</atom:updated>
            <content:encoded><![CDATA[<h3>CVE-2021–44228: Log4j2 Exploitability &amp; Attack Path Mitigation with ThreatMapper — Deepfence</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VEBRmilYa6VU0xpt.png" /></figure><h3>Quick Overview</h3><p>The gravest cyber threat of modern times is upon us in the form of CVE-2021–44228. Here are some key resources:</p><ul><li><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228">CVE-2021–44228</a>: Apache Log4j &lt;=2.14.1 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints.</li><li>Severity: Critical</li><li>Base CVSS Score: 10.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H</li><li>Versions Affected: all versions from 2.0-beta9 to 2.14.1</li><li><a href="https://logging.apache.org/log4j/2.x/security.html">Apache Security Advisory</a></li><li><a href="https://www.fastly.com/blog/digging-deeper-into-log4shell-0day-rce-exploit-found-in-log4j">Digging deeper into Log4Shell</a></li><li><a href="https://github.com/YfryTchsGD/Log4jAttackSurface">Which services, vendors and components are affected?</a></li><li>A huge number of exploits and variations of payloads are reported, Cloudflare is tracking it <a href="https://blog.cloudflare.com/actual-cve-2021-44228-payloads-captured-in-the-wild/">here</a>.</li></ul><h3>How to Protect Your Organization: Measure Your Exposure and Enumerate Attack Paths</h3><p>In order to quickly find and prioritize how at risk you are of a Log4j 2 exploit, you can focus on enumerating the virtual machines and pods which are directly and indirectly exposed to the internet. We used ThreatMapper to detect our own exposure caused by Elasticsearch (which has since been fixed) as follows. Dogfooding much!</p><p>If you’re not yet familiar with ThreatMapper, it is a 100% open source cloud native security observability platform that hunts for vulnerabilities in your production platforms, and ranks these vulnerabilities based on their risk-of-exploit at runtime. This means that you can then prioritize and fix the issues that present the greatest risk to the security of your applications. You can find <a href="https://github.com/deepfence/ThreatMapper">everything you need to get started with ThreatMapper on GitHub.</a></p><p>Continuing with our Log4j2 example where we used ThreatMapper to detect our own exposure, you can clearly see a virtual machine named deepfence-log4j-poc is exposed to the internet and the Log4j2 vulnerability is listed as a top attack vector. This is our most critical issue to fix right now because of its proven risk of exploit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F8UDUgHIYfJoxsos.png" /></figure><p>The node deepfence-log4j-poc was scanned for vulnerabilities and has 3 exploitable vulnerabilities, top amongst them is log4j vulnerability. Looking deeper at the most exploitable vulnerability report, we can see the attack paths, attack vector and port details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T2rxwQJZYH0DnlY-.png" /></figure><p>(Note: There could be other virtual machines that have the vulnerability but are not directly or indirectly connected to the internet. This means that their risk of exploitation is lower and, therefore, don’t need our most immediate attention.)</p><p>Digging deeper into your critical vulnerabilities and attack paths, you can prioritize fixing your exposure by looking at the nodes which are actively connected to the internet and seal off the connections or deploy continuous traffic filtering on these attack paths.</p><p><strong>Essentially you can narrow down from potentially hundreds of nodes to be patched to a handful which might be one or two hops away from the internet and need fixing immediately. It is much easier to find directly internet facing vulnerable services looking at VPC and security groups, but much harder to find vulnerable services that are further downstream, behind proxies and getting potentially malicious traffic indirectly. Log4j vulnerabilities in these deeply downstream services are equally exploitable and catastrophic. ThreatMapper precisely helps find all these hidden attack paths by continuously correlating vulnerabilities with network traffic.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oRJ8F-jPQcXzr-ld.png" /></figure><p>And here are the CVE details:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Z4EfoWimBA-92pA.png" /></figure><h3>How to Mitigate?</h3><p>The industry reacted to the Log4j2 issue promptly. Rules and signatures have been released by WAF, CDN, IPS, and Public Cloud vendors, it is a broader consensus across the industry that these rules and signatures can block simpler known variants of the payloads coming via HTTP but can be easily bypassed (some WAF evasion payloads <a href="https://github.com/tangxiaofeng7/CVE-2021-44228-Apache-Log4j-Rce">here</a>). It is recommended to deploy the WAF/IPS rules as it will provide the necessary time to do a Log4j upgrade.</p><p>The Apache Software Foundation <a href="https://logging.apache.org/log4j/2.x/security.html">recently reported</a>:</p><p>“It was found that the fix to address CVE-2021–44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in a denial of service (DOS) attack. Log4j 2.15.0 restricts JNDI LDAP lookups to localhost by default. Note that previous mitigations involving configuration such as to set the system property log4j2.noFormatMsgLookup to true do NOT mitigate this specific vulnerability.</p><p><strong>Mitigation</strong></p><p><strong>Log4j 1.x mitigation</strong>: Log4j 1.x is not impacted by this vulnerability.</p><p><strong>Log4j 2.x mitigation</strong>: Implement one of the mitigation techniques below.</p><ul><li>Java 8 (or later) users should upgrade to release 2.16.0.</li><li>Users requiring Java 7 should upgrade to release 2.12.2 when it becomes available (work in progress, expected to be available soon).</li><li>Otherwise, remove the JndiLookup class from the classpath: zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class</li></ul><p>Note that only the log4j-core JAR file is impacted by this vulnerability. Applications using only the log4j-api JAR file without the log4j-core JAR file are not impacted by this vulnerability.”</p><h3>Conclusion and What’s Next</h3><p>The Log4j2 vulnerability is very serious and <em>the internet is under attack right now</em>. To protect yourself, one thing you can do is to install and use open source ThreatMapper to quickly find and prioritize how at risk you are of a Log4j2 exploit in your environment, so you can focus on enumerating the resources which are directly and indirectly exposed to the internet, and therefore present the greatest risk to your applications and services, and fix them first.</p><p>Here are some helpful resources to get you started with ThreatMapper:</p><ul><li><a href="https://join.slack.com/t/deepfence-community/shared_invite/zt-podmzle9-5X~qYx8wMaLt9bGWwkSdgQ">Join the ThreatMapper Community Slack to ask questions and get answers</a></li><li><a href="https://github.com/deepfence/ThreatMapper">Download, try, and contribute to open source ThreatMapper on GitHub</a></li><li><a href="https://go.deepfence.io/open-source-cloud-native-security-with-threatmapper">Watch the video: How to Use ThreatMapper</a></li><li><a href="https://go.deepfence.io/en-us/shift-left-security-at-operations-how-to-video">Watch the video: How to Install ThreatMapper</a> (jump to 14:23 to see the installation process)</li><li><a href="https://github.com/deepfence/ThreatMapper/wiki/ThreatMapper-Demo">See ThreatMapper running in a live sandbox</a></li></ul><p>Here are some additional resources we have found to be super helpful:</p><ul><li><a href="https://docs.google.com/document/d/1vm3-0vN6MD2mq9UnBwZsmwD_OhAu7WoxKJVFoeP7T9U/edit">Apache Log4j Vulnerability — What you need to know?</a> By Anshu Gupta</li><li><a href="https://blog.cloudflare.com/actual-cve-2021-44228-payloads-captured-in-the-wild/">Actual CVE-2021–44228 payloads captured in the wild</a> on the Cloudflare blog</li><li><a href="https://blog.cloudflare.com/inside-the-log4j2-vulnerability-cve-2021-44228/">Inside the Log4j2 vulnerability (CVE-2021–44228)</a> on the Cloudflare blog</li></ul><p><em>Originally published at </em><a href="https://deepfence.io/cve-2021-44228-log4j2-exploitability-and-attack-path-mitigation-with-threatmapper/"><em>https://deepfence.io</em></a><em> on December 12, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6dff1e6fc6de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepfence-cloud-native-security/cve-2021-44228-log4j2-exploitability-attack-path-mitigation-with-threatmapper-deepfence-6dff1e6fc6de">CVE-2021–44228: Log4j2 Exploitability &amp; Attack Path Mitigation with ThreatMapper — Deepfence</a> was originally published in <a href="https://medium.com/deepfence-cloud-native-security">Deepfence Cloud Native Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Milestone: Announcing our 9.5M series A!]]></title>
            <link>https://medium.com/deepfence-cloud-native-security/milestone-announcing-our-9-5m-series-a-256345fea96d?source=rss-653fc3619dd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/256345fea96d</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[funding-news]]></category>
            <category><![CDATA[funding]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-native]]></category>
            <dc:creator><![CDATA[Sandeep Lahane]]></dc:creator>
            <pubDate>Wed, 18 Nov 2020 16:48:26 GMT</pubDate>
            <atom:updated>2020-11-18T17:00:10.026Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/592/0*UH8aHMq71Qcm09pX.jpg" /></figure><p>I’m super excited to announce that we have raised $9.5M Series A, led by cyber security powerhouse <a href="https://allegiscyber.com/">Allegis Cyber</a>. <a href="https://sonaeim.com/">Sonae IM</a>, a cyber &amp; infrastructure focused investment fund based in Europe with a global mandate participated along with our pre-seed investor <a href="https://www.chiratae.com/">Chiratae Ventures</a>, who wrote me the first cheque even before we had a team or a product in place.</p><p>This is a huge milestone for us as Allegis Cyber and Sonae IM join us in our mission to protect the cloud native continuum. Given their hands-on operating background and deep cyber security expertise, we couldn’t have asked for better partners as we accelerate building out our team, product and business.</p><h4><strong>Some great coverage </strong><a href="https://venturebeat.com/2020/11/18/deepfence-nabs-9-5-million-to-shield-cloud-workloads-with-ai/"><strong>here</strong></a><strong> and </strong><a href="https://www.businesswire.com/news/home/20201118005260/en/"><strong>here</strong></a><strong> !</strong></h4><h3>The Beginning</h3><p>It all started in 2017, towards the end of it actually. I was coming off of my earlier gig in application security while exploring and pitching what would deploying ‘<strong>Security As a Microservice</strong>’ mean. When everyone was getting excited about the possibilities of containers &amp; microservices, it made sense to think of deploying security in a similar vein. After having pitched to 50+ security practitioners (which I would chase at RSA and BlackHat), we started feeling the contours of a potential tech approach and features. My co-founders Shyam (my ex-colleague at Juniper), and Swarup who was wrapping up his post-doc in security and privacy at CMU, joined forces and we spent next 18–24 months building the tech and product with design partners and early adopters. Continuously iterating, defining and tuning who we are, and removing who we are not.</p><h3>Pandemic &amp; The Series A</h3><p>COVID accelerated two things certainly, cloud migration and security threats targeted towards cloud workloads.</p><p>Despite initial period of uncertainty and budget cuts, we were able to more than double our customer base and revenues in just over last 5–6 months. Investors looked at this as a significant validation of our tech &amp; product, strategy &amp; execution during the pandemic.</p><h3>Whats Next?</h3><p>This new round of funding will help us drive broader adoption of enterprise and community versions. We have a handful of exciting product announcements, especially around our community &amp; open source efforts, stay tuned!</p><p>The funding also enables us to work with various partners, and unlock broader geographies including NA, EMEA (where we see huge inbounds from) and APAC.</p><h3>A Big Thank You</h3><p>I am super proud of what my small team has built over last couple of years. The kind of technology that we are building at Deepfence typically has a long incubation cycle and takes multiple iterations to get it right. I am thankful to our early customers for trusting us with their critical cloud native workloads and their feedback &amp; inputs that helped us iterate and continue to shape us as a product and as a company.</p><h3>Come Join Us!</h3><p>We can’t do this alone! We are building teams in Bay area and Bangalore (including fully remote positions) and hiring across engineering, security research, product, sales and marketing. Please reach out to us at careers at deepfence dot io to know more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=256345fea96d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepfence-cloud-native-security/milestone-announcing-our-9-5m-series-a-256345fea96d">Milestone: Announcing our 9.5M series A!</a> was originally published in <a href="https://medium.com/deepfence-cloud-native-security">Deepfence Cloud Native Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Runtime Threat Mapping for AWS ECS using Deepfence ThreatMapper]]></title>
            <link>https://medium.com/deepfence-cloud-native-security/runtime-threat-mapping-for-aws-ecs-using-deepfence-threatmapper-8899df0243dd?source=rss-653fc3619dd0------2</link>
            <guid isPermaLink="false">https://medium.com/p/8899df0243dd</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[Sandeep Lahane]]></dc:creator>
            <pubDate>Thu, 11 Jun 2020 17:59:29 GMT</pubDate>
            <atom:updated>2021-06-03T15:49:34.276Z</atom:updated>
            <content:encoded><![CDATA[<h3>Use Case – Runtime Threat Mapping for Amazon ECS Using Deepfence ThreatMapper</h3><figure><img alt="Image for blog post: Runtime Threat Mapping for Amazon ECS Using Deepfence ThreatMapper" src="https://cdn-images-1.medium.com/max/1024/1*lUZL38Rvt2xKOYwIPfIRDg.png" /></figure><p>Recently we released <a href="https://github.com/deepfence/ThreatMapper">Runtime ThreatMapper</a>, a subset of the Deepfence cloud native workload protection platform, completely free for community use with no upgrade obligations. This is not just another ordinary command line scanner! ThreatMapper is an enterprise grade feature set of our main product and comes with ready to use integrations for Slack, PagerDuty, Splunk, Sumo Logic, and more.</p><p>You can take a quick look at the live demo <a href="https://github.com/deepfence/ThreatMapper#live-demo">here</a>.</p><h3>Getting Started</h3><p>Deepfence installation consists of two components, namely the Deepfence Management Console which is installed outside of a cluster being threat mapped (for obvious reasons!), and super lightweight Deepfence sensors which are deployed as a daemon service using ECS task definition.</p><h3>Installing the Deepfence Management Console</h3><p>We will focus on a single node installation of the management console here.</p><ol><li>Spin up a Linux EC2 instance with 8 cores, 16GB RAM and at least 120GB of disk space.</li><li>Download the Docker Compose file from <a href="https://github.com/deepfence/ThreatMapper/blob/master/files/docker-compose.yml">here</a>.</li><li>Run docker-compose as follows:</li></ol><pre>docker-compose -f docker-compose.yml up -d</pre><p>Give it a few seconds and you are ready to register your product installation as described <a href="https://github.com/deepfence/ThreatMapper#register-a-user">here</a>.</p><h3>Installing the Deepfence Sensor on ECS</h3><p>Now that we have the management console installed and registered, let’s install Deepfence sensors as follows:</p><ol><li>Give IAM permissions for ECS task execution role to access this secret as outlined <a href="https://aws.amazon.com/blogs/compute/introducing-private-registry-authentication-support-for-aws-fargate/">here</a>.</li><li>Create a new task definition for the Deepfence sensor and deploy the service by following the steps outlined in <a href="https://github.com/deepfence/community_edition/wiki/Amazon-ECS-Deployment-Deepfence-Agent">ECS – Deepfence</a>.</li></ol><p>After registration, it can take up to 30–60 minutes for the vulnerability database to be populated. Once the vulnerability database is updated, you can scan running hosts and containers as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uqOrUqX71Zgm03pC.png" /></figure><p>Runtime ThreatMapping includes finding and patching the most exploitable vulnerabilities present in your containers and hosts. ThreatMapper helps you prioritize and focus on only the most important vulnerabilities and rank them based on CVSS score, severity, attack complexity, and ease of exploitation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ddz75fxKgSLxDS3V.png" /></figure><p>You can explore ThreatMapper features in detail <a href="https://github.com/deepfence/ThreatMapper">here</a>. Threat map and stay safe!</p><p>If you’re interested in learning more about ThreatMapper or Deepfence Enterprise, <a href="https://deepfence.io/contact/">reach out</a>. We’d love to show you how we can help you protect against vulnerabilities and increase the security of your applications across the entire CI/CD pipeline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8899df0243dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepfence-cloud-native-security/runtime-threat-mapping-for-aws-ecs-using-deepfence-threatmapper-8899df0243dd">Runtime Threat Mapping for AWS ECS using Deepfence ThreatMapper</a> was originally published in <a href="https://medium.com/deepfence-cloud-native-security">Deepfence Cloud Native Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>