<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Application-Security on krash.dev</title><link>https://krash.dev/tags/application-security/</link><description>Recent content in Application-Security on krash.dev</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 14 Aug 2026 08:29:09 +0530</lastBuildDate><atom:link href="https://krash.dev/tags/application-security/rss.xml" rel="self" type="application/rss+xml"/><item><title>VS Code Security: Looking at the IDE from Security Lens</title><link>https://krash.dev/posts/attacking-vs-code/</link><pubDate>Thu, 14 Sep 2023 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/attacking-vs-code/</guid><description>&lt;p&gt;While perusing &lt;a href="https://survey.stackoverflow.co/2023/#section-most-popular-technologies-integrated-development-environment" target="_blank" rel="noopener noreferrer"&gt;StackOverflow&amp;#39;s 2023 Developer Survey&lt;/a&gt; (yes, we developers have our own version of celebrity gossip), I couldn&amp;rsquo;t help but notice that our trusty VSCode is still riding high as the undisputed IDE champ. With a whopping 73% of the developer vote, it&amp;rsquo;s safe to say that VSCode has firmly planted its flag. But, like any superstar, it&amp;rsquo;s not immune to the spotlight&amp;rsquo;s glare, especially when it comes to security. And in this blog, we&amp;rsquo;ll explore the security aspects that every VSCode user should consider.&lt;/p&gt;</description></item><item><title>gRPC: We are not RESTing Anymore</title><link>https://krash.dev/posts/grpc-concepts/</link><pubDate>Sat, 02 Jul 2022 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/grpc-concepts/</guid><description>&lt;p&gt;gRPC is a framework which is being used to build scalable and fast APIs. The framework from which it derives most of its positives is from the protocol it uses - HTTP/2. Apart from HTTP/2, it uses protocol buffer (protobuf) for the communication.&lt;/p&gt;
&lt;p&gt;gRPC can be useful in circumstances like -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;large-scale microservices connections&lt;/li&gt;
&lt;li&gt;real-time communication&lt;/li&gt;
&lt;li&gt;Low power &amp;amp; low bandwidth systems&lt;/li&gt;
&lt;li&gt;Multi-language environments&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="why-should-we-care-lets-talk-benefits"&gt;Why Should We Care? Let&amp;rsquo;s talk Benefits&lt;a class="heading-anchor" href="#why-should-we-care-lets-talk-benefits" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The use of HTTP/2 over the TLS end-to-end encryption connection in gRPC ensures API security.&lt;/li&gt;
&lt;li&gt;gRPC provides built-in support for commodity features, such as metadata exchange, encryption, authentication, deadline/timeouts and cancellations, interceptors, load balancing, service discovery, and so much more.&lt;/li&gt;
&lt;li&gt;The prime feature of gRPC methodology is the native code generation for client/server applications.&lt;/li&gt;
&lt;li&gt;gRPC tools and libraries are designed to work with multiple platforms and programming languages, including Java, JavaScript, Ruby, Python, Go, Dart, Objective-C, C#, and more.&lt;/li&gt;
&lt;li&gt;Parsing with Protobuf requires fewer CPU resources since data is converted into a binary format, and encoded messages are lighter in size. So, messages are exchanged faster, even in machines with a slower CPU, such as mobile devices.&lt;/li&gt;
&lt;li&gt;Request and Response Multiplexing - Multiple requests/response in one single connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="underlying-concepts"&gt;Underlying Concepts&lt;a class="heading-anchor" href="#underlying-concepts" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;h3 id="protocol-buffers"&gt;Protocol Buffers&lt;a class="heading-anchor" href="#protocol-buffers" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;aka &lt;code&gt;protobuf&lt;/code&gt; . It&amp;rsquo;s Google&amp;rsquo;s serialization/deserialization protocol that enables easy definition of services and auto-generation of client libraries. It is an IDL (Interface Definition Language).&lt;/p&gt;</description></item><item><title>How is XSS different from CSRF?</title><link>https://krash.dev/posts/xss-vs-csrf/</link><pubDate>Tue, 28 Jun 2022 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/xss-vs-csrf/</guid><description>&lt;p&gt;An interesting discussion, led me to realize this is one of the commonly discussed topic and I thought a blog post for it might be helpful for someone.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://portswigger.net/web-security/csrf" target="_blank" rel="noopener noreferrer"&gt;Cross-site request forgery&lt;/a&gt; and &lt;a href="https://portswigger.net/web-security/cross-site-scripting" target="_blank" rel="noopener noreferrer"&gt;Cross-site scripting&lt;/a&gt; are both client side attacks which performs action on behalf of users.&lt;/p&gt;
&lt;p&gt;Just some context here -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://portswigger.net/web-security/cross-site-scripting" target="_blank" rel="noopener noreferrer"&gt;Cross-site scripting&lt;/a&gt; (or XSS) allows an attacker to execute arbitrary JavaScript within the browser of a victim user. The attack happen because of the acceptance of the malicious code by the sites.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://portswigger.net/web-security/csrf" target="_blank" rel="noopener noreferrer"&gt;Cross-site request forgery&lt;/a&gt; (or CSRF) allows an attacker to induce a victim user to perform actions that they do not intend to. This attack can be performed by the code hosted on any third party attacker controlled site.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Before diving into the differences, let&amp;rsquo;s see what conditions needs to be met in order for both the attacks to be successful.&lt;/p&gt;</description></item><item><title>This is why you need a personal Collaborator Client!</title><link>https://krash.dev/posts/this-is-why-you-need-a-personal-collaborator-client/</link><pubDate>Tue, 22 Jun 2021 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/this-is-why-you-need-a-personal-collaborator-client/</guid><description>&lt;p&gt;If you have used &lt;a href="https://portswigger.net/burp/documentation/collaborator" target="_blank" rel="noopener noreferrer"&gt;Burp’s collaborator client&lt;/a&gt; for your Out-of-band testing, you know it’s awesome. Then why there is a need for a personal collaborator client? There are a few things that need to be addressed.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Companies have started to blacklist burp collaborator’s domain, making it difficult for OOB vulnerabilities detection. (&lt;a href="https://twitter.com/burp_suite/status/1069998639785725952?lang=en" target="_blank" rel="noopener noreferrer"&gt;Read here&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Collaborator client is not available for the community/free edition of BurpSuite.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This brings the need for having a personal collaborator client, with no to minimal investments, that will help us in the detection of any out-of-band/blind vulnerabilities, and I have linked an amazing cheatsheet below that will guide in OOB Exploitation. So, let’s get started. Below are the things required for our recipe to cook:&lt;/p&gt;</description></item><item><title>How does burp proxy work?</title><link>https://krash.dev/posts/how-does-burp-proxy-work/</link><pubDate>Mon, 07 Jun 2021 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/how-does-burp-proxy-work/</guid><description>&lt;h2 id="whats-a-proxy"&gt;What’s a proxy?&lt;a class="heading-anchor" href="#whats-a-proxy" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;A proxy acts as a gateway between you and the internet. The internet traffic flow back and forth if a proxy is setup in the middle. So, what is the need of proxy? There are several reasons organizations and individuals use proxies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Control and monitor internet usage&lt;/li&gt;
&lt;li&gt;Proxy servers can give better speed and bandwidth by caching websites&lt;/li&gt;
&lt;li&gt;Proxy servers can also be setup along with VPNs to provide anonymity and better security&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There are different types of proxies, but a specific type of proxy that we are going to talk about in this blog is &lt;strong&gt;interception proxy&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Bug Bounty Summit CTF Writeup</title><link>https://krash.dev/posts/bug-bounty-summit-ctf-writeup/</link><pubDate>Mon, 02 Nov 2020 00:00:00 +0000</pubDate><guid>https://krash.dev/posts/bug-bounty-summit-ctf-writeup/</guid><description>&lt;p&gt;&lt;em&gt;The CTF is live on Hacker101 as Grayhatcon CTF – &lt;a href="https://ctf.hacker101.com/ctf" target="_blank" rel="noopener noreferrer"&gt;Hacker101 CTF&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The CTF was built upon real vulnerabilities found during bug bounties. It had four flags – 250 points each.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Objective&lt;/strong&gt; - Hackerone&amp;rsquo;s Username and Password database has been leaked and put on an auction. Our task was to delete the auction listing before anyone buys it.&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;We were given an IP, which resolved to a web application. On performing some basic information gathering, I found out some stuff.&lt;/p&gt;</description></item></channel></rss>