Paginas

24 August 2016

Root Access Technicolor Router


I noticed that my public IP was pingable from the outside, but I never had the chance to disable this option. Yesterday, I spent some time and I found that this option is only visible by command line and we need to have ROOT on the device (WTH). By default, the ISP only provides us the Administrator user to do some "basic" tasks. So, I had to have root access :)

The router in question is a Technicolor TG784n.v3 but it might work with other versions.

Let's see how to do it!

I'm going to use the default parameters like IP Addresses and Passwords. If you changed it (and I hope you did), please use those.


1. Login Router
With the browser, navigate to 192.168.1.254 (default) and the login is done automatically as user Administrator (no password). If necessary, log in as Administrator and blank password (do not enter anything);


2. Create User
Create a user in the "Toolbox", "User Management", for example, a user like "SuperUser" by entering a password (recommended also change the user's password "Administrator" if you didn't changed already);
 
 
3. FileZilla or SCP
Install FileZilla or SCP and log on the router with the following data: 192.168.1.254 (router) and the following credentials:

 

User: upgrade
Pass: Th0ms0n!


 
4. INI File
Transfer the "user.ini" file and with Notepad search for "SuperUser" and change your field "role" of "Administrator" to "Root"; Save the changes and upload the changed file to the routerm replacing the existinf file;


5. Permissions
Edit the file permissions of "user.ini" to the numerical value "755";


6. Reload
Close the connections and reboot the router


7. Verify
Again with the browser, navigate to 192.168.1.254 and now login with user data "SuperUser" to have root privileges.


8. Stop Echo Requests (Ping) from Outside World
Telnet to the router (192.168.1.254) with "SuperUser" credentials and enter the following command:


  • service system modify name=PING_RESPONDER state=disable


There are many commands that you can do now with ROOT, please view some of them in this page:
http://gigacom.servehttp.com/gct/index.php/2017/07/17/comandos-technicolor-meo-vodafone/



4 comments:

  1. Anyones knows what's the credentials for the ftp access for the Technicolor TG582n version?
    i tried the User: upgrade and Pass: Th0ms0n! but doesn't work.
    Filezilla give me 2 different error when i try to access to 192.168.1.254:21
    Risposta: 220 Inactivity timer = 120 seconds. Use 'site idle ' to change.
    Comando: USER root
    Risposta: 331 Password required.
    Comando: PASS ****
    Risposta: 530 Permission denied
    Errore: Errore critico: Impossibile collegarsi al server (can't connect)

    ReplyDelete
  2. Hello Andrea, the passwords can be different from your router version. This post has some time, and probably the service providers changed something along the way. Regards

    ReplyDelete
  3. This has stopped working on more recente firmware versions.does anyone know how to downgrade firmware? Short some pins?

    ReplyDelete
  4. Hi, if you stumbled on this page then the following very cool piece of info I found on https://geektuga.ddns.net/gct/index.php/2017/07/17/comandos-technicolor-meo-vodafone/ may be of interest to you:

    --------------------------------------------------------------------------------

    CREATE USERNAME WITH “ROOT” PRIVILEGES.

    Command Comments:

    script add name=useroot command=”user add name=me password=pass role=root”

    Change “me” and “pass” for your own username and password.

    Run the script:

    script run name=useroot pars=””

    Don’t forget this!

    saveall


    --------------------------------------------------------------------------------

    WORKS A TREAT on a random TG582n I found on the side of the road, locked down with Telstra firmware :)

    Obviously the script-running subsystem doesn't check privilege levels... \o/

    -- gmail@asmqb7

    ReplyDelete