Skip to contentSkip to conversation

Protect Xen Virtualization via SElinux.

DISCUSSION Jason Long 3 participants 8 messages Jun 19, 2016 – Jun 21, 2016 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jason Long

author
#1 lore raw

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

Thnak you.

#2 lore raw
Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/

author
#3 lore raw

Can you show me some examples for both ?

On Monday, June 20, 2016 5:13 PM, Stephen Smalley <[email protected]> wrote:

Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/

#4 lore raw
Quoted 1 line · Jason Long

Can you show me some examples for both ?

I already pointed you to OpenXT; it is a worked example of both.

Quoted 26 lines · Stephen Smalley
Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

author
#5 lore raw

I can't find any example :( Can you show me some urls?

On Monday, June 20, 2016 7:45 PM, Stephen Smalley <[email protected]> wrote:

Quoted 1 line · Jason Long

Can you show me some examples for both ?

I already pointed you to OpenXT; it is a worked example of both.

Quoted 27 lines · Stephen Smalley
Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

#6 lore raw

Jason,

The files are on Github here: https://github.com/OpenXT/openxt

and here: *https://github.com/OpenXT/*

Best Regards,

Signature · 2 lines
 Patrick
--
Quoted 39 lines · Jason Long

I can't find any example :( Can you show me some urls?

On Monday, June 20, 2016 7:45 PM, Stephen Smalley <[email protected]> wrote:

Quoted 1 line · Jason Long

Can you show me some examples for both ?

I already pointed you to OpenXT; it is a worked example of both.

Quoted 16 lines · Stephen Smalley
Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

Quoted 8 lines

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

author
#7 lore raw

No, I mean is how to drive it.

    On Tuesday, June 21, 2016 2:28 PM, "Patrick K., ITF" <[email protected]> wrote:

Jason,
The files are on Github here:  https://github.com/OpenXT/openxt and here:  https://github.com/OpenXT/ Best Regards, --
Patrick
-- On 6/21/2016 5:26 AM, Jason Long wrote:

I can't find any example :( Can you show me some urls?

On Monday, June 20, 2016 7:45 PM, Stephen Smalley <[email protected]> wrote:
On 06/20/2016 11:06 AM, Jason Long wrote:

Can you show me some examples for both ?

I already pointed you to OpenXT; it is a worked example of both.

On Monday, June 20, 2016 5:13 PM, Stephen Smalley <[email protected]> wrote:
On 06/19/2016 09:15 AM, Jason Long wrote:

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

If you want a worked example of applying both XSM/Flask and SELinux, have a look at OpenXT,
http://openxt.org/
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

#8 lore raw

Jason,

Please read it here:

https://openxt.atlassian.net/wiki/pages/viewpage.action?pageId=10747915

https://openxt.atlassian.net/wiki/display/OD/Getting+Started

Best Regards,

Signature · 2 lines
 Patrick
--
Quoted 57 lines · Jason Long

No, I mean is how to drive it.

On Tuesday, June 21, 2016 2:28 PM, "Patrick K., ITF" <[email protected]> wrote:

Jason,

The files are on Github here: https://github.com/OpenXT/openxt
and here: *https://github.com/OpenXT/*
Best Regards,

Signature · 2 lines
  Patrick
--
Quoted 39 lines · Jason Long

I can't find any example :( Can you show me some urls?

On Monday, June 20, 2016 7:45 PM, Stephen Smalley<[email protected]> <mailto:[email protected]> wrote:

Quoted 1 line · Jason Long

Can you show me some examples for both ?

I already pointed you to OpenXT; it is a worked example of both.

Quoted 16 lines · On Monday, June 20, 2016 5:13 PM, Stephen Smalley<[email protected]>…
Quoted 2 lines · Jason Long

Hello.
How can I protect my Xen VM via SElinux? Can you show me some useful examples?

I'm not entirely sure what you are asking, but possible answers:

1. If you want to apply SELinux-like controls over Xen virtual machines (domains), then you can use Xen Security Modules and the Flask security module (commonly abbreviated XSM/Flask) to define and enforce a policy over the hypervisor objects and operations.

2. If you want to use SELinux to harden the Xen domain-0 or specific domUs, you can just enable it in those domains and configure your policy accordingly.

Quoted 8 lines

If you want a worked example of applying both XSM/Flask and SELinux,
have a look at OpenXT,
http://openxt.org/
_______________________________________________
Selinux mailing list
[email protected] <mailto:[email protected]>
To unsubscribe, send email [email protected] <mailto:[email protected]>.
To get help, send an email containing "help" [email protected] <mailto:[email protected]>.

_______________________________________________
Selinux mailing list
[email protected] <mailto:[email protected]>
To unsubscribe, send email [email protected] <mailto:[email protected]>.
To get help, send an email containing "help" [email protected] <mailto:[email protected]>.