With over 470 million related vehicles anticipated by finish of 2025, defending delicate automobile knowledge, significantly Car Identification Numbers (VINs), has turn into essential for automakers. VINs function distinctive identifiers in automotive processes from manufacturing to upkeep, making them enticing targets for cybercriminals. This publish explores how automakers can assist securing VINs in related automobile platforms utilizing AWS IoT serving to guarantee each knowledge safety and system performance.
This answer introduces Reference IDs as pseudonyms for VINs, serving to allow safe automobile knowledge interactions with out exposing precise VINs. Utilizing AWS IoT providers, we’ll reveal how this structure helps automakers defend delicate knowledge whereas sustaining full performance throughout automotive use instances.
Introduction
The answer makes use of a Reference ID system the place every automobile receives a singular identifier throughout provisioning, performing as a VIN proxy in all platform interactions. A automobile registry database shops each hashed and encrypted variations of VINs, mapped to their Reference IDs. When purchasers current a VIN, the system hashes it to retrieve the corresponding Reference ID, enabling safe integration with current processes.
The encrypted VIN is added as a fail-safe measure, encrypted throughout provisioning utilizing a safe AWS Key Administration Service (AWS KMS). In instances the place the plain textual content worth of the VIN must be retrieved, it may be performed by decrypting this worth, guaranteeing that the precise VIN is accessible when completely mandatory whereas sustaining sturdy safety measures.

VINs include vital automobile info (producer, mannequin, yr) and may be linked to private knowledge. Unprotected VINs in cloud environments danger id theft, automobile theft, insurance coverage fraud, privateness violations, and regulatory non-compliance (GDPR, CCPA).
By implementing a Reference ID system for VIN safety in cloud-based related automobile platforms, automakers can assist improve knowledge safety whereas sustaining the performance and effectivity required for contemporary automotive operations:
- They act as proxies for VINs, enhancing safety and knowledge minimization
- Help compliance with knowledge safety laws
- Present versatile entry management and improved audit-ability
- Provide scalability for big automobile fleets and simpler system interoperability
- Permit for revocation with out altering the underlying VIN
- Allow detailed auditing and logging of VIN entry and transformations, offering visibility into who/what has authorization to transform between Reference IDs and VINs
Structure walkthrough
1. Reference ID
A Reference ID is a UUID generated throughout automobile provisioning that serves as a VIN proxy all through the automobile’s lifecycle, creating an abstraction layer that protects delicate VIN knowledge.
2. Car registry database
The automobile registry database serves as a centralized repository for automobile info all through its platform lifetime. Key options embody:
- Reference ID to hashed VIN mapping
- Encrypted VIN storage
- Car provisioning and state change monitoring
- Machine change historical past
- Car attributes and configurations
VIN hashing allows safe verification with out exposing precise values. This centralized strategy offers a single supply of fact whereas enabling safe distant diagnostics and over-the-air updates.
| Car Registry DB |
| referenceId – Partition key |
| deviceId – World secondary index |
| hashedVin – World secondary index |
| tenantId |
| encryptedVin |
Notice: deviceId and hashedVin being World Secondary Indexes allows querying automobile particulars by both subject.
3. Car provisioning
Car provisioning establishes safe automobile administration and implements the reference ID system by knowledge validation, safe storage, and AWS IoT integration.
Let’s stroll by the important thing steps of this course of to know the way it safeguards automobile info whereas enabling seamless connectivity and administration:
3.1 Information validation:
- The provisioning infrastructure hashes the VIN and queries the automobile registry DB to verify if it’s a first-time provisioning.
- For brand new automobiles, DEVICE ID may be validated towards current knowledge made out there by the TCU Producer.
- It additionally checks if the DEVICE is already connected to a different automobile by querying the automobile registry DB with DEVICE ID.
3.2 Reference ID era:
- A question is carried out towards the automobile registry DB to validate if automobile is already provisioned utilizing hashed VIN.
- If automobile shouldn’t be provisioned already, a brand new UUID is generated because the Reference ID.
- The Reference ID, hashed VIN and encrypted VIN (through KMS) are saved within the automobile registry DB together with different automobile info. Within the uncommon occasion of a UUID collision, the request may be re-tried to generate a brand new UUID as Reference ID.
- A ultimate question is carried out by Reference ID within the automobile registry DB to make sure uniqueness. If UUID collision is detected, a brand new UUID is generated.
- For beforehand provisioned automobiles, the incoming payload is just validated towards the registry DB entry.
3.3 Certificates era:
- Certificates are generated utilizing ACM PCA with Widespread Title = Reference ID.
3.4 AWS IoT integration:
- An AWS IoT Factor is created with Factor title = Reference ID.
- An AWS IoT FleetWise Car is created with Car Title = Reference ID.
3.5 Response payload:
- After profitable provisioning the automobile is supplied with Certificates and Reference ID.
- The automobile can connect with AWS IoT FleetWise utilizing the returned certificates and ClientId = ReferenceID.
This course of helps guarantee safe provisioning of automobiles whereas defending delicate VIN info utilizing Reference IDs, leveraging AWS providers for strong id and entry administration. The automobile can present a Certificates Signing Request (CSR), which the provisioning infrastructure makes use of to generate the certificates.
4. Information assortment and storage
Information assortment and storage is a vital part the place Reference IDs guarantee safe dealing with of auto knowledge all through its lifecycle – from transmission to storage and retrieval. This technique helps defend VIN info whereas enabling environment friendly knowledge operations.
4.1 Car to AWS IoT FleetWise:
- Car connects to AWS IoT FleetWise utilizing the Reference ID because the consumer ID.
- All knowledge despatched from the automobile is related to the Reference ID, because the automobile title in AWS IoT FleetWise = Reference ID.
4.2 AWS IoT FleetWise to knowledge platform:
- Information flowing from AWS IoT FleetWise is enriched with the automobile title (Reference ID).
4.3 Information storage and retrieval:
- Information within the knowledge platform is saved utilizing the Reference ID because the identifier.
- Cellular app queries the information platform through the API Platform utilizing the Reference ID to retrieve automobile knowledge.
The pseudonymous Reference ID accommodates no vehicle-specific info and serves as the first identifier throughout AWS IoT Core, AWS IoT FleetWise, and related knowledge shops. This information-neutral strategy helps guarantee VIN safety whereas enabling seamless knowledge operations throughout the platform.
5. Consumer utility interactions:
Consumer purposes, comparable to Buyer Relationship Administration (CRM) methods or platforms managing user-to-VIN mappings, sometimes cope with plain textual content VIN numbers. To take care of the safety advantages of this method whereas accommodating these purposes, a streamlined course of for consumer interactions is applied with the related automobiles platform.
5.1 VIN to Reference ID conversion:
- The consumer utility, after verifying automobile possession, makes an API name to the platform to transform between hashed VIN and Reference ID.
- The API queries the automobile registry DB to retrieve the corresponding Reference ID.
- The Reference ID is then returned to the consumer utility.
Safety concerns:
- Entry to this conversion API should be strictly managed by strong authentication and authorization.
- All conversion requests needs to be logged for audit functions and monitored for suspicious patterns.
- Implementation ought to embody price limiting and different safety measures to guard towards DoS/DDoS assaults and unauthorized bulk conversion makes an attempt.
- Since this API allows re-identification of auto knowledge, entry needs to be restricted to approved purposes with official enterprise wants.
5.2 As soon as the consumer utility has obtained the Reference ID akin to the VIN, it might probably:
- Retrieve knowledge from the information platform utilizing the Reference ID.
- Carry out operations immediately on the automobile by passing the Reference ID comparable to distant instructions.
This strategy helps improve platform safety by eliminating VIN utilization in API calls and sustaining separation between VINs and Reference IDs. The system helps allow safe consumer utility interactions whereas offering a strong framework for cloud-based automobile administration.
6. Telematics management unit change:
The TCU (Telematics Management Unit) change circulation is a vital course of within the related automobile platform, addressing eventualities the place a automobile’s TCU must be up to date or changed. This could happen both earlier than the automobile leaves the manufacturing facility or after a consumer has taken possession and a difficulty with the TCU is found, requiring alternative at a service heart.
The TCU Change circulation may be made out there as an API name with certainly one of 2 capabilities:
- Replace the DEVICE ID within the automobile registry DB to a brand new DEVICE ID.
- Merely delete the DEVICE ID within the automobile registry DB entry of the automobile i.e. mark it as NULL.
6.1 TCU replace:
- Inputs: hashed VIN (or Reference ID), current DEVICE ID, new DEVICE ID.
- The API:
- Verifies hashed VIN exists and matches current DEVICE ID in registry database
- Checks new DEVICE ID shouldn’t be related to one other automobile.
- Updates DEVICE ID in registry database.
- Revokes and deletes the automobile’s current certificates (issued throughout provisioning and registered in AWS IoT Core) because the non-public keys are saved inside the TCU {hardware} itself, requiring new certificates for the alternative TCU.
- New TCU goes by provisioning course of to connect with cloud.
6.2 TCU delete:
- Inputs: hashed VIN (or Reference ID), current DEVICE ID.
- The API:
- Verifies hashed VIN exists and matches DEVICE ID in registry database.
- Removes DEVICE ID from registry database entry.
- Revokes and deletes the automobile’s current certificates (issued throughout provisioning and registered in AWS IoT Core)
Notice: Both hashed VIN or Reference ID can be utilized to determine the automobile. Utilizing hashed VIN is appropriate because of SHA256’s extraordinarily low collision chance.
Each flows assist guarantee a safe and trackable TCU change course of, with the registry database sustaining a historical past of TCU modifications for every automobile. This strategy maintains the integrity of the system whereas accommodating mandatory {hardware} updates within the automobile fleet
Safety, efficiency, and scalability concerns
The Reference ID system enhances VIN safety by minimizing VIN publicity in day by day operations. The automobile registry DB shops solely hashed and encrypted VINs, whereas Reference IDs deal with all platform interactions. Safety is additional enhanced by AWS KMS encryption and strict entry management insurance policies. For optimum efficiency and scalability, the system makes use of environment friendly UUID era and world secondary indexes from DynamoDB for fast queries.
Seeking to the longer term, this VIN administration system has the potential to combine with rising applied sciences comparable to blockchain or distributed registry know-how for tamper-proof VIN data, additional enhancing safety and traceability. The wealth of knowledge automakers can gather by this method additionally opens prospects for superior analytics and machine studying purposes, probably providing insights into automobile efficiency, upkeep wants, and consumer conduct patterns.
To help with ongoing compliance with evolving knowledge safety laws like GDPR and CCPA, it is strongly recommended to make use of the newest hashing and encryption algorithms, implement granular entry controls, and repeatedly audit your knowledge dealing with practices.
This complete strategy not solely helps safeguard VIN knowledge but in addition positions the platform for future improvements in related automobile administration.
Conclusion
This publish demonstrated how Reference IDs can assist automakers improve VIN safety in related automobile platforms on AWS. This structure helps defend delicate automobile knowledge whereas sustaining full performance throughout automotive use instances. By leveraging AWS providers like AWS IoT Core and Amazon DynamoDB, this answer scales effectively for big automobile fleets.
Because the variety of related automobiles grows, strong safety measures turn into essential for automakers. This Reference ID system not solely helps automakers safeguard VINs but in addition helps them meet compliance requirements for knowledge safety laws. It offers a versatile framework for managing automobile id all through its lifecycle, together with eventualities like TCU modifications.
You’re inspired to discover how this strategy may be tailored to your related automobile options. For extra info on AWS IoT providers and related automobile greatest practices, go to the AWS IoT FleetWise documentation and associated weblog posts
Concerning the authors



