Hardware-in-the-Loop (HIL) Security Tester
When to Use
- Plan or execute authorized security assessments on real hardware with a HIL rig (ECU, ECM, PLC, gateway, domain controller)
- Design test bench topology, bus taps, power/reset control, and safety interlocks before active testing
- Map attack surfaces on cyber-physical targets (diagnostics, flashing, debug ports, wireless, OTA paths) under lab conditions
- Develop fault injection and stimulus campaigns (bus frames, timing, signal, power) with reproducible test cases
- Monitor buses and interfaces during tests; correlate observations with firmware/vehicle security teams
- Capture evidence (logs, traces, captures, configuration snapshots) suitable for remediation and retest
- Coordinate retest after firmware patches, key rotation, or configuration hardening on the same bench
When NOT to Use
- Web application or API-only assessments (OWASP, proxy methodology) →
web-pentester
- Network/AD/infra pentest without embedded targets on the bench →
network-pentester
- General penetration test without HIL hardware, buses, or plant simulation →
penetration-tester
- Disassembly, decompilation, patch diff, or malware RE as primary work →
reverse-engineer
- SIEM alert triage, SOC playbooks, or shift operations →
soc-analyst
- Live incident command, war room, or production containment →
incident-responder
- LLM jailbreak, prompt injection, or agent tool abuse →
ai-redteam
- Classified ISSO / accreditation paperwork without hands-on HIL testing →
information-systems-security-officer-classified-specialist
- CI build validation or release gates without hardware under test →
build-validator
- Enterprise security strategy, GRC roadmap, or policy without lab execution →
cybersecurity
- Control testing and audit evidence mapping only (no active HIL tests) →
compliance-engineer
Related skills
| Need |
Skill |
| Authorized general pentest (non-HIL primary) |
penetration-tester |
| Binary/firmware RE, protocol reverse engineering |
reverse-engineer |
| Implement fixes (IAM, SIEM, guardrails) on IT systems |
information-security-engineer |
| Security program, risk acceptance, engagement governance |
cybersecurity |
| Audit control mapping and evidence packages |
compliance-engineer |
| Web/API layer when also in scope |
web-pentester |
| Network/AD when bench includes enterprise segment |
network-pentester |
| Threat context and TTP mapping for reports |
cti-analyst |
| Customer-facing technical writeups |
tech-writer-researcher |
Core Workflows
1. Authorization, scope, and bench readiness
Do not energize targets or inject faults without written authorization and completed safety review.
- Confirm signed SOW/ROE: targets, buses, methods, time windows, stop conditions
- Complete bench FMEA / hazard review with lab owner; document interlocks and e-stop
- Inventory target firmware versions, keys, calibration, and baseline configuration
- Define out-of-scope (moving machinery, public roads, production fleets, third-party networks)
- Establish emergency stop, power-down procedure, and escalation contacts
See references/hil_security_tester_scope.md and references/test_bench_and_safety.md.
2. Attack surface mapping and test design
baseline capture → interface inventory → trust boundaries → threat hypotheses → test cases → peer review
Prioritize interfaces exposed on the bench: OBD/diagnostics, flashing, debug (JTAG/SWD), wireless, USB/Ethernet, service modes, and cross-domain gateways.
See references/bus_and_interface_security.md and references/automotive_and_industrial_patterns.md.
3. Execute fault injection and stimulus (in scope)
- Run reproducible scripts or harness-defined sequences; version control stimulus definitions
- Record bus traces, power events, and target responses with synchronized timestamps (UTC)
- Stop at agreed impact; avoid unbounded fuzzing on safety-critical actuators without explicit approval
- Restore baseline configuration and clear test keys/sessions before handoff
See references/fault_injection_and_stimulus.md.
4. Evidence, reporting, and coordination
Per finding: title, severity, safety note, impact, preconditions, reproduction on bench, evidence refs, remediation owner, retest criteria. Coordinate with firmware/vehicle security on exploitability vs design intent.
See references/evidence_and_reporting.md.
When to load references
| Topic |
Reference |
| Role boundaries and engagement types |
references/hil_security_tester_scope.md |
| Bench topology, interlocks, lab safety |
references/test_bench_and_safety.md |
| CAN/LIN/Ethernet/Modbus security angles |
references/bus_and_interface_security.md |
| Fault injection and stimulus design |
references/fault_injection_and_stimulus.md |
| Evidence capture and reporting |
references/evidence_and_reporting.md |
| Automotive and industrial patterns |
references/automotive_and_industrial_patterns.md |
1---2name: hardware-in-the-loop-security-tester3description: Guides security assessment of embedded and cyber-physical systems on hardware-in-the-loop (HIL) test benches—bench setup, ECU/ECM or PLC targets, bus interfaces (CAN/CAN-FD, LIN, automotive Ethernet, Modbus at high level), fault injection and stimulus design, simulated plant/environment integration, attack-surface monitoring on real hardware, reproducible test cases, lab safety interlocks, and evidence capture for firmware and vehicle security teams. Use for HIL security testing, ECU security assessment, CAN bus security, PLC HIL test, fault injection lab, embedded hardware security—not web/API pentest (web-pentester), network-only pentest (network-pentester), malware/binary RE only (reverse-engineer), SOC operations (soc-analyst), AI red team (ai-redteam), classified ISSO paperwork (information-systems-security-officer-classified-specialist), or pure software CI without hardware (build-validator).4---56# Hardware-in-the-Loop (HIL) Security Tester78## When to Use910- Plan or execute **authorized** security assessments on **real hardware** with a HIL rig (ECU, ECM, PLC, gateway, domain controller)11- Design **test bench** topology, bus taps, power/reset control, and **safety interlocks** before active testing12- Map **attack surfaces** on cyber-physical targets (diagnostics, flashing, debug ports, wireless, OTA paths) under lab conditions13- Develop **fault injection** and **stimulus** campaigns (bus frames, timing, signal, power) with reproducible test cases14- Monitor buses and interfaces during tests; correlate observations with **firmware/vehicle security** teams15- Capture **evidence** (logs, traces, captures, configuration snapshots) suitable for remediation and retest16- Coordinate **retest** after firmware patches, key rotation, or configuration hardening on the same bench1718## When NOT to Use1920- **Web application or API-only** assessments (OWASP, proxy methodology) → `web-pentester`21- **Network/AD/infra pentest** without embedded targets on the bench → `network-pentester`22- **General penetration test** without HIL hardware, buses, or plant simulation → `penetration-tester`23- **Disassembly, decompilation, patch diff, or malware RE** as primary work → `reverse-engineer`24- **SIEM alert triage**, SOC playbooks, or shift operations → `soc-analyst`25- **Live incident command**, war room, or production containment → `incident-responder`26- **LLM jailbreak**, prompt injection, or agent tool abuse → `ai-redteam`27- **Classified ISSO / accreditation paperwork** without hands-on HIL testing → `information-systems-security-officer-classified-specialist`28- **CI build validation** or release gates without hardware under test → `build-validator`29- **Enterprise security strategy, GRC roadmap, or policy** without lab execution → `cybersecurity`30- **Control testing and audit evidence** mapping only (no active HIL tests) → `compliance-engineer`3132## Related skills3334| Need | Skill |35|---|---|36| Authorized general pentest (non-HIL primary) | `penetration-tester` |37| Binary/firmware RE, protocol reverse engineering | `reverse-engineer` |38| Implement fixes (IAM, SIEM, guardrails) on IT systems | `information-security-engineer` |39| Security program, risk acceptance, engagement governance | `cybersecurity` |40| Audit control mapping and evidence packages | `compliance-engineer` |41| Web/API layer when also in scope | `web-pentester` |42| Network/AD when bench includes enterprise segment | `network-pentester` |43| Threat context and TTP mapping for reports | `cti-analyst` |44| Customer-facing technical writeups | `tech-writer-researcher` |4546## Core Workflows4748### 1. Authorization, scope, and bench readiness4950**Do not energize targets or inject faults without written authorization and completed safety review.**51521. Confirm signed SOW/ROE: targets, buses, methods, time windows, stop conditions532. Complete bench **FMEA / hazard review** with lab owner; document interlocks and e-stop543. Inventory target firmware versions, keys, calibration, and baseline configuration554. Define out-of-scope (moving machinery, public roads, production fleets, third-party networks)565. Establish emergency stop, power-down procedure, and escalation contacts5758**See `references/hil_security_tester_scope.md` and `references/test_bench_and_safety.md`.**5960### 2. Attack surface mapping and test design6162```63baseline capture → interface inventory → trust boundaries → threat hypotheses → test cases → peer review64```6566Prioritize interfaces exposed on the bench: OBD/diagnostics, flashing, debug (JTAG/SWD), wireless, USB/Ethernet, service modes, and cross-domain gateways.6768**See `references/bus_and_interface_security.md` and `references/automotive_and_industrial_patterns.md`.**6970### 3. Execute fault injection and stimulus (in scope)7172- Run **reproducible** scripts or harness-defined sequences; version control stimulus definitions73- Record bus traces, power events, and target responses with synchronized timestamps (UTC)74- Stop at agreed impact; avoid unbounded fuzzing on safety-critical actuators without explicit approval75- Restore baseline configuration and clear test keys/sessions before handoff7677**See `references/fault_injection_and_stimulus.md`.**7879### 4. Evidence, reporting, and coordination8081Per finding: title, severity, safety note, impact, preconditions, reproduction on bench, evidence refs, remediation owner, retest criteria. Coordinate with firmware/vehicle security on exploitability vs design intent.8283**See `references/evidence_and_reporting.md`.**8485## When to load references8687| Topic | Reference |88|---|---|89| Role boundaries and engagement types | `references/hil_security_tester_scope.md` |90| Bench topology, interlocks, lab safety | `references/test_bench_and_safety.md` |91| CAN/LIN/Ethernet/Modbus security angles | `references/bus_and_interface_security.md` |92| Fault injection and stimulus design | `references/fault_injection_and_stimulus.md` |93| Evidence capture and reporting | `references/evidence_and_reporting.md` |94| Automotive and industrial patterns | `references/automotive_and_industrial_patterns.md` |