The Witness
Explore how a simulated thermal signal can reveal activity that network controls miss.
On this page
- 1. The one-line story
- 2. Overview and learning objectives
- 3. Key terms
- 4. The same mechanism from two chairs
- 5. Where your answers go
- 6. Practise first: the offline simulator
- 7. The class board (your environment)
- 8. Your job: mine at the highest quiet rate, then read the heat
- 9. How the gate scores you
- 10. Where each part comes from (how to discover it)
- 11. Setup and procedure
- 12. Analysis questions
- 13. Deliverable, grading, and ethics
| Track | Cyber Operations (CYBR 358) |
| Instructor | Dr. Ahmet Furkan Aydogan |
| Deliverable | The completed Word worksheet |
| Points | 100 |
Part I — Why heat tells on a quiet attacker
1. The one-line story
A cheap home modem is compromised and put to work mining cryptocurrency. Mining is just a lot of computation, and computation costs the processor work, and work turns into heat. The attacker keeps the network side quiet so the modem’s own firewall never notices. But the heat has to go somewhere. The modem’s plastic case warms by several degrees, and the insects that share the room, which steer by temperature, stop resting on the now too-hot modem and settle in a ring a short distance away. Their positions, not the network logs, are what reveal the intrusion.
2. Overview and learning objectives
By the end of this lab you will be able to:
- explain, in plain language, what a side channel is and why heat is one;
- describe how a rate-limit firewall decides what to block, and what it cannot see;
- find the highest request rate that mines effectively while staying under that limit;
- read a simple physical detector (the flies’ positions) and say what it proves; and
- judge why a network-only defense misses a low-and-slow abuse that a physical channel still exposes.
3. Key terms
Each term is defined once, in plain words, with an everyday comparison.
Side channel. Information that leaks through a by-product of a system rather than through its normal output. A locked office reveals nothing through the door, yet a warm doorknob still says someone was just inside. Here the by-product is heat.
Thermotaxis. An animal’s movement guided by temperature. A fruit fly has a strong preferred temperature, near 24 degrees, and walks away from anything much hotter, the way you edge back from a fire that is too close.
Cryptomining. Running heavy repeated computation to earn cryptocurrency. On a hijacked device it is theft of electricity and compute; more mining means more processor load.
Rate limit (firewall). A rule that caps how many requests per second a device will accept. Ask politely within the cap and you are served; hammer past it and the excess is dropped, and if you keep hammering the connection is cut and an alert is raised. Think of a ticket window that serves a steady line but calls security when someone shoves.
Covert versus overt. An overt attack trips the alarm; a covert one stays under every threshold the defender set. The whole point of this lab is a covert miner: quiet on the network, loud in the physical world.
Detector. Anything that turns a signal into a decision. Here the flies are the detector: their move from the modem to a ring is the alarm the firewall never sounded.
4. The same mechanism from two chairs
Heat rises with processor load. That one fact is the whole lab, read two ways.
The mechanism on the attacker’s side
You want to mine as much as possible. More requests means more load means more coins. But push past the firewall’s rate limit and you are blocked and flagged, so your yield drops to zero and you are caught on the network. The move is to sit just under the limit: the maximum quiet rate.
Now flip it. The mechanism on the defender’s side
You cannot see the mining in the network logs, because the attacker stayed under your limit. But you can measure the modem’s temperature, or watch anything in the room that responds to temperature. The load that was invisible to the firewall is plain in the heat.
Part II — The operation
5. Where your answers go
Do not hand in a blank document. Open the file “The Witness, Student Worksheet.docx” that came with this lab. Every step and question below has a matching answer line, box, or table in that worksheet: record your flag, paste your screenshots, and write your explanations there. The completed worksheet is what you submit.
6. Practise first: the offline simulator
The simulator is embedded right below — nothing is installed and no network is needed. (It is also in your kit as simulator/witness_sim.html to run offline.) It has two modes:
- Auto incident plays a full simulated day in which the miner fires twice on the modem. Watch the flies leave the modem during each burst and the detector line rise. This shows you the effect before you cause it.
- Manual (terminal) hands you the controls. Type
help, thenfw.statusto read the firewall’s rate limit, then write a shortminer.jsin the editor and Run it. Raise the rate and watch the modem’s case temperature climb and the flies back off to the ring.
Use the simulator until you can reliably heat the modem without tripping its firewall. Then do it for grades on the class board.
7. The class board (your environment)
You will not install any server. The instructor runs the modem’s control board and gives each student a private board. Two things are keyed to you and to no one else: your firewall’s exact rate limit, and your flag. You cannot use a classmate’s numbers; you must do your own recon.
Open your board with the Launch Lab button at the bottom of this page and enter the class access code announced in class.
- Launch: use the Launch Lab button; the live board opens in a new tab.
- Entry: enter the class access code when prompted — no personal account, Student ID, or payment is required.
- Your board: shows your firewall’s rate limit (your recon), and a form to run the miner.
Worked example (how to open your page). Open the board with the Launch Lab button, enter the class access code announced in class, and confirm the page shows your own board with a firewall rate limit at the top. Use the class access code from your instructor, never a classmate’s; your limit and your flag are tied to your board.
8. Your job: mine at the highest quiet rate, then read the heat
- Recon. Read your firewall’s rate limit from your board (Step 1 card). This is the ceiling.
- Mine. Choose a request rate just under that ceiling, a duration long enough to heat the case, name the device the anomaly is on, and say in one line what the flies do.
- Submit. The board runs your plan, shows the resulting case temperature, and marks each of five checks green or red.
- Read the witness. When all five are green, the board reports that the firewall logged nothing yet the case ran hot and the flies gave it away, and it relays your flag.
9. How the gate scores you
When you submit, the board checks five things and marks each green (present) or red (missing).
| Check | What it wants |
|---|---|
| Under the limit | Your rate is at or below your firewall’s limit, so no alert fires. Over it, you are blocked. |
| Highest quiet rate | Your rate is within 60 req/s below the limit: mine hard, do not leave yield on the table. |
| Sustained | Your duration is at least 60 seconds, long enough for the case to actually heat. |
| Correct device | You name modem as the anomaly. The oven, TV and fridge also warm on their own schedules; only one is the mining host. |
| Understands the tell | You state in a few words what the flies do (leave the hot modem, form a ring) that the firewall and the logs never record. |
Table 1. All five green, and the flag appears. Any red, and the board tells you exactly what to fix.
10. Where each part comes from (how to discover it)
You are not expected to guess. Everything is shown on your board or is learnable in the simulator first.
| Part | Where you find it | How |
|---|---|---|
| Firewall limit | your board (Step 1), or fw.status in the simulator | The board prints your ceiling; the simulator’s fw.status prints the same kind of policy. |
| The quiet maximum | the simulator | Raise the rate in Manual mode until just before the firewall trips; that band is your target. |
| Duration | the simulator | Watch how long the case takes to heat once mining starts; pick a duration past that. |
| Anomaly device | the simulator | In Auto mode, see which device the flies desert during the bursts. |
| The tell | the simulator | Describe what the flies do: they leave the modem and settle in a ring. |
Table 2. Every value you submit is observable in the simulator before you run for grades.
11. Setup and procedure
Put the lab folder on your Desktop. Open simulator/witness_sim.html in a browser to practise. When you are ready, open the board with the Launch Lab button and enter the class access code. Do the steps in order.
- Open your board. Enter the class access code and confirm the page shows your own board and your firewall’s rate limit.
- Practise in the simulator. In Manual mode, run
fw.status, then mine at several rates and watch the case temperature and the flies. Find the highest rate that never trips the firewall. - Plan your run. Write down a rate just under your board’s limit, a duration of at least 60 seconds, the device (
modem), and one line on what the flies do. - Submit it. Enter your plan on the board and read the resulting case temperature and the five-part verdict.
- Fix the red parts and resubmit. Correct whatever is red. Each verdict moves you one step closer; this is not guessing.
- Capture the flag. When all five parts are green, the board relays your flag. Take a screenshot showing your board and the flag together.
A sample board verdict, when a run succeeds:
modem case temperature: 33.7 C- Physical witness: the flies backed off to a ring; the thermal witness fired.
[check]Under the firewall limit (no alert)[check]Mining at the highest quiet rate[check]Sustained long enough to heat[check]Correct anomaly device[check]Understands the thermal side channel
12. Analysis questions
Answer each in a few sentences in the worksheet, using what you observed.
- The measurement. In the simulator, record the modem’s case temperature at rest and again while mining at your quiet maximum. Why is a change from a baseline a better alarm than any single temperature reading on its own?
- Identify. Name the five devices in the simulated home and say which one is the anomaly and why the other four are decoys. What makes the modem’s heat different from the oven’s?
- In your own words. Your miner never tripped the firewall and left the network logs clean. Explain to a first-year student how the flies still caught it, using an analogy that is not the one used in this handout.
- Limits of the evidence. The flies moving to a ring proves the modem got hot. Does it prove the cause was mining, or only that the device was working hard? What else could heat a modem, and how would a defender tell the difference?
- Trade-off and judgment. From the defender’s chair, name one physical or behavioural signal you would monitor to catch covert mining, and one real cost it imposes. From the attacker’s chair, say in one sentence why staying under the firewall’s limit was still not enough to stay hidden.
13. Deliverable, grading, and ethics
Deliverable. Fill in the provided Word worksheet, “The Witness, Student Worksheet.docx”: record your flag, paste your required screenshot, complete the observation log, and answer Q1 to Q5. Save it as Lastname_Firstname_Witness.docx (or export to PDF) and upload it. A screenshot clearly showing your board and your flag, with all five parts green, is mandatory.
| Criterion | Points |
|---|---|
| Evidence captured: screenshot of your flag (your board and flag, all five parts green) | 30 |
| Observation log completed (at least three runs recorded, with rate and case temperature) | 15 |
| Q1 to Q2: correct measurement and identification of the anomaly versus the decoys | 25 |
| Q3 to Q5: thoughtful judgment on side channels, causation, and defense | 20 |
| Clarity, structure, and correct use of terms | 10 |
Academic integrity, scope, and ethics. This is individual work. Everything here is a synthetic simulation: no real device, credential, or personal data is involved, and the flag is a harmless synthetic string. Work only on the class board and your own machine. Your firewall limit and flag are tied to your board, so use your own. Studying how a covert miner is caught is defensive knowledge: the lesson is that a network limit and a physical by-product can disagree, and the by-product wins. The technique is neutral; the target and the authorization are what make it right or wrong. A correctly reported “I could not pass yet,” with your runs recorded, earns partial credit; an invented flag earns zero. AI may help you understand the tools, but run every step yourself.
Individual assignment. Questions? Email the instructor at aydogana@uncw.edu.
Practise on the offline simulator (witness_sim.html) in the lab files, then open the live board and enter the class access code.