Looking For Anything Specific?

ads header

Computer System Security Quiz 5 Answers



 Programming for Noobs

CSS Quiz 5 Answers


Disclaimer-

This article only attempts to discover some questions that can be generated in CSS for Engineering with the answer to all these questions. There can be some errors to these answers. If you find any error then please do write to us.


Q1.  Chroot jail is used to _______ process and its children by ________ to the supplied directory name.

1.isolate, changing the root directory

2.change, the name

3.execute, renaming it

4.All of the above 

Reason: A chroot jail is a way to isolate a process and its children from the rest of the system. It should only be used for processes that don't run as root, as root users can break out of the jail very easily.

Programming for Noobs




Programming for Noobs

Q2. Talking about FreeBSD jail, which of the following is true?

1.It can only bind to sockets with specified IP address and authorized ports

2.It can communicate with processes inside and outside of jail

3.Root is limited (example: cannot load kernel modules)

4.None of the above

Reason: The jail mechanism is an implementation of FreeBSD's OS-level virtualization that allows ... Since nothing has actually been modified outside of the jail, "changes" can be discarded by deleting the jail's copy of the directory tree.

Programming for Noobs



Programming for Noobs

Q3. Which of the following uses a call back mechanism in the kernel module to redirect system calls?

1.systrace

2.ptrace

3.ostia

4.NetBSD

Reason:  the kernel module to redirect system calls. When a sensitive system call reaches the kernel entry point, it calls back into the handler in a special emulation library in the program’s address space. The emulation library transforms the system call into a request to the agent. To speed up subsequent system calls from the same point in the code, the handler also examines the machine instructions that made the call and, if they take the expected form, patches them inplace to jump directly to the handler, avoiding subsequent round trips through the kernel.



Programming for Noobs

Q4.  Which of the following is a computer security utility which limits an application's access to the system by enforcing access policies for system calls?

1.systrace

2.NetBSD

3.ptrace

4.None of the above

Reason:  Systrace is a computer security utility which limits an application's access to the system by enforcing access policies for system calls. This can mitigate the effects of buffer overflows and other security vulnerabilities. It was developed by Niels Provos and runs on various Unix-like operating systems.

Programming for Noobs



Programming for Noobs

Q5. Which of the following uses a call back mechanism in the kernel module to redirect system calls?

1.systrace

2.ptrace

3.ostia

4.NetBSD

Reason:  ptrace is a system call found in Unix and several Unix-like operating systems. By using ptrace (the name is an abbreviation of "process trace") one process can control another, enabling the controller to inspect and manipulate the internal state of its target.

Programming for Noobs

Please subscribe to our channel 






Post a Comment

0 Comments