<?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 Sakshi Sharma on Medium]]></title>
        <description><![CDATA[Stories by Sakshi Sharma on Medium]]></description>
        <link>https://medium.com/@sakshi12?source=rss-8fce9906faa6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PNbEU1VNTad2PSQF9rhSxQ.jpeg</url>
            <title>Stories by Sakshi Sharma on Medium</title>
            <link>https://medium.com/@sakshi12?source=rss-8fce9906faa6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:36:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sakshi12/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[Root detection bypass by Objection and Frida]]></title>
            <link>https://medium.com/@sakshi12/root-detection-bypass-by-objection-and-frida-8a4275b67e8e?source=rss-8fce9906faa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a4275b67e8e</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[mobileapppentest]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vapt]]></category>
            <dc:creator><![CDATA[Sakshi Sharma]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 13:53:14 GMT</pubDate>
            <atom:updated>2020-04-28T13:53:14.908Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is root bypass?</h3><p>When an application is developed, developers implement root detection mechanism to prevent the user from using that in the rooted android device. When a user tries to install some application, it throws an error message and doesn’t allow the application to install on rooted device. While performing the root bypass we make changes in the code and restricts the application from closing which further leads to installation of the application on rooted android device. So for performing this first of all I will install frida and after that i will bypass the root detection.</p><p>Step1: Open cmd and type the following command as shown in the below fig, one can check the version of frida also.</p><p><strong>Command:</strong> <em>pip install frida</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*yqs-j1JxwUKGKfj7RAGQ8w.png" /><figcaption>Fig 1: Install Frida</figcaption></figure><p>Step 2: Now I have to set up frida on Android for the I need to download the Frida server for the specific android platform from the site: <a href="https://github.com/frida/frida/releases/">https://github.com/frida/frida/releases/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z3i90pEgvxXV2fApp1DHBw.png" /><figcaption>Fig 2: Download frida server</figcaption></figure><p>Step 3: Copy Frida server file into the android phone tmp directory using adb push command as shown in fig. Here I have used Genymotion as an android emulator. After the copying the file change the permissions of the frida server files.</p><p><strong>Command</strong>:<em> adb push frida server /data/local/tmp/</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*Mq3gAsxOY7iqSV0EQYrP6A.png" /><figcaption>Fig 3: adb push command</figcaption></figure><p>Step:4 : I will install the application from playstore in genymotion android emulator and you can easily connect to frida server by cmd and can use the following command to list all the process running. When I tried to install the application, it shows an error message that the device is rooted.</p><p><strong>Command</strong>: <em>frida-ps -U</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s1xOpJ7uPuNwLHyZ_Wkv3w.png" /><figcaption>Fig 4: Error message</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*ATazyl_SuP2bJEwtzWhBwg.png" /><figcaption>Fig 5: List of process</figcaption></figure><p>Step:5 Next I have used objection and frida scripts to perform root bypass as shown in the figure.</p><p><strong>Script used:</strong> <em>$ frida — codeshare dzonerzy/fridantiroot -f YOUR_BINARY</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*ioyNVkxcBDLdnSKF8y8Ong.png" /><figcaption>Fig 6: frida codeshare script</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKv8LyneE2EDNELZGru3eg.png" /><figcaption>Fig 7: Root detection bypass by script</figcaption></figure><p>Step: 6 So, to connect to one of those apps (which is shown in above figure), specify the name with the –gadget (names are referred as gadgets in Objection) flag.</p><p><strong>Command</strong>: <em>objection -g “com.abc.xyz” explore</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*kDC4Sleq6PObvX-o1DJGUg.png" /><figcaption>Fig 8: Connecting to the application</figcaption></figure><p>Step: 7 Now i will use the command :<strong><em>android hooking list activities</em></strong> which will list all the activities that have been specified by the AndroidManifest.xml and activity classes found using this command could be used with the`android intent launch_activity` command to launch them. Here I have launched the intent for OTP for login.</p><p><strong>Command</strong> :<em>android hooking list activities</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uCDbtoXYlrTT9kgOVHrcEA.png" /><figcaption>Fig 9: List of all the activities and launching intent.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a4275b67e8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Economic Denial of Sustainability (EDoS) Attack in Cloud]]></title>
            <link>https://medium.com/@sakshi12/economic-denial-of-sustainability-edos-attack-in-cloud-1b2ab75ebb65?source=rss-8fce9906faa6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b2ab75ebb65</guid>
            <category><![CDATA[openstack]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[ddos]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Sakshi Sharma]]></dc:creator>
            <pubDate>Sun, 19 Jan 2020 17:33:36 GMT</pubDate>
            <atom:updated>2020-01-19T17:33:36.715Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Economic Denial of Sustainability (EDoS) Attack in Cloud</strong></p><p>A special kind of DDoS attack which is particular to only cloud infrastructure is known as Economic Denial of Sustainability (EDoS). The EDoS attack exploits the cloud elasticity and auto scaling features.</p><p>An attacker launches malicious requests of HTTP for web application which seems to be legitimate by the victim and hence goes undetected. EDoS attack is performed over a long span of time.</p><p>This attack leads to heavy billing on victim account. Attackers who pretend to be legitimate cloud service consumers send constant requests to the user. The resource usage is increased, and heavy billing is charged on the victim account.</p><p><strong>Attack methodology</strong></p><p>For the attack methodology we need cloud environment for this one can use any cloud<strong> </strong>to create virtual private cloud, open source software like Eucalyptus, Openstack, ownCloud etc. may be used on a single or multiple platform. I am going to demonstrate using OpenStack cloud.</p><p>Before performing the attack, we need to understand the major component of the Openstack that is Orchestration, this component plays a vital role in the attack scenario. Orchestration makes use of programming technology to manage the interconnections of the <a href="https://searchcloudcomputing.techtarget.com/definition/cloud-computing">cloud</a> infrastructure with the help of the templates (are basically codes) through which it can add or remove instances to the existing user.</p><p><strong>Attack methodology and Implementation.</strong></p><p>I<strong> </strong>have used the OpenStack cloud for the implementation of the attack<strong>.</strong> For performing the attack<strong> </strong>first step is to generate attack traffic that can be generated by the Kali Linux and Ubuntu which is sent to the cloud user. Firstly I have set the CPU resource usage and, two virtual attacker machines are prepared. First attacker machine is Ubuntu machine in which DDoS tools are installed like Slowloris. Second attacker machine is Kali machine in which I have made a python script by combining many tool scripts.</p><p><strong>Attack Implementation:</strong></p><p>For Performing the attack, I have created the auto scaling feature in cloud that is it adds or removes the resources according to the requirement which is governed by the service level agreement (SLA). For performing this attack following are the steps that I have followed.</p><p>Step 1: Firstly I have created an environment where I have configured the Auto-Scaling feature in OpenStack through which I can monitor the resource usage. I have added templates where I have set the CPU_max and CPU_min limit. Fig 1 shows login page of the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*n104PR6cFrA7TLhQWKQ-9Q.png" /><figcaption>Fig 1: Log in to the dashboard</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*AXs3Da8HRzsEQ1B2GWlqeA.png" /><figcaption>Fig 2: The dashboard</figcaption></figure><p>Step 2: First step is to check the CPU resource usage limit which is 55–60%. The legitimate user is running a web application say WordPress on its local host.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*8W5V2ZOYHqbkthVrR5AORA.png" /><figcaption>Fig 3: CPU resource usage before the attack.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*theVZ6P0SRxE2LZ4YRNS0A.png" /><figcaption>Fig 4: WordPress on localhost.</figcaption></figure><p>Step 3: The attacker sends large no of HTTP-GET requests on the server of the legitimate user which results in increase in CPU resource usage it goes to 95%–100%. I have two attacker machine one is Ubuntu and the other is Kali as shown in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*_yEhLq7_1KTzP34IOmJLXQ.png" /><figcaption>Fig 5: Ubuntu as attacker machine.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*eqY-gQ-unrKLsRV5Shm-og.png" /><figcaption>Fig 5: Kali as attacker machine.</figcaption></figure><p>Step 4: I have created a template for auto-scaling in which I have set a CPU resource usage limit, now when the requests are increased the CPU resource usage increases. Below figure shows the templates and the increased CPU usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*5qQ5MATmbKauhBH2M7hJ6w.png" /><figcaption>Fig 6: Template</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*pAB2tPnVFNuQECutS6xRaQ.png" /><figcaption>Fig 7: Stack that uses the templates and launches the instance.</figcaption></figure><p>Step 5: So, when large number of requests are sent, the resource usage limit increases to 90–95%. ceilometer Alarms monitors the average CPU utilization of all the virtual machine of Scaling stack. Below figure shows that due to increased in number of requests CPU usage increases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*7ZkNNjIomIW5kl8muJ87yw.png" /><figcaption>Fig 8: Increased CPU usage.</figcaption></figure><p>The victim is unable to open access its WordPress page as shown in the figure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*D0JG2IxeF38zQfsN0NX1GQ.png" /><figcaption>Fig 9: Victim unable to access WordPress.</figcaption></figure><p>Step 5: Now according to the SLA (Service Level Agreement) there is policy of resource allocation and I have set template so that auto scaling is done so I have set a limit and suppose if a virtual machine CPU utilization is overloaded 85% for particular duration of time in that case machine requires an extra virtual machine and if the resource usage is below a desired limit than an extra VM has to be removed. Below figure shows that an extra has been added, one can check the instances running with the help of Nova API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*G83lQOfOKP5vwG2wmq7qkA.png" /><figcaption>Fig: 10 Extra Instance has been added.</figcaption></figure><p>Step 6: Now when too many requests from the attacker machine the CPU resource usage increases, ceilometer alarm monitors the average CPU utilization of all the machines and if the limit reaches a particular limit than it triggers an alarm which is an alert for adding an extra VM.</p><p>An addition of extra VM stabilizes the CPU utilization so actually DDoS attack does not occur, on demand resources utility prevents DDoS attack but adds an extra bill to the customers account. This economic instability leads to Economic denial of sustainability attack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b2ab75ebb65" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>