I'm running a hardened Gentoo Linux installation as a security techie toolbox.
I'm using the hardened toolchain and thus have grsecurity and pax configured.
NeXpose is a network security analyzer which mainly is built on Java. I know
there are issues with Java and grsecurity/pax. However, I've been able to
solve many of those problems just by exluding the JVM using paxctl. I know
its kinda dirty.
The problem is that I cannot manage to exlude NeXpose. I keep getting the
following error messages for you who may have been working with NeXpose:
- Code: Select all
Checking for available jvms
Validating jre in directory _jvm
./.DLLCACHE/nexserv: error while loading shared libraries: ../_jvm/lib/i386/server/libjvm.so: cannot make segment writable for relocation: Permission denied
Using jre at _jvm
./.DLLCACHE/nexserv: error while loading shared libraries: ../_jvm/lib/i386/server/libjvm.so: cannot make segment writable for relocation: Permission denied
Update merging failed: 127
Checking for available jvms
Validating jre in directory _jvm
./.DLLCACHE/nexserv: error while loading shared libraries: ../_jvm/lib/i386/server/libjvm.so: cannot make segment writable for relocation: Permission denied
Using jre at _jvm
./.DLLCACHE/nexserv: error while loading shared libraries: ../_jvm/lib/i386/server/libjvm.so: cannot make segment writable for relocation: Permission denied
NeXpose security console exited with code 127
NeXpose Community ed. from Rapid7 is free to download, so any of you who
feel compelled to try and help, please feel free.
I had huge problems installing the main package which is a self contained
package including its own JRE and stuff. So I extracted the package and tried
to run the .jar file itself using my own JRE which is excluded in pax. But still I
failed once again when the installer wanted to do some DB installation.
Probably some just-in-time-compiling or similar.
Instead I took my own NeXpose installation from my Linux laptop and copied
the raw directory structure and all. But still I run into trouble. I also had to
do some header conversions as well.
I know, things are looking thin...But I do hope someone may be able to assist.
Any ideas?
You could also call me a newbie on the grsecurity/pax area. Maybe I'm missing
something. Any hints?
Best regards
/Thomas