Bitcoin Forum
April 27, 2024, 07:21:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can you encrypt vps data so a provider could never access it?  (Read 128 times)
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 30, 2022, 04:15:19 PM
Merited by ABCbits (1), hugeblack (1)
 #1

This came to my mind recently because of how a lot of more centralised projects (like mixers and exchanges) can be attacked by law enforcement and taken down. I'm wondering if there's a way projects can be fully encrypted within a vps instance so the vps provider wouldn't be able to access the actual services running (but they'd still be easy to patch for the owner).

I was doing some related reading about a prototype for blockchain level cloud services and stumbled upon Intel SGX and AMD SEV which seem to offer hardware level encryption but I'm not sure of their scope and if keys could be snapshot.
1714245705
Hero Member
*
Offline Offline

Posts: 1714245705

View Profile Personal Message (Offline)

Ignore
1714245705
Reply with quote  #2

1714245705
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714245705
Hero Member
*
Offline Offline

Posts: 1714245705

View Profile Personal Message (Offline)

Ignore
1714245705
Reply with quote  #2

1714245705
Report to moderator
1714245705
Hero Member
*
Offline Offline

Posts: 1714245705

View Profile Personal Message (Offline)

Ignore
1714245705
Reply with quote  #2

1714245705
Report to moderator
1714245705
Hero Member
*
Offline Offline

Posts: 1714245705

View Profile Personal Message (Offline)

Ignore
1714245705
Reply with quote  #2

1714245705
Report to moderator
BlackHatCoiner
Legendary
*
Online Online

Activity: 1498
Merit: 7294


Farewell, Leo


View Profile
November 30, 2022, 05:37:55 PM
 #2

For this very reason this was created: https://www.torproject.org/

If you're using a trustworthy VPS, that isn't going to screw you with the first chance, then route your traffic through Tor. Tor doesn't offer only privacy; it offers censorship resistance. Law enforcement can't shut down something they can't locate.

But, if you're asking if you can host your site to a VPS with it having zero access, then no. You either keep your files at your home, and run the website without this concern, or you trust someone else do it for you.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceMobile
Hero Member
*****
Offline Offline

Activity: 1653
Merit: 686


LoyceV on the road. Or couch.


View Profile WWW
November 30, 2022, 05:44:40 PM
Last edit: November 30, 2022, 07:45:01 PM by LoyceMobile
 #3

I don't think that's possible. The host can dump the memory and extract any decryption keys in there.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 30, 2022, 06:20:51 PM
 #4

For this very reason this was created: https://www.torproject.org/

If you're using a trustworthy VPS, that isn't going to screw you with the first chance, then route your traffic through Tor. Tor doesn't offer only privacy; it offers censorship resistance. Law enforcement can't shut down something they can't locate.

I think to use tor you have to closely scrutinise how to set up bridges though? If you're not using a bridge, it's likely you'll be tracked by law enforcement or other entities running enough nodes (iirc, with tor, whoever wants their privacy protected the most normally has the resources to track everyone else - at least they have in the past when how many nodes your data hops was static a few years ago).
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6235


Crypto Swap Exchange


View Profile WWW
November 30, 2022, 08:09:28 PM
 #5

No, at the end of the day it's on their hardware. And they can grab anything coming in and out of it. Since at some point in time you would have to input the decryption key for the machine to boot and you would have to do that at the console or at least virtual console level, they could grab it from there.

What you MIGHT and that is a big might be able to do is within your VM setup an encrypted disk. And through some creative encrypted tunneling set the decryption key.

But, as Loyce pointed out they could probably force in something either by reading the RAM.

I guess the other option is to host in a data center / provider that allows you to bring in your own hardware.

-Dave


█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
seoincorporation
Legendary
*
Offline Offline

Activity: 3136
Merit: 2913


Top Crypto Casino


View Profile
December 01, 2022, 03:09:06 PM
Merited by ABCbits (1)
 #6

This is a tricky question... because I don't think the data need to be encrypted to block access from the provider.

You can change the Root password and the user password, that should be enough to block their access.

If you want to encrypt your database that's possible with: https://www.mysql.com/products/enterprise/encryption.html

If you want to encrypt your bash scripts, then shc is the right tool: https://linuxscriptshub.com/ways-encrypt-linux-shell-scripts/

And another nice way to make them confused is by changing the ports in the services.

So, I hope this information helps to make more secure your VPS.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!