|
2012-03-08
, 07:28
|
Posts: 23 |
Thanked: 11 times |
Joined on Nov 2011
|
#22
|
Hmm...I just realized what the problem probably is.
Try opening a shell using the following (incredibly long) command, then launch the chroot:
opensh -c 'aegis-exec -c -a CAP::chown -a CAP::dac_override -a CAP::dac_read_search -a CAP::fowner -a CAP::fsetid -a CAP::kill -a CAP::setgid -a CAP::setuid -a CAP::setpcap -a CAP::linux_immutable -a CAP::net_bind_service -a CAP::net_broadcast -a CAP::net_admin -a CAP::net_raw -a CAP::ipc_lock -a CAP::ipc_owner -a CAP::sys_module -a CAP::sys_rawio -a CAP::sys_chroot -a CAP::sys_ptrace -a CAP::sys_pacct -a CAP::sys_admin -a CAP::sys_boot -a CAP::sys_nice -a CAP::sys_resource -a CAP::sys_time -a CAP::sys_tty_config -a CAP::mknod -a CAP::lease -a CAP::audit_write -a CAP::audit_control -a CAP::setfcap -a CAP::mac_override -a CAP::mac_admin sh'
|
2012-03-08
, 07:44
|
Posts: 245 |
Thanked: 915 times |
Joined on Feb 2012
|
#23
|
|
2012-03-08
, 07:47
|
Posts: 23 |
Thanked: 11 times |
Joined on Nov 2011
|
#24
|
OK, now do dmesg | tail -50 and post any Aegis error messages you see there.
|
2012-03-08
, 07:50
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#25
|
Since the primary problem is that Aegis blocks the running of all unsigned binaries, and the chroot is all unsigned binaries, you would have to disable Aegis entirely. At which point, it is the same as Open Mode.
The Following User Says Thank You to rainisto For This Useful Post: | ||
|
2012-03-08
, 08:17
|
Posts: 23 |
Thanked: 11 times |
Joined on Nov 2011
|
#26
|
Well that is not true, you don't have to disable aegis entirely by echo 0.
Its enough just to echo 0x25 > /sys/kernel/security/validator/enabled
And then all unsigned binaries run just fine (and it also removes source origin check errors that above post has). Of course you first need to insmod kernel module which removes the seal bit so you can write to that file.
|
2012-03-08
, 08:18
|
Posts: 245 |
Thanked: 915 times |
Joined on Feb 2012
|
#27
|
|
2012-03-08
, 08:28
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#28
|
/bin # echo 0x25 > /sys/kernel/security/validator/enabled
sh: write error: Operation not permitted
|
2012-03-08
, 10:14
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#29
|
Please verify that what you write is true; twoboxen reports that he is experiencing the same problems with Inception that I experienced with javispedro's earlier Aegis hack, that is, all binaries within the chroot receive a "Permission Denied" error unless Aegis is completely disabled.
The Following User Says Thank You to javispedro For This Useful Post: | ||
|
2012-03-08
, 11:34
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#30
|
This is because this is an Aegis crack and not open mode; like with the beta cracks, you will need to insmod unseal.ko .
And you will also need to still request permissions manually and so on for all packages.
Personally, I think this is the wrong approach to take (as explained in the original FMC aegis thread), exploring the real open mode is much more promising and future proof.
The Following 4 Users Say Thank You to rainisto For This Useful Post: | ||
Try opening a shell using the following (incredibly long) command, then launch the chroot:
opensh -c 'aegis-exec -c -a CAP::chown -a CAP::dac_override -a CAP::dac_read_search -a CAP::fowner -a CAP::fsetid -a CAP::kill -a CAP::setgid -a CAP::setuid -a CAP::setpcap -a CAP::linux_immutable -a CAP::net_bind_service -a CAP::net_broadcast -a CAP::net_admin -a CAP::net_raw -a CAP::ipc_lock -a CAP::ipc_owner -a CAP::sys_module -a CAP::sys_rawio -a CAP::sys_chroot -a CAP::sys_ptrace -a CAP::sys_pacct -a CAP::sys_admin -a CAP::sys_boot -a CAP::sys_nice -a CAP::sys_resource -a CAP::sys_time -a CAP::sys_tty_config -a CAP::mknod -a CAP::lease -a CAP::audit_write -a CAP::audit_control -a CAP::setfcap -a CAP::mac_override -a CAP::mac_admin sh'
Calendarrr | ad-hac | sparsify | aegisctl
MilkyTracker | Mosh
Firmware Flashing Guide