<?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 Jawa :) on Medium]]></title>
        <description><![CDATA[Stories by Jawa :) on Medium]]></description>
        <link>https://medium.com/@jawaharsri2003?source=rss-ed72bc9040be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*U8B49e6ZWm8YEpvT</url>
            <title>Stories by Jawa :) on Medium</title>
            <link>https://medium.com/@jawaharsri2003?source=rss-ed72bc9040be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:49:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jawaharsri2003/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[How to Install and Use Drozer on Windows (A Step-by-Step Guide)]]></title>
            <link>https://medium.com/@jawaharsri2003/how-to-install-and-use-drozer-on-windows-a-step-by-step-guide-2972075f6251?source=rss-ed72bc9040be------2</link>
            <guid isPermaLink="false">https://medium.com/p/2972075f6251</guid>
            <dc:creator><![CDATA[Jawa :)]]></dc:creator>
            <pubDate>Thu, 17 Oct 2024 08:53:25 GMT</pubDate>
            <atom:updated>2024-10-17T08:53:25.845Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Drozer</strong> is a powerful security assessment framework for Android, providing penetration testers with the tools needed to evaluate Android applications. In this guide, I’ll take you through a step-by-step process of installing and configuring Drozer on Windows using Visual Studio Code. This guide will help even beginners get Drozer up and running smoothly.</p><h3>1. Prerequisites Installation</h3><p>To begin, you’ll need the following tools:</p><ul><li><strong>Java JDK 8 or Later</strong>: Drozer requires Java to run. Make sure you have Java Development Kit installed.</li><li><strong>Android SDK</strong>: Includes platform tools such as adb to communicate with Android devices.</li><li><strong>Python 3</strong>: Drozer also relies on Python, specifically Python 3 for newer versions.</li></ul><p><strong>Note</strong>: Don’t forget to add Java, Python, and the Android SDK to your system’s PATH to easily use them from the command line.</p><h3>2. Cloning and Preparing Drozer</h3><p>First, clone the Drozer repository from GitHub:</p><pre>bashcd C:\<br>git clone https://github.com/WithSecureLabs/drozer.git</pre><pre>Copy cod</pre><pre>cd C:\<br>git clone https://github.com/WithSecureLabs/drNext, set up the environment by navigating to the Drozer folder and creating a Python virtual environment:</pre><pre>bash</pre><pre>Copy code</pre><pre>cd drozer<br>python -m venv venv<br>venv\Scripts\activate</pre><p>Install Drozer dependencies using:</p><pre>bash</pre><pre>Copy code</pre><pre>pip install .</pre><h3>3. Installing Drozer Agent on Your Android Device</h3><p>The Drozer agent (agent.apk) needs to be installed on your Android device for interaction.</p><ul><li><strong>Step 1</strong>: Connect your Android device to your PC via USB and enable <strong>USB Debugging</strong>.</li><li><strong>Step 2</strong>: Use adb to install the agent:</li></ul><pre>bash</pre><pre>Copy code</pre><pre>adb install C:\drozer\agent_modified.apk</pre><p>Ensure your device is listed with adb devices before attempting the installation. If the installation fails due to SDK version issues, make sure to modify targetSdkVersion to at least <strong>23</strong> in AndroidManifest.xml.</p><h3>4. Signing the Modified APK</h3><p>After modifying the Drozer agent, you must sign it before installation. Use keytool to generate a keystore and jarsigner to sign the APK:</p><pre>bash</pre><pre>Copy code</pre><pre>keytool -genkey -v -keystore C:\apktool\my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000<br>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore C:\apktool\my-release-key.keystore C:\apktool\agent_modified.apk alias_name</pre><p>Optional but recommended: Use zipalign for further optimization.</p><pre>bash</pre><pre>Copy code</pre><pre>zipalign -v 4 C:\apktool\agent_modified.apk C:\apktool\agent_aligned.apk</pre><h3>5. Running Drozer</h3><p>After installing and setting everyMake sure your Android device is connected, and the Drozer agent is running.</p><h3>Troubleshooting Tips</h3><ul><li>If you see the error <strong>INSTALL_FAILED_VERIFICATION_FAILURE</strong>, ensure you have disabled <strong>Google Play Protect</strong> on your device.</li><li>If keytool or jarsigner isn&#39;t recognized, verify that the <strong>Java JDK path</strong> is properly set in your system&#39;s <strong>Environment Variables</strong>.</li></ul><h3>Conclusion</h3><p>Following these steps should set you up with Drozer to perform Android application security assessments. Drozer provides a rich set of tools for analyzing components, permissions, and potential vulnerabilities.</p><p>Feel free to add screenshots to each section to make it more visual, especially during the APK signing and installation process!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2972075f6251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turning Blue: Latest Windows BSODs to Crash in mid-2024?]]></title>
            <link>https://medium.com/@jawaharsri2003/turning-blue-latest-windows-bsods-to-crash-in-mid-2024-8299bf631866?source=rss-ed72bc9040be------2</link>
            <guid isPermaLink="false">https://medium.com/p/8299bf631866</guid>
            <category><![CDATA[crowdstrike]]></category>
            <category><![CDATA[bsod]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Jawa :)]]></dc:creator>
            <pubDate>Sat, 24 Aug 2024 09:30:48 GMT</pubDate>
            <atom:updated>2024-08-24T09:33:47.608Z</atom:updated>
            <content:encoded><![CDATA[<p>Thousands of Windows machines are encountering a Blue Screen of Death (BSOD) issue during boot today, disrupting banks, airlines, TV broadcasters, sharemarkets, IT and many other businesses globally. A faulty update from cybersecurity provider CrowdStrike is causing affected systems — both PCs and servers — to enter a recovery boot loop, preventing proper startup. This is not a Microsoft problem at all, it’s down to third-party CrowdStrike software that many businesses use in order to keep Windows PCs and servers secure.</p><p><strong>What Is The Blue Screen Of Death?</strong></p><p>The blue screen of death which dates all the way back to 1993 when Microsoft Windows finally released their operating system that kept crashing and will reach a point where it can no longer operate safely.</p><p>Mike Walters, co-founder at Action1: Webinar — “<em>The blue screen of death pointing are often to kernel level conflicts or bugs</em>” Diagnosing and mitigating these problems can be especially difficult due to the fact that they stem from the lowest levels of the operating system, which is where hardware interactions are highly complex.</p><p>In July 2021, Microsoft changed the blue screen of death to black for Windows 11 users before reverting it back by year’s end. At <em>04:09 UTC, July 19th</em> of the year major operations take place within CrowdStrike released a sensor configuration update to Windows systems as part of its Falcon platform. One of the updates did end up bringing a logic error (or as we know it better, BSOD) that caused systems to instantly crash. Crash — While this crash may affect Windows, it also produces a “<strong><em>minidump</em></strong>” file with crucial information necessary to diagnose the problem.</p><figure><img alt="Windows users across the globe were met with the dreaded Blue Screen of Death (BSOD)" src="https://cdn-images-1.medium.com/max/1024/1*x4YtpdC5RZRXZRf-_S8-6Q.png" /><figcaption>Windows users across the globe were met with the dreaded Blue Screen of Death (BSOD)</figcaption></figure><p><strong>Here’s Why CrowdStrike Users Were Singled Out by the Recent BSOD</strong></p><p><strong>CrowdStrike</strong> — I am covering them in today’s blog because CrowdStrike is a household name, and they are recognized as one of the leading cybersecurity players with next-gen detection and response capabilities. It offers crucial security architectures to many organisations worldwide, meant to secure</p><p>The last incident of the BSOD has been reported to occur after a recent Windows update which crashed their system and affected CrowdStrike’s security software users, specifically because it was related to an impunity change that occurred on between Falcon agent &amp; windows. The agent runs in the kernel space of an operating system and continuously monitors for threats at all layers by examining system processes. While this deep integration provides comprehensive protection, it also renders the software very sensitive to changes of the underlying OS. It ends up that some changes to the <strong><em>Windows kernel</em></strong>(the most fundamental part of a true operating system basically) were made when Microsoft rolled out an update and it created unexpected compatibility with Falcon agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ian8Jqc9_QVwxc8qB4nARg.jpeg" /></figure><p>Accordingly, the likelihood of receiving BSODs — most notably with a “<strong><em>CRITICAL_PROCESS_DIED</em></strong>” error code which occurs when an important system process cannot launch properly — on systems running CrowdStrike’s Falcon agent was higher. On the other hand, users who were not using CrowdStrike’s software or those utilizing a different cyber security solution did not have face the same BSOD issue because their systems had no deep-level interactions with the OS update that caused it to crash. This incident serves as a reminder of the difficulties in maintaining compatibilities between security software and OS updates, especially those with deep integration into the core processes of an operation system.</p><p>The problems grounded flights, leading to travel chaos with major U.S. carriers American, United and Delta being forced to ground all of their planes over the technical faults. Sydney Airport in Australia and Akasa Air in India are among those hit by the apparent global glitch, using manual check-in processes. And, it has been determined that the issue was caused by an update made by CrowdStrike which resulted in massive global outages and Blue Screen of Death on Windows 10 systems; these discoveries impacted several industries across almost every sector — from airlines to government offices.</p><p>A Microsoft outage on Tuesday made the disruption even worse, triggered mostly by problems with services under its umbrella like in this case within Office 365 and slowly sprawling across sectors including baking to stock exchanges. CrowdStrike Further Expands Investigating Activity Both CrowdStrike and Microsoft owned up to the issues, with CrowdStrike dealing with a bad update to its Falcon Sensor and Microsoft pointing to a configuration change in Azure.</p><p><strong>Crowd Strike Analysis:</strong></p><p>It was a NULL pointer from the memory unsafe C++ language.</p><p><em>Let’s decode this stack trace dump for you.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*19-jk8RJpI2moOoC.jpeg" /></figure><p>Your computer’s memory is a very big array of numbers. The numbers are shown as hexadecimal here base 16(hexadecimal) because it’s easier to work with… for reasons.</p><p>The problem area? The computer tried to read memory address 0x9c (aka 156).This is an invalid region of memory for any program. Any program that tries to read from this region WILL IMMEDIATELY GET KILLED BY WINDOWS.</p><p>That is what you see here with this stack dump.So why is memory address 0x9c trying to be read from? <em>Well because… programmer error</em>.</p><pre>It turns out that C++, the language crowdstrike is using, likes to use address 0x0 as a special value to mean &quot;there&#39;s nothing here&quot;, don&#39;t try to access it or you&#39;ll die.<br>Programmers in C++ are supposed to check for this when they pass objects around by &quot;checking full null&quot;.<br><br>Usually you&#39;ll see something like this:<br><br>string* p = get_name();<br><br>if (p == NULL) { print(&quot;Could not get name&quot;); }<br>The string* part means we have a &quot;pointer&quot; to the start of the string value. If it&#39;s null, then there&#39;s nothing there, don&#39;t try to access it.<br><br>So let&#39;s take a generic object with stuff in it:<br><br>struct Obj {<br>  int a;<br>  int b;<br>};<br>if we create a pointer to it:<br><br>Obj* obj = new Obj();<br><br>We can get it&#39;s start address, let&#39;s say its something random like 0x9030=36912 (I&#39;m using small numbers)<br><br>Then the address of:<br>  obj is 0x9030<br>  obj-&gt;a is 0x9030 + 0x4<br>  obj-&gt;b is 0x9030 + 0x8<br><br>Each member is an offset from the start address. Now, let&#39;s assume the following:<br><br>Obj* obj = NULL;<br><br>Then the address of:<br>  obj is 0<br>  obj-&gt;a is 0 + 4<br>  obj-&gt;b is 0 + 8<br><br>So if I do this on a NULL pointer:<br><br>print(obj-&gt;a);<br><br>The program stack dump like what you&#39;ll see above. It will cannot read value 0x000000004NULL + 0x9C = 0x9C = 156.<br><br>That&#39;s an invalid region of memory.<br><br>And what&#39;s bad about this is that this is a special program called a system driver, which has PRIVLIDGED access to the computer. So the operating system is forced to, out of an abundance of caution, crash immediately</pre><p>Hat tip to <a href="https://www.youtube.com/@ThePrimeTimeagen">ThePrimeTimeagen</a>, who posted this stack trace and how few could actually understand it.</p><p>check out the video below,</p><p><a href="https://www.youtube.com/watch?v=3N4m5k9GAW0&amp;t=8s">https://www.youtube.com/watch?v=3N4m5k9GAW0&amp;t=8s</a></p><h3>Sample Code</h3><h3>Wrong</h3><pre>// This case is not exactly what happened with Crowdstrike<br>// It is here for illustration purposes<br>void* get_data() {<br>  if (data_available) {<br>    return data_ptr;  // This could be null!<br>  } else {<br>    // Uh oh, what if data_ptr is null here?<br>    return NULL;  <br>    // Using Null to indicate no data<br>    // knowing Null is schizophrenic<br>  }<br>}<br><br>int process_data(void* data) {<br>  if (data != NULL) { <br>    // Maybe a null check, but not guaranteed!<br>    // Accessing data... (crash if data is Null)<br>    return *data;<br>  }<br>  // No check? Silent failure or unexpected behavior.<br>  return -1;<br><br></pre><h3>Right</h3><pre>// You should ideally replace the null with a polymorphic call<br>// You can see the technique in related articles<br><br>std::unique_ptr&lt;int&gt; get_data() { <br>  if (data_available) {<br>    return std::make_unique&lt;int&gt;(data_value);<br>  } else {<br>    return nullptr;  // Explicitly return nullptr<br>  }<br>}<br><br>int process_data(const std::unique_ptr&lt;int&gt;&amp; data) {<br>  if (data) { // Check for valid pointer<br>    return *data;<br>  } else {<br>    // Handle no data case (e.g., return default value)<br>    return 0;<br>  }<br>}</pre><h3><strong>How to Fix the “REFERENCE BY POINTER” BSOD Error on Windows 11:</strong></h3><p>“Reference by Pointer.” This specific Blue Screen of Death (BSOD), identified by the stop code 0x00000018, is often caused by hardware malfunctions or corrupted system files. The following guide provides a methodical approach to fix this issue, starting with booting the computer into Safe Mode to minimize further crashes during troubleshooting.</p><p><strong>Boot into Safe Mode</strong></p><p>Booting into Safe Mode is a preliminary step that ensures the system starts with minimal drivers, services, and background processes, allowing you to isolate and eliminate the components causing the crash.</p><p>1. <strong>Reboot in Safe Mode:</strong></p><p><em>• Click the Start button, select the Power button, and hold the Shift key while clicking Restart.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*beneTsA5itjNsJvhaTEGvA.png" /></figure><p><em>• On the next screen, select “</em><strong><em>Troubleshoot</em></strong><em>.”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*eVVKo9Uiw32wEnlz60RvRQ.png" /></figure><ul><li><em>Click “</em><strong><em>Advanced options</em></strong><em>” and then “</em><strong><em>Startup Settings</em></strong><em>.”</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*K1c5zGaHcYDwOAkRkx3PIQ.png" /></figure><ul><li><em>Click the </em><strong><em>Restart</em></strong><em> button</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*DOU4RihfI5UJIUca9HlmAw.png" /></figure><ul><li><em>Press F4 or F5 for </em><strong><em>Safe Mode</em></strong><em> or </em><strong><em>Safe Mode with Networking</em></strong><em>.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*XMbRzYxLWtEWDoncvhUGfw.png" /></figure><p>Please find the Remedies / Counter Measure for resolving the “<em>Reference by Pointer</em>” BSOD error on Windows 11 attached in the following link:</p><p><a href="https://www.nextofwindows.com/reference-by-pointer">How to Fix Reference by Pointer BSOD Error on Windows 11 - NEXTOFWINDOWS.COM</a></p><p><strong>Software Conflicts in a Connected World</strong></p><p>The flurry of Blue Screen of Death (BSOD) errors observed as late, including numerous reports from CrowdStrike users is an illustration the interdependencies that are found between changes to cybersecurity software and updates affecting host operating systems. The incident serves as a reminder that even the collision of software could trigger massive disruptions across several domains, from airlines to financial institutions — underscoring once again why firms should continue implementing robust and holistic cybersecurity measures.</p><p>So, if you are also going through this then here we have a compiled list of methods that can be followed to fix these BSOD issues and give back the stability your system once was. You should also look out for news from software vendor and OS vendors themselves — this sort of thing can get a long way with these kind problems. As we continue in the digital era instead it requires us to be a little more proactive about maintaining our systems.</p><p>Looking ahead in the digital era, proactive system cohesion and surveillance will be crucial to protect our devices from any such disruptions. The summary conclusion about the moral does not require any emphasis, it underscores that good Cybersecurity and systems are interlinked in this modern times wherein Keep your house clean will do enough.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8299bf631866" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Backend Odyssey of Discord: Migration From MongoDB to Cassandra to ScyllaDB]]></title>
            <link>https://medium.com/@jawaharsri2003/the-backend-odyssey-of-discord-migration-from-mongodb-to-cassandra-to-scylladb-0de0aeb58d76?source=rss-ed72bc9040be------2</link>
            <guid isPermaLink="false">https://medium.com/p/0de0aeb58d76</guid>
            <dc:creator><![CDATA[Jawa :)]]></dc:creator>
            <pubDate>Mon, 01 Apr 2024 09:35:52 GMT</pubDate>
            <atom:updated>2024-04-01T10:37:20.409Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The journey of Discord, a widely used online community platform used by millions.The history of Discord, from a modest startup to its current state as a master of digital communication, is a journey marked by creativity, tenacity, and a relentless drive for quality. This article will explore the riveting story of Discord and the message storage road traveled. From using MongoDB to Cassandra and finally, Discord’s latest switch to ScyllaDB.</blockquote><p><strong>In the Beginning: The Birth of Discord</strong></p><p>Discord was created in 2015 with the intention of developing a communication tool only for gamers by Jason Citron and Stanislav Vishnevskiy. Discord gained widespread support in a short amount of time thanks to its great design and wealth of features, which attracted millions and millions of users worldwide. However, as the number of users on the platform increased, so did the amount of material these users were producing, leaving Discord with the enormous burden of handling trillions — yes, you read that correctly — of messages.</p><p><strong>MongoDB Era: The Early Years</strong></p><p>At the beginning, Discord utilized MongoDB as its backend database. The reason behind choosing MongoDB was its adaptability and user-friendly interface, which made it perfect for quick development and improvement. Nonetheless, as Discord’s user community and message traffic started to skyrocket, the limitations of MongoDB became evident. By November 2015, with 100 million messages saved, MongoDB’s single replica set faced difficulties in handling the growing demands, resulting in unpredictable delays and problems with scalability.</p><p><em>“Hot partitions, which occur due to the way the table schema is designed, have led to certain performance problems. This is because the partitioning is based on the Discord channel and time bucket” s</em>aid by Bo Ingram, a senior software engineer at Discord, provides insights into how hot partitions affect the database cluster:</p><p><em>“When we encountered a hot partition, it frequently affected latency across our entire database cluster. One channel and bucket pair received a large amount of traffic, and latency in the node would increase as the node tried harder and harder to serve traffic and fell further and further behind. […] Since we perform reads and writes with a quorum consistency level, all queries to the nodes that serve the hot partition suffer latency increases, resulting in a broader end-user impact.”</em></p><p><strong>Introducing Cassandra: Expanding for Success:</strong></p><p>Acknowledging the necessity for a stronger solution, Discord set out on a mission to find a database system that could provide scalability, resilience, and minimal upkeep. This journey led them to Cassandra, a widely acclaimed distributed NoSQL database renowned for effortlessly managing vast quantities of data. Utilizing Cassandra’s decentralized structure and linear scalability, Discord seamlessly managed its escalating message load, amassing trillions of stored messages by the start of 2022.</p><p>Discord maintains excellent speed even during peak demand by using Cassandra’s ease of scaling storage capacity across several nodes. Moreover, Cassandra’s robust architecture reduces the likelihood of both data loss and system outages. Discord can now transcend MongoDB’s restrictions thanks to this move to Cassandra, which also makes it possible to build a more reliable message storage system.</p><p>Later, the frequency of hot partitions, which generated disproportionately high loads during concurrent reads, and unpredictable latency led to frequent on-call alarms and expensive repair procedures. Performance problems were made worse by maintenance difficulties, such as missing compactions, and Cassandra’s garbage collection procedure increased latency and stability issues. As a result of this, Discord looked for a more reliable and efficient way to satisfy its message storage demands. In addition, Cassandra’s garbage collection procedure created stability issues that increased operational cost by impacting latency and necessitating manual intervention.</p><p>For enterprises looking to improve the scalability and performance of their databases, moving from Cassandra to ScyllaDB offers a number of benefits. ScyllaDB’s enhanced performance metrics, such as its decreased latencies and faster throughput, together with its simplified maintenance procedures and less hardware needs, make the switch an attractive option. Additionally, ScyllaDB’s compatibility with Cassandra guarantees a smooth conversion process, enabling businesses to use their current data models and applications without requiring major changes. Businesses may attain a more responsive and effective database solution by utilizing ScyllaDB’s optimized design and stability, opening the door to increased dependability and better user experiences.</p><p><em>“We trust ScyllaDB’s speed and reliability to help with some of our most business-critical use cases including all of our core product experience, our anti-abuse systems and more,” </em>said Mark Smith,Discord’s Director of Infrastructure.</p><p>With the open-source ScyllaDB distributed data store, Discord moved its messaging cluster from the open-source Cassandra database system, cutting latency from <em>200 milliseconds to 5 milliseconds.</em></p><p>The move provides an appealing route to improved scalability, stability, and efficiency thanks to ScyllaDB’s higher performance metrics, simplified maintenance procedures, and smooth interaction with Cassandra. Through use of ScyllaDB’s optimized design and reliability, enterprises may realize a multitude of advantages such as decreased latency, enhanced throughput, and reduced hardware needs. Moving to ScyllaDB is a wise strategic move toward future-proof database solutions, enabling organizations to reliably and easily handle the complexities of today’s management of data as industries and data needs continue to develop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0de0aeb58d76" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>