News for hackers. Stuff that matters.
Re:Verelox Wiped by Ex-Admin by benjohnson on Friday June 09, 2017 @02:34PM (#14523398)
We swiped an idea from launching Nuclear Missiles: Typically you need two keys from two people to launch.

For really important accounts - we have three people who each know two thirds of the password. It requires two people to then log in and do damage.

For example if the root password was CatDogFish then

Person1: CatDog_

Person2: _DogFish

Person3: Cat_Fish

Two people can then log in and watch what the other person is doing.

Re:Verelox Wiped by Ex-Admin by jasonjayr on Friday June 09, 2017 @02:37PM (#14523413)
This is like an informal version of Shamir's Secret Sharing

https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing

Re:Verelox Wiped by Ex-Admin by rcthompson on Friday June 09, 2017 @03:57PM (#14524002)
Maybe someone should implement a PAM module or something that requires authenticating as two different users with sudo privileges, so you can implement this for as many users as you like and let them each have a single password, instead of half of a password for each possible pair of users.
Re:Verelox Wiped by Ex-Admin by seanp2k2 on Friday June 09, 2017 @10:44PM (#14525896)
Use something with 2FA like e.g. https://duo.com/docs/duounix and give person A the password and person B the 2nd factor (phone with this Duo profile configured or whatever).
Re:Verelox Wiped by Ex-Admin by rcthompson on Saturday June 10, 2017 @05:35PM (#14529315)
That doesn't eliminate the need to set up an account & password for every possible pair of users, rather than just every user.
Re:Verelox Wiped by Ex-Admin by ars on Friday June 09, 2017 @05:35PM (#14524775)
If would also have to do session sharing so both people can watch each other and see what commands they run.
Re:Verelox Wiped by Ex-Admin by shif on Friday June 09, 2017 @06:03PM (#14524950)
What if one of the people that has part of the key gets mad and leaves without sharing it?
Re:Verelox Wiped by Ex-Admin by seanp2k2 on Friday June 09, 2017 @10:46PM (#14525903)
Re:Verelox Wiped by Ex-Admin by livingparadox on Friday June 09, 2017 @06:20PM (#14525039)
Then you still have two users with a complete password set, from which you can either reconstruct the third permutation or generate a new set.
Re:Verelox Wiped by Ex-Admin by ars on Friday June 09, 2017 @05:34PM (#14524770)
That only sort of helps. Do both people also watch each other while they run commands?

Because if not, once you are admin, you can install programs that let you become admin again at will.

Re:Verelox Wiped by Ex-Admin by benjohnson on Saturday June 10, 2017 @01:05PM (#14528098)
Yes! We swiped the idea from the military. In certain dangerous places, they require two people to be there or nobody. One person is not allowed.

https://en.wikipedia.org/wiki/Two-man_rule

Re:Verelox Wiped by Ex-Admin by ams6110 on Friday June 09, 2017 @09:50PM (#14525770)
Well whoever set that up knows the whole password right?
Re:Verelox Wiped by Ex-Admin by pavement on Friday June 09, 2017 @11:00PM (#14525930)
Nope. It could be system generated and disseminated over secure channels.

Password rotation becomes necessary, and a little bit riskier, because now you have to deal with accidental lock-outs in a sane, coordinated manner.

Re:Verelox Wiped by Ex-Admin by throwaway2048 on Friday June 09, 2017 @11:44PM (#14526059)
and who implements the system that generates and disseminates over secure channel?

You are stuck trusting somebody, no matter what. Its turtles all the way down.

Re:Verelox Wiped by Ex-Admin by pavement on Saturday June 10, 2017 @12:42AM (#14526188)
Eh, 3 pieces of a randomly generated string... hashed in memory, and only the result of the hash function is stored. Pretty basic concept.

Soon, dear throwaway, you'll be telling me we should live in fear of the locksmiths, for all their key blanks and such fiendish metal files to abrade them with. What if they should file down a butter knife into the shape of my precious bicycle chain's key?

Re:Verelox Wiped by Ex-Admin by throwaway2048 on Saturday June 10, 2017 @02:04AM (#14526343)
I didn't say you should be afraid, simply that trying to build a system that doesn't require you to trust people is a fools errand.
Re:Verelox Wiped by Ex-Admin by MichaelGG on Friday June 09, 2017 @08:04PM (#14525471)
So one person runs a keylogger and captures the full credentials?

But it's not a bad system.