Colorful Security Question
Feb. 23rd, 2016 02:35 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
https://en.wikipedia.org/wiki/Red/black_concept describes a notation sometimes used when discussing confidentiality:
- red denotes signals carrying secret plaintext;
- black denotes signals carrying ciphertext.
Is there any generally agreed coloring for the analogous integrity question? i.e.:
- a color which denotes signals where integrity matters (or maybe this is "all of them" and we don't need a specific choice of color); and
- a color which indicates a signal with cryptographic integrity protection of some kind.
Non-color visual notations also welcome for several reasons:
- things still get printed in monochrome;
- color vision is not uniform among humans;
- using too many color notations at once leads to angry fruit salad rather than clear diagrams.
Integrity
Date: 2016-02-23 08:55 pm (UTC)Signals that aren't protected like that, have to be protected in other ways (like keeping them inside a potted module).
Once you have that distinction, it is useful to be able to show them graphically.
Of course, manipulating a signal requires a more powerful attacker than reading it (it's the difference between Schneier's "Mallory" and "Eve" figures).
(no subject)
Date: 2016-02-24 03:52 pm (UTC)For example, an SSH connection setup initially has no integrity protection – because how could it, when you haven't yet got a shared secret to base it on? – but after the key exchange completes, signatures are generated which cover a hash that includes the whole of the unprotected connection setup phase. So those messages are not integrity-protected at the time of sending in the same sense that the rest of the protocol session is, but they are integrity-protected eventually, in that later on there will come a point where you are convinced that they hadn't been tampered with.
I feel as if that kind of subtlety might be harder to represent in a simple colour code than confidentiality protection, which is much more like a fixed property of the message as originally sent.
(Though, I suppose, even confidentiality protection could be retrospectively removed, either by sending the decrypted version somewhere or by revealing a key.)
(no subject)
Date: 2016-02-24 07:24 pm (UTC)But, for my immediate purposes, I'm representing things at least one abstraction level up from that, if not two - my diagram doesn't even state exactly what protocol is in use (the surrounding text does and in fact it's also a fixed part of the context, because this is really a small improvement to a long-established system).
In the confidentiality case it suffices to draw red lines inside a box and black lines between boxes; I'm just looking for an analogous way of indicating that there are some worthwhile integrity protection properties too, ideally something that I can do easily in Gliffy l-)
(no subject)
Date: 2016-02-26 07:29 am (UTC)strikethroughand so on rather than color?(no subject)
Date: 2016-02-26 09:11 am (UTC)