From owner-freebsd-security@freebsd.org Sat Apr 28 15:53:17 2018 Return-Path: Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D9AAFB2EE6 for ; Sat, 28 Apr 2018 15:53:17 +0000 (UTC) (envelope-from yonas@fizk.net) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE5537DB02 for ; Sat, 28 Apr 2018 15:53:16 +0000 (UTC) (envelope-from yonas@fizk.net) Received: by mail-io0-x233.google.com with SMTP id r22-v6so5804868ioc.12 for ; Sat, 28 Apr 2018 08:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fizk.net; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=FOHZxqm8JEA29OhAw2j14F1Mugm8J85eLWxQIc/gDzU=; b=H+XnMKs07qs9HqC2LkxvncUzRM+m4PZ74hb57N2LLABtwfZH0yaBk7vNKOMSOTJdVO iCBzDIZ7at6rOIOXcqiMEpZMZDJGzDP8OgKkqoAGRSIq0shofaVu+ojwtoPrDNw6sdNR ZCD76sZ8sH+EOsAiX2fpDLw2zX5RmFgSrDRtc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=FOHZxqm8JEA29OhAw2j14F1Mugm8J85eLWxQIc/gDzU=; b=KtbSB9UFgxgMpyIMBoCmhVtPvDrtMEmn2ng26XTIOJ25d8g4X4fw71S86ehT8C2Wfm 9B+FR+8DVTMGW5XlK+yVLVdJ8BRAv3l8FBgw1C2Ft3AHU1t+hgSdlCvoZsggoi0bjvZV +Qoy9Cf8XqzclBxtE9hBNKYZ7onnXS23ReW0dhCMP3ARsTF+WLlV3fpBd9AIzPiwGU2f hyirN1PPoCa3s/T0TU6/Hr3UvGiUcQlNwVKSYjJT2b4Yp5U7FvmibY3kFB+kL/B+8PhM yrTxNkFIL/hBybVTu8iOBH6BL1wKDErsx88ZgwlUmqlKDBiy0dt3mpa418+MhmU23NOz 99Zw== X-Gm-Message-State: ALQs6tAPdcc2x91feOzkisEjbefQao8iwfzLx4mY6B0NpBFSVWDqtX3d CpD0XIjWQrGj05Sn4vuJf0DaPg== X-Google-Smtp-Source: AB8JxZpGbwsFUaLaQ8p4poAu6Ps6fSbh3zUgGpdYUpcuGsGoWVEY6ZvcGxvWWUzWJ3vmtKEVrWXy7Q== X-Received: by 2002:a6b:81a1:: with SMTP id l33-v6mr6563619ioi.295.1524930796085; Sat, 28 Apr 2018 08:53:16 -0700 (PDT) Received: from [192.168.0.200] (CPEf0f2494a5cf3-CMf0f2494a5cf0.cpe.net.cable.rogers.com. [99.243.5.210]) by smtp.gmail.com with ESMTPSA id e98-v6sm1656434itd.18.2018.04.28.08.53.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Apr 2018 08:53:15 -0700 (PDT) Subject: Re: Exploit Lecture: Writing FreeBSD Malware To: "Peter G." , grarpamp@gmail.com, freebsd-security@freebsd.org Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org References: From: Yonas Yanfa Message-ID: Date: Sat, 28 Apr 2018 11:52:50 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2018 15:53:17 -0000 Peter, who fucking cares if he wears a hat indoors? That's some old-timey shit! Can you even explain exactly why it's such a "basic human courtesy"? Other than, "Because we've always done it that way........". And to broadcast this for the entire mailing list...WTF MATE?? Welcome to 2018. His head, his rules! #FreeTheHat #HatNazi #NoHatForYou! On 04/28/2018 08:53, Peter G. wrote: > Webb, next time when talking to any audience, remove your fucking hat. > That's basic human courtesy. > -- > PG > > On 28/04/2018 04:39, grarpamp wrote: >> https://www.youtube.com/watch?v=bT_k06Xg-BE >> >> Without exploit mitigations and with an insecure-by-default design, >> writing malware for FreeBSD is a fun task, taking us back to 1999-era >> Linux exploit authorship. Several members of FreeBSD's development >> team have claimed that Capsicum, a capabilities/sandboxing framework, >> prevents exploitation of applications. Our in-depth analysis of the >> topics below will show that in order to be effective, applying >> Capsicum to existing complex codebases lends itself to wrapper-style >> sandboxing. Wrapper-style sandbox is a technique whereby privileged >> operations get wrapped and passed to a segregated process, which >> performs the operation on behalf of the capsicumized process. With a >> new libhijack payload, we will demonstrate that wrapper-style >> sandboxing requires ASLR and CFI for effectiveness. FreeBSD supports >> neither ASLR nor CFI. Tying into the wrapper-style Capsicum defeat, >> we'll talk about advances being made with libhijack, a tool announced >> at Thotcon 0x4. The payload developed in the Capsicum discussion will >> be used with libhijack, thus making it easy to extend. We will also >> learn the Mandatory Access Control (MAC) framework in FreeBSD. The MAC >> framework places hooks into several key places in the kernel. We'll >> learn how to abuse the MAC framework for writing efficient rootkits. >> Attendees of this presentation should walk away with the knowledge to >> skillfully and artfully write offensive code targeting both the >> FreeBSD userland and the kernel. >> >> https://twitter.com/lattera/status/989602709950029824 >> >> Shawn Webb is a cofounder of HardenedBSD, a hardened downstream >> distribution of FreeBSD. With over a decade in infosec, he dabbles in >> both the offensive and defensive aspects of the industry. On the >> advisory board for Emerald Onion, Shawn believes in a more free and >> open Internet. His whole house is wired for Tor. Getting on the Tor >> network is only a network jack away! > _______________________________________________ > freebsd-security@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" -- Yonas Yanfa In Love With Open Source Drupal :: GitHub :: Mozilla fizk.net | yonas@fizk.net