<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Hardened Gentoo]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=35335&amp;type=atom" />
	<updated>2014-06-27T11:22:42Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=35335</id>
		<entry>
			<title type="html"><![CDATA[Re: Hardened Gentoo]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=414363#p414363" />
			<content type="html"><![CDATA[<p>Поиграйся с флагами для бинарника плазмы<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"> # paxctl<br />PaX control v0.7<br />Copyright 2004,2005,2006,2007,2009,2010,2011,2012 PaX Team &lt;pageexec@freemail.hu&gt;</p><p>usage: paxctl &lt;options&gt; &lt;files&gt;</p><p>options:<br />&nbsp; &nbsp; &nbsp; &nbsp; -p: disable PAGEEXEC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -P: enable PAGEEXEC<br />&nbsp; &nbsp; &nbsp; &nbsp; -e: disable EMUTRAMP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -E: enable EMUTRAMP<br />&nbsp; &nbsp; &nbsp; &nbsp; -m: disable MPROTECT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -M: enable MPROTECT<br />&nbsp; &nbsp; &nbsp; &nbsp; -r: disable RANDMMAP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -R: enable RANDMMAP<br />&nbsp; &nbsp; &nbsp; &nbsp; -x: disable RANDEXEC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -X: enable RANDEXEC<br />&nbsp; &nbsp; &nbsp; &nbsp; -s: disable SEGMEXEC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -S: enable SEGMEXEC</p><p>&nbsp; &nbsp; &nbsp; &nbsp; -v: view flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -z: restore default flags<br />&nbsp; &nbsp; &nbsp; &nbsp; -q: suppress error messages&nbsp; &nbsp; &nbsp;-Q: report flags in short format<br />&nbsp; &nbsp; &nbsp; &nbsp; -c: convert PT_GNU_STACK into PT_PAX_FLAGS (see manpage!)<br />&nbsp; &nbsp; &nbsp; &nbsp; -C: create PT_PAX_FLAGS (see manpage!)<br /></div></p>]]></content>
			<author>
				<name><![CDATA[Macumazan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=952</uri>
			</author>
			<updated>2014-06-27T11:22:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=414363#p414363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardened Gentoo]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=414293#p414293" />
			<content type="html"><![CDATA[<p>Собрал hardened-sources (добавил genpatches), пересобрал gcc, glibc, binutils. plasma-desktop вылетает с сегфолтом при входе в кеды.</p>]]></content>
			<author>
				<name><![CDATA[fragment]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22441</uri>
			</author>
			<updated>2014-06-26T15:11:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=414293#p414293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hardened Gentoo]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=414274#p414274" />
			<content type="html"><![CDATA[<p>Обычная система:</p><div class="codebox"><pre><code># paxtest blackhat
PaXtest - Copyright(c) 2003,2004 by Peter Busser &lt;peter@adamantix.org&gt;
Released under the GNU Public Licence version 2 or later

Writing output to paxtest.log
It may take a while for the tests to complete
Test results:
PaXtest - Copyright(c) 2003,2004 by Peter Busser &lt;peter@adamantix.org&gt;
Released under the GNU Public Licence version 2 or later

Mode: blackhat
Linux locus 3.15.0-gentoo-r1 #1 SMP PREEMPT Sun Jun 15 16:07:09 GMT 2014 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

Executable anonymous mapping             : Killed
Executable bss                           : Killed
Executable data                          : Killed
Executable heap                          : Killed
Executable stack                         : Killed
Executable shared library bss            : Killed
Executable shared library data           : Killed
Executable anonymous mapping (mprotect)  : Vulnerable
Executable bss (mprotect)                : Vulnerable
Executable data (mprotect)               : Vulnerable
Executable heap (mprotect)               : Vulnerable
Executable stack (mprotect)              : Vulnerable
Executable shared library bss (mprotect) : Vulnerable
Executable shared library data (mprotect): Vulnerable
Writable text segments                   : Vulnerable
Anonymous mapping randomisation test     : 28 bits (guessed)
Heap randomisation test (ET_EXEC)        : 14 bits (guessed)
Heap randomisation test (PIE)            : 28 bits (guessed)
Main executable randomisation (ET_EXEC)  : 28 bits (guessed)
Main executable randomisation (PIE)      : 28 bits (guessed)
Shared library randomisation test        : 28 bits (guessed)
Stack randomisation test (SEGMEXEC)      : 28 bits (guessed)
Stack randomisation test (PAGEEXEC)      : 28 bits (guessed)
Return to function (strcpy)              : paxtest: return address contains a NULL byte.
Return to function (memcpy)              : Killed
Return to function (strcpy, PIE)         : paxtest: return address contains a NULL byte.
Return to function (memcpy, PIE)         : Killed</code></pre></div>]]></content>
			<author>
				<name><![CDATA[fragment]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22441</uri>
			</author>
			<updated>2014-06-26T13:04:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=414274#p414274</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Hardened Gentoo]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=414272#p414272" />
			<content type="html"><![CDATA[<p>По сути, Hardened Gentoo - это ядро с патчами, флаги сборки пакетов и настройки. Я подумал, что необязательно пересобирать всю систему, для домашней системы достаточно использовать модифицированное ядро с некоторыми настройками, а также пересобрать системное окружение + самые дырявые и потенциально опасные программы типа веб-браузера и торрент-клиента. </p><p>Насколько такой подход оправдан, будет ли реальное повышение уровня безопасности, или это самообман, и в hardened должна быть превращена вся система?</p>]]></content>
			<author>
				<name><![CDATA[fragment]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22441</uri>
			</author>
			<updated>2014-06-26T13:03:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=414272#p414272</id>
		</entry>
</feed>
