Back to search

Chalmers University of Technology

Uncovering Anomalies using Isolation Forest – A Machine Learning Approach for Request Analysis

Abstract

dc:description.abstract

In an increasingly digital era, the prevalence of misconduct increases as online social networks enable the creation of bots posing as normal users. This type of misconduct can appear in various forms, for example, emails containing unwanted advertisements, attempts of malware distribution, or simply collecting user-sensitive information. To detect this behaviour, using machine learning is well-considered and researched, especially regarding the analysis of the content of messages and online posts. This project explores the approach to analyze metadata from HTTP requests to find patterns for anomalous behavior, with the end goal being a machine learning module that can be integrated into a larger system for request analysis. After reviewing different approaches suggested by previous research and theoretical reasoning, the proposed system has been designed and implemented using the Isolation Forest model. Feature engineering has been utilized to extract information from sequences of input requests. The system consists of two different model instances which operate on different sequence length intervals. The conclusion to use the selected models has been obtained when evaluating differently trained Isolation Forest instances using precision, recall, and the F1 score as metrics.

Degree

thesis:*
Level thesis:degree_level
M
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Hagenbo, Viktoria
  • Rosin, Lovisa
Advisor dc:contributor.supervisor
  • Bal Mallya, Neethu
Committee member dc:contributor.committeemember
  • Svensson, Lars

Subjects

dc:subject × 6

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
LMTX38

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Hagenbo, Viktoria; Rosin, Lovisa. Uncovering Anomalies using Isolation Forest – A Machine Learning Approach for Request Analysis. M thesis, 2023. https://hdl.handle.net/20.500.12380/307332