x32x01
  • by x32x01 ||
L3MON is a remote Android management suite, we can use it to gain access on any android smartphone. In easy words this is a Android RAT (Remote Administrative Tool).

In today's detailed tutorial we learn how to install & configure L3MON on our Kali Linux system and use it.

Using L3MON we can make an Android APK payload and send it to android device and after installing it on android device we can gain the access of Android device via L3MON's web based interface, we can send commands from the easy web based interface and execute our commands on targeted devices.
L3MON - Access Android Devices Remotely
L3mon have lots of beautiful features they are following:
  • GPS Logging
  • Microphone Recording
  • View Contacts
  • SMS Logs
  • Send SMS
  • Call Logs
  • View Installed Apps
  • View Stub Permissions
  • Live Clipboard Logging
  • Live Notification Logging
  • View WiFi Networks (logs previously seen)
  • File Explorer & Downloader
  • Command Queuing
  • Built In APK Builder
Installing L3MON in Kali Linux
We need Java Runtime Environment 8 and nodejs installed in our machine to run L3mon.

First we install the JRE (Java Runtime Environment) on our system by applying following command:
Code:
sudo apt-get install openjdk-8-jre
This command will install JRE version 8 on our system as shown in following screenshot.
Screenshot_2020-06-13_13-42-05.png
Then we need to install NodeJs on our system we apply the following commands to download nodejs in our system.
Code:
curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -

Then we run following command to install it.
Code:
sudo apt-get install -y nodejs
Screenshot_2020-06-13_14-24-23.png
Then we install pm2 process manager by using following command:
Code:
sudo npm install pm2 -g

Now we are ready to install and configure L3MON.

We download it from it's GitHub by using git clone command:
Code:
wget https://github.com/D3VL/L3MON/releases/download/1.1.2/L3MON-v1.1.2.zip

This command will download L3MON in our system. Now we create a new folder in our Desktop named L3MON and copy the downloaded zip file there.

Then extract it by right clicking on the zip file and choosing "extract here".
Screenshot_2020-06-13_12-19-19.png
Then we open a terminal window and navigate to L3MON in our Desktop by simply using cd command:
Code:
cd /Desktop/L3MON

Here we install all the dependencies by using following command:
Code:
npm install

It will install the dependencies now as we can see the the following screenshot:
Screenshot_2020-06-13_12-27-18.png
Let start the server by using following command:
Code:
pm2 start index.js
Screenshot_2020-06-13_20-12-33.png
Now we can see our server in our browser http://localhost:22533 there will be a login page as following screenshot:
Screenshot_2020-06-13_12-40-13.png
We create a login for our server here. But we cant login because we did not created a password to login. To create a password we stop our serve by using following command:
Code:
pm2 stop index.js

Now we need to edit maindb.json file using our favorite text editor mousepad.
Code:
mousepad maindb.json
Screenshot_2020-06-13_12-46-17.png
Here we edit the username if we want it. But in the password field, we need to give our password's md5 hash. Means if we fill here the password as plain text, will not work. We must need to put password's md5 hash.

How to create a md5 hash of a password? Suppose our password is qwerty (This is for an example we shouldn't choose easy passwords for security reasons). To convert it on md5 we need to use following command in another terminal window.
Code:
echo -n "qwerty" | md5sum | cut -d" " -f 1

Here we got the MD5 hash of our password as we can see in the following screenshot.
Screenshot_2020-06-13_12-48-17.jpg
Then we fill our username and password in maindb.json file then save and close this file.
Screenshot_2020-06-13_12-51-09.png
Now we again start the server by using following command :
Code:
pm2 start index.js

Then again open our localhost in browser with 22533 port.
Screenshot_2020-06-13_12-54-08.png
As we set our username kali and password qwerty we fill it and click on login.
Screenshot_2020-06-13_12-55-46.png
We are successfully logged in.

Now we are in control. We need to open the APK builder tab.
Screenshot_2020-06-13_20-20-19.png
Here we put our IP address (local or public) and leave the port as default and click on build.

Note: If we want to control android device on our local network (same WiFi) then we can use our local IP and to connect devices through internet we need to put our Public IP (Static IP is preferred for a long time use).

After clicking on build we got an error like this.
Screenshot_2020-06-13_20-42-56.png
We solved this error by configuring JAVA in another terminal by running following command:
Code:
update-alternatives --config java

Here we can select Java versions. We need Java version 8 to run L3MON tool. In out case it is on number 2, as we can see in the following screenshot.
java version 8 alternative.png
So we type 2 and hit "Enter".

Then we restart our running L3MON server by using following command:
Code:
pm2 restart all

Bingo, the error goes now the build is ready to download.
Screenshot_2020-06-13_21-22-20.png
Now we can download the L3MON.apk in our system, and send it to our targeted device anyway and make a successful installation.

After a successful installation it on targeted device and the phone user tries to open this L3MON will asks all the permission of devices and automatically hide itself from the app drawer.

After this we got the connection with the device. We can check it on our Devices tab.
Screenshot_2020-06-14_14-22-47.png
Now we can control this phone from the manage button. Here in the following screenshot we are in the file manager of the phone. Now we can spy on this phone.
Screenshot_2020-06-14_14-23-29.png
Our downloaded data and recorded audio clips will be saved under assets/webpublic/client_downloads/ directory.

Our discussed method is for local network. To connect a device from internet we prefer to have a static IP address and forward our default port 22533 in our router settings or we can change the default port by changing these lines (inside includes/const.js).

Using this method we can control phones connected in our same network. We also can control devices through internet by using ngrok services. Configuring L3MON on VPS will make it portable and useful.

Disclaimer
Provides no warranty with this software and will not be responsible for any direct or indirect damage caused due to the usage of this tool or this tutorial.
L3MON is built and our article is documented for both Educational and Internal use ONLY.

Getting any problem during installing or configuring L3MON ? Feel free to contact us by commenting with error details on below comment section. We always reply. For more tutorials like this subscribe our newsletter to get updated. Also we post updates on our Twitter and GitHub.
 

Similar Threads

x32x01
Replies
0
Views
93
x32x01
x32x01
x32x01
Replies
0
Views
83
x32x01
x32x01
x32x01
Replies
0
Views
103
x32x01
x32x01
x32x01
Replies
0
Views
595
x32x01
x32x01
x32x01
  • x32x01
Replies
0
Views
234
x32x01
x32x01
TAGs: Tags
access android remotely android devices android hacking hack android l3mon

Register & Login Faster

Forgot your password?

Latest Resources

Forum Statistics

Threads
517
Messages
518
Members
45
Latest Member
Tacola
Back
Top