Manuscript Offprint
arXiv:2610.36219Bringing Hardware Security Education to All: A Seamless Curriculum Integration Approach
Tanvir Hossain , Mahmudul Hasan , Kareem El-Araby , Lorenzo R Godinez , Swarup Bhunia , Md Tauhidur Rahman , Tamzidul Hoque
{tanvir, m.hasan, k035e946, lrgodinez28, hoque}@ku.edu, swarup@ece.ufl.edu, mdtrahma@fiu.edu
EECS, University of Kansas ECE, University of Florida ECE, Florida International University
Abstract—Cybersecurity education has predominantly focused on software and network security, under the assumption that the underlying hardware is trustworthy. Threats introduced through the global semiconductor supply chain, together with vulnerabilities arising during design and integration, challenge the assumption that hardware can serve as an unquestioned root of trust. Sensor-enabled systems and machine-learning accelerators further expand the hardware attack surface. The undergraduate curriculum of electrical and computer engineering and computer science programs has not evolved accordingly. Core courses cover the design and the functionality of hardware while the security aspects remain overlooked, and dedicated hardware security (HS) courses are elective, scarce, and often restricted to graduate students. At the University of Florida, fewer than 7% of the undergraduate electrical and computer engineering students register for the introductory HS course each year. We present an integrated and economical approach that disseminates fundamental HS concepts within existing core courses through contextual learning. Nine hands-on modules were developed such that each security concept exercises an associated design concept of the core course, as a component of that course and not as a course of their own. Doing the security work is how the student exercises the design topic, so the modules are built to strengthen the host course and not only to add to it. Three were assessed across three offerings of the embedded systems course through one course survey and two conducted by an external evaluator, with 25 respondents. We report what those instruments measured and the limitations of the approach.
Index Terms—cybersecurity education, hardware security, contextual learning, hands-on learning, side-channel analysis, reverse engineering, embedded systems security, supply chain security, cybersecurity workforce
I. INTRODUCTION
Electronic devices now hold pivotal information about our surroundings, health, preference, and finance, and they construct decisions on our behalf, which makes their security of the utmost importance. A range of physical and remote invasion techniques using hardware, software, and network interfaces has evolved, and the attack space is proliferating rapidly [1], [2]. The globalization of the semiconductor supply chain has introduced further challenges across design, fabrication, and field operation. Adversaries at an untrusted design or fabrication facility can facilitate piracy, reverse engineering, cloning, and malicious modification of the hardware [3], [4]. The hardware platform, which serves as the root of trust of a computing system, has thus become the target of many security compromises.
The deployment of machine learning hardware has raised the value of what sits below the software layer. Model architectures have been recovered from shared cache activity on commodity processors [5] and from the electromagnetic emissions of an inference device [6]. A hardware Trojan inserted into an accelerator datapath can steer a classification while the functional test suite remains satisfied [7]. Language models that emit register transfer level and C code introduce security defects that functional verification does not reject [8], [9]. With architecture level attacks such as Meltdown and Spectre [10], and software-exploitable hardware bugs that survive conventional verification [11], knowledge of hardware security (HS) has become a vital requirement for designing a secure software stack.
The demand for this expertise is measurable. An industry analysis projects that the United States semiconductor workforce will grow from about 345,000 to about 460,000 positions by 2030, and that about 67,000 of the 115,000 new positions are at risk of going unfilled at current degree completion rates, which is 80% of the projected new technical positions [12]. Of those unfilled positions, 35% are engineering or computer science roles at the bachelor's level and a further 26% require a master's or doctoral degree [12]. Employment growth for information security analysts is projected at 21% between 2025 and 2035, against 3% for all occupations [13]. The graduates who can work across the two fields come from the same undergraduate programs whose core courses omit the security content.
The undergraduate (UG) curriculum of electrical and computer engineering (ECE), computer science (CS), and related programs has not evolved accordingly. These programs include core courses on the design and the functionality of hardware at various depths, while the security aspects remain predominantly overlooked. The cybersecurity courses offered within the same curricula focus on software and network-oriented attack vectors, and thus fail to create HS expertise. Three obstacles follow from treating HS as a separate course.
Limited reach. Only a few premier institutions have introduced a dedicated course on this topic, and many of those courses are offered to graduate students alone. Where they are available to senior UG students as electives, they are taken by a handful of students who already intend a cybersecurity career with a hardware focus. At the University of Florida, fewer than 7% of the UG students in the ECE major register for the Introduction to Hardware Security course each year [14]. The number of historically underrepresented students taking the course is even lower, which diminishes diversity within the future HS workforce.
Cost. A dedicated HS course requires an HS instructor, laboratory equipment for hands-on learning, classroom resources, and administrative procedures, all of which are difficult for resource-constrained institutions. HS is also a relatively new topic, and few instructors or recent graduates hold the requisite expertise, so a teaching-focused school competes for an instructor it is unlikely to attract. A course taken by a small fraction of the student population is therefore not cost-effective for many institutions.
Fragmented view. A course that presents attacks in isolation separates the attack from the design decision that permitted it. Many attacks originate in the hardware implementation process, side-channel leakage being the familiar example, so a student who meets the attack apart from the design acquires a fragmented view of cybersecurity.
The primary notion behind our solution, outlined in Fig. 1, is to treat HS education as an organic extension of the existing curriculum, and not as a separate, independent offering. Existing theory and laboratory modules within a core course are augmented with security-oriented concepts through a contextual learning process, so that they strengthen the core material while educating on security. The HS concept serves as the tool that exercises the design concept, so that students learn the design and the security aspects of the hardware at the same time. A module is therefore not an extra topic placed beside the syllabus. Performing the attack is how the student works through the design concept, so the security content is built to raise the learning outcome of the host course itself.
The contributions of this paper are as follows.
• We identify three obstacles to HS education at the UG level and show that each one follows from treating HS as a separate course (Section II).
• We present a contextual learning framework that selects each security concept for the core design concept it exercises, and we give five design rules that a module must satisfy (Section III).
• We develop nine hands-on modules across three core courses that realize five security concepts in our coverage model, and we state which remain unrealized (Sections IV and VII).
• We deploy five of the modules and assess three of them across three course offerings, reporting survey data from 25 respondents collected in part by an external evaluator (Section V).
• We draw four lessons for an adopting institution, covering module status, instructional support, and the defenses a bare-metal target can carry (Section VI).
① The first is the dedicated course and the material written to support it. The community has produced a hands-on textbook built around a board-based laboratory flow [15], an online laboratory that gives remote access to HS experiments [16], and tutorial treatments of topics such as obfuscation and logic locking [17]. ② The second is the competition. Nation-wide contests give teams a design to break under time pressure [18], [19], and workshops at the field's main symposium recruit students into the area [20]. ③ The third channel addresses hardware fundamentals adjacent to security rather than integrating security directly into the curriculum. Examples include configurable platforms and board games [21], [22], first-year interventions examining hardware-engineering career choice [23], and inclusive curricula for artificial intelligence of things and intelligent embedded systems [24]. These efforts show that hardware topics can reach a broad student population, but they do not incorporate hardware security content.
The first two channels share a property that limits both: each presumes a student who has already chosen the field. The textbook supports a course an institution must first create, the remote laboratory serves an instructor who already teaches the topic, and the competitions draw mostly graduate students. The enrollment figure quoted in Section I is what that adds up to. These channels therefore primarily reach students who have already developed an interest in hardware security. Their dependence on prior interest limits their ability to broaden participation in the HS workforce.
What is missing is a route that reaches students before they choose. To our knowledge no prior work reports an HS module suite that satisfies three conditions at once: each module is designed around the core design concept it reinforces, the attack is paired with a defensive artifact wherever the target permits one, and the suite is assessed with student survey data from repeated offerings, including an evaluation conducted independently of the instructors. That is the gap this paper addresses.
III. THE CONTEXTUAL LEARNING FRAMEWORK
The framework rests on a single idea. A security concept belongs in a core design course when it gives the student a reason to use a design concept the course already has to teach. This section describes the benefits of integration, the criterion used to select security concepts, the module-design principles, and the resulting HS coverage.
A. Advantages of Integration
Integration of HS within existing courses offers four benefits. A1 Security education for all, because core design courses are taken by every student in a program, so the course reaches underrepresented groups automatically and trains core course faculty as HS educators. A2 Effective learning, because many attacks originate in the implementation process, so learning design and security together yields an unfragmented view. A3 A sustainable solution, because the cost of creating and maintaining a new course is removed. A4 A future prospect, because the same contextual learning paradigm can carry other topics with growing workforce demand, such as artificial intelligence and the internet of things [24].

Fig. 1. The contextual learning framework. Every security concept takes a variant in each core course, attached to the design concept that course already covers. Of the nine modules reported here, M1 to M4 are embedded systems variants, M5 to M8 are digital logic design variants, and M9 belongs to a computer architecture course that the figure does not show. Only M1, M2 and M3 carry assessment data.
B. The Selection Principle
A security concept earns a place in a core design course when it exercises a concept the course must teach anyway. Consider the stack frame. An embedded systems course must teach the calling convention, the saved return address, and the position of the stack in the memory map, and students routinely treat all three as bookkeeping. A buffer overflow converts that bookkeeping into a consequence: the student who overruns a buffer and watches the return address change has met the calling convention as the result of a design choice.
The argument runs in the other direction too. A security concept that requires machinery the course does not teach is a new course in disguise. Fault injection on a cryptographic core needs a clock glitcher, a target with a cryptographic accelerator, and a treatment of the cipher, none of which appears in a first embedded systems course, so that topic fails the rule.
C. Design Principles
Once a security concept satisfies the selection principle, the resulting module follows five design principles. Across the suite, we additionally seek coverage of threats originating both in the supply chain and in the field, while aligning each module with the sequence of its host course.
C1 Concept coupling. The module must exercise a core design concept already in the syllabus. The security topic is chosen for the design concept it reinforces. Its standing in the research literature does not decide the question.
C2 Instrument reuse. The module must use instruments the laboratory already owns and the course already teaches: the debugger, the vendor development environment, and low-cost bench instruments such as the logic analyzer and the digital multimeter. Equipment is the cost that makes a dedicated course impractical, so a module needing new equipment does not transfer to the institutions that need it most.
C3 Paired countermeasure. A module should close with a defense wherever the target permits one. The M2 handout asks the student to state a solution to the overflow, modify the C program accordingly, and explain how the change prevents it. The M3 handout devotes its second part to a constant-time comparison and requires the repaired version to be re-measured with the same five passwords on the same instrument used for the attack. M6 and M8 have the student build the
| Security concept | Origin | Realized as |
|---|---|---|
| Reverse engineering | field | ✓ M1, M4 |
| Side-channel analysis | field | ✓ M3, M5, M9 |
| IP protection, obfuscation | supply chain | ✓ M6, M8 |
| Hardware Trojan | supply chain | ✓ M7 |
| Memory safety (addition) | field | ✓ M2 |
Fig. 2. The nine modules placed against the security concepts they realize, classified by the stage at which the threat originates. Two of the five concepts originate in the supply chain and two in the field. Memory safety is the fifth and sits outside that split. Section VII names the concepts the suite does not yet reach.
protection itself. M1 as deployed closes with no defense, which we report as a property of that module.
C4 Sequence alignment. The module is placed in the week when the core course covers the concept it exercises. A security module that arrives after the final examination of the related unit has lost its coupling.
C5 Split acquisition and analysis. Some laboratories need more time than the slot allows, so the acquisition step is separated from the analysis step and the analysis is completed outside the laboratory. A board teardown needs the bench, while component identification, trace analysis and waveform interpretation do not.
D. Coverage Model
The suite covers five security concepts, four of them classified by the stage at which the threat originates, and Fig. 2 places the nine modules against them. Reverse engineering and side-channel analysis are field threats and were built first. Design obfuscation [25], [26] and hardware Trojan insertion [27], [28] originate in the supply chain and are covered by M6, M7, and M8, which also introduce the register transfer level design flow the microcontroller modules do not reach. Memory safety, which the deployed M2 covers, is the fifth, and sits outside the supply chain and field split that orders the other four. Section VII names the concepts the suite does not yet reach, and we claim no coverage beyond the figure. Breadth is not an end in itself. A course has room for a few modules a semester, so a catalog spanning several concepts and three courses gives an adopting instructor options, and the right choice depends on the course structure, the students' background, and what the instructor can teach.
E. Integration Cost
Each module adds approximately 30–40 minutes of lecture, for at most about two additional lecture hours across a semester. The remaining adjustment reuses laboratory and assignment slots that already exist. We also cap delivery at three modules a semester, so the security content does not add noticeably to the load the course already places on a student. Where a design course already asks a student to trace an assembly program in a simulator, the reverse engineering module asks the student to trace a program for which no source is supplied. The two tasks occupy the same slot.
IV. MODULE DESIGN
Each module is placed in the week when the core course covers the concept it exercises. Table I gives the nine modules, the design concept each one exercises, the platform, and the graded evidence. Each module is described below by its aim, its procedure, and the outcome a student produces. Modules M1, M2, and M3 were delivered in the embedded systems course and carry the survey data of Section V. Module M9 was delivered in the computer architecture course in Fall 2024 as two lecture parts with a recorded measurement, and no survey was administered for it. An early form of M5 was delivered as a graded homework in the embedded systems course in Spring 2022, also without a survey. Modules M4, M6, M7, and M8 exist as written laboratory material only. M6, M7, and M8 were adapted from the laboratory material of the hardware security course at the University of Florida and from a published tutorial on obfuscation and logic locking [17]. Every module, with its laboratory material and lecture recordings, will be released publicly so that other institutions and the community can adopt or adapt it.
A. M1: Binary Reverse Engineering
Aim. Train students to reconstruct the behavior of a compiled embedded-system program without access to its source code. The analyzed program monitors room temperature by reading sensor data from memory, computing an updated average, comparing it against a threshold, and generating an output signal based on the result. The module focuses on reconstructing program behavior from disassembly, memory contents, and runtime state.
Procedure. The exercise guides students through a structured reconstruction of the program execution. Students first identify the program entry point and the return location of the initial function call. They then trace the temperature-reading routine, inspect accesses to external memory, and determine the number, locations, and values of the stored temperature samples. Next, they analyze the arithmetic operations used to compute the average, identify the comparison threshold, and determine which microcontroller output port is affected. These tasks require students to interpret instruction flow, register contents, memory organization, function behavior, and data movement directly from the disassembled binary.
The final part of the module focuses on control-flow analysis. Students examine a branch that returns execution to the beginning of the main routine and consider the effect of replacing it with a function-call operation. This modification causes return addresses to accumulate without corresponding returns, eventually disrupting stack or data memory and altering normal program execution. This task reinforces the relationship between binary-level control flow, function calls, stack behavior, and program correctness.
Outcome
The student recovers the sampling rate, the stored values and their locations, the threshold, and the output port from an undocumented binary, and explains the consequence of replacing a conditional jump with a function call. The module closes with no defense, which we report as a property of it.
B. M2: Buffer Overflow
Aim. Demonstrate how a buffer overflow in an embedded program can alter program execution and expose sensitive data. The module uses a program that returns a secret identifier only when the supplied personal information matches a stored record.
Procedure. We developed the module around an Intel 8051 program containing an unsafe input-copy operation into a fixed-size memory buffer. Students first examine the buffer organization and determine how an input exceeding the allocated space affects neighboring memory. They then construct overlength inputs and observe the resulting execution through the tool's debugger, including changes in memory, control flow, and processor registers. By carefully adjusting the input length and contents, students exploit the overflow to redirect execution to an existing data-return sequence and recover secret values that should not be accessible to the supplied input.
The exercise progressively requires students to recover multiple protected values and to explain how the overflow enables the information leakage. Students then modify the vulnerable program to prevent data from being written beyond the allocated buffer and explain why their modification eliminates the overflow condition. This connects the observed attack behavior with secure memory handling and demonstrates how a seemingly simple input-handling error can lead to unauthorized data disclosure in an embedded system. The module also introduces common software defenses against memory-corruption attacks, including stack canaries [29] and address space layout randomization (ASLR) [30], allowing students to relate the demonstrated vulnerability to broader mitigation techniques used in modern systems.
Outcome
The student leaks successive secrets through the return value register, then writes a repair and justifies it. The two mitigations the lecture names belong to a desktop platform, while the repair the student writes has to hold on a bare-metal 8-bit target.
C. M3: Timing Side Channel
Aim. Demonstrate how execution-time variations in password verification can reveal information about a secret pass-
The repository URL is withheld for anonymous review and will be disclosed in the camera-ready version.
TABLE I
MODULE CATALOG. EACH SECURITY CONCEPT IS SELECTED FOR THE CORE DESIGN CONCEPT IT EXERCISES. COURSE: ES IS EMBEDDED SYSTEMS, DL IS DIGITAL LOGIC DESIGN, CA IS COMPUTER ARCHITECTURE. STATUS: D DENOTES A MODULE DELIVERED WITH STUDENT SURVEY DATA, T A MODULE DELIVERED WITHOUT SURVEY DATA, AND W A MODULE THAT EXISTS AS WRITTEN MATERIAL ONLY.
| # | Module | Course | St. | Origin | Core design concept exercised | Platform | Graded evidence |
|---|---|---|---|---|---|---|---|
| M1 | Binary reverse engineering | ES | D | In field | Compilation flow, instruction set, addressing modes, code and data spaces, stack pointer | 8-bit MCU, cross-compiler IDE | Ten answers from the disassembly and memory windows |
| M2 | Buffer overflow | ES | D | In field | Stack frame, calling convention, saved return address, constant initialization | 8-bit MCU, IDE debugger | Input length, secrets leaked, and a justified repair |
| M3 | Timing side channel | ES | D | In field | Timer peripheral, cycle counting, serial port configuration, data-dependent branching | 8-bit MCU, built-in logic analyzer | Timing tables for the vulnerable and repaired versions, compared |
| M4 | Board reverse engineering | ES | W | In field | Microcontroller interfacing, serial protocols, power distribution, datasheets | Populated board, digital multimeter | Bill of materials and block diagram; optionally a schematic and a protocol |
| M5 | Power side channel | DL | T | In field | CMOS switching, output transition and charge transfer, truth tables | Browser-based circuit simulator | Voltage plot, transition table, and candidate truth tables |
| M6 | Combinational logic locking | DL | W | Supply chain | Ripple carry adder, carry propagation, hierarchical design, instantiation | VHDL, FPGA design suite | Locked design, testbench, and waveforms under correct and incorrect keys |
| M7 | Hardware Trojan insertion | DL | W | Supply chain | Decoding a rare input condition, conditional signal assignment, behavioral simulation | VHDL, FPGA design suite | Trigger and payload code, and waveforms dormant and active |
| M8 | Sequential logic locking | DL | W | Supply chain | State machine design, reset and transition behavior, UART frame and transmission | VHDL, FPGA design suite | Augmented state machine, and waveforms for correct and each wrong key |
| M9 | Cache side channel | CA | T | In field | Cache hierarchy, associativity and line size, set indexing, cycle-accurate timing | Commodity x86 host, cycle counter | None; recorded lecture measurement only |
word, and show how constant-time comparison can remove this timing dependence.
Procedure. The lecture introduces five exploitable side-channel emissions, explains the data dependence of CMOS dynamic power, and connects timing attacks on cryptographic exponentiation to an early-exit string comparison [31]–[33]. The module uses an Intel 8051 password-authentication program that compares user input with a stored password and terminates at the first mismatch, creating input-dependent execution times. Fig. 3 illustrates this leakage with eight password guesses requiring 122–291 machine cycles.
In the laboratory, students test five password guesses and measure verification time using the debugger's logic analyzer. They then modify the comparison so that all characters are processed regardless of the first mismatch and repeat the measurements. Comparing the vulnerable and constant-time implementations allows students to evaluate the effectiveness of the mitigation using the same instrumentation used to observe the attack.
| Outcome |
|---|
| Students produce timing tables for both the vulnerable and constant-time implementations and compare the results to evaluate the effectiveness of the mitigation. This is the only module in which the effectiveness of the implemented defense is experimentally measured using the same instrumentation employed to demonstrate the attack. |
D. M4: Board Reverse Engineering
Aim. Reconstruct the structure of an undocumented board, and exercise microcontroller interfacing, serial protocol identification, and datasheet interpretation.
Procedure. The student receives a populated board and no schematic. The required work has four parts. Students identify the board components, construct a bill of materials, infer the function of each board section, and produce a high-level block diagram. Optional work includes continuity mapping from a selected component to the microcontroller, schematic reconstruction, power-line and regulator measurements, and serial-protocol identification. When a logic analyzer is available, students use it to confirm the identified protocol.
| Outcome |
|---|
| The student produces a bill of materials, a block diagram, and a reasoned functional hypothesis for an undocumented board, which is the first artifact a cloner produces [34]. The coverage model classifies reverse engineering as a field threat. The laboratory material specifies no defensive deliverable. |
E. M5: Power Side Channel
Aim. Show what a power side channel carries and, equally, what it does not.
Procedure. The module is delivered in a browser-based circuit simulator. An unknown two-input logic gate sits inside a box, with the two inputs and the supply pin exposed and the output hidden. A sense resistor between the supply pin and the source makes the switching current visible as a voltage. The student toggles the inputs through six ordered transitions, records whether a large voltage transient occurred, builds a transition table, and infers the function of the gate from it.

Fig. 3. © Execution time of the vulnerable password check reported in the M3 lecture materials, in machine cycles, for eight demonstration guesses. The interval is read from the timer run control bit on the logic analyzer. The guesses used in the graded assignment differ from those shown here.

Fig. 4. Development history of the modules. The 2022 to 2024 spring columns are taken from the course materials held by the project. The Fall 2024 entries for M1 to M3 are taken from the external evaluation report and the entry for M9 from the computer architecture lecture decks, neither of which states how the topic was assigned. The modules marked prepared carry no survey data.
Outcome
The transient reports that an output transition occurred and not its direction, so a gate and its complement yield the same transition table. The student concludes that the circuit is one of two candidates and explains why. The module ends at that analysis and asks for no defense.
F. M6: Combinational Logic Locking of a Ripple Carry Adder
Aim. Protect a design against unauthorized use by making its function depend on a key, while exercising hierarchical design and carry propagation in a ripple carry adder.
Procedure. The student is given only a full adder component in VHDL, builds the 4-bit ripple carry adder hierarchically, then writes a testbench and verifies the arithmetic in behavioral simulation. The carry chain is then locked. The carry signals between stages are replaced by masked carries driven by key-controlled gates, using either XOR and XNOR gates or multiplexers, and a 3-bit key input is added to the entity. For the gate version the reference key is 010, because a key bit of 0 passes a signal through an XOR and a key bit of 1 passes it through an XNOR; for the multiplexer version it is 101. The testbench sweeps all 256 input combinations under a correct key and under incorrect keys.
Outcome
Under the correct key the adder matches binary addition across all 256 input combinations. Under an incorrect key the two styles fail differently: the gate version inverts one or more carries, while the multiplexer version substitutes an unrelated signal into the carry chain. In both cases the corruption propagates to the higher bits. The student compares the two styles and reasons about how to enlarge the key space.
G. M7: Hardware Trojan Insertion
Aim. Build a malicious modification that stays dormant under normal use, and separate the trigger from the payload.
Procedure. The student receives the locked adder of M6 with its obfuscation in place and is told not to modify the full adder or the locking logic. The work is confined to a trigger and a payload. The trigger is purely combinational, is built from the two operands alone, and asserts on a single rare input combination. The payload acts only while the trigger is asserted and alters at least one key bit before it reaches the locking gates, the reference solution inverting the lowest. The provided testbench fixes the carry input at 0 and the key at 010 and sweeps all 256 input combinations. The student locates the activation in the waveform and explains how the altered key propagates.
Outcome
The design adds correctly for every input except the trigger combination, where the altered key corrupts the carry chain and the sum. The student sees that the locking circuit carries a one-bit payload into a ripple fault across the higher bits, and explains why the Trojan stays hidden for every other input combination.
H. M8: Sequential Logic Locking of a UART Transmitter
Aim. Lock a design through its state machine and not through its combinational logic, and exercise finite state machine design and the UART frame.
Procedure. The student examines a working UART transmitter whose finite state machine holds the IDLE, START_BIT, DATA_BITS, and STOP_BIT states, simulates it, and confirms the frame structure. The state machine is then augmented. Three key states and a LOCKED state are added, and the reset state becomes the first key state and no longer IDLE. Three 8-bit key values, AA, BB, and CC in the reference solution, must arrive one per clock while a key valid signal is high, and the comparison runs only then. Any incorrect value sends the machine to LOCKED, which holds the transmit line high with no exit other than reset. The testbench covers the correct sequence and a wrong value at each of the three positions.
Outcome
The correct sequence traverses the three key states into IDLE and the transmitter operates normally. Each incorrect value locks the machine at the corresponding stage and the transmit line stays high. The student contrasts a key distributed over several clock cycles with a single combinational key, and explains why the LOCKED state is a blackhole.
I. M9: Cache Side Channel
Aim. Show that the cache hierarchy the course already teaches is also an information channel, and that the timing gap between a hit and a miss is large enough to read another process.
Procedure. The first lecture part builds the cache from the architecture side, covering the hierarchy from registers to main memory, the attributes that define a cache, and the three associativity types, then has the student read the sizes, associativity and line size of their own machine from the operating system and a topology tool. The second part turns that structure into a channel. It states four requirements for a flush and reload attack, which are shared memory, a high-resolution cycle counter, an instruction that evicts a chosen line, and a last-level cache shared across cores, then walks through flushing a shared line, letting the victim run, and reloading while timing the access. The flush uses the cache line flush intrinsic fenced on both sides, and the reload is timed between two reads of the timestamp counter. A prime and probe variant follows when no memory is shared.

Fig. 5. Fall 2024 (C3) self-reported knowledge before and after the course on a four-point scale. One is no knowledge and four is strong knowledge.
Outcome
The lecture closes on a recorded probe-time series separated by a threshold. Across its 90 probes, accesses that hit fall between 96 and 104 cycles and accesses that miss fall between 144 and 168, a gap of 40 cycles around a threshold of 110, which is wide enough to read the victim's access pattern directly off the plot.
V. DEPLOYMENT AND SURVEY RESULTS
Three of the nine modules have been deployed across sufficient course offerings to support an initial evaluation of student response. What follows gives the deployment record first, then the surveys the numbers come from, and then what those numbers show about ratings, knowledge, outcomes, and the barriers students met.
A. What Was Deployed
The modules are a component of existing core courses and not a course of their own, and the suite spans three of them. Binary reverse engineering, buffer overflow, the timing side channel, and board reverse engineering attach to an undergraduate embedded systems course; combinational and sequential logic locking, hardware Trojan insertion, and the power side channel to a digital logic design course; the cache side channel to a computer architecture course. Each module enters as lecture segments on units the course already covers, together with the associated homework, and each course keeps its own syllabus, examinations, and grading. The offerings reported here come from the embedded systems and computer architecture courses at the lead institution, whose name and course numbers will be disclosed after review. In the embedded systems offerings the security content accounted for two or three graded assignments, and the weighting changed between offerings. In Spring 2023 the reverse engineering homework carried 10.5 points and the buffer overflow bonus assignment carried 20 points. In Spring 2024 each of the three module assignments carried 2 points.
Fig. 4 gives the development history. The side-channel content began in Spring 2022 as a paper and simulator exercise. Spring 2023 added binary reverse engineering as a required homework and buffer overflow as a bonus assignment. By Spring 2024 all three modules were delivered with complete two-part lecture decks, and buffer overflow had become a required component. The same three topics were taught again in Fall 2024, as the external evaluation report records, and the cache side channel entered the computer architecture course in that term. The suite has grown in every offering since it began.

Fig. 6. Reported barriers to completion, as a share of selections in Spring 2023 (C1, n = 24 and n = 21 selections) and a share of respondents in Fall 2024 (C3, n = 4). The Spring 2024 cohort was not asked this item. The instrument offered five instructional options and no equipment option.
Delivering every module at once was never the aim. At most three ran in any semester, and what each offering taught us about pacing, handout detail, and grading weight was folded into the modules prepared next.
B. Surveys and the External Evaluation
Three surveys inform this paper. An internal course survey covers the 2023 offering, and an external evaluator administered end-of-course surveys for the two 2024 offerings and issued a combined report covering both, together with a separate summary of the Fall offering.
Spring 2023, internal. A course survey was issued at the end of the term and received 13 responses, with 11 to 13 responses per item. It asked a five-point usefulness scale for each module, a closed item on barriers to completion, and free-response items.
Spring and Fall 2024, external. An external evaluator administered end-of-course surveys for two offerings and issued two reports. The stated purpose was to gather data on the feasibility, the benefits, and the challenges of integrating hardware security concepts within a core design course. The Spring 2024 offering enrolled 13 students and returned 8 responses, a rate of 62%, and the Fall 2024 report records 4 responses. The evaluator revised the instrument between the two offerings to better reflect the course content, so the four-point knowledge scale and the start value of the interest scale appear only in the Fall report.
Respondent profile. Of the eight Spring 2024 respondents, five were men and three were women, and six identified as Hispanic or Latino. All four Fall 2024 respondents were men, and one identified as Asian. The reports describe their data as coming from two hardware security courses without naming the institution of either, so we report the two 2024 cohorts by term.
The external evaluation. Both 2024 reports were prepared by an evaluator outside the project who holds a doctorate in education and works for an independent evaluation consultancy. The stated purpose was to gather data on the feasibility, the benefits, and the challenges of integrating HS concepts within a core design course. The combined report is organized around four dimensions of broader impact: a stronger workforce, involvement of minority and women
TABLE II SURVEY COHORTS. THE DASH MARKS A FIGURE THAT THE SOURCE REPORT LEAVES UNFILLED. THE 2024 REPORTS DO NOT IDENTIFY THE INSTITUTION OF EACH OFFERING.
| Cohort | Term | Survey | Modules | Enr. | Resp. |
|---|---|---|---|---|---|
| C1 | Spring 2023 | internal | M1, M2 | - | 13 |
| C2 | Spring 2024 | external | M1, M2, M3 | 13 | 8 |
| C3 | Fall 2024 | external | M1, M2, M3 | - | 4 |
students, stimulating UG students in research, and learning through competition. Four findings stand out. Most Spring 2024 students found the modules helped their understanding of embedded systems fundamentals, and both cohorts reported more hands-on learning than in comparable courses. A quarter of the respondents across the two offerings were women, and three quarters of the Spring cohort identified as Hispanic or Latino. Interest in HS rose over the Fall term. On what to strengthen, the barrier data points to teaching assistant support, lecture coverage, and study materials. The items are locally developed Likert and categorical questions, reproduced below without reinterpretation.
How the reported values were obtained. Every value in this section is stated in a source document and is reproduced unchanged, except for four sums and differences of sourced values, which are the combined barrier shares, the respondent total, the assignment point totals, and the knowledge gains. We applied no significance test and pooled nothing across cohorts, because the instruments differ across the three offerings and the samples are too small for a cross-cohort figure to carry meaning. Percentages are given as the source reports them, and counts replace percentages where four or eight responses would imply a precision the sample does not have.
C. Per-Module Ratings
Table III gives the Spring 2023 ratings on the five-point usefulness scale. The module means sit between 2.36 and 2.83 on a scale whose midpoint is 3.00, with standard deviations between 1.14 and 1.50. Every item in this cohort therefore sits below the midpoint, and we report that alongside the more favorable 2024 outcomes. The spread is wide in every item, so the responses span the scale. The lowest mean is the contribution of M2 to the prior understanding of memory layout, at 2.36. The free responses explain that result. Several students reported that they did not attempt the assignment, which in that offering carried bonus status, and the module was made required in the following offering.
D. Knowledge and Interest
Fig. 5 gives the Fall 2024 knowledge ratings before and after the course on a four-point scale, where one is no knowledge and four is strong knowledge. Binary reverse engineering moved from 1.3 to 2.5, buffer overflow from 1.8 to 2.5, and side-channel attacks from 1.0 to 2.0, with the two largest gains on the topics the cohort knew least at the start. Interest in HS
TABLE III SPRING 2023 (C1) PER-MODULE RATINGS ON A FIVE-POINT USEFULNESS SCALE, WHERE THE SCALE MIDPOINT IS 3.00.
| Item | Mean | SD | N |
|---|---|---|---|
| M1 usefulness for binary reverse engineering | 2.77 | 1.25 | 13 |
| M1 contribution to assembly and instruction encoding | 2.69 | 1.20 | 13 |
| M1 adequacy of materials and lecture | 2.83 | 1.14 | 12 |
| M2 usefulness for buffer overflow | 2.73 | 1.21 | 11 |
| M2 contribution to memory layout understanding | 2.36 | 1.23 | 11 |
| M2 adequacy of materials and lecture | 2.55 | 1.50 | 11 |
on the ten-point scale moved from 2.8 to 4.5 in the same cohort. Spring 2024 reported interest of 9.1 at the end of the course, alongside an overall experience rating of 7.6 on that scale.
E. Student Outcomes
Table IV gives the categorical outcomes for the two 2024 cohorts. One result holds across both cohorts and one result splits them.
Hands-on exposure is the one result both cohorts agree on. In Spring 2024, reported more hands-on work through the security modules than in other courses in the program, and in Fall 2024 the figure was , with no respondent in either cohort disagreeing. That is what an integration should do when it replaces an exercise on the same core concept.
The cohorts part company on whether the modules helped with embedded systems fundamentals, which Spring 2024 reported at and Fall 2024 at . We do not smooth that difference away. Two facts in the same instrument explain it: half of the Fall 2024 respondents selected the option stating that they did not attempt the assignments, and half identified teaching assistant support as the improvement they needed most. A module whose assignment is not attempted does not transfer the core concept, which is consistent with the coupling argument of Section III.
Spring 2024 reported stronger downstream outcomes. Participation changed the interest of of respondents in a graduate degree, every respondent reported looking for an HS internship, and reported wanting a career in HS. In Fall 2024 no respondent reported a change in graduate degree interest, and the free responses give financial cost and prior plans as the reasons.
F. Barriers to Completion
Fig. 6 gives the barriers respondents selected. Every barrier at the top of the list in both cohorts is instructional. In Spring 2023, worked examples and lecture coverage together account for of the selections on M1 and on M2. In Fall 2024 the leading barrier is teaching assistant support at , with lecture coverage, study materials, and time each at . The two cohorts disagree on which instructional barrier leads, and they agree on the category. The Spring 2024 cohort was not asked this item.
The instrument offered five options: lecture coverage, study materials, worked examples, time to complete, and teaching
TABLE IV STUDENT OUTCOMES FOR SPRING 2024 (C2) AND FALL 2024 (C3). A DASH MARKS AN ITEM THE REVISED INSTRUMENT DID NOT ASK.
| Item | C2 | C3 |
|---|---|---|
| More hands-on work than in other courses | 87% | 100% |
| Modules helped embedded systems fundamentals | 87% | 25% |
| Changed interest in a graduate degree | 75% | 0% |
| Sought a hardware security internship | 100% | - |
| Wants a career in hardware security | 50% | - |
| Wants more hardware security modules | 50% | - |
| Needs more time for the assignments | 75% | - |
| Workload higher than similar courses | 63% | 25% |
| Overall experience, ten-point scale | 7.6 | - |
assistant support. Laboratory equipment was not among them, so these data cannot rule equipment out. Within the options offered, the response the data supports is more worked examples, longer lecture coverage, and more teaching assistant hours, each cheaper than a dedicated HS course.
Summary
Three modules were assessed across three offerings and 25 respondents. In the two cohorts asked, and reported more hands-on learning opportunities through the security modules than in other courses, and no respondent disagreed. Self-reported knowledge in Fall 2024 rose by 0.7 to 1.2 points on a four-point scale. The Spring 2023 ratings sit below the scale midpoint, and the reported barriers are instructional in both cohorts asked. The samples are small and self-reported, so these are deployment observations and not statistical findings.
G. Sources of the Reported Data
Every number in this paper comes from a course or evaluation record. The per-module ratings and the 2023 barrier shares come from the Spring 2023 survey export; the interest and knowledge scales, the outcome items, and the 2024 barrier shares from the two evaluation reports; the cycle counts of Fig. 3 and the point values from the M3 lecture materials and the assignment handouts; the aims, procedures, outcomes, reference keys, and trigger conditions of M6 to M8 from their laboratory manuals and instructor documents; and M9 with its probe-time figures from the computer architecture lecture decks and the notebook accompanying them. Where a source leaves a field unfilled we mark it as unreported.
VI. DISCUSSION
This section reads the deployment back for what it tells an instructor placing these modules in a course. The free responses, the change in module status, and the reported barriers all point one way: the setting around a module decides how much of it a student receives.
The module that ends in a repair drew the strongest free responses. The 2023 instrument covered M1 and M2 only. One Spring 2023 respondent called the bonus overflow assignment among the most interesting, challenging and rewarding work taken in the program, and another described working out where the return address had to point so that the remaining secrets would leak. M1 carries no defense component, and its responses ask instead for context: one student wrote that it gave a good introduction without saying enough about what the technique is for. The contrast is small, and it runs with the design rule, because the module that ends in a repair ends in something the student built.
That repair also teaches what the desktop lecture cannot. A student who meets the stack canary and address space layout randomization on a server architecture, then works on a target supporting neither, learns that a mitigation is a property of the platform and not of the bug, at no extra cost in a course already working close to the hardware.
Where a module sits in the grade book matters as much as what it contains. The overflow module carried bonus status in Spring 2023 and became required afterwards. One respondent reported being surprised to meet the material on the final examination after skipping an assignment labeled as extra credit. A module chosen because it exercises a core concept is examinable by construction, so leaving it optional sets two signals against each other.
Among the options provided, students most often identified instructional support rather than time as the main barrier. The barrier data in Fig. 6 says so in both cohorts that were asked, and the handouts have already moved that way on their own. Set beside the 2023 buffer overflow handout, the 2024 version adds a partial-credit ladder and procedural hints, among them a note that the return statement shifts with the length of the crafted input. Each of those costs less than a dedicated course.
VII. LIMITATIONS
This study developed nine modules across three core courses and gathered student response from three offerings of one of them, and the evidence has clear bounds. The cohorts were not randomized, and no section ran without the modules, so there is no comparison group. The knowledge ratings are self-reported and were not measured with a validated concept inventory, which makes the reported gain a perception of gain. The surveys also sit inside courses with their own examinations, projects and grading, and no instrument separates what the modules contributed from what the rest of the course did.
The samples are small and uneven. The three cohorts returned 13, 8, and 4 responses, a response rate is known only for Spring 2024, at , and the instrument changed between the 2024 offerings, so several items appear in one cohort only. Counts of this size support no statistical claim. The barrier item was closed and offered no equipment option, so that finding holds only within the options students were given.
Most of the suite is still untested on students. M4, M6, M7, and M8 exist as written laboratory material, and M5 and M9 ran without a survey, so the cache figures rest on a recorded lecture measurement and not on student response. The suite does not yet reach the fabrication stage, physical unclonable functions [35], [36], bus snooping, fault injection, or gate-level and device-level reverse engineering [37]–[39], the last needing decapsulation and imaging equipment that the instrument reuse principle rules out. The three deployed embedded systems modules also share one target, an 8-bit microcontroller reached through a vendor environment that does not run on every student platform, and whether the concepts carry to a 32-bit core is untested.
VIII. Conclusion
Dedicated HS courses reach only a small fraction of undergraduates, and their creation and maintenance are often impractical for resource-constrained institutions. We present a contextual learning approach that treats HS education as an organic extension of the existing curriculum. Nine hands-on modules were developed across embedded systems, digital logic design, and computer architecture, each built so that a security concept exercises a design concept the course must teach anyway, which makes the security content work for the host course as well as the student. The integration costs about two hours of additional lecture across a semester and reuses laboratory and assignment slots that already exist. In the two cohorts given the outcome instrument, 87% and 100% of respondents reported more hands-on learning than in other courses, self-reported knowledge rose by 0.7 to 1.2 points on a four-point scale in the cohort with matched ratings, and the external evaluation recorded increased interest in graduate study and HS internships. The result is a delivery route for HS education that does not depend on a student electing the subject. Because core design courses are required, it reaches an entire program, including students that dedicated electives have historically missed, and asks for no new course, instructor line, or equipment. That makes it adoptable where the projected workforce shortfall is least likely to be met, and gives the community a template that travels with the course. We are extending the suite toward the concepts it does not yet reach and testing whether the selection principle carries to a 32-bit target.
REFERENCES
[1] M. Rostami, F. Koushanfar, and R. Karri, “A primer on hardware security: Models, methods, and metrics,” Proceedings of the IEEE, vol. 102, no. 8, pp. 1283–1295, 2014.
[2] S. Prabhakara Rao, S. R. A. Balaji, F. Rahman, T. Suha, T. Mahfuz, and T. Hossain, "Secure and trustworthy microelectronics: Vulnerabilities, solutions, and trends," Journal of Hardware and Systems Security, vol. 9, no. 3, pp. 163–189, 2025.
[3] U. Guin, K. Huang, D. DiMase, J. M. Carulli, M. Tehranipoor, and Y. Makris, "Counterfeit integrated circuits: A rising threat in the global semiconductor supply chain," Proceedings of the IEEE, vol. 102, no. 8, pp. 1207–1228, 2014.
[4] M. M. Tehranipoor, U. Guin, and S. Bhunia, “Invasion of the hardware snatchers,” IEEE Spectrum, vol. 54, no. 5, pp. 36–41, 2017.
[5] M. Yan, C. W. Fletcher, and J. Torrellas, "Cache telepathy: Leveraging shared resource attacks to learn DNN architectures," in USENIX Security Symposium, 2020, pp. 2003–2020.
[6] L. Batina, S. Bhasin, D. Jap, and S. Picek, "CSI NN: Reverse engineering of neural network architectures through electromagnetic side channel," in USENIX Security Symposium, 2019, pp. 515–532.
[7] J. Clements and Y. Lao, "Hardware trojan attacks on neural networks," in IEEE International Symposium on Circuits and Systems (ISCAS), 2019.
[8] H. Pearce, B. Ahmad, B. Tan, B. Dolan-Gavitt, and R. Karri, "Asleep at the keyboard? assessing the security of GitHub Copilot's code contributions," in IEEE Symposium on Security and Privacy (S&P), 2022, pp. 754–768.
[9] S. Thakur, B. Ahmad, H. Pearce, B. Tan, B. Dolan-Gavitt, R. Karri, and S. Garg, "VeriGen: A large language model for Verilog code generation," ACM Transactions on Design Automation of Electronic Systems, vol. 29, no. 3, 2024.
[10] M. D. Hill, J. Masters, P. Ranganathan, P. Turner, and J. L. Hennessy, "On the Spectre and Meltdown processor security vulnerabilities," IEEE Micro, vol. 39, no. 2, pp. 9–19, 2019.
[11] G. Dessouky, D. Gens, P. Haney, G. Persyn, A. Kanuparthi, H. Khattri, J. M. Fung, A.-R. Sadeghi, and J. Rajendran, "HardFails: Insights into software-exploitable hardware bugs," in USENIX Security Symposium, 2019, pp. 213–230.
[12] Semiconductor Industry Association, "Chipping away: Assessing and addressing the labor market gap facing the U.S. semiconductor industry," https://www.semiconductors.org/chipping-away-assessing-and-addressing-the-labor-market-gap-facing-the-u-s-semiconductor-industry/, 2023, accessed Oct. 2026.
[13] U.S. Bureau of Labor Statistics, “Occupational outlook handbook: Information security analysts,” https://www.bls.gov/ooh/computer-and-information-technology/information-security-analysts.htm, 2025, employment projections 2025–2035, accessed Oct. 2026.
[14] T. Hoque, “Collaborative research: SaTC: EDU: Hardware security education for all through seamless extension of existing curricula,” NSF Award Number 2114157, Directorate for STEM Education, Division of Graduate Education, https://ui.adsabs.harvard.edu/abs/2021nsf....2114157H, Jul. 2021.
[15] S. Bhunia and M. Tehranipoor, Hardware Security: A Hands-on Learning Approach. Morgan Kaufmann, 2018.
[16] "HACE lab: An online hardware security attack and countermeasure evaluation laboratory," https://www.nsf.gov/awardsearch/showAward?AWD_ID=1623310, 2016, NSF Award 1623310, accessed Oct. 2026.
[17] T. Hoque, R. S. Chakraborty, and S. Bhunia, "Hardware obfuscation and logic locking: A tutorial introduction," IEEE Design and Test, vol. 37, no. 3, pp. 59–77, 2020.
[18] "Trust-Hub: Hardware security and trust community resource," https://trust-hub.org/, accessed Oct. 2026.
[19] "CSAW embedded security challenge," https://www.csaw.io/, NYU Tandon, accessed Oct. 2026.
[20] “IEEE international symposium on hardware oriented security and trust,” https://www.hostsymposium.org/, accessed Oct. 2026.
[21] T. Hossain, A. Ramirez-Salgado, E. Al-Sahayan, S. Bhunia, and P. Antonenko, "Game on: Gamifying computer hardware fundamentals learning using a configurable platform," IEEE Transactions on Education, 2024.
[22] A. Ramirez-Salgado, T. Hossain, T. Hoque, S. Bhunia, M. J. Koroly, and B. Davey, "Engaging students in exploring computer hardware fundamentals using FPGA board games," in ASEE Annual Conference and Exposition, 2023.
[23] A. Ramirez-Salgado, T. Hossain, S. Bhunia, and P. Antonenko, “Supporting hardware engineering career choice in first-year engineering students,” in ASEE Annual Conference and Exposition, 2024.
[24] A. Ramirez-Salgado, S. Bhunia, P. Antonenko, W. Hwang, and C. Wusylko, "NSF IUSE: Empowering future engineers, an inclusive curriculum for AIoT and intelligent embedded systems," in ASEE Annual Conference and Exposition, 2024.
[25] R. S. Chakraborty and S. Bhunia, "HARPOON: An obfuscation-based SoC design methodology for hardware protection," IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 28, no. 10, pp. 1493–1502, 2009.
[26] J. Rajendran, H. Zhang, C. Zhang, G. S. Rose, Y. Pino, O. Sinanoglu, and R. Karri, "Fault analysis-based logic encryption," IEEE Transactions on Computers, vol. 64, no. 2, pp. 410–424, 2015.
[27] S. Bhunia, M. S. Hsiao, M. Banga, and S. Narasimhan, "Hardware Trojan attacks: Threat analysis and countermeasures," Proceedings of the IEEE, vol. 102, no. 8, pp. 1229–1247, 2014.
[28] K. Xiao, D. Forte, Y. Jin, R. Karri, S. Bhunia, and M. Tehranipoor, "Hardware Trojans: Lessons learned after one decade of research," ACM Transactions on Design Automation of Electronic Systems, vol. 22, no. 1, 2016.
[29] C. Cowan, C. Pu, D. Maier, H. Hinton, J. Walpole, P. Bakke, S. Beattie, A. Grier, P. Wagle, and Q. Zhang, "StackGuard: Automatic adaptive detection and prevention of buffer-overflow attacks," in USENIX Security Symposium, 1998, pp. 63–78.
[30] H. Shacham, M. Page, B. Pfaff, E.-J. Goh, N. Modadugu, and D. Bøneh, "On the effectiveness of address-space randomization," in ACM Conference on Computer and Communications Security (CCS), 2004, pp. 298–307.
[31] P. C. Kocher, "Timing attacks on implementations of Diffie-Hellman, RSA, DSS, and other systems," in Advances in Cryptology (CRYPTO), 1996, pp. 104–113.
[32] P. Kocher, J. Jaffe, and B. Jun, "Differential power analysis," in Advances in Cryptology (CRYPTO), 1999, pp. 388–397.
[33] D. Agrawal, B. Archambeault, J. R. Rao, and P. Rohatgi, "The EM side-channel(s)," in Cryptographic Hardware and Embedded Systems (CHES), 2002, pp. 29–45.
[34] S. Kleber, H. F. Nölscher, and F. Kargl, "Automated PCB reverse engineering," in USENIX Workshop on Offensive Technologies (WOOT), 2017.
[35] C. Herder, M.-D. Yu, F. Koushanfar, and S. Devadas, "Physical unclonable functions and applications: A tutorial," Proceedings of the IEEE, vol. 102, no. 8, pp. 1126–1141, 2014.
[36] D. E. Holcomb, W. P. Burleson, and K. Fu, "Power-up SRAM state as an identifying fingerprint and source of true random numbers," IEEE Transactions on Computers, vol. 58, no. 9, pp. 1198–1210, 2009.
[37] T. Meade, S. Zhang, Z. Zhao, D. Pan, and Y. Jin, "Gate-level netlist reverse engineering tool set for functionality recovery and malicious logic detection," in International Symposium for Testing and Failure Analysis (ISTFA), 2016.
[38] R. Quijada, A. Raventos, F. Tarres, R. Dura, and S. Hidalgo, "The use of digital image processing for IC reverse engineering," in IEEE International Multi-Conference on Systems, Signals and Devices (SSD), 2014, pp. 1–4.
[39] L. Azriel, J. Speith, N. Albertus, R. Ginosar, A. Shamir, and C. Paar, "A survey of algorithmic methods in IC reverse engineering," Journal of Cryptographic Engineering, vol. 11, pp. 299–315, 2021.