* tripwire
@ 2002-07-18 21:02 Ryan Bergauer
2002-07-18 21:33 ` tripwire Shaun Savage
2002-07-22 11:45 ` tripwire Stephen Smalley
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Bergauer @ 2002-07-18 21:02 UTC (permalink / raw)
To: selinux
[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]
I just installed Tripwire on my SELinux play box. I have no problem
doing an integrity check when I'm logged in as root and newroled into
sysadm_r. However, the default system cron job for integrity checking
fails miserably because system_crond_t isn't granted the permissions
necessary to check and sign most files on my system (and with good
reason.) My first thought was to create a domain just for Tripwire, but
unfortunately, the fact that Tripwire needs access to just about every
file type on the disk results in a domain that not only would take quite
some time to create, but would also require a fair degree of
maintenance. Creating a cron job run by a user also appears out of the
question, since my sysadm has no root access, and root runs user_crond_t
cron jobs by default (which I feel would be wise to keep that way.)
Either I'm overlooking something (very likely) or I'm going to have to
suck it up and write that Tripwire domain. Any suggestions? If the
Tripwire domain is the answer, are there any good ways to give it a
large number of privileges very quickly?
Thanks in advance - you guys are a huge help! I appreciate you bearing
with those of us still getting used to this.
-Ryan
[-- Attachment #2: Type: text/html, Size: 4773 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tripwire
2002-07-18 21:02 tripwire Ryan Bergauer
@ 2002-07-18 21:33 ` Shaun Savage
2002-07-18 23:33 ` tripwire Ed Street
2002-07-22 11:45 ` tripwire Stephen Smalley
1 sibling, 1 reply; 4+ messages in thread
From: Shaun Savage @ 2002-07-18 21:33 UTC (permalink / raw)
To: Ryan Bergauer; +Cc: selinux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When I created a Tripwire TE rules I had to match the tripwrire rules
with the SELinux rules. I gave tripwire READ access to what is needed.
~ It is the run as root, it does not need sysadm access becaues it does
not change the policies, tripwire just reads directories and files (data)
I reloaded my system and my archiver is down so I can't send you my rules.
Shaun
Ryan Bergauer wrote:
| <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal
| {mso-style-parent:""; margin:0in; margin-bottom:.0001pt;
| mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New
| Roman"; mso-fareast-font-family:"Times New Roman";} a:link,
| span.MsoHyperlink {color:blue; text-decoration:underline;
| text-underline:single;} a:visited, span.MsoHyperlinkFollowed
| {color:purple; text-decoration:underline; text-underline:single;}
| span.EmailStyle17 {mso-style-type:personal-compose;
| mso-style-noshow:yes; mso-ansi-font-size:10.0pt;
| mso-bidi-font-size:10.0pt; font-family:Arial;
| mso-ascii-font-family:Arial; mso-hansi-font-family:Arial;
| mso-bidi-font-family:Arial; color:windowtext;} span.SpellE
| {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:"";
| mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in
| 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in;
| mso-paper-source:0;} div.Section1 {page:Section1;} -->
|
| I just installed Tripwire on my SELinux play box. I have no problem
| doing an integrity check when I\x19m logged in as root and newroled into
| sysadm_r. However, the default system cron job for integrity checking
| fails miserably because system_crond_t isn\x19t granted the permissions
| necessary to check and sign most files on my system (and with good
| reason.) My first thought was to create a domain just for Tripwire,
| but unfortunately, the fact that Tripwire needs access to just about
| every file type on the disk results in a domain that not only would
| take quite some time to create, but would also require a fair degree
| of maintenance. Creating a cron job run by a user also appears out of
| the question, since my sysadm has no root access, and root runs
| user_crond_t cron jobs by default (which I feel would be wise to keep
| that way.)
|
|
|
| Either I\x19m overlooking something (very likely) or I\x19m going to have to
| suck it up and write that Tripwire domain. Any suggestions? If the
| Tripwire domain is the answer, are there any good ways to give it a
| large number of privileges very quickly?
|
|
|
| Thanks in advance \x13 you guys are a huge help! I appreciate you bearing
| with those of us still getting used to this&
|
| -Ryan
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9NzQan6I06Opz+XURApluAKCKKhKvBooeJPhf2a7/XZGfVO/RKgCfRCrc
2kJ2rnXlAkQWTmFdCBsVy60=
=56t6
-----END PGP SIGNATURE-----
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: tripwire
2002-07-18 21:33 ` tripwire Shaun Savage
@ 2002-07-18 23:33 ` Ed Street
0 siblings, 0 replies; 4+ messages in thread
From: Ed Street @ 2002-07-18 23:33 UTC (permalink / raw)
To: 'Shaun Savage', 'Ryan Bergauer'; +Cc: selinux
Hello,
Stupid question. If it just needs permission to read files then why is
it running as root?
Ed
=> -----Original Message-----
=> From: owner-selinux@tycho.nsa.gov
[mailto:owner-selinux@tycho.nsa.gov] On
=> Behalf Of Shaun Savage
=> Sent: Thursday, July 18, 2002 5:33 PM
=> To: Ryan Bergauer
=> Cc: selinux@tycho.nsa.gov
=> Subject: Re: tripwire
=>
=>
=> ***[07/18/2002 7:32:41 PM] PGP Signature Status: unknown
=> ***[07/18/2002 7:32:41 PM] Hash: SHA1
=> ***[07/18/2002 7:32:41 PM] Signer: Unknown
=> ***[07/18/2002 7:32:41 PM] Signer Key ID:0xEA73F975
=> ***[07/18/2002 7:32:41 PM] Signed: 07/18/2002 5:33:14 PM
=> ***[07/18/2002 7:32:41 PM] Verified: 07/18/2002 7:32:41 PM
=> ***[07/18/2002 7:32:41 PM] BEGIN PGP VERIFIED MESSAGE ***
=>
=> When I created a Tripwire TE rules I had to match the tripwrire rules
=> with the SELinux rules. I gave tripwire READ access to what is
needed.
=> ~ It is the run as root, it does not need sysadm access becaues it
does
=> not change the policies, tripwire just reads directories and files
(data)
=>
=> I reloaded my system and my archiver is down so I can't send you my
=> rules.
=>
=> Shaun
=>
=>
=>
=> Ryan Bergauer wrote:
=>
=> | <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
div.MsoNormal
=> | {mso-style-parent:""; margin:0in; margin-bottom:.0001pt;
=> | mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times
New
=> | Roman"; mso-fareast-font-family:"Times New Roman";} a:link,
=> | span.MsoHyperlink {color:blue; text-decoration:underline;
=> | text-underline:single;} a:visited, span.MsoHyperlinkFollowed
=> | {color:purple; text-decoration:underline; text-underline:single;}
=> | span.EmailStyle17 {mso-style-type:personal-compose;
=> | mso-style-noshow:yes; mso-ansi-font-size:10.0pt;
=> | mso-bidi-font-size:10.0pt; font-family:Arial;
=> | mso-ascii-font-family:Arial; mso-hansi-font-family:Arial;
=> | mso-bidi-font-family:Arial; color:windowtext;} span.SpellE
=> | {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:"";
=> | mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in
=> | 1.25in 1.0in 1.25in; mso-header-margin:.5in;
mso-footer-margin:.5in;
=> | mso-paper-source:0;} div.Section1 {page:Section1;} -->
=> |
=> | I just installed Tripwire on my SELinux play box. I have no problem
=> | doing an integrity check when I\x19m logged in as root and newroled
into
=> | sysadm_r. However, the default system cron job for integrity
checking
=> | fails miserably because system_crond_t isn\x19t granted the
permissions
=> | necessary to check and sign most files on my system (and with good
=> | reason.) My first thought was to create a domain just for Tripwire,
=> | but unfortunately, the fact that Tripwire needs access to just
about
=> | every file type on the disk results in a domain that not only would
=> | take quite some time to create, but would also require a fair
degree
=> | of maintenance. Creating a cron job run by a user also appears out
of
=> | the question, since my sysadm has no root access, and root runs
=> | user_crond_t cron jobs by default (which I feel would be wise to
keep
=> | that way.)
=> |
=> |
=> |
=> | Either I\x19m overlooking something (very likely) or I\x19m going to have
to
=> | suck it up and write that Tripwire domain. Any suggestions? If the
=> | Tripwire domain is the answer, are there any good ways to give it a
=> | large number of privileges very quickly?
=> |
=> |
=> |
=> | Thanks in advance \x13 you guys are a huge help! I appreciate you
bearing
=> | with those of us still getting used to this&
=> |
=> | -Ryan
=> |
=>
=>
=> ***[07/18/2002 7:32:41 PM] END PGP VERIFIED MESSAGE ***
=>
=>
=>
=> --
=> You have received this message because you are subscribed to the
selinux
=> list.
=> If you no longer wish to subscribe, send mail to
majordomo@tycho.nsa.gov
=> with
=> the words "unsubscribe selinux" without quotes as the message.
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tripwire
2002-07-18 21:02 tripwire Ryan Bergauer
2002-07-18 21:33 ` tripwire Shaun Savage
@ 2002-07-22 11:45 ` Stephen Smalley
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Smalley @ 2002-07-22 11:45 UTC (permalink / raw)
To: Ryan Bergauer; +Cc: selinux
On Thu, 18 Jul 2002, Ryan Bergauer wrote:
> reason.) My first thought was to create a domain just for Tripwire, but
> unfortunately, the fact that Tripwire needs access to just about every
> file type on the disk results in a domain that not only would take quite
> some time to create, but would also require a fair degree of
> maintenance.
You can use type attributes to represent entire sets of types. At
present, the file_type attribute is associated with all types assigned to
files in persistent filesystems. If you want to grant tripwire read
access to all directories, regular files, and symbolic links with these
file types, you can merely specify:
allow tripwire_t file_type:dir r_dir_perms;
allow tripwire_t file_type:{ file lnk_file } r_file_perms;
--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-22 11:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18 21:02 tripwire Ryan Bergauer
2002-07-18 21:33 ` tripwire Shaun Savage
2002-07-18 23:33 ` tripwire Ed Street
2002-07-22 11:45 ` tripwire Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.