Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Fighting Ransomware

Fighting Ransomware

Unfortunately, a new threat to datastores is currently gaining strength: Find a publicly accessible Elasticsearch cluster, copy the data (which does not seem to happen all the time), delete the original, and ask for Bitcoins to restore it.
We discuss how to protect your clusters.

Philipp Krenn

October 18, 2017
Tweet

More Decks by Philipp Krenn

Other Decks in Programming

Transcript

  1. $ curl -XGET 'http://167.114.250.128:9200/_cat/indices' yellow open e82216d4a5fe1dad01c7f2c4bff36321_shared 5 1 236065

    0 83.7mb 83.7mb yellow open please_read 5 1 1 0 4.2kb 4.2kb yellow open 4daea2c29f467e879d3a4ef359c0571d_shared 5 1 344 3 938.5kb 938.5kb
  2. $ curl -XGET 'http://167.114.250.128:9200/please_read/_search?q=*&pretty' { "took" : 11, "timed_out" :

    false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 1, "max_score" : 1.0, "hits" : [ { "_index" : "please_read", "_type" : "info", "_id" : "AVm3WEKovyrlfSDHByR2", "_score" : 1.0, "_source":{ "Info": "Your DB is Backed up at our servers, to restore send 0.5 BTC to the Bitcoin Address then send an email with your server ip", "Bitcoin Address": "12JNfaS2Gzic2vqzGMvDEo38MQSX1kDQrx", "Email" : "[email protected]" } } ] } }
  3. $ curl -XGET 'http://167.114.250.128:9200/please_read/_search?q=*&pretty' { "took" : 11, "timed_out" :

    false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 1, "max_score" : 1.0, "hits" : [ { "_index" : "please_read", "_type" : "info", "_id" : "AVm3WEKovyrlfSDHByR2", "_score" : 1.0, "_source":{ "Info": "Your DB is Backed up at our servers, to restore send 0.5 BTC to the Bitcoin Address then send an email with your server ip", "Bitcoin Address": "12JNfaS2Gzic2vqzGMvDEo38MQSX1kDQrx", "Email" : "[email protected]" } } ] } }