Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
110 points| Koekoeksklok | 11 years ago
Of course I immediately shut down my VPS after the notice two weeks ago, but by then it had been using these amounts of traffic for a month and a half.
What are my options here? I can't afford to pay > € 5000 unfortunately. Does anyone have similar experiences?
patio11|11 years ago
This is one of many, many, many reasons why we don't generally do cost-based pricing and, when we do do cost-based pricing, the markup is absolutely phenomenal. It has to include risk premiums. As long as it do include risk premiums, you don't have to sweat the small stuff like e.g. an uncollectable $4k invoice. (n.b. Small stuff! $4k hiccups are utterly routine events and largely dealt with by processes rather than by treating them as sudden emergencies, even if they feel like that to natural humans.)
readme|11 years ago
The same thing happened to me with amazon. Amazon pid for it. It's highly unreasonable in my opinion to ask the customer of a VPS to pay for damages caused by a malicious attacker. It's tantamount to a landlord expecting you to pay after an arsonist comes along and burns down your apartment, just because you happened to be renting it at the time.
13|11 years ago
switch007|11 years ago
Blahah|11 years ago
2. Report it to the VPS provider. Explain that you've reported it to the police. Ask for their cooperation in investigating the problem.
You do not have to pay. If they try to force you to pay, depending on your country, you'll probably end up in small claims court where you'll find judges are very reasonable people who usually side with the little guy. (IANAL)
monstermonster|11 years ago
You're right about reporting a crime though even if the police don't take it seriously. A crime ref number goes a long way on its own.
Edit: we had to move our kit sharpish though as the company exercised their right to throw it on the street within 24 hours.
burtonator|11 years ago
Including ALL customer support interaction , police logs, diary , journal, etc.
Judges will show favor if you have a paper trail.
donniezazen|11 years ago
minopret|11 years ago
BukhariH|11 years ago
It was a nerve recking couple of days but I contacted AWS support and they were extremely good. They helped me secure my machine and then cancelled the 1.4K payment they were going to take from my account.
In all the whole process took 2.5 weeks and I only had to pay $15 for the I/O requests.
The best thing I can recommend is to talk to your host and tell them honestly you can't pay that much and you weren't the cause of the charges either.
UnoriginalGuy|11 years ago
I had a reserved instance for 12 months, forgot to renew it, and on the 13th month (when it was on-demand) the usage creeped over my cap and I started getting alarms allowing me to kill the instance, renew my reserved, and restart it. Saved me at least $10.
On a related topic, I wish VPS providers allowed you to pre-pay. With Microsoft's Azure I have an MSDN Ultimate account, which has $150 of pre-paid credit on Azure. When you go over the $150 they just shut your stuff down rather than charging you (in fact I don't have a CC on there at all). They don't even offer this kind of service to non-MSDN subscriptions which sucks, I'd love to just pre-pay $50/month to them and have everything shut off when I exceed it (so it becomes a "no risk" playground).
e40|11 years ago
rmc|11 years ago
malditojavi|11 years ago
thewhk|11 years ago
That brings me to my point. How did the hack occur? When you get a VPS you are fully responsible for what goes on in there. It is your responsibility to secure it and keep it updated. It's not the provider's fault you did not apply the latest security updates. It's not the provider's fault your Java application was using outdated and vulnerable libraries nor is it their fault you didn't set a CAPTCHA in front of your submission forms. Either hire a competent sysadmin if you can't take care of that yourself or find a provider that offeres managed hosting instead of a VPS, as that's what you'd most likely need.
There are some cases where it's the provider's fault such as the Linode BitCoin hack a few years back but mostly it's just poor server maintenance
waxjar|11 years ago
It's hardly worth hiring a sysadmin for (I find that suggestion laughable, to be frank). Managed hosting doesn't allow you to do much else besides hosting a website in PHP, which is not enough for plenty of use-cases, including OPs.
theonemind|11 years ago
onestone|11 years ago
njsubedi|11 years ago
patio11|11 years ago
ColinCera|11 years ago
You might also offer to suggest writing up a post mortem for them, that they can provide to their customers as a lesson/tutorial on how to protect a VPS.
Finally, you can suggest that they might want to implement (and perhaps help them implement it) some kind of warning system, i.e., if a VPS suddenly begins using exorbitant amounts of bandwidth, and far more bandwidth than it ever has before, they really should email/text the owner an alert within 24 hours — not let it go on for 6 weeks. I'm surprised that they don't cap/throttle the bandwidth once you go over your plan's limit, to go along with sending you alerts. It borders on negligence on their part that they don't already have such a system in place.
MangoDiesel|11 years ago
Jare|11 years ago
zhovner|11 years ago
bluedino|11 years ago
emeraldd|11 years ago
dangoldin|11 years ago
matthewarkin|11 years ago
minopret|11 years ago
I would suppose your first and best resort is to consult your lawyer, advocate, solicitor, barrister, Anwalt. I wonder what your relevant legal jurisdiction is.
I wonder whether it would help if you can account for your own whereabouts and your own usage of endpoint data services. I wonder if your method of payment to your VPS provider is mediated by a financial service that can help you dispute the bill.
I am not a lawyer.
jnardiello|11 years ago
If they insist for you to pay: simply don't. State the truth: You can't afford it. Tell them the only way they will see this money is by taking legal action against you and even in that case you won't be able to comply - as you don't have the money.
Hope it helps :(
freshflowers|11 years ago
Which means your case is probably covered by consumer protection rules when it comes to informing you about data usage, and I seriously doubt a VPS provider has covered their ass as well as mobile providers tend to do.
tdicola|11 years ago
MayIHaveAnother|11 years ago
Malicious entities runs 24/7 scans towards indexed URL's attempting to exploit various vulnerabilities, and many of the vulnerabilities allows remote code execution, upload of php files etc. This can be used to upload malicious code, simple php-webshells, and then your VPS is suddenly a part of a DDoS/Scanning network.
Exploited Wordpress sites are a problem, Zeus/Zbot-Trojan is often seen downloading updates/configs from these, and they are also often used to redirect users to Exploit Kits.
Ded7xSEoPKYNsDd|11 years ago
applecore|11 years ago
joshmn|11 years ago
Post the link when you do and I'll be sure to comment on it (I'm somewhat very-active at WHT)
unknown|11 years ago
[deleted]
decisiveness|11 years ago
logn|11 years ago
gregcmartin|11 years ago
general_failure|11 years ago
bhaisaab|11 years ago
[deleted]
zack19|11 years ago
ishener|11 years ago
Unfortunately, I can't think of anything else. I wish it was realistic to tell you to go to the police.
Also, if you would give your email, I would definitely consider sending a donation through paypal... Hopefully other readers here will do the same.
patio11|11 years ago
(Examples: police reports make CC disputes and legal declarations much easier and more likely to be given weight as other than self-serving explanations of a deadbeat. It may also trigger insurance policies either for you or for the VPS company.)