Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

ALERT - Online.net clients are being attacked and infected with XOR.DDOS

darknessendsdarknessends Member
edited August 2015 in General

Hi Guys,

Multiple servers were affected with latest revisions of this. Symptoms are high cpu usage.

https://www.fireeye.com/blog/threat-research/2015/02/anatomy_of_a_brutef.html
http://opcode.ninja/malware-analysis-1-1/

Please take care, if someone wants to remove it, I will guide.

Thanks

«1

Comments

  • hostnoobhostnoob Member
    edited August 2015

    what's so specific about online.net?

    just because online.net dedis always get brute forced within minutes of it being online? or you mean you had dedis with online.net and they were compromised?

  • NyrNyr Community Contributor, Veteran
    edited August 2015

    This has nothing to do with Online.net nor is an 0day or something to be worried about.

    Thanked by 3netomx ATHK lbft
  • @hostnoob : Couple of hosts with online.net - compromised on same time. They are targeting their IP ranges.

    @Nyr : I got frustrated with removing this, since servers will become so unresponsive and thought its good to alert others

  • So your servers were compromised due to a brute force attack? Or is there a blackdoor on all online.net's servers?

  • NyrNyr Community Contributor, Veteran

    darknessends said: I got frustrated with removing this, since servers will become so unresponsive and thought its good to alert others

    Still you should probably not name the provider since they don't seem to have anything to do with you being compromised.

    Thanked by 2ATHK netomx
  • @darknessends said:
    hostnoob : Couple of hosts with online.net - compromised on same time. They are targeting their IP ranges.

    Nyr : I got frustrated with removing this, since servers will become so unresponsive and thought its good to alert others

    People always target online.net servers. Just follow the normal security practice (disable root, disallow password auth etc) and change the SSH port to limit the number of attacks

    Nothing online.net can do or be blamed for

  • gestiondbigestiondbi Member, Host Rep

    @hostnoob maybe Online is not reliable....lol.

    Seriously, the host have nothing to do with this. Maybe you should check your setup if many of your server got compromised at the same time...

  • The title should be changed to ALERT - Many noobs using Online.net are being attacked and infected with XOR.DDOS

  • sinsin Member

    or you could just secure your servers?

  • rm_rm_ IPv6 Advocate, Veteran
    edited August 2015

    hostnoob said: disable root, disallow password auth

    If you do #2, doing #1 is just a silly security theater with zero justification.

    (I was so fed up fixing this on new RunAbove instances, I even wrote a script to re-enable 'root' automatically...)

  • I changed the title to include the word "clients" since it is not the providers server that gets infected.

    Thanked by 1comXyz
  • @mikho said:
    I changed the title to include the word "clients" since it is not the providers server that gets infected.

    You are missing the e in clients

  • @comXyz said:
    You are missing the e in clients

    Thanks, hard to type laying in bed with only one eye open.

    Thanked by 1TheKiller
  • rm_ said: (I was so fed up fixing this on new RunAbove instances, I even wrote a script to re-enable 'root' automatically...)

    Tired do that on Amazon too -) Though did not do that so much to automate and i'm a little bit doubt how to automate passwd command (i prefer password sometimes).

  • sinsin Member
    edited August 2015

    -edit- nevermind

  • rm_rm_ IPv6 Advocate, Veteran
    edited August 2015

    sin said: Doesn't XOR.DDOS infect via brute forcing root though?

    Did you even read what I wrote. "If you do #2". And what was #2? If you disallow password auth altogether and set it to accept key-based authentication only, nobody can brute-force 'root' (or any other username for that matter), so there is no point in disabling 'root'.

    Thanked by 1alexvolk
  • sinsin Member

    rm_ said: Did you even read what I wrote. "If you do #2". And what was #2?

    Ah sorry about that, you're right I read it wrong.

  • None of my online.net boxes are infected.
    You could always use a strong password and fail2ban though.

  • wychwych Member
    edited August 2015

    fail2ban/cpHULK ftw.

  • @rm_ said:
    (I was so fed up fixing this on new RunAbove instances, I even wrote a script to re-enable 'root' automatically...)

    I was just naming things people suggest. I don't do either :)

  • Breaking News: people still run SSH on port 22

  • NeoonNeoon Community Contributor, Veteran

    @doughmanes said:
    Breaking News: people still run SSH on port 22

    What if i would tell you, that the earth is flat.

    You won't belive me right? Running on Port 22 is not bad, sometimes is even bad to change it.

  • Infinity580 said: sometimes is even bad to change it.

    Like what?

  • NeoonNeoon Community Contributor, Veteran

    @doughmanes said:
    Like what?

    I dont google that for you.

  • @doughmanes, it won't take very long for an attacker to find your ssh port.

  • Changing your port can be useful if you want to reduce the usual noise from the internet, which helps keeping your logs a bit smaller. Still won't help against targeted attacks though.

    An example where a custom port sucks is a Git server - feels stupid when you always have to specify a port and/or create an entry in your .ssh/config file.

  • darknessends said: @doughmanes, it won't take very long for an attacker to find your ssh port.

    Try knockd if you're having issues with your servers being scanned.

  • ksugksug Member

    @doughmanes said:
    Breaking News: people still run SSH on port 22

    Changing SSH port is security by obscurity. If the attacker scans ports, it slows down the attacker by 3 seconds. It doesn't prevent anything.

  • @ksug said:

    yes but it does prevent a significant portion of attacks. Most mass attacks check port 22. If its a targeted attack then its another story.

    tl;dr; changing ports does help

    Thanked by 1doughmanes
  • @black said:
    Try knockd if you're having issues with your servers being scanned.

    Yes, I think that this is the best solution. A simple way is to make port knocking with iptables, this is an example with 3 tcp ports and default 22 ssh port:

    #Port Knocking - port1 - port2 - port3 -A INPUT -p tcp --dport port1 -m recent --set --rsource --name SSH_AUTH_KNOCK1 -m limit --limit 15/min -j LOG --log-prefix "ssh knock 1 " --log-level 7 -A INPUT -p tcp --dport port2 -m recent --rcheck --rsource --seconds 15 --name SSH_AUTH_KNOCK1 -m recent --set --rsource --name SSH_AUTH_KNOCK2 -m limit --limit 15/min -j LOG --log-prefix "ssh knock 2 " --log-level 6 -A INPUT -p tcp --dport port3 -m recent --rcheck --rsource --seconds 15 --name SSH_AUTH_KNOCK2 -m recent --set --rsource --name SSH_AUTH -m limit --limit 15/min -j LOG --log-prefix "ssh knock 3 " --log-level 6 -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --rcheck --rsource --seconds 15 --name SSH_AUTH -j ACCEPT

    You only need to modify the port1, port2 and port3 values; all port knock were printed in the log.

    Regards

Sign In or Register to comment.