mcpField
H
hardware-in-the-loop-security-tester

hardware-in-the-loop-security-tester

github.com/rade-nugrohoSecurity1237 installsUpdated 23w ago
Repository

About hardware-in-the-loop-security-tester

A skill for authorized hardware-in-the-loop security testing on real targets such as ECUs, PLCs, and gateways. It covers bench safety, attack-surface analysis, fault injection, and evidence capture, with authorization and safety review required before testing.

Key features

  1. 01Test-bench topology and safety interlocks
  2. 02Embedded attack-surface mapping
  3. 03Reproducible fault-injection tests
  4. 04Bus and interface monitoring
  5. 05Evidence capture, reporting, and retesting

Use cases

  1. 01Plan a lab assessment of a real ECU or PLC
  2. 02Design bus-stimulus and fault-injection cases
  3. 03Record logs and bus traces during firmware security tests
  4. 04Retest on the same bench after firmware patches

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/rade-nugroho/agentic-enteprises-skill --skill hardware-in-the-loop-security-tester

After installing, type/hardware-in-the-loop-security-testerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
automotive_and_industrial_patterns.md
bus_and_interface_security.md
evidence_and_reporting.md
fault_injection_and_stimulus.md
hil_security_tester_scope.md
test_bench_and_safety.md

Details

From the project README

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

NeedSkill
Authorized general pentest (non-HIL primary)penetration-tester
Binary/firmware RE, protocol reverse engineeringreverse-engineer
Implement fixes (IAM, SIEM, guardrails) on IT systemsinformation-security-engineer
Security program, risk acceptance, engagement governancecybersecurity
Audit control mapping and evidence packagescompliance-engineer
Web/API layer when also in scopeweb-pentester
Network/AD when bench includes enterprise segmentnetwork-pentester
Threat context and TTP mapping for reportscti-analyst
Customer-facing technical writeupstech-writer-researcher

Core Workflows

1. Authorization, scope, and bench readiness

Do not energize targets or inject faults without written authorization and completed safety review.

  1. Confirm signed SOW/ROE: targets, buses, methods, time windows, stop conditions
  2. Complete bench FMEA / hazard review with lab owner; document interlocks and e-stop
  3. Inventory target firmware versions, keys, calibration, and baseline configuration
  4. Define out-of-scope (moving machinery, public roads, production fleets, third-party networks)
  5. 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

TopicReference
Role boundaries and engagement typesreferences/hil_security_tester_scope.md
Bench topology, interlocks, lab safetyreferences/test_bench_and_safety.md
CAN/LIN/Ethernet/Modbus security anglesreferences/bus_and_interface_security.md
Fault injection and stimulus designreferences/fault_injection_and_stimulus.md
Evidence capture and reportingreferences/evidence_and_reporting.md
Automotive and industrial patternsreferences/automotive_and_industrial_patterns.md

Comments

Markdown supported