Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Enhancing Smart Home Security with Generative AI: Threat Detection and Countermeasure Design
Malmö University, Faculty of Technology and Society (TS), Department of Computer Science and Media Technology (DVMT).
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Smart home environments, while offering convenience through internet-connected devices, are increasingly vulnerable to cyberattacks. Traditional intrusion detection systems are signature-based and often fail to address IoT systems' dynamic and heterogeneous nature, necessitating advanced security solutions. This thesis proposes a generative AI-based approach to enhance intrusion detection and create adaptive countermeasures in smart home IoT ecosystems. The developed system utilizes a pipeline of AI models: Variational Autoencoders (VAE) for unsupervised anomaly detection, Bidirectional Encoder Representations from Transformers (BERT) for threat classification, and xAI's Grok3 for generating context-specific countermeasures. Using the AposematIoT-23 dataset, the system is trained to identify anomalous network traffic and device behavior in real time and suggests proactive countermeasures to potential threats. Evaluation results highlight the system's effectiveness in securing smart home IoT environments. The VAE achieved a recall of 99.2%, ensuring nearly all malicious samples are detected, which is critical for minimizing missed threats in unsupervised anomaly detection. The VAE's F1-score of 0.95 reflects a balance between high recall and precision (91%), though the subsequent BERT classifier mitigates its false positives. The overall pipeline achieved a 99.88% detection rate for malicious samples with a 0.2%false positive rate in a simulated environment of 10, 000 samples. This research underscores the potential of generative AI to significantly enhance IoT security by adapting to novel threats through unsupervised learning for threat detection and providing tailored countermeasures. It represents a step toward more resilient smart home ecosystems, though further optimization is needed to minimize false positives without sacrificing detection capability.

Place, publisher, year, edition, pages
2025. , p. 72
Keywords [en]
IoT Smart Home Security, Generative AI, Anomaly Detection, Intrusion Detection, Countermeasures, Unsupervised Learning, VAE, BERT, Grok, Cybersecurity
National Category
Computer Sciences Artificial Intelligence Security, Privacy and Cryptography
Identifiers
URN: urn:nbn:se:mau:diva-78603OAI: oai:DiVA.org:mau-78603DiVA, id: diva2:1982975
Educational program
TS IoT- Internet of Things
Supervisors
Examiners
Available from: 2025-08-15 Created: 2025-07-09 Last updated: 2026-11-09Bibliographically approved

Open Access in DiVA

fulltext(3736 kB)1311 downloads
File information
File name FULLTEXT02.pdfFile size 3736 kBChecksum SHA-512
0b1534ce24e00c45523101c6d96d9d70e4c18a93d6c6de02c990721a33d1c89b62ae88fd595cf62524f5d41468757e21b0b5f26663c406453f7b70f97e5c4607
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Oachesu, Alex
By organisation
Department of Computer Science and Media Technology (DVMT)
Computer SciencesArtificial IntelligenceSecurity, Privacy and Cryptography

Search outside of DiVA

GoogleGoogle Scholar
Total: 1314 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1438 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf