¸£Àû¼§

23 March 2026

Sensors in connected buildings record temperatures, movement and air quality to regulate indoor environments. However, the same data can also help reconstruct what has happened at a crime scene.

En man som sitter i en soffa och tittar in i kameran. Photographer: Simon Höckerbo
Johnny Bengtsson, forensic specialist at the Swedish National Forensics Centre (NFC) and industry-based doctoral student at the Department of Electrical Engineering (ISY).

Researchers at Linköping University are collaborating with the Swedish National Forensic Centre (NFC) to investigate how sensor data can be used in future digital crime investigations, referred to as digital forensics.

Most people probably think of mobile phones and computers when they hear the term digital forensics. In reality, however, today’s connected systems, often called the Internet of Things (IoT), make it possible to retrieve data from all sorts of objects, from smart lighting and thermostats to various types of motion sensors.

As a result, digital traces are playing an increasingly important role in criminal investigations. At the same time, they differ from traditional forensic evidence. Physical traces can be difficult to manipulate without leaving new traces, whereas digital information can, in some cases, be altered or erased.

“When it comes to digital traces, it’s a completely different matter. There, you can either falsify or erase evidence in ways that, in a worst-case scenario, are difficult to detect. However, it requires a considerable level of understanding to bypass a system and make yourself invisible. Most often, those who are unaware of how systems function will leave some form of digital trace that can be investigated,” says forensic specialist and industry-based doctoral student Johnny Bengtsson.

Connected buildings as a source of data

Infraröd data visar en delvis bild av en person täckt av ett metallskynke.
Image from experiments in which sensor data was manipulated to avoid detection.
Johnny Bengtsson’s research focuses on technologies and sensors that are already used in many offices and homes to control ventilation, temperature and lighting – so-called building automation systems. These sensors continuously collect data that can provide insights into what is happening within a building.

Through experiments, researchers have examined how sensor data can be used in forensic analysis – but also how such systems can be circumvented. For example, many sensors record data at intervals of several minutes, creating gaps in time.

“In this building, data is recorded once every ten minutes, I think. That may seem very slow, but it’s fast enough to manage a building. If you record at the level of seconds, you immediately see the effect, for example if carbon dioxide levels increase in a room.”

For example, if someone unauthorised is there?

“Yes, exactly, some kind of anomaly. But increasing the rate to one recording per second creates problems – it’s a huge amount of data to handle! And it’s not practically feasible in such systems.

At the same time, sensors can reveal a great deal. Temperature and carbon dioxide meters, for instance, can show how a fire has spread within a building and thus help reconstruct the sequence of events.

Collaboration and legal challenges

En man som stÃ¥r i ett tomt rum med ryggen mot kameran. Simon Höckerbo
At Sankt Kors’s Spektrum building, Johnny Bengtsson was granted permission to carry out his experiments.

The research is conducted in collaboration between several partners. In addition to Linköping University and the Swedish National Forensic Centre, the project involves industry partners such as Sweco, Schneider Electric, Akademiska Hus and Sankt Kors.

These collaborations make it possible to test ideas in real-world environments and combine academic research with practical experience from criminal investigations and building systems.

“There are enormous amounts of data held by government agencies, property owners and telecom operators. But there is often no overall perspective on how the information could be used together in an investigation.”

At the same time, there are challenges. Legal issues relating to privacy and data sharing make it difficult to use information from different systems.

AI will play a greater role

In the future, artificial intelligence could play an important role in analysing sensor data. By training models on how people normally move within a building, systems can identify unusual behaviour.

For example, sensors and logs can show when people usually arrive at work, go for lunch or when premises are usually empty. If a system detects movement at unusual times, it may indicate that something is not as it should be.

“The technology already exists today. The challenge is rather to collect the right data and organise collaboration between all the actors who hold that information.”

Growing research area

En liten polisdrönare flyger i ett tomt rum.
A police drone was also used in the experiments to manipulate sensor data.
Digital forensics is a rapidly growing research area. In addition to studies of sensor data, researchers are also working with new types of digital evidence, such as analyses of 3D-printed weapons and data from electronic devices found at fire scenes.

Linköping University offers education in this field, including digital forensics as part of the Master’s Programme in Cybersecurity.

“The combination of practical cases and academic research is very valuable. Many research questions arise directly from real investigations, and the collaboration between the university and NFC allows us to examine them more systematically.”

Facts

About the study

Title: The ghost in the building: Non-invasive spoofing and covert attacks on automated buildings
Author: Johnny Bengtsson (Linköping University and the Swedish National Forensic Centre)
Published in: Forensic Science International: Digital investigation, 2025

  • Examines how sensor and log data in connected buildings can be used in digital forensic analysis
  • Shows that incorrect or manipulated logs can lead to misleading conclusions in criminal investigations
  • Demonstrates non-invasive methods for manipulating sensors and creating false or misleading log events
  • Highlights the need for critical analysis of sensor data in building automation systems and smart homes
  • Contributes knowledge on anti-forensic techniques in automated buildings and IoT environments

Research area: Digital forensics, IoT systems and building automation.


About IoT – the Internet of things

The Internet of Things (IoT) refers to physical objects connected to the internet that can collect, send and receive data. These include sensors, machines or other connected devices that communicate with each other and with digital systems.
How IoT works:

  • sensors collect information from the environment, such as temperature, movement or air quality
  • data is transmitted via networks to a platform or server where it is analysed
  • the information can be used for automated decisions or system control
  • results are presented, for example, in apps or digital control systems

IoT is used in many contexts, including smart buildings, industrial systems and smart cities, where connected sensors can contribute to more efficient operations and better decision-making. (Source: IoT Sweden)

Contact and more information

Latest news from LiU

En kvinna står i snön framför ett batterilager.

The battle for power – who has the right to our electricity?

Wind farms rising like the Eiffel Tower, data centres consuming as much power as entire regions and municipalities feeling like pawns in a global game. The large-scale investments  are creating conflict:  who has priority access to our electricity?

A man and a woman shaking hands in front of a statue.

New AI partnership strengthens the region

The AI Academy Partnership Program at ¸£Àû¼§ will support companies and organisations in developing the skills needed to use AI effectively. The first partner in this new form of collaboration is Länsförsäkringar Östgöta.

En grupp människor står på ett trädäck.

Molecular medicine research secures long-term funding

The Wallenberg Centre for Molecular Medicine (WCMM) at LiU has been granted extended funding until 2039 by the Knut and Alice Wallenberg Foundation. This makes it possible to build on ten years of success and to recruit new physician-scientists.