Jump to content


Photo

Openpli 4.0 backdoor?


  • Please log in to reply
26 replies to this topic

#1 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 8 March 2016 - 17:18

Hi.

Quick question, if I change password for root from default, no one can access box through telnet and ftp. Is there any other way to access box content or settings? For example installing file manager and deleting file with new password, I've seen this on different image.

Thanks for answers

Re: Openpli 4.0 backdoor? #2 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 8 March 2016 - 20:21

Hi,

Samba and WebInterface.

 

ciao



Re: Openpli 4.0 backdoor? #3 stejk

  • Member
  • 6 posts

0
Neutral

Posted 8 March 2016 - 20:38

opkg install mc
mcedit /etc/enigma2/settings

config.OpenWebif.auth=true

samba

opkg remove sambaserver

or

chmod 644 /etc/network/if-up.d/01samba-start

and telnet

mcedit /etc/inetd.conf

# telnet          stream  tcp     nowait  root    /usr/sbin/telnetd       telnetd

Edited by stejk, 8 March 2016 - 20:42.


Re: Openpli 4.0 backdoor? #4 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,599 posts

+62
Good

Posted 8 March 2016 - 22:15

why install 'mc'?


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Openpli 4.0 backdoor? #5 stejk

  • Member
  • 6 posts

0
Neutral

Posted 8 March 2016 - 22:34

My favorite visual file manager.



Re: Openpli 4.0 backdoor? #6 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 8 March 2016 - 23:23

You lost me now people. So even if password for root is changed, someone still can get to box through samba and webinterface? So using samba someone can access root folder even though password is set? Can password be set on samba?

Re: Openpli 4.0 backdoor? #7 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 8 March 2016 - 23:26



and telnet

mcedit /etc/inetd.conf

# telnet          stream  tcp     nowait  root    /usr/sbin/telnetd       telnetd


What this code means?

Re: Openpli 4.0 backdoor? #8 stejk

  • Member
  • 6 posts

0
Neutral

Posted 8 March 2016 - 23:34

 

and telnet

mcedit /etc/inetd.conf

# telnet          stream  tcp     nowait  root    /usr/sbin/telnetd       telnetd
What this code means?

 

You run mcedit. mcedit in my favorite visual file manager. And via this manager you edit this config file /etc/inetd.conf.

And you must in this file add #. This means this line is 'just comment'. And inetd will not start this program (/usr/sbin/telnetd) after start your box.



Re: Openpli 4.0 backdoor? #9 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 8 March 2016 - 23:53

Ok, i understand now, what about samba any chance to set username and password?

Re: Openpli 4.0 backdoor? #10 littlesat

  • PLi® Core member
  • 56,272 posts

+691
Excellent

Posted 9 March 2016 - 00:45

Why.... Use openvpn instead....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Openpli 4.0 backdoor? #11 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 March 2016 - 05:45

What do you want to do?
Do you want to access the box from Internet? If yes, use a VPN tunnel. Password protection is never perfect and don't think that all software on the box have no security issues. The box is not designed for it.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openpli 4.0 backdoor? #12 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 9 March 2016 - 06:02

There are ways to secure the box if that is what you want.

1. disable telnet/ftp, only allow ssh/sftp

2. disable root login for ssh with password, only allow login with authorized key.

3. disable / access from samba, only allow /media/hdd

 

but I haven't understand what you are trying to achieve. If you want to use the box from the internet, better use VPN tunnel as others said.



Re: Openpli 4.0 backdoor? #13 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 9 March 2016 - 11:51

There are ways to secure the box if that is what you want.
1. disable telnet/ftp, only allow ssh/sftp
2. disable root login for ssh with password, only allow login with authorized key.
3. disable / access from samba, only allow /media/hdd

but I haven't understand what you are trying to achieve. If you want to use the box from the internet, better use VPN tunnel as others said.

I want to block access to box, so no one can see config files, etc, even if person has access to box with remote or openwebif

Re: Openpli 4.0 backdoor? #14 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 9 March 2016 - 12:32

You can set a password on the menu, I think

ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: Openpli 4.0 backdoor? #15 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 9 March 2016 - 14:41

I want to block access to box, so no one can see config files, etc, even if person has access to box with remote or openwebif

 

 

Why? What will you gain with that? Unless you want to supply "protected" boxes with certain paytv pirated programs, I don't see a reason why to do this. And if that is what you want, you will not find that kind of support here.

Even if you managed to block all access, a skilled person can still takeover an enigma2 box. Change CFE to boot from usb, then mount internal flash. It can easily be done on some boxes (like DMM), more difficult to some others but still, it can be done. So you can't do what you think on enigma2 boxes. They are called "open" for a reason.



Re: Openpli 4.0 backdoor? #16 WanWizard

  • PLi® Core member
  • 68,604 posts

+1,739
Excellent

Posted 9 March 2016 - 16:09

Download a plugin to reset the password and you're in again... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Openpli 4.0 backdoor? #17 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 9 March 2016 - 19:46

I've seen so called "locked" boxes that some piracy groups are offering to their clients. They have telnet/ftp closed, they only allow ssh but not with password, so even if you reset it you can't log in. smb only allows /media etc. software manager is removed so you can't install ipks from a usb. And some other protections too. But still, you can boot the box from USB and remove any or all of those "protections". So after all, those protections were for nothing. Pitty the ignorant fools ...



Re: Openpli 4.0 backdoor? #18 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 10 March 2016 - 10:48

I live in shared accommodation and there is that moron who live as well, and he keeps deleting files from box, I changed password to root and ftp but he has done it again. I'm sure if he has done it through samba or remote. He doesn't have physical access to box as it is in cabinet with lock glass door. So it must be through remote or samba or shh. I'm not sure what his skills are, but can u help me block all three.

Edited by damtom85, 10 March 2016 - 10:49.


Re: Openpli 4.0 backdoor? #19 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 10 March 2016 - 10:57

Well, for samba, edit /etc/samba/smb.conf and remove section [root]

[root]
path = /
read only = no
guest ok = yes
browseable = yes
create mask = 0777
directory mask = 0777
 
If he had once access in your box, he might have installed a back door himself. So a reflash with original software is mandatory.


Re: Openpli 4.0 backdoor? #20 WanWizard

  • PLi® Core member
  • 68,604 posts

+1,739
Excellent

Posted 10 March 2016 - 12:46

Remote "guest ok", that allows access without a username/password.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users