Skip to content

MASWE-0018: Acesso às Cryptographic Keys Não Restrito

Content in BETA

This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).

Send Feedback

Placeholder Weakness

This weakness hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that weakness by following our guidelines.

Check our GitHub Issues for MASWE-0018

Initial Description or Hints

Garantir que as chaves criptográficas sejam acessíveis apenas sob condições rigorosas, como quando o dispositivo é desbloqueado por um usuário autenticado, dentro de contextos seguros de aplicativo, vinculadas ao dispositivo atual ou por períodos limitados de tempo, é fundamental para manter a confidencialidade e a integridade dos dados criptografados.

Relevant Topics

  • from a Background Process
  • locked device (iOS kSecAttrAccessibleWhenUnlockedThisDeviceOnly, Android setUnlockedDeviceRequired)
  • device-bound or non-transferable (iOS ThisDeviceOnly)
  • time-based access (duration)
  • Require User Presence
  • application-specific password
  • biometric authentication
  • key use restricted e.g. requiring user auth with biometrics, User Presence.
  • especially for sensitive operations
  • keys restricted/authorized for a duration of time or specific crypto operation, etc.

References

MASTG v1 Coverage

No MASTG v1 tests are related to this weakness.