<?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 Shyam Krishnaswamy on Medium]]></title>
        <description><![CDATA[Stories by Shyam Krishnaswamy on Medium]]></description>
        <link>https://medium.com/@shyamkrishnaswamy?source=rss-8028c5bbd994------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9GQAd_cZTxrvir6fLCX2vA.jpeg</url>
            <title>Stories by Shyam Krishnaswamy on Medium</title>
            <link>https://medium.com/@shyamkrishnaswamy?source=rss-8028c5bbd994------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:01:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shyamkrishnaswamy/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[Threat Mapping for Windows Containers]]></title>
            <link>https://medium.com/deepfence-cloud-native-security/threat-mapping-for-windows-containers-3827d14967a7?source=rss-8028c5bbd994------2</link>
            <guid isPermaLink="false">https://medium.com/p/3827d14967a7</guid>
            <category><![CDATA[vulnerability-management]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[vulnerability-assessment]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[windows-containers]]></category>
            <dc:creator><![CDATA[Shyam Krishnaswamy]]></dc:creator>
            <pubDate>Thu, 23 Jul 2020 19:18:53 GMT</pubDate>
            <atom:updated>2020-07-23T20:19:57.395Z</atom:updated>
            <content:encoded><![CDATA[<p>In the last few posts, we described how to install the Deepfence community edition i.e., ThreatMapper, and use it for run-time threat mapping for containers and hosts. In this article, we will use ThreatMapper to scan Windows container images hosted on public or private container registries for vulnerabilities. Let’s get started with an introduction to Windows containers.</p><p><strong>Windows Containers</strong></p><p>Windows containers are of two types — Windows Server Containers and Hyper-V Containers. Hyper-V containers provide great isolation and control which is usually well suited for limited trusted environments such as running containerized applications on shared multi-tenant infrastructure. On the other hand, Windows Server Containers maximize density and performance for a wide variety of development scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DlkVTOTqI8tYO4kBX7-Shg.png" /><figcaption><a href="https://social.technet.microsoft.com/wiki/contents/articles/33664.windows-server-2016-windows-containers-vs-hyper-v-containers.aspx">Windows Container types</a></figcaption></figure><p>Windows platforms still host a significant percentage of applications, particularly in the enterprise environments. Thus, a .NET application, when deployed as a container on a Windows platform, can now take complete advantage of the rapid build, deploy and scale models that hitherto existed only in the Linux environments. The .NET application can also package all its required dependencies as a Windows container, so that it can work across all flavors of Windows platforms.</p><p><strong>Kubernetes on Windows</strong></p><p>Organizations with large-scale deployments of Windows server platforms that host their applications, prefer to use the same platforms when they convert those applications to Windows containers. This will ensure minimum disruption to their operating environments, and a smooth migration of their existing applications as Windows containers.</p><p>Kubernetes has steadily emerged as the de-facto container orchestration platform. Thus, it was only a matter of time before Kubernetes introduced support for orchestration of Windows containers, completely supported by Microsoft. Enterprises can now deploy their production-ready applications as Windows containers on Kubernetes 1.14 and later releases.</p><p><strong>Container Registries</strong></p><p>With the proliferation of Windows containers, almost all container repositories, both private on-premise, and on public cloud environments, can now store Windows container images. Thus, it is now easy to develop a Windows .NET application, build it using CI/CD tools like Jenkins or Github, and save it into any of the Azure, Google, Amazon container repositories, in a completely automated manner. This helps to securely store and distribute these Windows containers to large scale Windows environments.</p><p><strong>Securing Windows Container Images</strong></p><p>Deepfence is pleased to announce the immediate availability of ThreatMapper, to analyze the vulnerabilities in Windows container images stored in container registries.</p><p>While most container registry providers could analyze the stored images for vulnerabilities, they were hitherto limited to Linux images only. ThreatMapper now provides an ability to scan Windows container images for vulnerabilities, for free. Enterprises now have a way to ensure that their images are secure from attacks that may attempt to exploit those vulnerabilities.</p><p>In our <a href="https://medium.com/deepfence-cloud-native-security/runtime-threat-mapping-for-aws-ecs-using-deepfence-threatmapper-8899df0243dd">previous</a> <a href="https://medium.com/deepfence-cloud-native-security/use-case-runtime-threat-mapping-for-aks-using-deepfence-threatmapper-437997395d1c">posts</a>, we described the necessary steps to install the Deepfence ThreatMapper and add container registries. We will follow those steps to add a container registry that has Windows container images. Once that is done, we will be able to view a list of Windows container images.</p><p>We can now choose some images to start a vulnerability scans in parallel, on those images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iI8421ZL8lurOn1YxGzv-Q.png" /><figcaption>Choose the images to scan</figcaption></figure><p>Once we choose the desired images, we are presented with the same set of options that are available for Linux container images in ThreatMapper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-fIPCKci-JYenR_gkjU5A.png" /><figcaption>Choose the type of scan</figcaption></figure><p>We can start any number of simultaneous scans, and once a scan completes, we can view the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*niUyS8jblm6Ic7k4EJ0Uyw.png" /><figcaption>Results of the vulnerability scan</figcaption></figure><p>ThreatMapper is able to detect recent vulnerabilities for Windows container images. The figure below show a sample vulnerability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwLwcgn_DxKe4zieudFqlA.png" /></figure><p>Note that these scans also be done in a completely automated manner using a set of powerful <a href="https://github.com/deepfence/deepfence_runtime_api">Deepfence API’s</a>.</p><p><strong>What’s Next ?</strong></p><p>Now that ThreatMapper can scan Windows Containers from registries, stay tuned as we work on making threat mapping available for running Windows containers and hosts, and also secure your CI/CD pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3827d14967a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepfence-cloud-native-security/threat-mapping-for-windows-containers-3827d14967a7">Threat Mapping for Windows Containers</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[Use case — Runtime Threat Mapping for AKS using Deepfence ThreatMapper]]></title>
            <link>https://medium.com/deepfence-cloud-native-security/use-case-runtime-threat-mapping-for-aks-using-deepfence-threatmapper-437997395d1c?source=rss-8028c5bbd994------2</link>
            <guid isPermaLink="false">https://medium.com/p/437997395d1c</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[azure-container-registry]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Shyam Krishnaswamy]]></dc:creator>
            <pubDate>Mon, 06 Jul 2020 16:00:55 GMT</pubDate>
            <atom:updated>2020-07-06T16:21:18.856Z</atom:updated>
            <content:encoded><![CDATA[<h3>Use case — Runtime Threat Mapping for AKS using Deepfence ThreatMapper</h3><p>Last month we had described how to install Deepfence community edition i.e. <a href="https://github.com/deepfence/ThreatMapper">ThreatMapper</a> on AWS ECS, and use it for vulnerability scanning of hosts and containers. Last week, we also removed <strong>all node and usage restrictions from Deepfence </strong><a href="https://github.com/deepfence/ThreatMapper"><strong>ThreatMapper</strong></a><strong>; now you can visualize and scan unlimited number of hosts, containers and pods, at runtime as well as container images out of container registries, as a part of CI/CD pipelines.</strong> This article will delve into usage of ThreatMapper on Microsoft AKS for visualization and scanning of VMs, containers and pods at runtime as well as images from Azure container registry.</p><h3>Getting Started</h3><p>Deepfence installation consists of two components namely Deepfence Management Console, which is installed outside of a cluster being threat mapped (for obvious reasons!), and super lightweight Deepfence agents, which are deployed as daemonset on an AKS cluster.</p><h3>Installing Deepfence Management Console</h3><p>We will briefly mention the steps for a single node installation of management console here.</p><ol><li>Spin up a Linux VM instance with at least 4 cores, 16GB RAM and 120GB disk space. This configuration can support up to 250 node AKS cluster depending upon your load. For larger clusters, you may need to upgrade the console as mentioned in <a href="https://github.com/deepfence/ThreatMapper#pre-requisites">Pre-requisites</a>.</li><li>Download 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 Deepfence Agent on AKS</h3><ol><li>First, connect to your AKS cluster using the following command (change your cluster and resource group names appropriately). Note that <a href="https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest">Azure Command line tools</a> have to be installed as a pre-requisite.</li></ol><pre>az aks get-credentials --name MyCluster --resource-group MyResourceGroup</pre><p>2. If the IP address of the VM or host that has the Deepfence management console is 192.168.1.10, then edit the <a href="https://github.com/deepfence/ThreatMapper/blob/master/files/kubernetes-agent.yml">kubernetes-agent.yml</a> file, and change the value of MGMT_CONSOLE_IP_ADDR to 192.168.1.10.</p><p>3. Install ‘kubectl’ using the command :</p><pre>az aks install-cli</pre><p>Once done, run this command to start deepfence agent daemonset in all nodes in the AKS cluster :</p><pre>kubectl apply -f kubernetes-agent.yml</pre><p>4. It may take few minutes for deepfence agents to get installed and show up on the console UI. You can check the status of agent installation using the following command:</p><pre>kubectl get ds deepfence-agent-daemon -n deepfence --watch</pre><p>Once the agents are installed you can visualize the nodes, containers and pods from the topology tab on the console UI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cdF4Jgy15NmY7Orr.png" /><figcaption>A view of the topology screen</figcaption></figure><p>You can click on individual nodes in the topology view to initiate various tasks like vulnerability scanning. You can scan the nodes, containers and pods for vulnerabilities after the vulnerability database is populated (it can take up to 30–60 minutes for vulnerability database to download, and the download status of the vulnerability database is shown on the notification panel).</p><p>You can also initiate vulnerability scans on any number of number of nodes by using our <a href="https://github.com/deepfence/deepfence_runtime_api">APIs</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-3x0g0zWoHYMRJR7.png" /><figcaption>A view of the options available for vulnerability scanning</figcaption></figure><p>You can visualize the vulnerabilities found on each node by navigating to Vulnerabilities tab. Users can also find a ranked list of the most Exploitable Vulnerabilities across images, so that they can focus on addressing the important vulnerabilities first. Optionally, users can also tag and scan a subset of nodes, by using <a href="https://github.com/deepfence/ThreatMapper/wiki/Vulnerability-Scanning-Using-Tags">user defined tags</a>.</p><p>You can also scan for vulnerabilities in images stored in Azure Container Registry from the registry scanning dashboard. First, you will need to click the Azure tab and then “Add registry” button. Then, you need to add the registry name, URL, username and password to populate available images as shown the image below. After that you can select the images to scan and click the scan button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cloY0bj0o_F7MgvZ.png" /><figcaption>A view of the Azure registry scan settings</figcaption></figure><p>Finally, you can send vulnerability scanning reports to various SIEM and notification channels like Slack, PagerDuty, Splunk, ElasticSearch etc. by navigating to the Notifications tab.</p><p>Please reply back to give any feedback for improvement or if you need any additional features. If you face any issues, you can file a ticket on <a href="https://github.com/deepfence/ThreatMapper/issues">github issue tracker.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=437997395d1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/deepfence-cloud-native-security/use-case-runtime-threat-mapping-for-aks-using-deepfence-threatmapper-437997395d1c">Use case — Runtime Threat Mapping for AKS 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>