From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C388CC433DF for ; Wed, 14 Oct 2020 18:31:18 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 293F521D81 for ; Wed, 14 Oct 2020 18:31:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 293F521D81 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-48-bsn8XSbmMnSybi-VOQ961g-1; Wed, 14 Oct 2020 14:31:14 -0400 X-MC-Unique: bsn8XSbmMnSybi-VOQ961g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 767B21021200; Wed, 14 Oct 2020 18:31:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3595027C21; Wed, 14 Oct 2020 18:31:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id CCA59180B657; Wed, 14 Oct 2020 18:31:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 09EIV72b010385 for ; Wed, 14 Oct 2020 14:31:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id F15622166BCC; Wed, 14 Oct 2020 18:31:06 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EBC182166BB3 for ; Wed, 14 Oct 2020 18:31:04 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 93051811E83 for ; Wed, 14 Oct 2020 18:31:04 +0000 (UTC) Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-68-dpDkxo9HP9-Oerkdy4V7HQ-1; Wed, 14 Oct 2020 14:31:01 -0400 X-MC-Unique: dpDkxo9HP9-Oerkdy4V7HQ-1 Received: by mail-il1-f182.google.com with SMTP id j13so399990ilc.4 for ; Wed, 14 Oct 2020 11:31:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AHt5tLF5gWmQ5vGayog3CxCfpSkRrhMnQQmslnhaOlA=; b=FAxFwvhX9LpJHgnxyoaibCmZqyiv2F05dAhyEhvgpxD5NXv2efSWhCZgRpdG6P1/X9 ShZhkd6N4hn8u2S73jXEr+T0QpJyDkoEud8aXNw970FIX5Q9hr9JK9gH9kMZJ1LXi0YC DGStywQIcva9N+uputcM3zyLUBPHrdMCTR2njeQJ1y0NAy3oz49q1vn02a1wwe0RP4rM 4KD02uv4inUipznedYk8QdirJuBXHQHC8+vszzUoCqhOR9Fk395vegWAJHHnnIyagCQL ekNFaqbJz8uAhjtnZFcjAHFWFmNzaD2kbhWP3wsp6jxTowNlNoebE8iaw8IaSSjiqRlD A6RQ== X-Gm-Message-State: AOAM533teOdNneidtbdFo5lWL0JKIbn5H9dWSTLnV0AFt9DkbJU37EeC FCnW5DlCGP739fQ3em8TNKziug2RqoKNy14cTnLZFpS/ X-Google-Smtp-Source: ABdhPJycS9XSLAf99alljYjNcJtXiCjamzEF8msFUN8jh9r9cwMsGFJiqtfpkMkBrXMJNF3BzKNVn935eEXzeqJYpgM= X-Received: by 2002:a92:481d:: with SMTP id v29mr428081ila.300.1602700260053; Wed, 14 Oct 2020 11:31:00 -0700 (PDT) MIME-Version: 1.0 From: "warron.french" Date: Wed, 14 Oct 2020 14:30:48 -0400 Message-ID: Subject: How to confirm AUDITD is immutable To: Linux Audit X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: linux-audit@redhat.com X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="===============0574808097741817651==" --===============0574808097741817651== Content-Type: multipart/alternative; boundary="000000000000ae97f205b1a5bb8e" --000000000000ae97f205b1a5bb8e Content-Type: text/plain; charset="UTF-8" Hello, I just wanted to confirm for my memory that if I wanted to confirm that the auditd process running on my system was configured correctly and intended to be *immutable (*setting *-e 2*) I would do so easily by executing: *auditctl -s* When I execute that command I get back in the results that have: *enabled 1* *loginuid_immutable 0 unlocked* *among a few other lines.* Shouldn't I actually see *enabled 2*? I have in one of our .rules files under /etc/audit/rules.d/ the syntax "-e 2". Thanks, -------------------------- Warron French --000000000000ae97f205b1a5bb8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, I just wanted to confirm=C2=A0for my memory th= at if I wanted to confirm that the auditd process=C2=A0running on my system= was configured=C2=A0correctly and intended to be
immutable (<= /b>setting -e 2)=C2=A0I would do so easily by executing:
<= br>
auditctl=C2=A0 -s
=

When I execute that command I get back in the results t= hat have:
enabled 1
loginuid_immutable 0 unlo= cked
among a few other lines.

Shouldn't I actually see enabled 2?
I have in = one of our .rules files under /etc/audit/rules.d/ the syntax=C2=A0 =C2=A0 &= quot;-e 2".


Thanks,
=
--------------------------
Warron French

--000000000000ae97f205b1a5bb8e-- --===============0574808097741817651== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Linux-audit mailing list Linux-audit@redhat.com https://www.redhat.com/mailman/listinfo/linux-audit --===============0574808097741817651==--