All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Evelyn Mitchell <efmphone@gmail.com>
Subject: Re: New field seen in audit.log
Date: Fri, 18 Oct 2019 10:56:09 -0400	[thread overview]
Message-ID: <2506810.HO3NYBUXJ5@x2> (raw)
In-Reply-To: <CABD0H0vS3THc--rx2ZS=A_g8p-MvSX8EBzt7qa1R7or7ba3xNw@mail.gmail.com>

On Friday, October 18, 2019 10:38:08 AM EDT Evelyn Mitchell wrote:
> For my own learning, I'm trying to understand what personality=40000 means.
> 
> In looking at /uapi/linux/personality.h where the
> personality types are defined, and manually converting 40000 to hex
> 0x9C40, it looks to me like the personality is set to enable:
> ADDR_LIMIT_3GB =        0x8000000
> SHORT_INODE =           0x1000000
> ADDR_LIMIT_32BIT =      0x0800000
> READ_IMPLIES_EXEC =     0x0400000
> ADDR_COMPAT_LAYOUT =    0x0200000
> MMAP_PAGE_ZERO =        0x0100000
> ADDR_NO_RANDOMIZE =     0x0040000
> 
> But, this looks unreasonable to me as a set of flags someone would
> deliberately pick, so I thought I'd ask if I'm interpreting this
> correctly.

I think so. The executable is gdb. It needs to disable ASLR so that it can 
reliably  map the symbols to addresses.

-Steve


> > You may never have seen it before because it appears you now have a
> > personality other than PER_LINUX for this event.  32-bit binary on 64
> > bit?  I assume your arch is x86 64 (LE)?
> > 
> > > type=SYSCALL msg=audit(1571245536.351:43593): arch=c000003e syscall=3
> > > *per=40000* success=yes exit=0 a0=5 a1=5 a2=556213b6d6bc
> > > a3=7f483b98bcc0
> > > items=0 ppid=2653 pid=2655 auid=1000 uid=1000 gid=1000 euid=1000
> > > suid=1000
> > > fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=pts1 ses=3 comm="gdb"
> > > exe="/usr/bin/gdb" key=(null)
> > 
> > - RGB
> > 
> > --
> > Richard Guy Briggs <rgb@redhat.com>
> > Sr. S/W Engineer, Kernel Security, Base Operating Systems
> > Remote, Ottawa, Red Hat Canada
> > IRC: rgb, SunRaycer
> > Voice: +1.647.777.2635, Internal: (81) 32635
> > 
> > 
> > 
> > ------------------------------
> 
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-audit

  reply	other threads:[~2019-10-18 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.103.1571328019.6486.linux-audit@redhat.com>
2019-10-18 14:38 ` New field seen in audit.log Evelyn Mitchell
2019-10-18 14:56   ` Steve Grubb [this message]
2019-10-18 15:49   ` Richard Guy Briggs
2019-10-16 19:36 Ankitha Kundhuru
2019-10-16 20:12 ` Richard Guy Briggs
2019-10-16 20:15 ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2506810.HO3NYBUXJ5@x2 \
    --to=sgrubb@redhat.com \
    --cc=efmphone@gmail.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.