Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
otterley
· 11mo ago · 0 comments
Typical defense against this is to mount all user-writable filesystems as `noexec` but unfortunately most OSes don't do that out of the box.
Comments
[–]
mr_mitm
11mo ago
It could have created a bash alias then. And I don't think a dev wants to be restricted in creating executables. Again, if a dev can do it, so can the malware.
[–]
dividuum
11mo ago
I remember you could trivially circumvent that with „/lib/ld-linux.so <executable>“. Does that no longer work?
[–]
lights0123
11mo ago
noexec now prevents mmaping files on that filesystem as executable.
[–]
LtWorf
11mo ago
Kinda hard to work as a software developer then.