Introduction
The security of modern electronic systems often focuses heavily on the silicon level, ensuring that the internal logic of integrated circuits (ICs) is resistant to side-channel attacks and reverse engineering. However, the Printed Circuit Board (PCB) remains a vulnerable "soft underbelly." Due to their physical size and the exposure of copper traces, PCBs are susceptible to various physical attacks, including eavesdropping, signal probing, and active tampering.
A prominent example of such a threat is the "modchip"—a small, unauthorized device soldered onto a PCB to bypass security protocols or redirect data flows. These devices are frequently used in consumer electronics, such as video game consoles, to circumvent digital rights management (DRM) or regional restrictions.
Existing countermeasures, such as burying traces in internal layers of high-density interconnect (HDI) boards, are often costly and require specific chip packaging (e.g., Ball Grid Array). There is a clear need for a flexible, low-overhead security framework compatible with standard Commercial Off-The-Shelf (COTS) components.
The EOP Framework
To address these vulnerabilities, this paper proposes EOP (Encryption-Obfuscation Protection), a hardware-based security framework designed to secure inter-chip communication. EOP integrates two distinct defensive layers: real-time stream encryption and tamper-evident synchronization.
Real-time Encryption Layer
EOP utilizes the Trivium stream cipher to encrypt data as it traverses the PCB traces. Stream ciphers are prioritized over block ciphers like AES due to their minimal latency. In high-speed inter-chip communication, the "accumulation delay" of block ciphers—where an entire block must be received before decryption can begin—is often unacceptable. With Trivium, plaintext is XORed with a generated keystream in real-time, ensuring that data is protected without significant performance degradation.
Tamper-Evident Synchronization
The core innovation of EOP is its "control clock" mechanism. Unlike traditional systems that rely on a global, continuous clock, EOP generates a control pulse only when a data line transitions (flips state). The receiver verifies that every data transition is correlated with a valid clock pulse. This correlation serves as a physical security primitive; if an attacker attempts to inject signals, probe a line, or hold a trace to ground, the timing relationship between the data and the control clock is disrupted, immediately triggering a tamper alert.
System Architecture
The EOP architecture is composed of four primary functional modules distributed between the sender (Chip 1) and the receiver (Chip 2):
- Encryption Module: Generates the keystream and performs the XOR operation on the plaintext.
- Decryption Module: Reconstructs the plaintext using a synchronized keystream.
- Control Clock Generation Module: Monitors data lines and issues pulses upon state changes.
- Control Clock Verification Module: Validates the incoming data against the control clock pulses.
To maintain security across power cycles, EOP supports advanced seed management strategies, including RSA-based public-key exchanges for initial synchronization and self-updating Pseudo-Random Number Generator (PRNG) schemes for subsequent sessions.
Evaluation and Results
The EOP framework was evaluated using a Xilinx Zynq System-on-Chip (SoC) to simulate inter-chip traffic. Synthetic data was generated using multiple Linear Feedback Shift Registers (LFSRs) to provide a robust test pattern. The system was tested across a frequency range of 5MHz to 200MHz to ensure reliability across various real-world operating conditions.
Performance and Reliability
During an hour of continuous operation across all tested frequency corners, EOP demonstrated zero errors in data transmission. This confirms that the encryption and synchronization logic do not introduce functional instability under normal conditions.
Tamper Sensitivity
The system's defensive capabilities were validated using a function generator to inject faults and simulate active tampering. EOP successfully detected 100% of tampering events. Notably, the system remained sensitive to extremely brief disruptions, recording violations for tampering events as short as 5ns.
Conclusion
EOP provides a robust and low-overhead solution for PCB-level security. By combining the low-latency protection of stream ciphers with a novel transition-based control clock, the framework effectively mitigates the risks of probing and active tampering. Unlike physical shielding methods, EOP is highly flexible and can be implemented using standard FPGA or SoC resources, making it a viable security enhancement for a wide range of electronic systems.
Summary updated