seinfoflow(1) | SETools: SELinux Policy Analysis Tools | seinfoflow(1) |
seinfoflow - Information flow analysis for SELinux policies
seinfoflow [OPTIONS] -m MAP -s SOURCE [-t TARGET (-S|-A LIMIT)] [EXCLUDE [EXCLUDE ...]]
seinfoflow is a command line tool that allows the user to perform information flow analyses on an SELinux policy.
A single file containing a binary policy. This file is usually named by version on Linux systems, for example, policy.30. This file is usually named sepolicy on Android systems. If no policy file is provided, seinfoflow will search for the policy running on the current system. If no policy can be found, seinfoflow will print an error message and exit.
A file containing mappings of object permissions for object classes. These mappings are the basis on how to compute the infoflow between types. On Debian a standard permission map can be found when the package python3-sepolgen is installed at /var/lib/sepolgen/perm_map.
seinfoflow uses graph algorithms to analyze the information flow paths of an SELinux policy. The following algorithms are options for determining paths from a source type to a target type.
Show the shortest paths for process running as httpd_t to access user home files, using the default permission map: # seinfoflow -s httpd_t -t user_home_t -S List all data paths shorter than 3 steps from smbd_t to httpd_log_t, when samba_enable_home_dirs and samba_create_home_dirs booleans are enabled # seinfoflow -s smbd_t -t user_home_t -A 3 -b "samba_enable_home_dirs:true,samba_create_home_dirs:true"
Chris PeBenito <pebenito@ieee.org>
Please report bugs via the SETools bug tracker, https://github.com/SELinuxProject/setools/issues
apol(1), sediff(1), sedta(1), seinfo(1), sesearch(1)
2016-02-20 | SELinux Project |