13 ms·
I think I first encountered the idea of essentially using passwords as commands for a variety of custom actions in a Larry Niven book from the 60s? Earlier? It
by Brian_K_White 5y ago
I think I first encountered the idea of essentially using passwords as commands for a variety of custom actions in a Larry Niven book from the 60s? Earlier?
It must be as old as passwords, meaning as old as language, relatively straightforward to implement in any kind of software, yet I've never seen it actually implemented in all this time. Closest has been the single triggered action to wipe everything after n failures.
- djur 5y agoIt's been implemented in video games, at least! The "NARPAS SWORD" password in Metroid comes to mind. The practical issue here is that a secret password to release the hounds or whatever is only useful if someone is able to use it at the appropriate time. It's hard to memorize a password you don't use. The number of cases where a "release the hounds" password is going to be usable and useful where a "log into admin account which has a 'release the hounds' button" wouldn't be is going to be very low.
- giantg2 5y agoThe fact that you remember the one from a videogame, makes it seem like that would be a good candidate password for this purpose. If it's used to wipe the data (which is backed up), then it shouldn't need to be as secure as a regular password. In fact, it might be preferable to be less secure so that someone trying to brute force would hit the duress password first.
- djur 5y agoIf we're talking about the specific case of duress passwords, sure. Although in that case the better defense against brute forcing is to wipe the data after too many failures. And at some point you might as well just put a "self destruct" button on there and skip the need for a password.
- Brian_K_White 5y agoWiping is the simplest and dumbest use of the ability to use passwords, or indeed the whole name + password pair, as essentially a command prompt. Have some imagination.
- djur 5y agoI was responding to a comment that said "[i]f it's used to wipe the data...". If you read my original comment, I was specifically avoiding that particular topic because I knew it wasn't what you were discussing. It's pretty frustrating how all of these replies are acting like I introduced duress passwords to the conversation.
- giantg2 5y ago"the better defense against brute forcing is to wipe the data after too many failures." Is it though? I thought some intelligence agencies have the ability to bypass the tries counter. In that case, the password would still trigger the wipe. That's not as easy to defeat because they don't know what password to avoid during the attempt, as opposed to knowing that after 10 tries it will wipe.
- jethro_tell 5y agoMaybe, but you'd have to be there to type the password, in which case you could just get it wrong a few times and you'd be in the same place.
- Schiendelman 5y agoIf you get it wrong a few times they hit you with a $5 wrench and/or you go to prison for obstruction of justice.
- Terry_Roll 5y agoHow can you go to prison for obstruction of justice when files are encrypted with passwords you dont know? In the 90's I had a Visual Basic addon which was an AI that monitored the keyboard typing pattern. It could identify who was typing at the keyboard, so you could use it as a backup to lock the system if someone had discovered the password. That app could also be used to encrypt files independently, and only decrypt files when the typing pattern matched the username and password. Not the only thing which could be used to decide if someone is the genuine user, some users might have tic's like tourettes, but involve unusual mouse movements or clicks. Or they could be things like having to switch on the NumLock on a keyboard in order to type in a numerical password. These are all very subtle behaviours which might not be spotted by someone after the password to get into a system. Edit So windows has had AI built into its gui since at least Windows 200, really noticeable in XP, its the benign sounding Mouse Properties "Enhance pointer precision", but this can also be used to work out who is using the windows GUI by comparing the operation of the GUI, things like do windows get resized or maximmised, do some programs tend to be use on a particular monitor (if a multimonitor setup), and how on target is the user when closing a window, ie where do they consistently hit the big red X close button in the top right of a window and how quickly do they do this. All this is meta data to further workout who is actually using the computer or not. Linux AFAIK doesnt have this so you have more privacy with Linux in some respects.
- c0balt 5y agoHuh, my phone used to have miui, an andrdoid skin by xiaomi, installed from the factory. It featured the ability for a second user profile that could be either entered through the settings or by setting up a custom unlock pattern for entering it when unlocking the phone. I tought this was quite a clever feature for e.g. giving your phone to your children with an isolated profile.
- jcadam 5y agoDuress codes have been used in physical security systems (i.e., pin pads to open doors) for a long time. Personally, I'm wondering why ATMs don't have this feature.
- guitarbill 5y agoBecause people struggle to remember even one PIN, especially if it's needed infrequently or in a stressful situation. I'm not being snarky here, it's happened to me. Could not remember my one, main PIN on one particularly stressful day. Went home, slept, and no problem the next day. So remembering a PIN that most people will never need to use in a stressful situation? Unlikely to be useful for the majority of people.
- amlib 5y agoI think this could be solved by having the duress code be as simple as entering your PIN backwards
- littlecranky67 5y agoWay easier, just have a set of 9 icons (flower, sun, etc) shown after every pin entry. Your "true" icon will proceed, all other icons will trigger duress and proceed.
- justinpowers 5y agoThis is brilliant. Can you offer any more insight or background to this? Is there a name for this technique?
- littlecranky67 5y agoNo, it is an obvious solution to anyone who wants to solve the problem, and have never seen this in the wild (probably because I live in a relatively safe country where you don't have to fear to get mugged at an ATM). EDIT: This should be coupled with a "secret" icon that is shown (or a specific order of the 9 icons you have to chose from) to prevent MITM/Phishing attacks. If you realize the icon/order is not the one you are used to, you are being phished.
- thrwawy283 5y agoIt occurs to me you could do something like this by creating a dummy user and enabling a user service on login (systemd). I don't think this is the best method, because you can't predict all the ways to login without a shell. Just a neat idea for generalizing it.
- Brian_K_White 5y agopretty cool