Join our Newsletter — 33% off our NHI Course
Home› Guides› Hardware Maintenance, Repair and RMA Security Guide: controlling…
Guide Data Security

Hardware Maintenance, Repair and RMA Security Guide: controlling engineers, returned parts and data

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 11 November 2026 14 min read
On this page

Every repair ticket is a moment when data, credentials and privileged access leave your control, usually through a process owned by facilities or procurement rather than security. A field engineer swaps a server drive and takes the old one away, a laptop goes to a depot with the user's files on it, a storage array uploads a diagnostic bundle full of hostnames and keys, and a vendor's remote session sits open after the fix. This guide covers the security of in-life hardware maintenance: on-site engineers, depot and mail-in repair, return merchandise authorisation (RMA) and warranty swaps, defective media retention, diagnostic data and remote vendor sessions, and how to trust equipment that comes back. It is written for infrastructure, end-user computing, data centre and third-party risk teams; end-of-life disposal is covered separately in the IT Asset Disposition (ITAD) Security Guide.

Key takeaways

  • A warranty swap is a disclosure decision. NIST SP 800-88 Rev. 2 treats media exchanged for warranty or rebate and not returned as out of organisational control, and notes that losing control of unsanitised media may count as a breach under some legal rules.
  • Failed drives are the hard case. A drive that will not accept commands cannot be purged, so the default for media holding sensitive data should be retention and destruction on your terms, which means buying the retention option before it fails.
  • Engineers are privileged visitors. NIST SP 800-53 MA-5 expects an authorised list of maintenance organisations or personnel and supervision by competent staff where engineers lack access authorisation.
  • Diagnostic bundles leak more than drives. Support files, logs and browser traces sent to a vendor can contain hostnames, IP addresses, usernames, configuration secrets and session tokens; clean them before upload.
  • Re-verify what comes back. MA-2 asks you to check affected controls after maintenance; repaired or replacement hardware should be checked for firmware, configuration and identity before it rejoins production.

Where the risk sits in each maintenance route

RouteWhat leaves or entersMain risksPrimary control
On-site field engineer (data centre, branch, office)Engineer, tools, laptops and USB media; removed partsUnsupervised access to racks and consoles; parts carried off with data; unapproved tools connectedPre-booked visit tied to a ticket, escort or supervision, parts retained on site
Depot or mail-in repair (laptops, phones, appliances)The whole device with its storageData read by repairers; device lost in transit; credentials cached on deviceEncryption plus removal or crypto erase of storage, or a device repair mode
Advance replacement RMA (drives, controllers, boards)Failed part shipped to the vendorUnsanitised media out of control; NVRAM or controller cache holding dataDefective media retention, sanitise or destroy locally
Remote vendor diagnosticsRemote session into management interfaces; telemetryStanding access, shared accounts, sessions left openJust-in-time access, strong authentication, recording, termination
Support bundles and logsArchives uploaded to vendor portalsSecrets, topology and tokens in files kept by the vendorClean, review and minimise before upload
Returned or replacement equipmentRefurbished parts, new boards, re-flashed firmwareCounterfeit or tampered components; unknown firmware; default credentialsReceiving inspection, firmware verification, re-baseline

On-site engineers and maintenance personnel

NIST SP 800-53 Rev. 5 MA-5 Maintenance Personnel asks for a process to authorise maintenance personnel, a list of authorised organisations or people, and supervision by staff with the right authorisations and technical competence when an engineer lacks them. MA-2 Controlled Maintenance requires approval and monitoring of all maintenance, whether on site or remote, and whether the component is serviced in place or removed. In practice:

  • Book visits against a ticket: the facilities or reception team should only admit engineers who match a pre-registered visit, with the vendor's dispatch reference and the engineer's identity checked against what the vendor sent. Unscheduled "routine check" visits are a known social engineering pattern; see the Physical Security Guide for Security Teams.
  • Supervise in proportion to access: an escort for anyone in a data hall or near consoles; a technically competent supervisor where the engineer will touch storage, management interfaces or configuration.
  • Control their tools: MA-3 Maintenance Tools expects approval and monitoring of maintenance tools, and its enhancements cover inspecting tools and media for malicious code (MA-3(1), MA-3(2)) and preventing removal of equipment holding organisational information (MA-3(3)). Do not let an engineer's laptop or USB stick connect to production networks; use a prepared jump host or isolated service port.
  • Give access, not passwords: where an engineer needs a console or BMC login, issue a temporary named account and disable it afterwards rather than sharing a standing administrator password. See the Server BMC Security guide.
  • Keep the old parts: failed drives, controller cards with cache, and boards with embedded storage stay on site in a locked container until sanitised or destroyed, unless an exemption is approved.

Warranty returns and defective media retention

SP 800-88 Rev. 2 (final, September 2025) distinguishes media that stays in organisational control from media that leaves it. Section 4.3.4 places media exchanged for warranty or rebate, and not returned, outside control, while media sent to a maintenance provider under a contract that protects confidentiality, or maintained on site under supervision, can remain in control. The same section notes that legal and regulatory rules may treat loss of control of unsanitised media as a data breach. That makes the RMA decision a data protection decision.

Part conditionData sensitivityRecommended action
Working drive, being replaced pre-emptivelyAnyPurge with the drive's sanitise command (or crypto erase of a self-encrypting drive), verify, record, then return
Failed drive that still accepts commandsLowAttempt purge; if verification succeeds, return; if not, treat as failed
Failed drive that will not accept commandsModerate or highRetain and destroy locally; SP 800-88 Rev. 2 notes destruction may be the only option for failed media
Any drive, encrypted with keys you controlHighDestroy the keys, then still prefer retention for failed drives; encryption reduces but does not remove residual risk
Controller, RAID card, board with cache or NVRAMModerate or highClear cache where supported; otherwise ask the vendor for its handling statement or retain
  • Buy retention up front: many hardware vendors sell drive or media retention options on support contracts that let you keep failed drives while still receiving replacements. Adding it after a failure is often not possible, so make it a default line item for servers, storage arrays and laptops that hold sensitive data.
  • Know the warning signs: the NCSC lists remapped or bad sectors, failed read-back verification and non-removable batteries as signs that data may remain after sanitisation; any of these should send the part to destruction rather than return.
  • Encrypt so failure is survivable: NCSC guidance notes that a factory reset on an encrypted device deletes the keys and gives satisfactory assurance for most devices, though not a guarantee. Full-disk encryption with escrowed keys (see the Disk Encryption Guide: BitLocker and FileVault) turns a lost RMA part into a low-impact event.
  • Record the chain: serial number of the failed part, ticket number, who removed it, where it is stored, sanitisation method and result, or destruction certificate. The Media Sanitisation Guide covers methods and verification in depth.

Laptops and mobile devices sent for repair

  • Prefer swap to repair: for managed fleets, issue a spare from stock and send the faulty unit only after the storage is removed, wiped or crypto erased. This also removes the pressure to hand over a working login.
  • Never hand over credentials: repairers asking for the user's password is a common request; refuse it. If the device must boot for testing, create a temporary local account or use a vendor repair mode.
  • Use device repair modes where they exist: Samsung documents a Maintenance mode (One UI 5 or later) that creates a separate user account, hides personal data such as photos, messages and contacts, deletes anything created during the repair on exit, and requires a restart and the owner's lock-screen authentication to leave it. Check what equivalent your platforms offer and whether your mobile device management supports it.
  • Retire the device identity: before shipping, remove or suspend the device's certificates and management enrolment as appropriate, and revoke cached tokens for the user so a stolen-in-transit device cannot be used as a trusted endpoint.
  • Check consumer-grade repair contracts: small offices often use local repairers without any confidentiality terms; SP 800-88 Rev. 2 places that outside organisational control.

Diagnostic data and support bundles

Modern support starts with a log upload. Storage arrays, hypervisors, firewalls and operating systems generate support bundles that can include configuration files, command output, network topology, usernames and sometimes secrets. Red Hat's documentation on sos report says the archive may contain sensitive data and should be reviewed before it is shared, and provides sos clean (or --clean) to obfuscate hostnames, IP and MAC addresses, domain names, usernames and supplied keywords, on a best-effort basis, with a private mapping file to keep internal.

  • Clean before upload: use the vendor's own scrubbing option where it exists, and add your own keywords (domain names, project names).
  • Look for secrets: run a secret scanner over the bundle before upload; configuration exports often contain service account passwords, SNMP communities, API keys and private keys.
  • Browser traces are session theft kits: HAR files contain cookies and bearer tokens. In the Okta support system breach, attackers accessed files customers had uploaded to the support system for troubleshooting. Sanitise HAR files first; see the HAR Files and Session Token Leakage Guide.
  • Know where it goes: record the vendor portal, retention period and deletion process in the contract, and ask for deletion when the case closes.

Remote vendor maintenance

MA-4 Nonlocal Maintenance asks you to approve and monitor remote maintenance, allow only tools documented for the system, use strong authentication, keep records, and terminate sessions and network connections when the work is finished. Enhancements cover logging and review (MA-4(1)), separation of maintenance sessions (MA-4(4)), cryptographic protection (MA-4(6)) and disconnect verification (MA-4(7)).

  • No standing vendor accounts: enable access for the duration of the case through a privileged remote access tool or a broker, with named vendor users and MFA. See the Third-Party Access Guide.
  • Phone-home features are access paths: appliance call-home and vendor remote support tunnels should be off by default, enabled per case, and logged. The Verkada camera breach shows how a support path with super administrator reach becomes the attacker's path.
  • Record and review: session recording for high-impact systems, and a ticket reference on every session.
  • Verify disconnect: confirm tunnels are closed and temporary accounts disabled when the case closes; see the Remote Support Sessions guide.

Trusting what comes back

Replacement parts are often refurbished, and repaired equipment may have new firmware or a new board. NIST SP 800-53 SR-11 Component Authenticity covers anti-counterfeit procedures, and MA-2 asks you to check that affected controls still function after maintenance. MITRE ATT&CK lists T1195.003 Compromise Hardware Supply Chain and T1200 Hardware Additions; the realistic risk for most organisations is less a planted implant than a part arriving with unexpected firmware, default credentials or an old configuration.

  1. Receive against the RMA: confirm the serial number, part number and tamper seal against the vendor's shipping notice.
  2. Check firmware: compare BIOS, BMC, controller and drive firmware versions with your baseline and update through your normal signed channel. See the Firmware and Boot Security Guide.
  3. Reset identity and credentials: replace default BMC passwords, regenerate certificates bound to old hardware, and re-register TPM-based device identities where a board was swapped.
  4. Re-apply configuration: restore the hardened configuration from source control rather than trusting what the vendor loaded.
  5. Re-scan and re-enrol: vulnerability scan and agent health check before returning to production; update the asset inventory with new serials.

Where identity fits

Maintenance touches non-human identities more than people expect. A replaced motherboard changes the TPM, which can break device certificates and attestation; a replaced storage controller may carry cached credentials; BMCs ship with default accounts; and vendor remote support often relies on shared service accounts. Treat each as an NHI to inventory, rotate and retire: rotate any credential an engineer saw, disable vendor accounts between cases, and update the identity inventory when hardware identity changes. The NHI Offboarding and Decommissioning Guide covers retirement of machine credentials.

Choosing an approach by organisation size

  • Small organisations: encrypt every laptop and server disk, keep failed drives and destroy them through a certified provider, refuse credential requests from repairers, and use a written checklist for engineer visits.
  • Mid-sized organisations: add drive retention to support contracts, a maintenance log tied to the ticketing system, a cleaning step for support bundles and time-boxed vendor remote access.
  • Large or regulated organisations: contractual maintenance terms (confidentiality, sub-processors, in-country repair, evidence), escorted data hall access, recorded vendor sessions, receiving inspection with firmware verification, and metrics reported to the risk committee.
  • Retention versus return: retain where data sensitivity is moderate or high or where encryption is absent; returning purged working drives is reasonable where verification passes and the contract protects confidentiality.

Detection and measurement

  • Retention coverage: percentage of servers, storage arrays and laptops holding sensitive data whose support contract includes media retention.
  • Parts accounted for: failed storage parts with a matching sanitisation or destruction record within a set period (for example 30 days, an NHI Mgmt Group recommendation).
  • Vendor sessions: vendor remote sessions without a ticket reference, and accounts left enabled after case closure (target zero).
  • Bundle hygiene: support uploads that passed the cleaning and secret scanning step.
  • Post-repair verification: returned or replaced assets with firmware and configuration verified before production use.

Log engineer entry to controlled areas, console and BMC logins during maintenance windows, enablement of call-home or remote support features, and new hardware serials appearing in inventory without a matching RMA.

Framework mapping

FrameworkReferenceWhat it asks
NIST SP 800-53 Rev. 5MA-2, MA-3 (incl. MA-3(3)), MA-4, MA-5, MA-6Controlled, approved and recorded maintenance; tool control; remote maintenance with strong authentication; authorised and supervised personnel
NIST SP 800-53 Rev. 5MP-5, MP-6, SR-11, SR-12Media transport, sanitisation, component authenticity, component disposal
NIST SP 800-171 Rev. 303.07.04, 03.07.05, 03.07.06Maintenance tools, nonlocal maintenance, maintenance personnel
NIST CSF 2.0PR.PS-03; ID.AM-08; PR.DS-01Hardware maintained and replaced commensurate with risk; lifecycle management; data at rest
ISO/IEC 27001:2022 Annex AA.7.13 Equipment maintenance; A.7.9 Security of assets off-premises; A.7.14 Secure disposal or re-use of equipmentMaintenance, off-site assets and media before re-use or return
NIST SP 800-88 Rev. 2Sections 3.1.3 and 4.3.4Destruction for failed media; in-control and out-of-control decisions

Common failure patterns

  • Advance replacement with return required: the default contract obliges you to ship the failed drive back within days, so unsanitised media leaves by courier because nobody bought retention.
  • Repairer asks for the password and gets it: the user's full session, mail and cached tokens are exposed to an unvetted third party.
  • Support bundle with secrets: configuration exports uploaded to a vendor portal include service account passwords and keys that are never rotated.
  • Vendor access left on: a remote support tunnel or vendor account enabled for one case stays live for years.
  • Swapped board, stale identity: a replaced motherboard returns with default BMC credentials and no updated inventory entry.
  • Maintenance outside security's view: facilities or procurement own the contracts, so no confidentiality, sub-processor or evidence terms exist.

Practitioner checklist

  • Add media retention to support contracts for any hardware that stores sensitive data.
  • Encrypt all endpoint and server storage so a lost part is low impact.
  • Admit engineers only against a pre-registered ticket and supervise in proportion to access.
  • Keep failed storage on site in a locked container until purged or destroyed, with serial-level records.
  • Refuse credential requests from repairers; use temporary accounts or device repair modes.
  • Clean and secret-scan every support bundle and HAR file before upload.
  • Grant vendor remote access per case, with MFA, recording and verified disconnect.
  • Verify firmware, credentials and configuration on returned or replacement hardware before production.
  • Put confidentiality, sub-processor, retention and evidence terms in maintenance contracts.
  • Report retention coverage, unaccounted parts and open vendor access quarterly.

Standards and references

Related NHI Mgmt Group resources: IT Asset Disposition (ITAD) Security Guide · Media Sanitisation Guide · Third-Party Access Guide · Supplier Security Policy Template

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 11 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.