Coder Social home page Coder Social logo

Threat model of Parsec about parsec HOT 7 CLOSED

hug-dev avatar hug-dev commented on July 17, 2024
Threat model of Parsec

from parsec.

Comments (7)

RichardAtArm avatar RichardAtArm commented on July 17, 2024 1

Some notes from our threat model review discussion:
ReviewOfPARSECThreatModel-200407.txt

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024 1

On the points raised above:

It might be helpful to show where data assets are exposed on the data flow diagram.

Agree. We will change that.

Is the secret Authentication Token the asset that must be protected, rather than the Application Identity, that is not secret?

That is correct! Will rename Application Identity -> Authentication Token

the Key Mapping store is vulnerable to tampering, as by Attacker – A6 and should be listed as an asset.

That is correct! Should add.

Mitigation A-3 typo?
Mitigation A-2 typo?

Well spot! Those should be assumptions, will find another group of letters.

If some sensitive data is going to be logged to persistent storage, possibly need encrypted file system.

True! We might be safer by checking that we do not log confidential data. I am sure we can log meaningfull information without being too informative.

In general, it looks like information disclosure from within the process hasn’t been considered. E.g. Auth Token exposed in memory after use.

That is something we thought separately from the TM (in #122). We should definitely add it in the TM in the Information Disclosure attacks.

Is the key data stored on-disk protected enough just by OS permissions? Does it need to be encrypted? Protected with HMAC?

We agree that this is a bit light. We created #118 to start thinking about options. Will add HMAC to the list.

Are not in the scope of the Threat Model, but could need their own TM to derive general security requirements for clients.

That is a good point, and as we are starting developping the Rust Client, we should also think about creating a threat model for it.

Make sure the findings of the threat modelling are acted on, e.g. by tracking tasks to: implement the Mitigations; document recommendations for the Operational Mitigations and document the risks and limitations due to the Unmitigations.

Great remark, will do that as soon as the review period for the TM is over.

it might be helpful to give recommendations or examples for a secure Linux environment:

We will think about adding in our documentation an example of a secure deployment implementing all our operation mitigations.

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024

Although the Threat Model has been merged, keeping this for review.

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024

The Parsec Threat Model can be found at: https://parallaxsecond.github.io/parsec-book/threat_model/threat_model.html

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024

Will create issues to address those points as soon as the review period of the TM is over.

from parsec.

ionut-arm avatar ionut-arm commented on July 17, 2024

Created:

I've also recently updated #122 to be in sync with the PSA Crypto spec recommendations.

from parsec.

hug-dev avatar hug-dev commented on July 17, 2024

Service and Rust client TM have now been updated and published, and the recommendations here have all been adressed.

from parsec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.