False frame injection detection is a growing concern for organizations that depend on surveillance systems for facility security and operational oversight. In a replay attack, an intruder who has compromised a camera or its connected system replaces the live audio-video feed with previously recorded material. Because the recording may depict a normal, empty scene, alarms and human monitoring can fail to reveal activity taking place in real time. Electrical Network Frequency (ENF) signals offer a way to check whether a surveillance recording is consistent with the live power-grid signal, without relying solely on intensive video analysis.
Why replay attacks challenge surveillance security
Traditional video-forensics methods often search for duplicated frames or unusual similarities between sections of a recording. These techniques can be useful when analyzing stored media, but processing video frame by frame can demand substantial computation. That creates a challenge for edge devices, where the goal is to identify a suspicious feed promptly rather than discover a forgery after an incident.
A more capable attacker may also adapt the replay material to the camera’s surroundings. For example, an attack can collect updated recordings during quiet periods and use a trigger to start playback when a chosen event occurs. Replaying audio along with video helps preserve the appearance of a coherent scene. This makes it important to check the authenticity of the feed using information that is not limited to visible image content.
How Electrical Network Frequency signals help
Power systems operate around a nominal frequency—typically 50 or 60 Hz, depending on the region. The actual frequency varies slightly over time as supply and demand change. These small, time-varying deviations form an ENF signal. Within an interconnected power grid, the fluctuations are sufficiently similar across locations to support comparison with a reference recorded from the grid.
ENF traces can become embedded in media recordings. In video, they may be associated with changes in powered lighting. In audio, they can arise from electromagnetic interference, mechanical vibration, or the audible hum of electrical equipment. Audio is useful for surveillance authentication because its ENF traces do not depend on a light source being present in the camera’s view.
The proposed approach compares ENF estimated from surveillance audio with a reference ENF captured from the power supply. If the camera feed has been replaced by older audio, its ENF variation may no longer match the reference signal for the current time. This mismatch can indicate that the feed may have been replayed or manipulated.
False frame injection detection at the edge
The method follows a sequence of signal-processing steps rather than analyzing every video frame for visual duplication:
- Build a reference: Record the power-grid signal and estimate its changing ENF over time.
- Extract ENF from audio: Analyze the surveillance audio using the short-time Fourier transform and identify the ENF component in relevant frequency bands.
- Combine useful harmonics: ENF traces may appear at multiple harmonics, with different strengths. Weighting and combining these spectral bands can help produce a more reliable estimate when noise affects some frequencies.
- Compare the signals: Use a correlation coefficient to assess similarity between the reference and audio-derived ENF signals. A time lag can be allowed to account for differences between recording-device clocks.
- Check over a moving window: Repeat the comparison on sliding time windows so the system can assess the feed as it arrives.
In the reported experiments, a correlation coefficient below 0.8 was treated as a possible indication of injected material, while a higher value was consistent with a normal feed. The study found that windows of around 25–30 seconds were needed to obtain a stable correlation in its test conditions. A shorter sliding step can make checks more responsive but increases computational overhead. These values are experimental findings, not universal thresholds; deployments would need to account for their recording environment and signal quality.
Design considerations for deployment
Signal quality and interference
ENF extraction depends on whether the recording contains a usable trace. Microphone characteristics, background noise, distance from electrical equipment, and other interference can affect which harmonics are strongest. If the ENF estimate is weak or contaminated, a low correlation should not automatically be treated as proof of an attack. Consecutive mismatches or a second-stage assessment can help distinguish a persistent anomaly from a poor-quality measurement.
Edge and fog processing
The approach is intended to support low-computation monitoring at the edge, with a fog node available for a more robust second pass. In this arrangement, an edge device can flag a mismatch, while additional processing can re-evaluate the signal and help reduce false alarms. Video-based ENF extraction is also possible through changes in image intensity, but it can require additional processing and depends on suitable lighting conditions.
Practical implications for plant and facility teams
For operations leaders and system integrators, ENF-based authentication is best understood as an additional integrity check—not a replacement for network security, access controls, or conventional camera monitoring. The method assumes that a trustworthy power reference can be collected and compared with the surveillance audio. Teams should therefore consider reference-signal availability, audio capture quality, processing location, alert thresholds, and how operators will respond to a suspected mismatch.
Electrical Network Frequency signals provide a useful time-based clue that can expose replayed surveillance audio and, by association, a potentially forged audio-video feed. By comparing live audio-derived ENF with a contemporaneous power reference in sliding windows, edge systems can look for evidence of false frame injection without depending entirely on computationally intensive video analysis. The practical value lies in adding a lightweight authentication layer, with careful tuning and secondary verification to manage noise and avoid treating every signal anomaly as an attack.