/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to README

  • Committer: Björn Påhlsson
  • Date: 2008-09-03 21:18:05 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 153.
  • Revision ID: belorn@braxen-20080903211805-2evlp1ooipx0rr8f
added some comments about security

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
  the root file, and continue booting.
49
49
  
50
50
  Now, of course the initial RAM disk image is not on the encrypted
51
 
  root file system, so anyone who had physical access could take the
52
 
  server offline and read the disk with their own tools to get the
53
 
  authentication keys used by a client.  *But*, by then the Mandos
54
 
  server should notice that the original server has been offline for
55
 
  too long, and will no longer give out the encrypted key.  The timing
56
 
  here is the only real weak point, and the method, frequency and
57
 
  timeout of the server’s checking can be adjusted to any desired
58
 
  level of paranoia
 
51
  root file system, so anyone who would then have pyshical access,
 
52
  could try to take the server offline and read the disk with their
 
53
  own tools so to steal the authentication keys used by a client
 
54
  *But*, by then the Mandos server should have detected that the
 
55
  original server is no longer online and will no longer give out the
 
56
  encrypted key.  The timing here is the only real weak point, and the
 
57
  method, frequency and timeout of checking can be adjusted to any
 
58
  desired level of paranoia
59
59
  
60
60
  (The encrypted keys on the Mandos server is on its normal file
61
 
  system, so those are safe, provided the root file system of *that*
 
61
  system, so those are safe, provided the root file system of that
62
62
  server is encrypted.)
63
63
 
64
64
* FAQ - couldn’t the security be defeated by...
72
72
   all *before* the Mandos server timeout kicks in and the Mandos
73
73
   server refuses to give out the key to anyone.
74
74
   
75
 
   Now, as the typical SOP seems to be to barge in and turn off and
76
 
   grab *all* computers, to maybe look at them months later, this is
77
 
   not likely.  If someone does that, the whole system *will* lock
78
 
   itself up completely, since Mandos servers are no longer running.
79
 
   
80
 
   For sophisticated attackers who *could* do the clever thing, *and*
81
 
   had physical access to the server for enough time, it would be
82
 
   simpler to get a key for an encrypted file system by using hardware
83
 
   memory scanners and reading it right off the memory bus.
 
75
   As the typical SOP seems to be to barge in and turn off and grab
 
76
   *all* computers to maybe look at them months later, this is not
 
77
   likely. It is just simplier to steal a password from a encrypted
 
78
   system by hardware memory scanners if one have this amount of time
 
79
   of physical access to the server.
84
80
 
85
81
** Replay attacks?
86
82
   Nope, the network stuff is all done over TLS, which provides
94
90
** Physically grabbing the Mandos server computer?
95
91
   You could protect *that* computer the old-fashioned way, with a
96
92
   must-type-in-the-password-at-boot method.  Or you could have two
97
 
   computers be the Mandos server for each other.
98
 
   
99
 
   Multiple Mandos servers can coexist on a network without any
100
 
   trouble.  They do not clash, and clients will try all available
101
 
   servers.  This means that if just one reboots then the other can
102
 
   bring it back up, but if both reboots at the same time they will
103
 
   stay down until someone types in the password on one of them.
 
93
   computers be the Mandos server for each other.  (Multiple Mandos
 
94
   servers can coexist on a network without any trouble.  They do not
 
95
   clash, and clients will try all available servers.). That mean if
 
96
   just one is down then the other can bring it back up, but if bouth
 
97
   is out then they stay down until a
 
98
   must-type-in-the-password-at-boot have happend.
104
99
 
105
100
** Faking ping replies?
106
101
   The default for the server is to use "fping", the replies to which
113
108
* Security Summary
114
109
  So, in summary:  The only weakness in the Mandos system is from
115
110
  people who have:
116
 
  1. The power to come in and physically take your servers, *and*
 
111
  1. The power to come in and physically take your servers, and
117
112
  2. The cunning and patience to do it carefully, one at a time, and
118
113
     *quickly*, faking Mandos client/server responses for each one
119
114
     before the timeout.
122
117
  these attributes, they do not, probably, constitute the majority.
123
118
  
124
119
  If you *do* face such opponents, you must figure that they could
125
 
  just as well open your servers and read the file system keys right
126
 
  off the memory by running wires to the memory bus.
 
120
  just as well open your servers and read the keys right off the
 
121
  memory by running wires to the memory bus.
127
122
  
128
 
  What Mandos is designed to protect against is *not* such determined,
129
 
  focused, and competent attacks, but against the early morning knock
130
 
  on your door and the sudden absence of all the servers in your
131
 
  server room.  Which it does nicely.
 
123
  What this system is designed to protect against is *not* such
 
124
  determined, focused, and competent attacks, but against the early
 
125
  morning knock on your door and the sudden absence of all servers in
 
126
  your server room.