Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224760

why is text address constant with full randomization?

From 慕冬亮 <mudongliangabcd@gmail.com>
Newsgroups linux.kernel
Subject why is text address constant with full randomization?
Date 2015-09-15 10:40 +0200
Message-ID <q8TWq-7VB-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


First, my linux kernel is Linux 114-212-83-136 4.1.0-2-amd64.
Second, I copy /bin/cat in system to mycat , and see the address space
layout below.

mdl@114-212-83-136:~$ ./mycat /proc/self/maps
00400000-0040c000 r-xp 00000000 08:03 1046776
 /home/mdl/mycat
0060b000-0060c000 r--p 0000b000 08:03 1046776
 /home/mdl/mycat
0060c000-0060d000 rw-p 0000c000 08:03 1046776
 /home/mdl/mycat
01da7000-01dc8000 rw-p 00000000 00:00 0
 [heap]
......

The starting address of executable image is constant with my aslr
configuration 2 (full randomization).
I think text segment should be inconstant to defeat the attack like
reusing text code!
Is it related to fixing offset2lib attack?
Thanks for any help!
    - mudongliang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

why is text address constant with full randomization? 慕冬亮 <mudongliangabcd@gmail.com> - 2015-09-15 10:40 +0200
  Re: why is text address constant with full randomization? yalin wang <yalin.wang2010@gmail.com> - 2015-09-15 12:00 +0200
    Re: why is text address constant with full randomization? 慕冬亮 <mudongliangabcd@gmail.com> - 2015-09-21 16:40 +0200
      Re: why is text address constant with full randomization? Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-09-21 21:00 +0200

csiph-web