veriexecctl(8) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
VERIEXECCTL(8)          NetBSD System Manager's Manual          VERIEXECCTL(8)


NAME
veriexecctl -- load or report veriexec fingerprints
SYNOPSIS
veriexecctl load signatures
DESCRIPTION
The veriexecctl command is used to manipulate the Veriexec feature. Ver- iexec must have been configured into the booted kernel for this commaned to work.
COMMANDS
load signatures Load the fingerprint entries contained in signatures into the in kernel tables. This operation is only available if kern.ver- iexec.strict is zero. Once loaded the kernel can then validate executed programs or files against the loaded fingerprints and report when fingerprints do not match.
SIGNATURES
The signatures file contains lines of fields (separated by one or more whitespace characters) of the form: path type fingerprint options Where path is the full path to the file and type is the type of finger- print used, see above for the default list. Other fingerprints may be available depending on kernel configuration. The fingerprint field is a hexadecimal representation of the fingerprint for the file. The field options contains the associated options for the file. Currently there are seven valid options: DIRECT Allow direct execution only. INDIRECT If this option is set then the executable cannot be invoked directly, it can only be used as an interpreter in shell scripts. FILE Indicates that the fingerprint is associated with a file, not an executable. Files have their fingerprints verified during open(2) and are automatically made read only. This option may be used to verify shared libraries have not been tampered with. PROGRAM An alias for DIRECT, allow direct execution only. INTERPRETER An alias for INDIRECT, the executable may only be used as an interpreter for shell scripts. SCRIPT The file is a shell script. For correct operation of ver- iexec, a script must have both FILE and DIRECT attributes set. This option is a shorthand way of setting the options for correct operation of shell scripts. LIBRARY The file is a library, this option is an alias of the FILE option. There must be only one executable/fingerprint pair per line. Comments are indicated by the first character of a line being a `#' character. Multiple options can be combined using a `,' character. If no options are specified, both direct and indirect execution are implied.
FILES
/dev/veriexec veriexec device node /etc/signatures default signatures file
SEE ALSO
veriexec(4), /usr/share/examples/veriexecctl/gen_md5, /usr/share/examples/veriexecctl/gen_rmd160, /usr/share/examples/veriexecctl/gen_sha1
HISTORY
veriexecctl first appeared in NetBSD 2.0.
NOTES
veriexecctl requires the kernel to have been configured with the VERIFIED_EXEC option and the veriexec pseudo-device.
BUGS
There must be no whitespace in the path field of a fingerprint entry. NetBSD 3.0.1 August 6, 2005 NetBSD 3.0.1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.