Skip to contentSkip to conversation

Security Working Group meeting - Wednesday March 16

DISCUSSION Joseph Reynolds 3 participants 6 messages Mar 16, 2022 – Mar 18, 2022

lore
Share & tools
lore
#0 lore raw

This is a reminder of the OpenBMC Security Working Group meeting scheduled for this Wednesday March 16 at 10:00am PDT.

We'll discuss the following items on the agenda <https://docs.google.com/document/d/1b7x9BaxsfcukQDqbvZsU2ehMq4xoJRQvLxxsDUWmAOI>, and anything else that comes up:

1. Please review the phosphor audit design https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023 <https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023>

Access, agenda and notes are in the wiki:
https://github.com/openbmc/openbmc/wiki/Security-working-group <https://github.com/openbmc/openbmc/wiki/Security-working-group>

- Joseph

#1 lore raw

Re: Security Working Group meeting - Wednesday March 16 - results

Quoted 4 lines · Joseph Reynolds

This is a reminder of the OpenBMC Security Working Group meeting scheduled for this Wednesday March 16 at 10:00am PDT.

We'll discuss the following items on the agenda <https://docs.google.com/document/d/1b7x9BaxsfcukQDqbvZsU2ehMq4xoJRQvLxxsDUWmAOI>, and anything else that comes up:

Attended: Joseph, Ratan, James, Mark, Daniil, Dhananjay, Dick, Jiang

1 Please review the phosphor audit design https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023 <https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023>and related code under https://github.com/openbmc/phosphor-logging <https://github.com/openbmc/phosphor-logging>directory phosphor-audit.

IBM is interested in working on  this.

We also discussed encrypting data like logs, and storing keys in a vault / trust zone /  TPM.

See also encrypted volume https://github.com/openbmc/estoraged <https://github.com/openbmc/estoraged>

2 CNA work update

James is working on the OpenBMC vulnerability backlog.  First transferring each one to our private github issues database together with its reserved CVE.  James will share JSON-formatted CVEs with the security response team (SRT).  Currently working to upload/submit CVEs to mitre.  (Note these are not yet public.)

Helpful tools: formatted vulnerabilities using vulnogram.  Use  Redhat’s  Cvelib Python-based tool

TODO: Joseph and Dhananjay (as the OpenBMC CNAs): get credentials from mitre to allow you to create CVEs.

-Joseph

Quoted 6 lines

Access, agenda and notes are in the wiki:
https://github.com/openbmc/openbmc/wiki/Security-working-group <https://github.com/openbmc/openbmc/wiki/Security-working-group>

- Joseph

#2 lore raw

Re: Security Working Group meeting - Wednesday March 16 - results

Quoted 7 lines · Joseph Reynolds

1 Please review the phosphor audit design
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023
<https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023>and related code under https://github.com/openbmc/phosphor-logging
<https://github.com/openbmc/phosphor-logging>directory phosphor-audit.

IBM is interested in working on  this.

Was there any feedback on the design? The current proposal seems very foundational, like phosphor-logging itself, so I want to make sure we have broad consensus on it before we invest a lot of effort in this approach.

Signature · 1 line
Patrick Williams
#3 lore raw

Re: Security Working Group meeting - Wednesday March 16 - results

Quoted 8 lines · Patrick Williams
Quoted 6 lines · Joseph Reynolds

1 Please review the phosphor audit design
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023
<https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/46023>and related code under https://github.com/openbmc/phosphor-logging
<https://github.com/openbmc/phosphor-logging>directory phosphor-audit.

Quoted 4 lines
Quoted 1 line

IBM is interested in working on  this.

Was there any feedback on the design? The current proposal seems very foundational, like phosphor-logging itself, so I want to make sure we have broad consensus on it before we invest a lot of effort in this approach.

I liked it, and I just added a comment!

Joseph

#4 lore raw

Re: Security Working Group meeting - Wednesday March 16 - results

In reply to Joseph Reynolds
Quoted 2 lines · Joseph Reynolds

We also discussed encrypting data like logs, and storing keys in a vault / trust zone /  TPM.

Wouldn't it make most sense to encrypt them *to* an asymmetric (public) key that is
not on the BMC? Or one can send them over encrypted syslog, or netconf to
another server for safe keeping.
Or are you thinking that you need to sign the logs?

If the key is stored locally, even in a TPM, and the point is to be able to review logs locally, then the logs need to get decrypted, and that means that the key needs to be enabled/opened/activated locally, and which point, if there was a compromised system, the bad guy wins.

I guess I wonder what the goals are here.

Quoted 2 lines

See also encrypted volume https://github.com/openbmc/estoraged
<https://github.com/openbmc/estoraged>

Same issue: where is the key stored?

Signature · 3 lines
]               Never tell me the odds!                 | ipv6 mesh networks [ 
]   Michael Richardson, Sandelman Software Works        | network architect  [ 
]     [email protected]  http://www.sandelman.ca/        |   ruby on rails    [ 
#5 lore raw

Re: Security Working Group meeting - Wednesday March 16 - results - audit log handling

Quoted 9 lines · Michael Richardson

Joseph Reynolds <[email protected]> wrote:
> We also discussed encrypting data like logs, and storing keys in a > vault / trust zone /  TPM.

Wouldn't it make most sense to encrypt them *to* an asymmetric (public) key that is
not on the BMC? Or one can send them over encrypted syslog, or netconf to
another server for safe keeping.
Or are you thinking that you need to sign the logs?

Quoted 6 lines

If the key is stored locally, even in a TPM, and the point is to be able to review logs locally, then the logs need to get decrypted, and that means that the key needs to be enabled/opened/activated locally, and which point, if there was a compromised system, the bad guy wins.

I guess I wonder what the goals are here.

Goals?  We didn't mention any goals, and the discussion about encryption was lighthearted and introductory. I had not thought past storing the audit log on the BMC, and realizing that it should be encrypted or streamed off the BMC. I agree that using symmetric keys is not a good idea.

I'll ask my requirement providers what their needs are in this space.

- Joseph

Quoted 5 lines

> See also encrypted volume https://github.com/openbmc/estoraged
> <https://github.com/openbmc/estoraged>

Same issue: where is the key stored?

same