Linux systems are widely used to store sensitive files, manage user accounts, execute applications, and provide access to organizational resources. Security monitoring mechanisms can record user authentication, file access, process execution, permission changes, and other activities that help investigate potential insider threats.
Unauthorized sensitive-file exfiltration occurs when a user or another party with access to a system attempts to transfer sensitive information outside its authorized storage or access boundary. Such activity may involve accessing sensitive files, collecting their contents, staging files for transfer, and attempting to move information through an unauthorized channel.
Individual file-access events may appear legitimate when examined independently. However, a sequence of user activities may provide additional context about whether the overall activity requires investigation.
In this use case, a Long Short-Term Memory (LSTM) neural network is used to analyze ordered Linux user-activity sequences associated with sensitive-file access and potential exfiltration. An existing public security or user-activity dataset is used as the primary data source rather than manually creating the main dataset.
The dataset is examined to determine whether it contains suitable event sequences, relevant user-activity attributes, and reliable labels or reference information for evaluating the intended scenario. Linux audit logs collected during controlled laboratory testing may provide supplementary evidence where their event structure can be mapped consistently to the model's input representation.
The LSTM model processes sequences of user-activity events to learn temporal relationships between events. Its output is evaluated against the available reference labels or controlled test observations. The system supports investigation of suspicious activity sequences; it does not independently prove that a user intentionally exfiltrated sensitive information.
The complete workflow is:
Public Security/User-Activity Dataset
→
Dataset Inspection
→
Log Preprocessing
→
User-Activity Sequence Construction
→
LSTM Model Training
→
Model Validation
→
Linux Sensitive-File Environment
→
Controlled Exfiltration Scenario
→
Linux Audit Log Collection
→
Sequence Preparation
→
LSTM Analysis
→
Suspicious Activity Identification
→
Evidence Validation
→
Investigation Report