Author Topic: Need Help - DDOS attack from my VPS  (Read 871 times)

0 Members and 1 Guest are viewing this topic.

Offline Renegades

  • NULL
  • Posts: 3
  • Cookies: 1
    • View Profile
Need Help - DDOS attack from my VPS
« on: January 16, 2015, 09:28:30 pm »
Hi guys,

I got a phone call from my hosting provider telling me that there was a DDOS attack from my own VPS,
as I havent had virus problems on ubuntu I just googled an open source antivirus product and came to
ClamAV well installed it and ran a command to scan for virusses, nothing found but I want to be sure.

I got these services running atm:

TeamSpeak 3
Apache
MySQL
Postfix

Since I used TeamSpeak for online games such as world of warcraft, I got this feeling people are abusing it
and possibly use it for DDOS, or something else that got a false positive for DDOS.

I have done my best to secure it, like changing settings so no root logins are allowed over SSH, and setting
ownerships to users that have to have access to that folder etc.

Are there ways to make sure, that a DDOS has happened or has not happened from my server?

Offline d4rkcat

  • Knight
  • **
  • Posts: 287
  • Cookies: 115
  • He who controls the past controls the future. He who controls the present controls the past.
    • View Profile
    • Scripts
Re: Need Help - DDOS attack from my VPS
« Reply #1 on: January 16, 2015, 11:27:24 pm »
LOL @ AV. Changing passwords won't make any difference at this point. It sounds like they already have root. You should ask the hosting provider to provide you details about what type of DoS they are performing, it might be an outdated joomla or wordpress plugin.
here's what I would do:

1. Take any files you need off the server.
2. Format the server
3. Install the Os again.
4. Put the files back.
5. Don't run whatever random crap you ran to get pwned.
Jabber (OTR required): thed4rkcat@einfachjabber.de    Email (PGP required): thed4rkcat@yandex.com    PGP Key: here and here     Blog

<sofldan> not asking for anyone to hold my hand uber space shuttle door gunner guy.


Offline Renegades

  • NULL
  • Posts: 3
  • Cookies: 1
    • View Profile
Re: Need Help - DDOS attack from my VPS
« Reply #2 on: January 16, 2015, 11:56:01 pm »
Does linux use a register like windows does? or can I just delete the services I dont need including any files I dont use, and then copy and paste the files/services I do need? Or just recheck my wordpress installation which I got installed?

Offline Syntax990

  • Peasant
  • *
  • Posts: 129
  • Cookies: 77
  • Bruce Willis
    • View Profile
    • Evilzone "Hack"
Re: Need Help - DDOS attack from my VPS
« Reply #3 on: January 17, 2015, 12:54:21 am »
Does linux use a register like windows does?

Nope

can I just delete the services I don't need including any files I don't use, and then copy and paste the files/services I do need??

You have been compromised, don't run the risk of it happening again. Reinstall and backup whatever is essential. Be careful that nothing you backup is compromised and just be generally vigilant

Since I used TeamSpeak for online games such as world of warcraft, I got this feeling people are abusing it and possibly use it for DDOS, or something else that got a false positive for DDOS.

Do whatever is necessary to not publicly disclose your IP address, that will minimise your chances of actually being attacked.

Offline M1lak0

  • Peasant
  • *
  • Posts: 129
  • Cookies: 10
    • View Profile
Re: Need Help - DDOS attack from my VPS
« Reply #4 on: January 17, 2015, 07:35:35 am »
I suggest you to run a shell detector with php as a base on your server. That may help you finding backdoors if any. :)
"Security is just an illusion"

Offline Renegades

  • NULL
  • Posts: 3
  • Cookies: 1
    • View Profile
Re: Need Help - DDOS attack from my VPS
« Reply #5 on: January 18, 2015, 02:02:20 am »
May i just point out the obvious... by stating that a single server does not 'DDoS'. The first D stands for Distributed. Your server could have been part of a DDoS attack... however it couldn't by definition be single handedly performing said attack...

Thanks for stating the obvious, wasnt aware of that.

I suggest you to run a shell detector with php as a base on your server. That may help you finding backdoors if any. :)

Very good tip, appriciate it, thanks for that.

Nope

You have been compromised, don't run the risk of it happening again. Reinstall and backup whatever is essential. Be careful that nothing you backup is compromised and just be generally vigilant

Do whatever is necessary to not publicly disclose your IP address, that will minimise your chances of actually being attacked.

You are absolutely right, its just that I am still learning ubuntu and its commands so I put alot of time into it, but in this case I really have to start over again, although I am thinking that D4rkcat is right and that wordpress or an old version of phpbb is to blame.

I might just remove wordpress and phpbb and see what has happened after 1 week.