<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PTA with SELinux in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-with-selinux/ta-p/1428319</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;SELinux is a mandatory access control (MAC) system for the Linux operating system.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;MAC systems relay on central authority for a decision on all access attempts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Starting with PTA version 14, loadable module policy for SELinux is provided to support PTA processes. The policy is installed as part of PTA installation on supported OS versions.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;If SELinux denials involve PTA objects (processes and files) access attempts, the denial will be logged in the auditing log.&lt;BR /&gt;All PTA types in the system start with “pta” as a prefix and end with “_t” suffix.&lt;BR /&gt;For example, pta_t, pta_etc_t, pta_opt_t, pta_var_init_t etc….&lt;BR /&gt;To search for SELinux access attempts denials execute:&lt;BR /&gt;“ausearch -m avc”&lt;BR /&gt;Example:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;&lt;SPAN style="color: black;"&gt;[root@localhost /]# ausearch -m avc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;----&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=PROCTITLE msg=audit(1698311909.029:7111): proctitle=67726570002D71006B657973746F726546696C653D2222002F6F70742F746F6D6361742F636F6E662F7365727665722E786D6C&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=PATH msg=audit(1698311909.029:7111): item=0 name="/opt/tomcat/conf/server.xml" inode=201821233 dev=fd:00 mode=0100750 ouid=991 ogid=981 rdev=00:00 obj=unconfined_u:object_r: pta_etc_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 OUID="tomcat" OGID="sslusers"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=SYSCALL msg=audit(1698311909.029:7111): arch=c000003e syscall=257 success=yes exit=3 a0=ffffff9c a1=7ffdfd70fefb a2=100 a3=0 items=1 ppid=18372 pid=18380 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="grep" exe="/usr/bin/grep" subj=system_u:system_r:&lt;SPAN style="background: yellow;"&gt;pta_t&lt;/SPAN&gt;:s0 key=(null) ARCH=x86_64 SYSCALL=openat AUID="unset" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=&lt;SPAN style="background: yellow;"&gt;AVC&lt;/SPAN&gt; msg=audit(1698311909.029:7111): avc:&amp;nbsp; denied&amp;nbsp; { read } for&amp;nbsp; pid=18380 comm="grep" name="pta" dev="dm-0" ino=1447 &lt;SPAN style="background: yellow;"&gt;scontext&lt;/SPAN&gt;=system_u:system_r:&lt;SPAN style="background: yellow;"&gt;pta_t&lt;/SPAN&gt;:s0 &lt;SPAN style="background: yellow;"&gt;tcontext&lt;/SPAN&gt;=system_u:object_r:&lt;SPAN style="background: yellow;"&gt;pta_etc_t&lt;/SPAN&gt;:s0 tclass=file permissive=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;In case of denials that involve PTA types:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;OL&gt;&lt;LI style="margin-left: 8px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Export all AVC audit messages to a file: “ausearch -m avc -r &amp;gt; avc_audit.log”. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: 8px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Contact support and provide the file containing all the AVC audit messages.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 16 Dec 2024 18:46:56 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-12-16T18:46:56Z</dc:date>
    <item>
      <title>PTA with SELinux</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-with-selinux/ta-p/1428319</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;SELinux is a mandatory access control (MAC) system for the Linux operating system.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;MAC systems relay on central authority for a decision on all access attempts.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Starting with PTA version 14, loadable module policy for SELinux is provided to support PTA processes. The policy is installed as part of PTA installation on supported OS versions.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;If SELinux denials involve PTA objects (processes and files) access attempts, the denial will be logged in the auditing log.&lt;BR /&gt;All PTA types in the system start with “pta” as a prefix and end with “_t” suffix.&lt;BR /&gt;For example, pta_t, pta_etc_t, pta_opt_t, pta_var_init_t etc….&lt;BR /&gt;To search for SELinux access attempts denials execute:&lt;BR /&gt;“ausearch -m avc”&lt;BR /&gt;Example:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" rowspan="1"&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;&lt;SPAN style="color: black;"&gt;[root@localhost /]# ausearch -m avc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;----&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=PROCTITLE msg=audit(1698311909.029:7111): proctitle=67726570002D71006B657973746F726546696C653D2222002F6F70742F746F6D6361742F636F6E662F7365727665722E786D6C&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=PATH msg=audit(1698311909.029:7111): item=0 name="/opt/tomcat/conf/server.xml" inode=201821233 dev=fd:00 mode=0100750 ouid=991 ogid=981 rdev=00:00 obj=unconfined_u:object_r: pta_etc_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 OUID="tomcat" OGID="sslusers"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=SYSCALL msg=audit(1698311909.029:7111): arch=c000003e syscall=257 success=yes exit=3 a0=ffffff9c a1=7ffdfd70fefb a2=100 a3=0 items=1 ppid=18372 pid=18380 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="grep" exe="/usr/bin/grep" subj=system_u:system_r:&lt;SPAN style="background: yellow;"&gt;pta_t&lt;/SPAN&gt;:s0 key=(null) ARCH=x86_64 SYSCALL=openat AUID="unset" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 12px;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Consolas;"&gt;type=&lt;SPAN style="background: yellow;"&gt;AVC&lt;/SPAN&gt; msg=audit(1698311909.029:7111): avc:&amp;nbsp; denied&amp;nbsp; { read } for&amp;nbsp; pid=18380 comm="grep" name="pta" dev="dm-0" ino=1447 &lt;SPAN style="background: yellow;"&gt;scontext&lt;/SPAN&gt;=system_u:system_r:&lt;SPAN style="background: yellow;"&gt;pta_t&lt;/SPAN&gt;:s0 &lt;SPAN style="background: yellow;"&gt;tcontext&lt;/SPAN&gt;=system_u:object_r:&lt;SPAN style="background: yellow;"&gt;pta_etc_t&lt;/SPAN&gt;:s0 tclass=file permissive=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;In case of denials that involve PTA types:&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;OL&gt;&lt;LI style="margin-left: 8px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Export all AVC audit messages to a file: “ausearch -m avc -r &amp;gt; avc_audit.log”. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-left: 8px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri,sans-serif;"&gt;Contact support and provide the file containing all the AVC audit messages.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 16 Dec 2024 18:46:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-with-selinux/ta-p/1428319</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-12-16T18:46:56Z</dc:date>
    </item>
  </channel>
</rss>

