Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp83450imm; Wed, 3 Oct 2018 12:17:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV60YHqrwgWFSZD/69JT5s+KZDdrGlHQRoi9qj5x/QcdCpQbhJGX2hgSPR9UUSEuJEQtIrys8 X-Received: by 2002:a17:902:d715:: with SMTP id w21-v6mr2983948ply.143.1538594228576; Wed, 03 Oct 2018 12:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538594228; cv=none; d=google.com; s=arc-20160816; b=eBo3ggvHRkYX1MZPu3rShHDmRRm8Xb7R7bacAGkjDRrhvhrjiLRdj2LpqXYLKR5EQt jtz8FY4zKe6awJ57Cu+GQddhAJJA7cCO+dFjApqkCSLR97wYe2Mw0undVRBVnu88wSbl 1O1fiT30fkUj/tvXCX3REt0S4vLG4YQPJgZsuCn+Nk/ZtJJFXD588Iif4iDK62EAiQqX ZSpBpnvg9UTi714sG12h5Jr4sow7+ihrrM7baHzmSoZpRwxzV35RwPLo1xncxSoWxzr1 b60P5H7//g5SWMKs3LfX2lrKKsjd7jx7jl/ulvrHqpIeoLa23lgy/SoFzf7rXuQeMdU3 tgHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=LhAcWoSVZvRezv4jk3xe3ItHjEot6WxoDlrkED1nPkU=; b=jwh6zOvspATB0aKsz/xaa2ChnkG0nXgj8J7c1H6HAmnpaFRUnpl8vR1e1lebypF4Cn VWdIW4j/8ZCU6f/zXaj3jav1nkECyx/D21R6VcGfl/YqTIcB0yUvmWx4Ciebrv+HlPjF PmU8S/UxfbA16A22k2u31tFuAKPQfMN0E/AqlHzSOKtubv9eL6eeHQ8oSV7/Qr1qva7B 8jDeJrWJRjEINcgDGb/T73WeHAwNO1iSLAMqMLr19qizOq1WlLfTXaAZPUSypUkM+EV6 /kulq8LqyVk0KMntF7fMIcYzxrvgBIHC78+7eMTIFVTVywAtqGOS//W2yFK7VojRwTrC U3qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=tjZa23br; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w71-v6si2195265pgd.163.2018.10.03.12.16.48; Wed, 03 Oct 2018 12:17:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=tjZa23br; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbeJDCGY (ORCPT + 99 others); Wed, 3 Oct 2018 22:06:24 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:34002 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbeJDCGX (ORCPT ); Wed, 3 Oct 2018 22:06:23 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w93J4aZm160520; Wed, 3 Oct 2018 19:16:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=LhAcWoSVZvRezv4jk3xe3ItHjEot6WxoDlrkED1nPkU=; b=tjZa23brp870o4sScZIILuY5pJAHc0mi0LeymEQ5cwbyAfFXoyH3twbYu1xlL3vnMbvP lF8kCFJpgU4yyzeOgKytDYo1xnEsrdlNACKMttJXnJ+e4HAcePGO0qFr+nPCvunspih7 or2DRkNji//pjs97tR635owqUO+fFnxIH824v7HTD+AJFn6MXNpI5NRFIlU562s4RRMg tPqTNC7XkMrp10TPIm3bL7cIK2jh4G0sQ5IRSrmp3OcjrzGN5+Flq8v8VtMb/nRRY3uI gGJe1F3s2jXVsJFxm9RaSsj6WsMkIF9/02emNS7uKAijJxQJykZ6DC2l4ECigp110KH3 0Q== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2mt0ttx73x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 03 Oct 2018 19:16:13 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w93JGCSO029649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Oct 2018 19:16:12 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w93JG9VE003189; Wed, 3 Oct 2018 19:16:09 GMT Received: from oracle.com (/23.233.26.138) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Oct 2018 19:16:08 +0000 Date: Wed, 3 Oct 2018 15:16:01 -0400 From: "Liam R. Howlett" To: Sasha Levin Cc: dhaval.giani@gmail.com, Sasha Levin , "linux-kernel@vger.kernel.org List" , Greg KH , alice.ferrazzi@gmail.com, khilman@baylibre.com, tbird20d@gmail.com, Dmitry Vyukov , labbott@redhat.com, Steven Rostedt , gustavo.padovan@collabora.co.uk, dan.carpenter@Oracle.com, willy@infradead.org, knut.omang@Oracle.com, "Liam R. Howlett" Subject: Re: [Announce] LPC 2018: Testing and Fuzzing Microconference Message-ID: <20181003191600.ocbplbxdtikltavo@oracle.com> Mail-Followup-To: Sasha Levin , dhaval.giani@gmail.com, Sasha Levin , "linux-kernel@vger.kernel.org List" , Greg KH , alice.ferrazzi@gmail.com, khilman@baylibre.com, tbird20d@gmail.com, Dmitry Vyukov , labbott@redhat.com, Steven Rostedt , gustavo.padovan@collabora.co.uk, dan.carpenter@oracle.com, willy@infradead.org, knut.omang@oracle.com References: <20181002202256.vchh4j5k2wfjqdry@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9035 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810030176 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Sasha Levin [181002 17:03]: > On Tue, Oct 2, 2018 at 4:44 PM Liam R. Howlett wrote: > > > > * Dhaval Giani [180919 13:15]: > > > Hi folks, > > > > > > Sasha and I are pleased to announce the Testing and Fuzzing track at > > > LPC [ 1 ]. We are planning to continue the discussions from last > > > year's microconference [2]. Many discussions from the Automated > > > Testing Summit [3] will also continue, and a final agenda will come up > > > only soon after that. > > > > > > Suggested Topics > > > > > > - Syzbot/syzkaller > > > - ATS > > > - Distro/stable testing > > > - kernelci > > > - kernelci auto bisection > > > - Unit testing framework > > > > > > We look forward to other interesting topics for this microconference > > > as a reply to this email. > > > > > > Thanks! > > > Dhaval and Sasha > > > > > > [1] https://blog.linuxplumbersconf.org/2018/testing-and-fuzzing-mc/ > > > [2] https://lwn.net/Articles/735034/ > > > [3] https://elinux.org/Automated_Testing_Summit > > > > > > Hello, > > > > I have a new way to analyze binaries to detect specific calls without > > the need for source. I would like to discuss Machine Code Trace > > (MCTrace) at the Testing and Fuzzing LPC track. MCTrace intercepts the > > application prior to execution and does not rely on a specific user > > input. It then decodes the machine instructions to follow all control > > flows to their natural conclusions. This includes control flows that go > > beyond the boundaries of the static executable code into shared > > libraries. This new technique avoids false positives which could be > > produced by static analysis and includes paths that could be missed by > > dynamic tracing. This type of analysis could be useful in both testing > > and fuzzing by providing a call graph to a given function. > > > > MCTrace was initially designed to help generate the seccomp() filter > > list, which is a whitelist/blacklist of system calls for a specific > > application. Seccomp filters easily become outdated when the application > > or shared library is updated. This can cause failures or security > > issues [ 1 ]. Other potential uses including examining binary blobs, > > vulnerability analysis, and debugging. > > Hi Liam, > > Is MCTrace available anywhere? Hello Sasha, I missed this email as I was not CC'ed. MCTrace is currently a proof-of-concept and the source is not available. There are a number of instructions that need additional work, but I have some test applications that can be analyzed. I'd like to explain the concept, why it is useful, and debate other potential uses. Thank you, Liam