Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am trying to analyze an open source auditing tool to determine if it makes unn

ID: 656255 • Letter: I

Question

I am trying to analyze an open source auditing tool to determine if it makes unnecessary and potentially harmful changes to the system. I am interested in determining if the script calls any binaries or writes to any files other than its own log file. I have analyzed the strace output for exec and write syscalls but am concerned it may not include information about child processes or that it may miss potentially malicious changes to the system. If anyone could suggest other methodologies I would be grateful.
How do you determine if an open source script contains malicious code?

Explanation / Answer

Based on the rather generic requirements, I must say that there really are oh so very many ways to do malicious stuff, and even more ways to hide or obscure those activities.
For example, perhaps it only gets triggered after 3 months of use?

On the other hand - if this is open source, I would suggest auditing the code.
You can definitively verify anything and everything the code does, even under a very specific set of circumstances. Code coverage, and all that...

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote