Skip to content
PT
← Projects

Projects · Project 01 · Threat-driven architecture

Home Assistant as an attack surface

A connected home concentrates what an attacker wants: cameras, locks, a voice assistant and remote access. I modeled a fictional Home Assistant scenario as a target to study threats, controls and architecture decisions.

The entire environment on this page is fictional: architecture, floor plan, devices, events and results are only part of the study.

MITRE ATT&CKSTRIDEOWASP IoT Top 10NIST CSF 2.0Defense in depth

Research question

Which current offensive techniques can reach a home automation environment, and what architecture stops them before they reach a device?

The environment evolves in short cycles, in the spirit of a purple team exercise: each technique becomes a test, and each test leaves evidence.

  1. 01Hypothesis

    Which offensive technique reaches this asset, and through which path?

  2. 02Execution

    The technique is reproduced in a controlled setting.

  3. 03Evidence

    The result is read in the audit trail and alerts.

  4. 04Adjustment

    The control that failed or was missing enters the architecture.

  5. 05Retest

    The same technique is run again to confirm the block.

Threat model

Techniques mapped to MITRE ATT&CK and the OWASP IoT Top 10, classified with STRIDE and organized by the NIST CSF 2.0 functions.

Offensive techniqueReferenceArchitecture controlStatus
Reconnaissance and exploitation of an exposed serviceT1595 · T1190No published port; remote access only through VPNTested
Leaked credential (credential stuffing)T1078 · T1110.004Second factor required on every accessTested
Brute force on a sensitive-action PINT1110.001Lockout after invalid attempts and immediate alertTested
Voice command injectionOWASP IoT · I3Voice assistant without permission for sensitive actionsTested
Compromised remote sessionT1133Immediate revocation of all remote accessTested
Lateral movement from an IoT deviceT1021 · T1210Device network segmentationNext iteration
MFA fatigue and credential phishingT1621 · T1566Phishing-resistant passkey over VPN as wellNext iteration

Running the techniques

Panel simulation: pick a technique under “Simulate attacks” and follow which layer stops it and what is logged.

Command from

Estimated coverage · distance + walls · uncalibrated model

Remote access revoked · only the local network responds

Tap for details · double-tap to turn on or off · press and hold to adjust · scroll or pinch to zoom

Simulate attacks

Activity · last 24 h

0events
0denials
0devices online

Audit log

  • No events logged.

Security architecture

The layers every command crosses, from the network to the log.

01 | CLIENTS AND DEVICESPHONEVPN keyPush alertsVPN onlyCOMPUTERAdministrationMFAVPN onlyBROWSERExpiring sessionSecure cookiesTLS 1.302 | REMOTE ACCESS AND EDGEPRIVATE VPNWireGuardAuthorizeddevices onlyNO EXPOSURENo open portsNothing publishedon the internetFIREWALLDeny by defaultAllows only theLAN and the VPN03 | IDENTITY AND ACCESSLOGIN + 2FAStrong passwordTOTPBackup codesPIN + ORIGINHashed PIN2 errors = lockoutVoice: minimal listPROTECTIONLockout on errorsPer-IP rate limitExpiring session04 | APPLICATION (HOME SERVER)HOME PANELMoving toHome AssistantLeast privilegeINTERNAL APIAuthenticated sessionsAudited actionsInput validationSECRETSOutside the codeRestricted permissionsPIN hash05 | HOME NETWORKMAIN NETWORKTrusteddevicesWi-Fi WPA2/3IoT NETWORKIsolatedNo access to themain networkIoT DEVICESTV, lights, cameraUpdated firmwareLocal control06 | MONITORING AND RESILIENCEAUDITAction logWho, when, whereRetentionALERTSPhone pushAccess, error, lockoutReal timeRESILIENCEHoneypot (decoy)Supervised serviceAutomatic restartVPNauthorized traffic onlysessionlocal networkevents / auditpush alertsPersonal study project · no real dataLayered defense: edge, identity, application, network and monitoringDashed: being deployedtrafficevents and alertsbeing deployed

Findings

  • With no published port, external reconnaissance finds no surface; remote access becomes the boundary to protect.
  • A valid credential alone grants no access: the second factor stops the attack.
  • The voice assistant is the channel most exposed to abuse, so it performs no sensitive actions.

Proposed architecture

  • Remote access exclusively through VPN.
  • Password and second factor on every access; PIN for sensitive actions.
  • Audit trail and real-time notification.
  • Immediate revocation of remote access.

Next iterations

  • Segment the IoT device network and test lateral movement.
  • Adopt passkeys to resist phishing and MFA fatigue.
  • Centralize logs for rule-based detection.