JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  June 2014

MOONSHOT-COMMUNITY June 2014

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Questions about the Moonshot Trust model

From:

Wilco Baan Hofman <[log in to unmask]>

Reply-To:

Wilco Baan Hofman <[log in to unmask]>

Date:

Sat, 28 Jun 2014 13:37:01 +0200

Content-Type:

multipart/signed

Parts/Attachments:

Parts/Attachments

text/plain (117 lines) , smime.p7s (117 lines)

Hi,

I recently attended the Moonshot workshop last week at Surfnet and I
still have a couple of questions. Some were already (partially)
answered, though I was asked to address them on this mailing list, so
here goes.
  ______                                    ____
 |      |                                  |    |
 |______| client                           |    | IdP
 /     /                                   |o   |
/_____/                 (implicit trust)   |____|
   |   GSS+EAP              PSK TLS+GSS   /    |
   |                       ______________/     | GSS (1/2 DH + IP)
   |                      /   EAP              |
 __|                  ___/                    _|______________
|   | RP (SSH)       |   | RP proxy          |                |
|   |                |   |                   |  TRUST ROUTER  |
|o  |________________|o  |___________________|     NETWORK    |
|___|   RADSEC       |___| GSS (1/2 DH + IP) |________________|
        + EAP

I have remarks/questions regarding:

1. Client <-> IdP trust relationship
2. Password in store keyring
3. RP proxy <-> RP trust relationship
4. RP proxy/IdP <-> TRN trust relationship
5. RP proxy <-> IdP trust relationship
6. Rekeying and Perfect Forward Secrecy
7. IP support in TIDS/TIDC
8. User mapping in RP

1. Client <-> IdP trust relationship
Right now there is a moonshot identity selector. This allows for
supplying usernames and passwords without a trust anchor. This should
*never* be allowed. Any malicious RP implementing GSS+EAP can grab hold
of the password. In the XML there is a possibility to set a fingerprint,
but this is not mandatory.

It should be mandatory to set a trust anchor. Our RADIUS infrastructure
gets a fresh certificate annually, so basing this on a fingerprint will
fail annually. This should use a CA + Subject checking like in the
eduroam world. A user can be expected to specify it wants to use the
system CA store or a specific CA and authenticate to
"moonshot.nikhef.nl". Not specifying this should result in not being
able to authenticate.

2. Password in store keyring
Right now the identity selector allows to store the institute
credentials in the keyring. Can this be disabled on a policy basis? It's
okay if it keeps the password in mlocked memory as an ssh/gpg agent
would do it, but in the keyring is asking for trouble. A user can be
asked to enter his/her password once every 24 hours.

3. RP proxy <-> RP trust relationship
In the moonshot workshop, following the Wiki, we had to create
certificates on the RP Proxy, with a free form text string CN. Can this
be configured to use subject to hostname checking for client and server
certificates?

4. RP proxy/IdP <-> TRN trust relationship
In the XML there is a trust anchor configured based on fingerprint,
client authentication is done based on a username/password. This does
not allow to replace the TRN certificates and makes me wonder why
certificates are used in the first place instead of keys. If the
certificate expires, the entire federation goes down. Is the
subject/expiration date on the certificate still verified?

5. RP proxy <-> IdP trust relationship
This trust relationship and key material depend entirely on the online
benevolent behaviour of the Trust router. A Diffie-Hellman key exchange
is used over the trust router to agree on a PSK and the RP proxy will
happily connect to any IP specified by the Trust Router Network with the
key it just agreed on using Diffie-Hellman. There is no trust
verification between IdP and RP proxy. This means that the Trust Router
Network can perform a Man-in-the-Middle attack on the entire federation
and is a 100% fully trusted component that can attack the entire
federation trust. There is also no infrastructure for verifying signed
SAML statements coming from the IdP. It seems to me that the trust
router may be better replaced with a signed list of realm <-> hostname
mapping per community and let DNS + PKI fix this trust problem. The
added benefit would be that the hostname of the IdP has to end with the
realm (so only .nikhef.nl servers for @nikhef.nl). It also would allow
to check that the client will authenticatie to 'moonshot.nikhef.nl' so
the RP proxy will only connect to that one. Another added benefit is
that ciphers like ECDHE-RSA-AES256-GCM-SHA384 can be used which provide
Perfect Forward Secrecy. Or am I overlooking something?

6. Rekeying and Perfect Forward Secrecy
The wiki states that the key material should be in /var/tmp in a sqlite
keys file with 777 world writable permissions(!!). Any reboot of the
IdP/RP proxy will wipe this database and any previously agreed upon keys
are wiped from the store, causing the IdP/RP proxy to go offline. There
does not seem to be a rekeying mechanism. How will the PSKs be rekeyed
and how often will this happen?

7. IP support in TIDS/TIDC
The wiki requested me to specify an IP address when manually starting
the TIDS service. Naturally, since it didn't say legacy IP, I assume the
current version of IP and use my IPv6 address. This leads to messages
about inet_aton() not working. This seems to be a bug.

8. User mapping in RP
Right now, as I understand it, there is no mechanism for mapping users
to semi-permanent or pool accounts at the RP side (at least for SSH).
Nikhef may be able to help with this, as the grid world already has
several solutions for this.

Looking forward to your input.

Regards,

Wilco Baan Hofman



Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager