Security-Log Collection
Apache access and error logs are collected during legitimate and controlled suspicious activity.
Purpose: Preserve web-server evidence required for sequence-based security analysis.
Consistent Log Preprocessing
The public dataset and laboratory-generated logs are processed into compatible event representations. Available timestamps, request methods, URI characteristics, response codes, and other relevant fields are handled consistently.
Purpose: Ensure that the event sequences are represented consistently during training and evaluation.
Temporal Event Sequencing
Log records are ordered by timestamp and transformed into event sequences. Events are grouped according to the experiment's defined session or time-window rules.
Purpose: Preserve the temporal relationships between web-server events.
Hidden Markov Model Analysis
The HMM analyzes the observed event sequences using the states, transition probabilities, and observation probabilities established during training or configuration.
Purpose: Identify sequence patterns that may be associated with suspicious web activity.
Attack-Chain Correlation
The analyzed sequences are compared with the known timeline of the controlled attack and the corresponding captured HTTP requests.
Purpose: Determine whether the model's suspicious sequence indicators correspond to the controlled attack stages.
Detection Performance Evaluation
The results are evaluated using appropriately separated test sequences and suitable metrics, such as precision, recall, F1-score, and a confusion matrix when reliable labels are available.
Purpose: Measure the model's detection performance and identify false positives and false negatives.
Evidence Preservation
Relevant log records, event sequences, model predictions, timestamps, and validation results are preserved for review.
Purpose: Maintain traceable evidence supporting the experiment's findings.