1 |
hi everyone, |
2 |
|
3 |
Has anyone got a clue on how should the proof of concept code behave on |
4 |
vulnerable and not vulnerable machines? |
5 |
|
6 |
On a PaX+grsecurity hardened server, it outputs: |
7 |
|
8 |
[+] ./elfcd1 argv_start=0xb47b23d4 argv_end=0xb47b23dc ESP: 0xb47b1890 |
9 |
[+] phase 1 |
10 |
[+] AAAA argv_start=0xb5e0442e argv_end=0xb5e04432 ESP: 0xb5e03930 |
11 |
[+] phase2, <RET> to crash Killed |
12 |
|
13 |
and doesn't core-dump. Also it doesn't warn about the segmentation violation |
14 |
process in the logs... |
15 |
|
16 |
On my laptop, a test server and 2 other workstations (standard 2.6.11.5-8 |
17 |
kernels) results are consistent but different from the hardened server: |
18 |
pjlv@archon test $ ./elfcd1 |
19 |
|
20 |
[+] ./elfcd1 argv_start=0xbfffeff7 argv_end=0xbfffefff ESP: 0xbfffedb0 |
21 |
[+] phase 1 |
22 |
[+] AAAA argv_start=0xbfff6fee argv_end=0xbfff6ff2 ESP: 0xbfff6e80 |
23 |
[+] phase 2, <RET> to crash Segmentation fault (core dumped) |
24 |
|
25 |
and core-dumps. |
26 |
|
27 |
any help? is the hardened server secure? I suppose so, since it didn't core |
28 |
dump. |
29 |
|
30 |
regards, |
31 |
pedro venda. |
32 |
-- |
33 |
|
34 |
Pedro João Lopes Venda |
35 |
email: pjvenda < at > arrakis.dhis.org |
36 |
http://arrakis.dhis.org |