1
#DESC Crack - Password cracking application
3
# Author: Russell Coker <russell@coker.com.au>
4
# X-Debian-Packages: crack
7
#################################
9
# Rules for the crack_t domain.
11
# crack_exec_t is the type of the crack executable.
15
system_crond_entry(crack_exec_t, crack_t)
19
allow crack_t urandom_device_t:chr_file read;
21
type crack_db_t, file_type, sysadmfile, usercanread;
22
allow crack_t var_t:dir search;
23
rw_dir_create_file(crack_t, crack_db_t)
25
allow crack_t device_t:dir search;
26
allow crack_t devtty_t:chr_file rw_file_perms;
27
allow crack_t self:fifo_file { read write getattr };
32
allow crack_t usr_t:file { getattr read };
34
can_exec(crack_t, bin_t)
35
allow crack_t { bin_t sbin_t }:dir search;
37
allow crack_t self:process { fork signal_perms };
39
allow crack_t proc_t:dir { read search };
40
allow crack_t proc_t:file { read getattr };
43
allow crack_t { etc_t etc_runtime_t }:file { getattr read };
44
allow crack_t etc_t:dir r_dir_perms;
46
allow crack_t fs_t:filesystem getattr;
48
dontaudit crack_t sysadm_home_dir_t:dir { getattr search };