Full Guide
Executive Summary
This is the engine room of the paper — where you present the system, attack, or technique you actually built. It is also where two opposite failure modes live: the plumbing dump (page after page of engineering detail that buries the idea) and the hand-wave (so little detail the reviewer cannot tell whether it works or is reproducible). The skill is presenting at the right altitude: enough design rationale that the novelty is obvious, enough implementation that it is trustworthy and reproducible, and no more.
This module sequences the design → implementation → (bridge to) evaluation arc, deploys architecture diagrams and algorithm blocks effectively, and surfaces novelty without drowning the reader in plumbing.
The one-line mental model: Show why your design is the way it is and just enough of how it's built to trust and reproduce it. Everything else is appendix or artifact.
Learning Outcomes
By the end of this module you will be able to:
- Sequence design → implementation → evaluation cleanly.
- Use architecture diagrams and algorithm blocks effectively.
- Surface novelty without drowning in engineering detail.
- Right-size reproducible implementation detail.
1. Design Before Implementation
Reviewers must understand what you built and why this design before they care how you coded it. Lead with design rationale; relegate code-level detail to a clearly separate implementation subsection (or the artifact).
flowchart TD
P["Problem + threat model<br/>(from Intro)"] --> D["DESIGN<br/>key idea, why this approach,<br/>decisions vs. alternatives"]
D --> A["ARCHITECTURE<br/>components + data flow (figure)"]
A --> I["IMPLEMENTATION<br/>just-enough: language, sizes,<br/>tricky bits, what's released"]
I --> E["bridges to EVALUATION"]
style D fill:#0c2a22,stroke:#10e793,color:#d1fae5
style I fill:#1a230c,stroke:#fca311,color:#fef3c7The design subsection is where novelty lives, so it gets the most care: state the key insight in one or two sentences, then justify each major design decision against the alternative you rejected (the Module 15 move). The implementation subsection is shorter and answers only "is this real and reproducible?" — language, line-count, the genuinely hard parts, and what you release.
2. The Altitude Problem
"Altitude" is how zoomed-in your prose is. Too high and the work seems trivial; too low and the idea drowns. Calibrate per paragraph.
| Altitude | Sounds like | Use for | Risk |
|---|---|---|---|
| Too high | "We use machine learning to detect attacks." | nothing | Trivial, unfalsifiable |
| Design (right) | "We frame evasion as a search over syscall-stub permutations, pruned by a callback-coverage oracle." | the key idea | — |
| Impl (right) | "Implemented in 3k LoC of C/ASM; the oracle wraps ETW-TI in 400 lines." | trust/repro | — |
| Too low | "We call NtAllocateVirtualMemory with MEM_COMMIT then memcpy 0x200 bytes..." | appendix only | Buries the idea |
ALTITUDE GAUGE — one technique, four zoom levels ^ too high "we evade EDR with a clever trick" | DESIGN "we relocate detection-relevant syscalls below the | (target) callback horizon, making userland hooks irrelevant" | IMPL "320-line stub generator emits position-independent | (target) syscall thunks; seeds fixed for reproducibility" v too low "mov r10,rcx; mov eax,0x18; syscall; ret ..."The design and implementation altitudes are both in the paper; the too-low altitude belongs in the artifact or an appendix. A reviewer should grasp the contribution from the design prose alone, then find the implementation reassuring rather than exhausting.
3. Architecture Diagrams That Earn Their Space
A good architecture figure replaces a page of prose and lets the reviewer hold your whole system in mind. A bad one is box-and-arrow soup that adds confusion.
flowchart LR
IN["Untrusted input"] --> GEN["Stub Generator<br/>(novel)"]
GEN --> ORC["Coverage Oracle<br/>(novel)"]
ORC -->|prunes| GEN
GEN --> LD["Loader runtime"]
LD --> TGT["Target process"]
ORC -.measures.-> TEL["ETW-TI telemetry"]
style GEN fill:#0c2a22,stroke:#10e793,color:#d1fae5
style ORC fill:#0c2a22,stroke:#10e793,color:#d1fae5
style TGT fill:#2a0c14,stroke:#ef233c,color:#fee2e2Three rules for a figure that earns its column inches: (1) highlight novelty — visually distinguish the components you contribute (green here) from off-the-shelf parts, so the reviewer's eye lands on what's new; (2) show data flow, not just boxes — label the arrows with what moves; (3) match the prose — every box appears in the text and vice versa. A figure whose components are never discussed is decoration, and reviewers notice.
4. Algorithm Blocks and Pseudocode
When the contribution is an algorithm, a numbered pseudocode block communicates it far more precisely than prose — provided it is at design altitude (logic), not implementation altitude (syntax).
Algorithm 1: Callback-pruned stub search Input : target syscall set S, telemetry oracle O Output: evasive stub permutation p* 1 P <- candidate permutations of S // search space 2 best <- null ; bestScore <- +inf 3 for each p in P do 4 score <- O.coverage(p) // how much telemetry p triggers 5 if score < bestScore then 6 best <- p ; bestScore <- score 7 if score == 0 then break // fully below callback horizon 8 return bestNotice it describes what the algorithm does (search permutations, score by telemetry coverage, keep the minimum) without a single line of real C. A reviewer can reason about its correctness and complexity from this alone. Pair the block with one sentence on complexity ("O(|P|) oracle calls; |P| bounded by pruning at line 7") — reviewers reflexively check that the algorithm is tractable.
5. Right-Sizing Implementation Detail
The implementation subsection answers exactly two reviewer questions — is it real? and can I reproduce it? — and nothing more. Include detail that serves those; banish the rest to the artifact.
flowchart TD
DET["A piece of impl detail"] --> Q{"Does it help<br/>trust or reproduce?"}
Q -->|yes: nonobvious + load-bearing| IN["Keep in paper"]
Q -->|reproducible but routine| ART["Put in artifact/README"]
Q -->|neither| CUT["Cut entirely"]
style IN fill:#0c2a22,stroke:#10e793,color:#d1fae5
style CUT fill:#2a0c14,stroke:#ef233c,color:#fee2e2A useful heuristic table for what stays:
| Detail | In paper? | Why |
|---|---|---|
| Language, LoC, key dependencies | Yes | Establishes scale/realism |
| The one genuinely hard engineering problem + solution | Yes | This is often a sub-contribution |
| Version pins, build steps, configs | No → artifact | Reproducibility lives in the repo (Mod 14) |
| Routine glue code | No → cut | Adds nothing |
| Parameter values that affect results | Yes | Reviewer needs them to judge validity |
The litmus test: if removing a sentence wouldn't change whether a reviewer trusts or could reproduce the work, it belongs in the artifact, not the paper. This keeps the section tight and the novelty visible — the whole goal of the engine room.
Step-by-Step Practical Exercise
Goal: Draft the design + implementation section for your system, with one architecture figure, one algorithm block, and right-sized detail.
Time: ~85 minutes. You need: your built system/attack and your contributions list (Module 21).
Step 1 — State the key insight (10 min). Write the one or two sentences that capture why your design works at design altitude (§2). If you can't, you don't yet know your novelty.
Step 2 — Justify three design decisions (15 min). For your three biggest design choices, name the rejected alternative and justify (validity/realism/cost), per Module 15.
Step 3 — Draw the architecture figure (20 min). Build the §3 diagram. Visually distinguish your novel components from off-the-shelf ones, label the data-flow arrows, and confirm every box is discussed in text.
Step 4 — Write one algorithm block (20 min). If you have an algorithmic core, write the §4 pseudocode at design altitude plus a one-sentence complexity note. (No real syntax.)
Step 5 — Right-size implementation (20 min). Write the implementation subsection, then run every sentence through the §5 decision tree — keep, push-to-artifact, or cut. Verify the section still conveys "real and reproducible."
Deliverable: a design subsection with justified decisions, one novelty-highlighting architecture figure, one algorithm block, and a tight implementation subsection. This is the body your introduction promised (Module 21) and your evaluation tests (Module 19).
Where to go next
- Module 15 — Writing the Methodology Section with Scientific Rigor is the evaluation-side counterpart to this design-side section.
- Module 24 — Formatting References, Figures, and Mathematical Proofs covers the craft of the figures and algorithm blocks you just drafted.
Related reading on the blog: "The Plumbing Dump That Buried a Great Idea" and "Design Altitude: Writing the Engine Room".