A
A
Alexander2015-06-01 09:10:11
linux
Alexander, 2015-06-01 09:10:11

Preventing program execution in Linux?

It is necessary to write some software for Linux that would monitor the launch of executable files by the user, check these executable files according to some criterion (it doesn’t matter) and either allow their execution or block the launch and notify the user. In this connection, the question arises - how is this implemented in Linux and where to start digging?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2015-06-02
@inkvizitor68sl

You can write so-shku and in LD_PRELOAD it, but it's easy to bypass (well, if you know about it).
It is possible for a kernel module to intercept the exec() call, but this is difficult to implement.

I
Ivan, 2015-06-01
@LiguidCool

By the way, I met a crutch that parsed the output of top and nailed unwanted ones.

M
MrFrizzy, 2015-06-12
@MrFrizzy

apparmor, did not look at selinux profiles?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question