SSH Authorized Key Modification
A subject deliberately adds, replaces, or modifies Secure Shell (SSH) authorized keys or related trust configurations to preserve remote authentication capability in preparation for a subsequent infringement. This may involve altering the public keys trusted by an account or system so that a corresponding private key can be used for future authentication. Modification of SSH trust configurations may enable continued remote access without requiring the subject to know or use the account's password. Depending on the account and system involved, the resulting access may support remote command execution, file transfers, or other activities permitted by the destination environment.
Prevention Strategies (5)
Change Management
Implement a comprehensive organizational change management framework that governs all modifications to infrastructure, systems, applications, configurations, and access policies. Without formal change control, subjects may introduce unauthorized changes that bypass controls, enable persistent access, disrupt availability, or conceal malicious activity under the guise of routine maintenance. Effective change management provides structured oversight that makes all changes attributable, reviewable, and auditable. A mature change management program includes: centralized change request submission, classification by operational risk, dual authorization for sensitive modifications, enforcement of scheduled implementation windows, post-change validation, and configuration state reconciliation. This applies equally to on-premises infrastructure (e.g., network ACLs, hypervisors, firewalls), cloud-native resources (e.g., AWS security groups, Azure NSGs, GCP IAM), DevOps pipelines, and identity/access control systems. Organizations should implement their change processes using industry-aligned ITSM platforms or integrated DevSecOps workflows. Common software platforms include ServiceNow, Jira Service Management, BMC Helix, Freshservice, and integrations with CI/CD pipelines (e.g., GitHub Actions, GitLab CI, Terraform Cloud) that enforce policy-as-code for configuration control.Change Request and ClassificationAll changes must be submitted through a centralized Change Management System (CMS)Requests must include: category (e.g., network, identity, application), scope, justification, risk, and implementation windowChanges must be classified based on business impact (e.g., segmentation, access control, availability) Approval and OversightHigh-impact or trust boundary changes require dual approval (technical and business approver)Separation of duties must be enforced between requestor and approverEmergency changes must be time-bound, documented, and retroactively reviewed Implementation and ValidationChanges must occur within approved maintenance windowsPre-change state (e.g., config snapshots, baselines) must be capturedPost-change verification must confirm success and be documentedAny deviations from approved scope or schedule must be logged and reviewed Auditability and State MonitoringChange records must be immutable, timestamped, and retained according to policyAll changes must be linked to authentication and privileged session recordsConfiguration drift detection must identify unapproved or out-of-band modifications Policy and GovernanceChange management controls must be embedded in formal policyInternal audits must compare CMS records to infrastructure state (at least) quarterlyAdministrators and approvers must receive annual secure change trainingNon-compliant changes must be investigated and result in corrective or disciplinary actions
From the Matrix:
Implement a comprehensive organizational change management framework that governs all modifications to infrastructure, systems, applications, configurations, and access policies. Without formal change...
Enforce File Permissions
File servers and collaboration platforms such as SharePoint, Confluence, and OneDrive should have configured permissions to restrict unauthorized access to directories or specific files.
From the Matrix:
File servers and collaboration platforms such as SharePoint, Confluence, and OneDrive should have configured permissions to restrict unauthorized access to directories or specific files....
Multi-Party Approval Enforcement
Multi-party approval enforcement requires that designated high-risk or sensitive actions undergo validation by two or more independent approvers before execution. This control ensures that no single subject can unilaterally authorize actions that carry elevated operational, financial, or security impact. Sensitive actions should be clearly defined and may include privilege elevation, financial transactions above defined thresholds, production changes, access to restricted data, or policy exceptions. Approval must be enforced at the system level, preventing execution unless all required approvals are obtained. To maintain effectiveness, approvers must be independent of the requesting subject, with separation enforced through role design, reporting lines, or system constraints. Approval chains should not be user-selectable where possible, and must be resistant to manipulation or bypass. This control directly mitigates behaviors associated with oversight degradation by introducing mandatory independent validation, reducing the likelihood that actions can proceed without scrutiny or through unilateral influence.
From the Matrix:
Multi-party approval enforcement requires that designated high-risk or sensitive actions undergo validation by two or more independent approvers before execution. This control ensures that no single s...
Privileged Access Management (PAM)
Privileged Access Management (PAM) is a critical security practice designed to control and monitor access to sensitive systems and data. By managing and securing accounts with elevated privileges, PAM helps reduce the risk of insider threats and unauthorized access to critical infrastructure. Key Prevention Measures:Least Privilege Access: PAM enforces the principle of least privilege by ensuring users only have access to the systems and data necessary for their role, limiting opportunities for misuse.Just-in-Time (JIT) Access: PAM solutions provide temporary, on-demand access to privileged accounts, ensuring users can only access sensitive environments for a defined period, minimizing exposure.Centralized Credential Management: PAM centralizes the management of privileged accounts and credentials, automatically rotating passwords and securely storing sensitive information to prevent unauthorized access.Monitoring and Auditing: PAM solutions continuously monitor and log privileged user activities, providing a detailed audit trail for detecting suspicious behavior and ensuring accountability.Approval Workflows: PAM incorporates approval processes for accessing privileged accounts, ensuring that elevated access is granted only when justified and authorized by relevant stakeholders. Benefits:PAM enhances security by reducing the attack surface, improving compliance with regulatory standards, and enabling greater control over privileged access. It provides robust protection for critical systems by limiting unnecessary exposure to high-level access, facilitating auditing and accountability, and minimizing opportunities for both insider and external threats.
From the Matrix:
Privileged Access Management (PAM) is a critical security practice designed to control and monitor access to sensitive systems and data. By managing and securing accounts with elevated privileges, PAM...
Restrict Access to Administrative Privileges
The Principle of Least Privilege should be enforced, and period reviews of permissions conducted to ensure that accounts have the minimum level of access required to complete duties as per their role.
From the Matrix:
The Principle of Least Privilege should be enforced, and period reviews of permissions conducted to ensure that accounts have the minimum level of access required to complete duties as per their role....
Detection Methods (6)
Agent Capable of Endpoint Detection and Response
An agent capable of Endpoint Detection and Response (EDR) is a software agent installed on organization endpoints (such as laptops and servers) that (at a minimum) records the Operating System, application, and network activity on an endpoint. Typically EDR operates in an agent/server model, where agents automatically send logs to a server, where the server correlates those logs based on a rule set. This rule set is then used to surface potential security-related events, that can then be analyzed. An EDR agent typically also has some form of remote shell capability, where a user of the EDR platform can gain a remote shell session on a target endpoint, for incident response purposes. An EDR agent will typically have the ability to remotely isolate an endpoint, where all network activity is blocked on the target endpoint (other than the network activity required for the EDR platform to operate).
Agent Capable of User Activity Monitoring
An agent capable of User Activity Monitoring (UAM) is a software agent installed on organization endpoints (such as laptops); typically, User Activity Monitoring agents are only deployed on endpoints where a human user Is expected to conduct the activity. The User Activity Monitoring agent will typically record Operating System, application, and network activity occurring on an endpoint, with a focus on activity that is or can be conducted by a human user. The purpose of this monitoring is to identify undesirable and/or malicious activity being conducted by a human user (in this context, an Insider Threat). Typical User Activity Monitoring platforms operate in an agent/server model where activity logs are sent to a server for automatic correlation against a rule set. This rule set is used to surface activity that may represent Insider Threat related activity such as capturing screenshots, copying data, compressing files or installing risky software. Other platforms providing related functionality are frequently referred to as User Behaviour Analytics (UBA) platforms.
Agent Capable of User Behaviour Analytics
An agent capable of User Behaviour Analytics (UBA) is a software agent installed on organizational endpoints (such as laptops). Typically, User Activity Monitoring agents are only deployed on endpoints where a human user is expected to conduct the activity. The User Behaviour Analytics agent will typically record Operating System, application, and network activity occurring on an endpoint, focusing on activity that is or can be conducted by a human user. Typically, User Behaviour Analytics platforms operate in an agent/server model where activity logs are sent to a server for automatic analysis. In the case of User Behaviour Analytics, this analysis will typically be conducted against a baseline that has previously been established. A User Behaviour Analytic platform will typically conduct a period of ‘baselining’ when the platform is first installed. This baselining period establishes the normal behavior parameters for an organization’s users, which are used to train a Machine Learning (ML) model. This ML model can then be later used to automatically identify activity that is predicted to be an anomaly, which is hoped to surface user behavior that is undesirable, risky, or malicious. Other platforms providing related functionality are frequently referred to as User Activity Monitoring (UAM) platforms.
Audit Logging
Audit Logs are records generated by systems and applications to document activities and changes within an environment. They provide an account of events, including user actions, system modifications, and access patterns.
auditd File Access
Audit Daemon (auditd) is a powerful tool in Linux for tracking and logging system events, including file access. It’s part of the Linux Auditing System, which provides detailed and customizable logging of various types of system activity. Below is an example auditd rule to detect file access: sudo nano /etc/audit/rules.d/audit.rulesOpens the auditd rules file with the Nano editor. Add the following line:-w /path/to/directory -p war -k file_access-w specifies the file or directory to monitor-p specifies the permissions to monitor (write, attribute change, read)-k specifies the key to help identify the rule To review audit logs related to this rule, we can use ausearch (ausearch -k file_access) or read and retrieve lines from the raw audit logs with grep (sudo grep file_access /var/log/audit/audit.log).
File Integrity Monitoring
File Integrity Monitoring (FIM) is a technical prevention mechanism designed to detect unauthorized modification, deletion, or creation of files and configurations on monitored systems. The most basic implementation method is cryptographic hash comparison, where a known-good baseline (typically SHA256 or SHA1) is calculated and stored for monitored files. At regular intervals (or in real time) current file states are re-hashed and compared to the baseline. Any discrepancy in hash value, size, permissions, or timestamp is flagged as an integrity violation.While hash comparison is foundational, mature File Integrity Monitoring (FIM) solutions incorporate additional telemetry and instrumentation to increase forensic depth, reduce false positives, and support attribution: ACL and Permission Monitoring: Captures unauthorized changes to file ownership, execution flags (e.g. chmod +x), NTFS permissions, or group inheritance, critical for detecting silent privilege escalation.Timestamp Integrity Checks: Monitors for retroactive or unnatural changes to creation, modification, and access timestamps, commonly associated with anti-forensic behaviors such as timestomping.Event-based Hooks: Leverages OS-native event subsystems (e.g. Windows ETW, USN Journal; Linux inotify, auditd, fanotify) to trigger high-fidelity alerts on file system activity without waiting for interval-based scans.Process Attribution: Enriches FIM events with the user identity, process name, PID, and command line responsible for the change, enabling precise correlation with session logs, drift indicators, and subject behavior.Snapshot or Versioned Comparisons: Enables file state diffing across time, including rollback of modified artifacts or analysis of change sequences (common in forensic suites and some EDR platforms). To be effective in insider threat contexts, File Integrity Monitoring should be explicitly tuned to monitor (at minimum): Executable and script directories (%ProgramFiles%, %APPDATA%, /usr/local/bin/, /opt/)Configuration and runtime paths (/etc/, C:\Windows\System32\Config, container volumes)Security logs, audit trails, and telemetry agents (.evtx, /var/log/, SIEM client logs)Credential storage and secrets locations (browser credential stores, password vaults, keyrings, .env files)Backup and recovery tooling (scripts, snapshot schedulers, and volume metadata) In ransomware or destruction scenarios, File Integrity Monitoring can detect the early stages of detonation by identifying rapid, high-volume file modifications and hash changes, particularly in mapped drives, document repositories, and shared storage. This can serve as a trigger for containment actions and/or investigation before full encryption completes, especially when correlated with process telemetry and known ransomware behaviors (e.g. deletion of shadow copies, entropy spikes). When tuned and deployed appropriately, File Integrity Monitoring provides a high-fidelity signal of tampering, staging, or covert access attempts, even when other telemetry (e.g. signature-based detection or anomaly modeling) fails to trigger. This makes it particularly valuable in environments where subjects have elevated access, control over telemetry agents, or knowledge of investigative blind spots.
Contributors
Our pillar mapping
Our own keyword match of each prevention and detection to the Insider Risk Index's five pillars. It is not part of the Forscie Matrix and not a measured value.
Attribution
This technique is part of the Forscie® Insider Threat Matrix™. Copyright 2026 Forscie® Limited. Licensed under Apache License 2.0.
View on Forscie® Insider Threat Matrix™