2.1 - Authentication & Access

Authentication with Applications

  • SAML (Security Assertion Markup Language)

    • An open standard for authentication.

    • Allows applications to use different authentication sources for access.

    • While effective for web-based applications, it is not designed for mobile apps.

SAML Authentication Flow

  • Involved Devices:

    • Client Machine:

    • Typically, the user's laptop or device running a browser.

    • Initiates the access request.

    • Resource Server: The server that the client wishes to access, requiring authentication.

    • Authorization Server:

    • Validates the user's credentials and issues a SAML token.

  • Authentication Process:

    1. The client accesses a URL on the resource server.

    2. The resource server responds with a signed and encrypted SAML request.

    3. The SAML request contains a redirection to the authorization server.

    4. The client is presented with a login page to submit authentication credentials.

    5. If the credentials match, the authorization server generates a SAML token and sends it to the client.

    6. The client presents the SAML token to the resource server.

    7. The resource server verifies the SAML token, granting access to the application.

  • Single Sign-On (SSO):

    • Facilitates access to multiple resources without repeated username and password entry.

    • Typically times out after approximately 24 hours, requiring re-authentication.

Important Considerations for Authentication

  • Not all authentication protocols support SSO.

  • The use of SSO enhances user experience by streamlining access for multiple resources.

Best Practices for Account Management

  • Administrator Account Usage:

    • Best practice: Avoid using administrator accounts on regular systems.

    • Although necessary, common IT staff may have administrative access.

    • Use of standard user accounts for administrative functions poses risks; if compromised, attackers gain full access.

Just-in-Time Access

  • Definition:

    • Grants users administrative access for a limited time.

    • Ensures necessary tasks can be completed without leaving accounts vulnerable.

  • Implementation:

    1. Users request temporary administrative access through a central clearinghouse.

    2. Additional authentication may be required for the request.

    3. Actual administrator accounts are stored in a password vault to maintain security.

    4. Just-in-time access provides time-limited credentials instead of full administrator access.

  • Benefits:

    • If an attacker gains a user’s account, they cannot access the administrator rights due to time restrictions.

    • Enhances security by ensuring original credentials remain protected.

Privileged Access Management (PAM)

  • Definition:

    • The practice of managing Super User accounts with elevated privileges.

  • Components of PAM:

    • Centralized management of privileged accounts.

    • Secure access controls with automated features for auditing and tracking.

Mobile Device Management (MDM)

  • Definition:

    • System for centralized management of mobile devices used within an organization.

  • Management Features:

    • Covers company-owned devices and BYOD (Bring Your Own Device) instances.

    • Security policies can be defined, including:

    • Lock screens requirements

    • Application management

    • Allows partitioning of corporate and personal data on devices.

    • Can delete corporate data while retaining personal data when a user leaves.

Data Loss Prevention (DLP)

  • Definition:

    • Strategy to prevent sensitive information from leaving an organization.

  • Management Scope:

    • Handles sensitive data types such as Social Security numbers, credit cards, and medical records.

    • Policies govern the transfer of sensitive information across systems.

  • DLP Types:

    • Endpoint clients

    • Cloud-based protections

    • Integration into email servers and firewalls for comprehensive coverage.

Identity and Access Management (IAM)

  • Purpose:

    • Manage the lifecycle of digital identities for every individual and device in an organization.

  • Functionality:

    • Digital identities allow for controlled access based on designated permissions.

    • Provides both authentication and authorization services.

    • Supports strong login processes, including multi-factor authentication and tracking access for auditing purposes, ensuring compliance with regulations.

Directory Services

  • Definition:

    • A centralized repository of information for managing various computing systems and resources, often implemented through technologies like Active Directory in Windows environments.

  • Capabilities:

    • Secure storage of usernames and passwords for system access.

    • Centralized management of user rights and permissions for all network resources, including file shares and printers.

    • Integral to help desk operations for tasks like password resets.