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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 5AFEAC47095 for ; Mon, 7 Jun 2021 18:39:17 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 075D56108D for ; Mon, 7 Jun 2021 18:39:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 075D56108D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=linux-audit-bounces@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623091155; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YRc2ZyT0WR1qRyOXY9x1d5abWjATuE93fum/U6vLp2A=; b=fj3rtaCBn0+DZ6Rz0FobvrJPQV9NCSH0No0NKUrD5IkadX9VRvRmfQHKw8E1EPzB+XilOT +DqqHNHVcj3FEVlCQNFX4GWeSiIiyiX8L2rHUpDRxZn+xCXPVvqm5VXytnWpmeAKG6zeyj 3LY1BryTg4cOK95wYHHBE2ZfJRoAyrc= 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-369-EaMGiqf6MlSN3l1m8BKEgA-1; Mon, 07 Jun 2021 14:39:13 -0400 X-MC-Unique: EaMGiqf6MlSN3l1m8BKEgA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 09ED3107ACFA; Mon, 7 Jun 2021 18:39:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF6995C1C2; Mon, 7 Jun 2021 18:39:09 +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 1AD1D4ED79; Mon, 7 Jun 2021 18:39:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 157Id6MH031517 for ; Mon, 7 Jun 2021 14:39:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7F2471002D71; Mon, 7 Jun 2021 18:39:06 +0000 (UTC) Received: from x2.localnet (ovpn-119-28.rdu2.redhat.com [10.10.119.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2777E100760F; Mon, 7 Jun 2021 18:38:57 +0000 (UTC) From: Steve Grubb To: Richard Guy Briggs Subject: Re: Unhelpful events Date: Mon, 07 Jun 2021 14:38:57 -0400 Message-ID: <3112762.aeNJFYEL58@x2> Organization: Red Hat In-Reply-To: <20210607174249.GX2268484@madcap2.tricolour.ca> References: <5718463.lOV4Wx5bFT@x2> <20210607174249.GX2268484@madcap2.tricolour.ca> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: linux-audit@redhat.com Cc: 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.79 on 10.5.11.16 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Monday, June 7, 2021 1:42:49 PM EDT Richard Guy Briggs wrote: > On 2021-06-07 11:32, Steve Grubb wrote: > > Hello, > > > > While patching up the event normalizer, I run across these events which > > really have no useful information: > > > > type=BPF msg=audit(1622913714.840:15017): prog-id=137 op=UNLOAD > > > > type=TIME_INJOFFSET msg=audit(1622547739.500:4): sec=0 nsec=486383948 > > Fedora? "-a task,never"? Nope. It is event #4. Does this even need to be sent? A TIME_INJOFFSET with no supporting info is not helpful. > I assume ghak120 should be present in what you are using by now (v5.11)? 5.12.8 > https://github.com/linux-audit/audit-kernel/issues/120 > "BUG: accompanying records missing for requried records when no rules > present" There is no syscall anywhere near this: type=SERVICE_STOP msg=audit(06/06/2021 08:44:53.922:973) : pid=1 uid=root auid=unset ses=unset subj=system_u:system_r:init_t:s0 msg='unit=systemd- hostnamed comm=systemd exe=/usr/lib/systemd/systemd hostname=? addr=? terminal=? res=success' ---- type=NETFILTER_CFG msg=audit(06/06/2021 08:44:53.947:974) : table=nat family=bridge entries=0 op=xt_unregister pid=5833 subj=system_u:system_r:kernel_t:s0 comm=kworker/u16:3 ---- type=NETFILTER_CFG msg=audit(06/06/2021 08:44:53.947:975) : table=broute family=bridge entries=0 op=xt_unregister pid=5833 subj=system_u:system_r:kernel_t:s0 comm=kworker/u16:3 ---- type=NETFILTER_CFG msg=audit(06/06/2021 08:44:53.947:976) : table=filter family=bridge entries=0 op=xt_unregister pid=5833 subj=system_u:system_r:kernel_t:s0 comm=kworker/u16:3 > > type=NETFILTER_CFG msg=audit(06/06/2021 08:44:53.947:976) : table=filter > > family=bridge entries=0 op=xt_unregister pid=5833 > > subj=system_u:system_r:kernel_t:s0 comm=kworker/u16:3 > This is as complete as this event is going to get. It is a kernel > event, reaping an unused table after a timeout. See > https://github.com/linux-audit/audit-kernel/issues/25 auid=-1 ses=-1 was it successful? Was the BPF event succesful? Is there the equivalent of a task struct for BPF programs that tells anything about who it belonged to? -Steve > > Either their syscall record is missing or they simply do not have all the > > necessary information. (Subject, action, object, results) > > > > -Steve > > - RGB > > -- > Richard Guy Briggs > 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://listman.redhat.com/mailman/listinfo/linux-audit