PDA

View Full Version : [ubuntu] SSH Brute Force Attack?



PerfectReign
February 3rd, 2011, 12:13 AM
This may be the opposite of what normally is asked but...

I recently installed a solar system on my house. It comes with a device (http://www.enphaseenergy.com/products/products/envoy.cfm)that takes the readings from my solar panels and passes them out to the internet.

http://www.perfectreign.com/stuff/2011/20110201_solar_production.png

(I know that is from Win 7, but I'm at work.)

The device runs a micro linux system with an Apache server so one can do administration. I ran nmap against it and found out it runs Debian.

21:20 Pacific Standard Time Scanning 192.168.0.100 [1 port]

...
PORT STATE SERVICE VERSION

22/tcp open ssh OpenSSH 3.8.1p1 Debian 8.sarge.4

80/tcp open http?

...

MAC Address: 00:1D:C0:04:15:00 (Enphase Energy)

OS details: Linux 2.6.9 -2.6.31 Enphase Envoy -Products -Enph




When trying to ssh into the device, I run across a roadblock. I'm unable to login.

login as: kai
kai@192.168.0.102's password:
Linux proxy 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux
Ubuntu 10.04.2 LTS

Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com (https://help.ubuntu.com/)

Last login: Wed Feb 2 09:28:47 2011 from m3e2736d0.tmodns.net
kai@proxy:~$ ssh root@192.168.0.100
root@192.168.0.100's password:
Permission denied, please try again.
root@192.168.0.100's password:
Permission denied, please try again.
root@192.168.0.100's password:
Permission denied (publickey,password,keyboard-interactive).




So, given I have "console" access, what can I do? I assume there's a brute force type of attack (for lack of a better term) but what program? I'm somewhat familiar with programs written in Wintendo that can do such things, but not in Ubuntu.

Ideas?

anomie
February 3rd, 2011, 05:14 AM
I don't follow what a "brute force attack" has to do with this thread.

Do you have access to any of the logs through the web interface? It may be that 1) root's password entry is locked; or 2) root is implicitly or explicitly prevented from logging in over ssh; or 3) something similar.

-------

edit: Ahhhh, got it now. You want help brute forcing the device. Can't help with that one.

cariboo
February 3rd, 2011, 05:39 AM
Can you ssh in as a normal user? Root login may be turned off, as it should be.

matt_symes
February 3rd, 2011, 05:52 AM
Hi

Assuming it does not void any warranty, have you talked to the technical support of the manufacturer ?

Kind regards

HermanAB
February 3rd, 2011, 07:34 AM
BTW, SSH brute force attacks started about 10 years ago and they are pretty stupid. Change the SSH port from 22 to something else and the problem will go away.

CharlesA
February 3rd, 2011, 03:37 PM
If SSH is not exposed then you don't have to worry about bruteforce attacks.

If you are trying to get root access, then I suppose you should talk to the tech support people and see if it's even possible.

The only thing I could find regarding that device and SSH was on someone's blog:
http://www.friday.com/bbum/2010/03/23/enphase-energys-envoy/

spynappels
February 3rd, 2011, 04:53 PM
I expect that this link is used by the company to do remote diagnostics etc and is probably protected by keys and has password login disabled. That's what I would do if I was installing these anyway.