<?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 Manish Mehta on Medium]]></title>
        <description><![CDATA[Stories by Manish Mehta on Medium]]></description>
        <link>https://medium.com/@SecureGram?source=rss-c026649855ec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*K3QRaLS4yTeVFdircoqDiQ.png</url>
            <title>Stories by Manish Mehta on Medium</title>
            <link>https://medium.com/@SecureGram?source=rss-c026649855ec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:43:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@SecureGram/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[Why ML is mandatory for effective API security]]></title>
            <link>https://medium.com/volterra-io/why-ml-is-mandatory-for-effective-api-security-2eed29030ffc?source=rss-c026649855ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eed29030ffc</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Manish Mehta]]></dc:creator>
            <pubDate>Wed, 02 Sep 2020 06:01:02 GMT</pubDate>
            <atom:updated>2020-09-02T06:01:02.052Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past decade, the quest for faster development cycles, high availability, selective on-demand scaling, and decoupling in general has steered technology-driven organizations to the microservices architecture. As a result, many secure function calls in monolithic software turned into API calls between microservices over non-secure networks. That is, although this transition solved many operational and business challenges, it gave birth to some new security challenges.</p><p>The security situation is aggravated with the proliferation of open source software, containerization, and Infrastructure-as-Code (IaC). Now that onboarding or modifying a microservice could be a 15-min task, security teams may not have a timely opportunity to analyze the security of the microservices properly. Introduction of a comprehensive security assessment as a gating phase in deployment pipelines almost always receives an unfavorable reaction from the DevOps team. Even if one was successful at efficiently gating the deployment, many security issues — especially runtime attacks — cannot be identified at the time of deployment.</p><h3>Security is no longer the same</h3><p>While developers and DevOps teams have reasons to warmly embrace the transition to microservices, security teams increasingly struggle to keep up with a growing volume of APIs, changing API definitions and behaviors, lack of API documentation (especially in open source components), diverse protocols, and payload structures. Now that many internal function calls between modules have become API calls between microservices, the attack surface has exploded and managing security has become overwhelming very quickly.</p><p>Even at medium scale in a microservices environment, defining and maintaining a list of normal and acceptable behavior for each API endpoint before any microservice is deployed or updated is very challenging, if not impossible. This also includes maintaining an authorization policy for each API endpoint. Additions of new microservices, removal of deprecated ones, and seasonality in traffic are the predictable reasons why the definition of “normal and acceptable” keeps changing. There are also not-so-predictable reasons like intermittent network outages, DDoS attacks, upstream outages, and security exploits which can also play a major role.</p><p>Given all the factors to be considered for proper security, a large amount of data needs to be collected, correlated, processed and learned in near real-time to make reasonable and timely security decisions. This requirement renders traditional solutions and controls inadequate. Thankfully, advancements in <strong>machine learning</strong> (ML) and the maturity of learning models over the past decade provide a very powerful platform to tackle these new security challenges.</p><h3>ML to the rescue!</h3><p>The power of ML allows us to rethink the way we define, refine and implement security controls. It allows us to cope with the dynamic nature of API interactions and still provide effective API security. We will now discuss the three main steps in achieving a comprehensive and effective ML-based solution.</p><h4>1. Let ML Discover the Scope…Don’t Feed It</h4><blockquote>As discussed earlier, the dynamic nature and sheer volume of APIs make it impractical for developers or security teams to meaningfully define and feed API definitions to systems securing the API endpoints. With ML-based models, it is possible to input some offline training data and let the system autonomously discover, identify, classify, account for, and allow/deny API calls based on the API endpoint (say URL path in case of HTTP), caller, payload, etc. For example, API discovery is accomplished using an ML-based URL graph and component classification that can be done via deep learning. This allows the system to build, grow, and learn the scope and nature of API communication over time.</blockquote><blockquote>A well-calibrated system for such discovery of scope can replace days, if not weeks, worth of human efforts for each updated deployment within hours.</blockquote><h4>2. Learn, Adjust, Repeat</h4><blockquote>This is the core part of any ML-based security solution. Good solutions enable security controls to observe the behavior of the system, build behavior profiles, and adjust the current model (built using the past observations). This is a continuous process, and a cleanly implemented solution enables the controls to be applied in a meaningful way and a timely fashion. For example, if past profiles have shown a particular sequence of APIs calls to be a normal flow, an updated build of application that implements a couple of extra calls in the flow can be learned and added in the profile in a matter of hours.</blockquote><blockquote>This is where the argument for ML-based solutions is very easy to understand since the behavior profiling and calibration is as real-time as practically feasible. Figure 1 shows an example of how an ML-based profiling is set up.</blockquote><figure><img alt="Figure 1. ML-based profiling" src="https://cdn-images-1.medium.com/max/681/0*pQ0CMz7AQ2RFFoGr" /><figcaption>Figure 1. ML-based profiling</figcaption></figure><h4>3. Detect</h4><blockquote>The first two steps allow us to learn and keep up-to-date with what should be considered “normal and acceptable” behaviors in the system. The final step is to detect and call out the behavior patterns that fall outside of that range. For example, if after learning the normal behavior of hundreds of users the system notices a sudden flurry of login or data downloading attempts from a particular user, or multiple users attempting login from the same network address in a short amount of time, these behaviors can be quickly called out as anomalies. API anomaly detection can be done using sequential unsupervised deep learning.</blockquote><blockquote>Figure 2 shows a sequence of API calls that is profiled to be the normal and acceptable by the system.</blockquote><figure><img alt="Figure 2: Normal sequence of API Calls" src="https://cdn-images-1.medium.com/max/1024/0*2YataMkF7cEXkgXb" /><figcaption>Figure 2: Normal sequence of API Calls</figcaption></figure><blockquote>Figure 3 shows anomalous sequences of API calls that would be detected and flagged by the system.</blockquote><figure><img alt="Figure 3: Anomalous sequence of API calls" src="https://cdn-images-1.medium.com/max/721/0*qdtV4m36E8zFLUlW" /><figcaption>Figure 3: Anomalous sequence of API calls</figcaption></figure><blockquote>It is important to note here that the feedback delay is a very critical part of the entire learning cycle to not allow malicious actors to adjust their behavior and “fly under the radar.”</blockquote><p>Once these solutions are implemented and start producing results, one can leverage them to enhance existing controls such as web application firewalls (WAFs) for HTTP-based traffic.</p><h3>Wrapping up</h3><p>ML is powerful and ML-based solutions have quickly become an essential part of overall security in microservices-based environments. At Volterra, we recognized very early the need for ML for our internal operations, as well as providing it as a key capability for our customers as they transition to modern applications effectively, securely and efficiently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eed29030ffc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/volterra-io/why-ml-is-mandatory-for-effective-api-security-2eed29030ffc">Why ML is mandatory for effective API security</a> was originally published in <a href="https://medium.com/volterra-io">volterra.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t just move the problem, solve it!]]></title>
            <link>https://medium.com/volterra-io/dont-just-move-the-problem-solve-it-7fbdfaa3ac63?source=rss-c026649855ec------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fbdfaa3ac63</guid>
            <category><![CDATA[voltshare]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[file-sharing]]></category>
            <category><![CDATA[end-to-end-encryption]]></category>
            <dc:creator><![CDATA[Manish Mehta]]></dc:creator>
            <pubDate>Thu, 14 May 2020 14:34:12 GMT</pubDate>
            <atom:updated>2020-05-20T17:26:15.849Z</atom:updated>
            <content:encoded><![CDATA[<h4>Share sensitive data easily and securely with <a href="https://www.volterra.io/products/voltshare/"><strong>VoltShare</strong></a>.</h4><p>How many times have you found yourself emailing a <strong>sensitive</strong> <strong>file</strong> to your accountant, lawyer, friend, relative, or co-worker and immediately feeling remorseful? Or perhaps you uploaded the file to some cloud storage provider and emailed or Slacked the link. You have tried some password-based encryption programs only to find that they are buggy, hard to work with, and most importantly, don’t really solve the problem — they just <strong>move the problem</strong> from <em>securely sharing the file</em> to<em> securely sharing the encryption password</em>. You have been reading about all sorts of privacy and security breaches and your cynical alter ego has almost convinced you to give up on security. Sound familiar?</p><figure><img alt="Comic strip showing how people just move the problem when they can’t solve it!" src="https://cdn-images-1.medium.com/max/498/1*83nNrz8J-xk3vTDmh8MsFg.png" /></figure><p>Sharing sensitive/secret information is not a new problem. In fact, the problem not only predates today’s digital age, but also played a <a href="https://www.aaas.org/code-breaking-instrumental-ending-world-war-ii">major role</a> in shaping how our world looks today. Your compromised secrets may not necessarily make you lose a war, but they may bring you nightmares like identity theft, privacy breach, or blackmail. At work, compromised secrets may mean that your systems are hacked, intellectual property is stolen, customer data is leaked, compliance audit fails, and yes, <strong>you get the boot!</strong></p><p>Now you are trapped between your cynical alter ego and the real-world. This is what brings that remorse, the feeling of knowing that you are taking a risk that can come back to bite you…hard! Perhaps you made that choice because you are tired of being on the phone for 15 mins every time you send someone a password-encrypted file and explain to them how to download the right tool and make sure that they jot down the password correctly. Perhaps it is because you can’t seem to forget the time when you had to send that one sensitive file to the whole team and you spent your lunch hour encrypting it 20 times — once per each recipient’s <a href="https://en.wikipedia.org/wiki/Pretty_Good_Privacy">PGP</a> key. Or you have just given up on PGP and similar solutions because you can’t possibly explain the technology to your non-Ph.D. friends — and you can’t keep your keyring sane either.</p><p>As you try to shake off that remorse <strong>hoping</strong> nothing bad happens, you can’t help but wonder, “Why do I have to choose between security and usability? Why do I have to trust any third party with my data? Why do I have to use these geeky tools? How come there is not a better way to do this?”</p><h3>Enter VoltShare</h3><p>No passwords, no keys, no geeky tools, no trusting a third party with your data…no remorse. Just email address — yes, all you need to know is the email addresses of the people you want to share your sensitive information with, that’s it! The best part — <strong>it’s for free, forever</strong>!</p><figure><img alt="Encryption animation" src="https://cdn-images-1.medium.com/max/394/1*GYTSA7BkZElJIIoo4RXXDg.gif" /></figure><p>VoltShare gives you a simple GUI-based app to pick your file/text, enter the recipients’ email addresses, click <strong>Encrypt</strong> — and out comes an encrypted file/text that you can email, Slack, WhatsApp, DropBox, or even snail mail to the recipients. No matter how many recipients you have, you only do this once and you share the exact same encrypted file with all recipients simultaneously. You can even specify the expiry time before which recipients have to decrypt the data.</p><p>On the decryption side, things are even simpler. Simply pick the encrypted file/text in the VoltShare GUI app, click <strong>Decrypt</strong> and out comes the original file/text if the person decrypting is one of the allowed recipients in the list or the original creator of the encrypted file.</p><figure><img alt="Decryption animation" src="https://cdn-images-1.medium.com/max/393/1*uL8DJS-2zu_deh4YiSS_rg.gif" /></figure><p>VoltShare simply needs users to log in using one of the supported identity providers — Google, Microsoft, or GitHub. Users can also sign up directly with VoltShare using their personal/work email address if they don’t want to use any of the identity providers. In the entire experience of using VoltShare, users are never required to choose any passwords, upload or sync any public or private keys, or even trust VoltShare’s SaaS platform with any data.</p><p><strong>In fact, the sensitive data — clear or encrypted — never leaves the users’ machines during encryption or decryption. </strong>Voltshare also chunks the data securely to minimize the RAM usage during the encryption/decryption operations and that allows VoltShare to handle large files — even in GBs.</p><p>The Enterprise version of VoltShare adds governance capabilities like company single sign-on (SSO) integration, policy override, dashboards and alerts that can help you monitor and control secret sharing within your company if you are the administrator.</p><p>If you are a developer, VoltShare’s SDK and APIs are available to integrate this functionality directly in your applications. You can now deliver end-to-end encryption with policy-based controls without worrying about the details of implementing data security, privacy, and key management.</p><p>With this introduction, you can jump to <a href="https://www.volterra.io/products/voltshare/">VoltShare webpage</a> to download and start using the VoltShare app to experience this simplicity yourself. You can also find more information and FAQs on the <a href="https://www.volterra.io/products/voltshare/">webpage</a>. If you are interested in the geeky security details of the system, read on…</p><h3>What the Crypto!</h3><p>Since you decided to stick around, you deserve full transparency and details.</p><p>Let’s start by stating that VoltShare uses state-of-the-art cryptography like 256-bit <a href="https://en.wikipedia.org/wiki/Galois/Counter_Mode">AES-GCM</a> and <a href="https://en.wikipedia.org/wiki/RSA_(cryptosystem)">2048-bit RSA</a> as the foundation. However, there are 2 main design aspects that set VoltShare apart from all other solutions and enable VoltShare to offer passwordless group-sharing without trusting any third party with the data:</p><ol><li>Ability to include multiple identities (in case of users — email addresses) in the encryption math sans keyring</li><li>VoltShare’s SaaS backend performs <strong>blind decryption,</strong> which ensures that VoltShare never requires the shared data or its encryption key, in clear or encrypted format, to leave the users’ machines.</li></ol><figure><img alt="No data or encryption key sent to Volterra" src="https://cdn-images-1.medium.com/max/1024/1*annyRTkuAS0MsYvQ3A1Ayg.png" /></figure><h4>Encryption Operation</h4><p>Every encryption operation creates a random 256-bit key and a random 96-bit encryption nonce for AES-GCM encryption of the sensitive data. VoltShare smartly uses the <a href="https://en.wikipedia.org/wiki/Authenticated_encryption">AEAD</a> capability of AES-GCM and cryptographically ties the secret’s metadata to the encryption of the sensitive data. This way, if the integrity of the encrypted data is compromised, the decryption fails. The data is also chunked and chained to securely process large files.</p><p>Once the data is encrypted, VoltShare uses public-key cryptography operations in conjunction with the policy information and secret metadata to encrypt the AES-GCM key and nonce — locally on the user’s machine. Finally, everything is put together to produce the output file.</p><p>At this point, the encrypted file is completely protected and can be transported to the recipients by any means without worrying about the security of the underlying systems.</p><h4>Decryption Operation</h4><p>Decryption process is where VoltShare shines the most. The reason for this is the unique ability of VoltShare to get the AES-GCM key and nonce of the encrypted file decrypted from VoltShare’s SaaS backend without the backend ever knowing a single bit of information about the key or nonce. In cryptography, this is known as <a href="https://en.wikipedia.org/wiki/Blinding_(cryptography)"><strong>blinding</strong></a>.</p><p>When the receiver of the encrypted file attempts decryption, it first authenticates with the VoltShare SaaS backend and then adds a random number (blinding factor) in the mix before sending the AES-GCM key and the nonce to the VoltShare SaaS backend. The SaaS backend which holds the decryption key can only see the user’s identity, policy information, and some random-looking bytes. If the policy allows the decryption, the backend performs decryption resulting in another set of random-looking bytes (and not the original AES-GCM key and nonce). Once the receiver receives the response, it is able to recover the AES-GCM key and nonce by reversing the blinding factor computation.</p><p>Once the AES-GCM key is recovered, the original data can be recovered locally using the secret metadata along with the key and nonce.</p><p>There, you have it. All the protection you need for your sensitive data without trusting a third-party. <strong>Remember, the data never leaves your machine and never seen by VoltShare SaaS!</strong></p><p>Feel free to download, experience, use, promote, and even try to break the VoltShare encryption. If you think you have identified something clever, send us a note on <a href="/service/mailto:security@ves.io">security@ves.io</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fbdfaa3ac63" width="1" height="1" alt=""><hr><p><a href="https://medium.com/volterra-io/dont-just-move-the-problem-solve-it-7fbdfaa3ac63">Don’t just move the problem, solve it!</a> was originally published in <a href="https://medium.com/volterra-io">volterra.io</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>