MITRE D3FENDdefensive technique

D3-SCF System Call Filtering

Official page ↗
Tactic
Isolate
Synonyms
System Call Control

Definition

Controlling access to local computer system resources with kernel-level capabilities.

How it works

How it works System call filtering uses a mandatory access control paradigm (that is, a non-discretionary access control) system because the rules and polices that determine access is determined by a security control authority and not distributed to local users. Access determinations are based on designed access control polices and are not based on local resource owner determinations. Access is typically granted by defining sets of subjects and sets of objects. Subjects are the entities requesting access and objects are the resources that subjects are trying to access. Rules and policies are defined that associate subjects and object permissions and access controls. Common implementations Security label access control A fine-grained form control is to apply security labels to individual resources, including processes, and the access control decisions are against a particular resource and a given user attempting to gain access. This type of control requires that the file system has built-in support for security labels. Access controls are typically implemented through the use of label identifiers for every file system object. Identifier labels are applied to resources and users are assigned a similar access identifier. Users attempting to access a resource will result in the operating system performing an access control check. The access control check will compare the assigned user's credentials to that of the resource or object they are attempting to access. A security context is associated with resources and is used to determine assess. Typical basic access control elements include users, roles and types and together they form a security context which is the basis for the security labels. This type of access control is what is employed in SELinux [2]. This form of security kernel access control is considered the most flexible implementation, but it also is the most complex to deploy across the enterprise. Where multiple virtual machines (VM) are run together this type of access control is typically employed to ensure true isolation of processes and VMs. File path level controls A less fine-grained form of mandatory access control is to apply security labels that allow for access control at the file path level. Access control is filesystem agnostic and no relabeling of resources is required. Pathname access control usually seems more natural for implementation and corresponding access audits. This type of system call filtering is what is employed in AppArmor [3]. AppArmor was developed to provide a simpler alternative method with much less management overhead. A simple access policy is maintained that defines path resource access rules. Access control attributes are typically associated with programs instead of users. Considerations Some implementations of security label-based control contain complex rules set that are hard to verify and complex to maintain over time. Initial planning of access model and continuous monitoring of the available users, resources and object is necessary. Implementations • Linux C-Groups, and policy engines like SELinux and AppArmor • Windows Mandatory Integrity Control introduced in Windows Vista Citations 1. SELinux 2. AppArmor

Related

Counters · MITRE ATT&CK (77)

  • T0895 Autorun Image technique
  • T0894 System Binary Proxy Execution technique
  • T1621 Multi-Factor Authentication Request Generation technique
  • T1218.013 Mavinject sub-technique
  • T0821 Modify Controller Tasking technique
  • T0834 Native API technique
  • T0888 Remote System Information Discovery technique
  • T0806 Brute Force I/O technique
  • T0813 Denial of Control technique
  • T0814 Denial of Service technique
  • T0819 Exploit Public-Facing Application technique
  • T0823 Graphical User Interface technique
  • T0846 Remote System Discovery technique
  • T0852 Screen Capture technique
  • T0863 User Execution technique
  • T0878 Alarm Suppression technique
  • T1074.001 Local Data Staging sub-technique
  • T1497.003 Time Based Checks sub-technique
  • T1003.004 LSA Secrets sub-technique
  • T1518.001 Security Software Discovery sub-technique
  • T1134.004 Parent PID Spoofing sub-technique
  • T1555.003 Credentials from Web Browsers sub-technique
  • T1003.001 LSASS Memory sub-technique
  • T1003.002 Security Account Manager sub-technique
  • T1555 Credentials from Password Stores technique
  • T1556 Modify Authentication Process technique
  • T1036.005 Match Legitimate Resource Name or Location sub-technique
  • T1548 Abuse Elevation Control Mechanism technique
  • T1548.002 Bypass User Account Control sub-technique
  • T1548.004 Elevated Execution with Prompt sub-technique
Show all 77 ›

Child of · MITRE D3FEND (1)

  • D3-AMED Access Mediation defensive technique

Referenced by MITRE D3FEND · child of (1)

  • D3-LFAM Local File Access Mediation defensive technique

References