Insights / Embedded & Firmware

Microchip Connectivity Framework (MCF): End-to-End Security for IoT Messaging

How MCF adds an encrypted layer above any embedded link, keeps keys with the customer, and compares with other IoT messaging-security frameworks.

Portrait of Ivan Karbovnyk

Ivan Karbovnyk

Chief Technology Officer

Chief Technology Officer, responsible for Indeema's technology strategy, and a professor of radiophysics and computer technologies at Ivan Franko National University of Lviv.

View leadership profile

The words "MCF: a new approach for addressing IoT security" over faded circuit-board imagery

The short answer

The Microchip Connectivity Framework (MCF) is a set of software libraries and tools that adds an encrypted application layer between embedded devices, gateways, PCs and mobile apps. It runs above whatever link carries the bytes (UART, CAN, Ethernet, Wi-Fi, Bluetooth and others) and routes traffic through an on-premises or cloud server, typically a standard MQTT broker, that cannot read message content. Each node is identified by a certificate chain that the customer, not the cloud vendor, owns.

Why link-level security leaves a gap in IoT messaging

Connected devices rarely stand alone. A sensor talks to a gateway over CAN or Bluetooth, the gateway talks to a broker in the cloud, and a phone or PC reads the result. One weak device can expose everything it is connected to, and well-known incidents have shown attackers moving from a single compromised gadget into a much larger network.

The usual defences are encryption, strong authentication of every device, and lightweight messaging protocols such as MQTT that keep code size and power within what a microcontroller can afford. The problem is where encryption ends. TLS protects one hop, so traffic is decrypted at the broker or cloud service, and links such as UART, SPI or CAN often carry no security at all. Whoever runs the server can see the data, and each link needs its own protection.

End-to-end encryption (IoT)
Encryption applied by the sending node and removed only by the intended receiving node, so gateways, brokers and cloud services in between forward messages they cannot read.

How MCF works: one secure layer above any link

MCF operates at the application layer. It needs only access to an input and an output buffer managed by the existing drivers and stacks, so it can sit on top of almost any underlying channel. Two nodes then share a secure channel at the MCF layer, whatever links lie between them.

Two node stacks side by side: user app, MCF, input and output buffers, transport layers and peripherals such as UART, CAN, Ethernet and Wi-Fi, with a secure channel between the MCF layers
MCF sits between the application and the transport on each node, so the secure channel stays end to end whatever link carries the bytes underneath.
What MCF provides, as described in Microchip's published framework material.
PropertyWhat it means in practice
Protocol abstractionOne common protocol for every node, whether the link is UART, SPI, I2C, USB, CAN, 10BASE-T1S, Ethernet, Wi-Fi, IEEE 802.15.4 or Bluetooth
Private by designThe local server vendor or cloud provider routes messages but cannot read their content
Cloud-agnosticThe cloud extension is a standard MQTT broker plus a small application, so an instance can move between providers or run on premises
TopologiesPoint-to-point, star and mesh, with built-in session forming, routing and redundancy
FootprintAround 20–30 kB of flash on the device; suitable for 8-, 16- and 32-bit MCUs and for MPUs
CryptographyECDSA signatures (FIPS 186-3), ECDH key agreement (NIST SP 800-56A) and HKDF key derivation (NIST SP 800-56C)
Hardware keysOptional USB hardware keys hold the end-to-end keys on PCs and similar hosts

Clusters, gateways and node identity

An MCF network is built from clusters. Each cluster has one gateway and one or more nodes; every node either joins a gateway or becomes one. The gateway keeps and shares the list of participating nodes, and communication between nodes is secured end to end.

A cluster boundary containing one gateway above three end nodes
An MCF cluster: end nodes join a gateway that keeps the list of participants, while traffic between nodes stays encrypted end to end.

To open a secure session, each node proves its identity with a certificate chain: CA, server, intermediate and device thumbprints, about 600 bytes of credentials in total. The device thumbprint itself is 150 bytes: a 9-byte subject serial number, a 9-byte issuer serial number, a 64-byte public key, a 4-byte expiry date and a 64-byte signature.

Certificate chain linking device, intermediate, server and CA, with notes on which authority signs each certificate
Device and server certificates come from an intermediate authority signed by the customer's own CA, so no cloud vendor holds the root of trust.
  • Device certificate: identifies the node by serial number and public key, signed by an intermediate certificate authority.
  • Server certificate: identifies the server the same way, also signed by an intermediate authority.
  • Intermediate CA: signed directly by the root CA.
  • Root CA: owned and managed by the customer, not by the cloud vendor.

On embedded devices the intermediate and device certificates can live in flash or in a secure element; the server and CA certificates live in flash. With a secure element, the private key is generated inside the chip and never leaves it. In the most secure flow, Microchip creates an intermediate key pair that the customer's CA signs, and each secure element's public key is turned into a device thumbprint signed by that intermediate.

How MCF compares with other IoT messaging-security frameworks

Research has produced several security frameworks for specific kinds of IoT network. Each solves a real problem, but most are tied to one domain or stop at assessment rather than implementation.

Published IoT security frameworks compared by focus, approach and main limitation.
FrameworkFocusApproachMain limitation
ECG-based key generation for medical dataHealthcare wearablesDerives unique keys from a patient's ECG signal (QRS complex) and uses them for authenticationOnly works where ECG data is already collected
Lightweight framework for inventory automationInventory and logistics networksDevice registration with an inventory server, hash-based mutual authentication and lightweight XOR-and-permutation encryptionUntested outside inventory systems
Secure and Compliant Continuous Assessment Framework (SCCAF)Choosing and monitoring cloud providersThe customer defines security metrics, assesses providers against them and re-checks compliance in usePrescribes no encryption or controls; the customer must build the metric set
Enhanced security framework for smart homesSmart home appliancesManufacturer-signature integrity checks, role-based mandatory access control and continuous authenticationNot lightweight; an attack that slows a device without breaking its role goes unnoticed
MCFAny embedded networkApplication-layer end-to-end encryption with customer-owned certificates over any underlying linkAdds a provisioning and certificate lifecycle the product team must own

The common lesson is layering. Present-day designs combine device identity, authentication and encryption, and keep the protocol light enough for a microcontroller. MCF is one way to put that layer in place across mixed links; the alternative is securing each hop separately and accepting that intermediaries see the data.

What this changes for a product team

Adopting an application-layer framework moves security decisions earlier. Firmware has to integrate the stack with each driver's buffers, budget the flash, and decide where keys are stored. Manufacturing needs a provisioning step. The cloud side becomes simpler to trust, because the broker no longer needs to be trusted with content.

End-to-end encryption also maps onto parts of security standards and regulations, such as the secure communication and sensitive-data provisions of ETSI EN 303 645 and the data-protection requirements in ISA/IEC 62443. It does not by itself make a product or an organisation compliant: those frameworks also cover vulnerability handling, updates, development process and policy.

When MCF is worth evaluating

Consider an application-layer framework such as MCF if

  • Data must stay private from the broker, cloud provider or integrator that carries it.
  • Messages cross several link types (for example CAN or UART inside the device and Wi-Fi or Ethernet outside) and need one security model.
  • The fleet runs on constrained MCUs where a full TLS stack per link is too heavy.
  • You want to move between cloud providers or run on premises without re-keying devices.
  • You can own a CA, a provisioning step in manufacturing and a certificate lifecycle.
  • Hosts such as PCs or service tools need hardware-backed keys to join the network.

Questions engineers ask

What is MCF?

In IoT security, MCF is the Microchip Connectivity Framework: software libraries and tools that add an end-to-end encrypted application layer between embedded nodes, gateways, PCs and mobile apps, over any underlying link and through a server that cannot read message content.

Can the cloud provider read MCF messages?

No. The cloud extension routes messages through a standard MQTT broker, but content is encrypted end to end between nodes, and the certificate authority is owned by the customer rather than the cloud vendor.

Was this useful?

Where this shows up in our work

ExpertiseEmbedded and firmware engineeringIntegrating an application-layer security stack means firmware work on drivers, buffers and key storage, plus a provisioning flow for the factory and field. Our embedded team designs that with the cloud side.

Where device data is patient data, end-to-end encryption and customer-owned keys carry extra weight. See Healthcare.

Apply this to your product

Review your device security approach

Review your device security approach