Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp154688imd; Wed, 31 Oct 2018 16:25:10 -0700 (PDT) X-Google-Smtp-Source: AJdET5djLNwzn66R8AcsEWzq+IUKC8zReX39cB0TwA2XA7rfBbopVgUfCg9yIm+rldsjGRar5TVj X-Received: by 2002:a62:d2c7:: with SMTP id c190-v6mr5349507pfg.26.1541028310534; Wed, 31 Oct 2018 16:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541028310; cv=none; d=google.com; s=arc-20160816; b=sRK7NOdbJUWDUe5rY6T6QuOndjZ7R3a7x8Pboo/VVZ9aAckfxv8HohDM1dLxlr8L7+ ZkxnBQBcMgv9K612p4JXtj2CPVt4aru4vpj4ZaDTNpTiL5xFawnD+GHUFOPVJmaRdR/Z m7iCh4BQpPxHuv4GkoaGmhfjuL+PaWbTm30leWDYRuqEM04YijXspsf3rrSmX1w74VMi lBJKhEYznTnpNPA865qDRyDLo8IoOdoRjh6EMMxrlG4/NUU8cqFGI/TtxReap5EsdLbQ 1PVvPWLYDRFVtc1FYe2QXIflM2M0zv8by/RU1ho8WhGlKviMcbRI8DVfOGVQt/3IlV6N +zOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BSzvgMVc55+sIXPtttI9yd+ASVRS/m3e1H7wnXhXWFs=; b=0Y5yOgpK5GwwK1qzNeuf6pF9CJJqwGboF+3SWfnpWKdWV6+iR2fE8AM65FtUk3taCx /S9Ei3C961a4J13jKcJpGVr/6/jpjsRoma4lmQ8/kGbnVdNIedyLvkVWYBe8pfClwjcW kzSwcoIp0w4ugWCf5LozfloAVTcBadPfz5l/UqwtzAvD0aRQtdj4yMInqG45WkhvY3db VUIpm/9FG8yVkMvYqAo0uJenXRBj9Q9zXkZR+vNMq83zhVhiPXSGwUEBZLQIiakJVocB wsTdMcC7kPyOI0NhBOTRPvnP3wfVZWKF6k/XBA+XPpGQS0S0iKDdxXLBQ1gHn7cWRkgf jWsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lnsFKMZ7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l68-v6si28016017pfl.268.2018.10.31.16.24.56; Wed, 31 Oct 2018 16:25:10 -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=@gmail.com header.s=20161025 header.b=lnsFKMZ7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731682AbeKAIWt (ORCPT + 99 others); Thu, 1 Nov 2018 04:22:49 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:54761 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731339AbeKAIWt (ORCPT ); Thu, 1 Nov 2018 04:22:49 -0400 Received: by mail-it1-f194.google.com with SMTP id d6so15257143itl.4; Wed, 31 Oct 2018 16:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BSzvgMVc55+sIXPtttI9yd+ASVRS/m3e1H7wnXhXWFs=; b=lnsFKMZ7KfCvSl+6w9MNSBUB3EqSfJbQClloE/Lrmqvao1NmPNkyS4bXZI55nlp2pN C4yJvtxgFRRkPIAtwiZp7mFUwbf238rnDWjrYH20Zdq0XDaoByr3uz3NRk0ytOaEfNhG O0rnD34tpYMETKU+nntqBnyw23znVFXCkaZy5g4v6lwu27IB/ZPZg1brT6Tb7MqetPf6 CVjgZoDMrJTo86j4Mm8xgCXNCkIBgyrugF5mYnn3nHMN4wWD2DotNU1LXKZtzMkwVTVb oMSv4y3LObyHLS9N3D7DM06gYVXII47zoUFfZBYqt+ujnIzKDkJoEbD5ai5zvsrRETrQ KIJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BSzvgMVc55+sIXPtttI9yd+ASVRS/m3e1H7wnXhXWFs=; b=QppCIUE3dD4RGpfdoZ+7HjrpVZ2b0CwjcWmu7zQOzhTqL0Jt5Pl+mb4fooZJ7y9UhQ bUJojPwmc2sc3uuKv0Ib8Ci7izlaJO1LrudijFpU7buslJYgqwh8t8iUqgrD3TU7H7H4 2d0oWy9aIsu+6xzeDO7Io+fKdcQ/r8wLUThNlIFQYFb3QGSy63zwljqtIfZhD/G7fLar uY+wHOZguLIMCgzy3EseZ3xFuLE5TdVn9tv5apFPY97EHQZYQXtlsOLnvyHmYryGoGLF jeZLmtW6ATnYrZ8ETp1lZMBuNfXsDIPD0BE6qGG58W1AQ8izriPExlX81YqnpAppIXm8 mpCA== X-Gm-Message-State: AGRZ1gLj9jF/aC+LMKPxbPY/kV+yqmb8uMAhffGuwMiKNflOOZNbm5xi qYw3jW/Qhm8fuH5T50O3pGijBpOtW2DNeqZVs+k= X-Received: by 2002:a02:3849:: with SMTP id v9-v6mr3841121jae.15.1541028152334; Wed, 31 Oct 2018 16:22:32 -0700 (PDT) MIME-Version: 1.0 References: <20181026151223.16810-1-ahmedsoliman0x666@gmail.com> <1b3eb10e-c492-dc77-cbe6-3a3e692326d7@gmail.com> In-Reply-To: <1b3eb10e-c492-dc77-cbe6-3a3e692326d7@gmail.com> From: Ahmed Soliman Date: Thu, 1 Nov 2018 01:21:00 +0200 Message-ID: Subject: Re: [PATCH V5 0/5] KVM: X86: Introducing ROE Protection Kernel Hardening To: Igor Stoppa Cc: Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , nathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?B?6rmA7J246rK4?= , Kernel Hardening , nigel.edwards@hpe.com, Boris Lukashev , Hossam Hassan <7ossam9063@gmail.com>, Ahmed Lotfy , Mohamed Azab Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Igor, > This is very interesting, because it seems a very good match to the work > I'm doing, for supporting the creation of more targets for protection: > > https://www.openwall.com/lists/kernel-hardening/2018/10/23/3 > > In my case the protection would extend also to write-rate type of data. > There is an open problem of identifying legitimate write-rare > operations, however it should be possible to provide at least a certain > degree of confidence. I have checked your patch set. In our work we were originally planning to do something similar to write_rare just so we can differentiate between memory chunks that may be modified and those that will be set once and never modify. I see you are planning to do a white paper too, actually we are doing an academic paper based on our work. If you would like to collaborate, so that ROE and write_rare would integrate well from the beginning, we will be glad to do so. Thanks, -- Ahmed Junior Researcher , IoT and Cyber Security lab, SmartCI , Alexandria University, & CIS @ VMI