AI-Enhanced Forensic Tool for macOS: Semantic Vector Search and Regex-Based Risk Detection

This repository provides the source code for an academic forensic tool developed as part of a Master’s thesis in Informatics (Privacy, Information, and Cybersecurity) at the University of Skövde. The tool is designed to enhance digital forensic investigations on macOS systems by leveraging semantic vector search and deterministic regex-based pattern detection. It integrates: SentenceTransformer embeddings (all-MiniLM-L6-v2) to convert file content into high-dimensional semantic vectors. Oracle 23ai for Approximate Nearest Neighbor (ANN) search using cosine similarity. Regex scanning for sensitive entity detection (e.g., passwords, emails, IPs, credit card numbers). Visual risk classification and reporting via Python. The system detects renamed, obfuscated, and semantically hidden sensitive files across .txt, .pdf, .csv, and .json formats. While Large Language Models (LLMs) are discussed, the implementation uses no active LLM inference, ensuring forensic reproducibility and transparency.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-05
DOI
https://doi.org/10.5281/zenodo.15604017
Primary Topic
Digital and Cyber Forensics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Enhanced Forensic Tool for macOS: Semantic Vector Search and Regex-Based Risk Detection

Zenodo (CERN European Organization for Nuclear Research)
Digital and Cyber Forensics
article

AI-Enhanced Forensic Tool for macOS: Semantic Vector Search and Regex-Based Risk Detection

article en

Abstract

This repository provides the source code for an academic forensic tool developed as part of a Master’s thesis in Informatics (Privacy, Information, and Cybersecurity) at the University of Skövde. The tool is designed to enhance digital forensic investigations on macOS systems by leveraging semantic vector search and deterministic regex-based pattern detection. It integrates: SentenceTransformer embeddings (all-MiniLM-L6-v2) to convert file content into high-dimensional semantic vectors. Oracle 23ai for Approximate Nearest Neighbor (ANN) search using cosine similarity. Regex scanning for sensitive entity detection (e.g., passwords, emails, IPs, credit card numbers). Visual risk classification and reporting via Python. The system detects renamed, obfuscated, and semantically hidden sensitive files across .txt, .pdf, .csv, and .json formats. While Large Language Models (LLMs) are discussed, the implementation uses no active LLM inference, ensuring forensic reproducibility and transparency.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 38%
Digital and Cyber Forensics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.