All insights

Fleet data security: access, multi-factor authentication and APIs

Fleet data security for vehicles and systems: the multi-factor authentication and least-privilege controls of the National Cybersecurity Authority, how API keys are restricted, what a provider contract states, and what PING applies.

Technology 12 minutes

Key points

  • The Essential Cybersecurity Controls (ECC-2:2024) require multi-factor authentication for remote access and privileged accounts, least privilege and a periodic review of identities and access rights.
  • The same controls keep event logs of critical and privileged accounts and remote access for at least 12 months.
  • Account recovery is the weakest link of multi-factor sign-in when it is weaker than the normal sign-in.
  • An API key should carry a scope of operations, a department limit, an expiry and a request limit, and show its secret once.
  • The competent authority is notified within 72 hours of learning of a personal data leak that may harm the data or its subject, under the PDPL implementing regulations.
  • Controls 2.8.3, 2.10.3 and 2.11.3 cover encryption in transit and at rest, vulnerability and patch management, and periodic penetration testing.

Fleet data shows where vehicles are, which routes drivers take and when they work, and some systems run commands on the vehicle remotely. Its security rests on four things an operator can require of any provider before signing: who signs in, what each person sees, how other systems connect, and what the provider commits to in the contract.

What to require of any provider, in brief
AreaWhat to require of the providerReference
Sign-inMulti-factor authentication for remote access and privileged accounts, and a recovery path as strong as the normal sign-inECC 2.2.3.2; OWASP
AccessLeast privilege, a data scope by department, a periodic reviewECC 2.2.3.3 and 2.2.3.5
LogsEvent logs for privileged accounts and remote access, kept at least 12 monthsECC 2.12.3
APIsKeys with a scope, an expiry and a request limit, and a secret shown onceOWASP API 2023
ContractNon-disclosure, data deletion at the end, incident reporting proceduresECC 4.1.2
ReportingNotify the competent authority within 72 hours of learning of a harmful leakImplementing regulations, Article 24
Encryption and vulnerabilitiesEncryption in transit and at rest, periodic vulnerability assessment, periodic penetration testingECC 2.8.3, 2.10.3 and 2.11.3

Fleet data security for vehicles and systems: what you protect

Fleet data holds four assets worth protecting, and each has its own door:

  • Positions, trips and stops: they reveal customer sites, warehouses and working patterns.
  • Driver data: names, licences and contact numbers are personal data under the Personal Data Protection Law.
  • Remote commands: cutting an engine or changing a device's settings affects the vehicle itself.
  • Connected systems: the ERP, transport or accounting system that reads data through the API.

The last point connects to protecting vehicles from theft, covered in vehicle security and recovery.

Multi-factor authentication: what to require

Control 2.2.3.2 of ECC-2:2024 makes multi-factor authentication a requirement for remote access and for privileged accounts, and ties the choice of factors, their number and technique to an impact assessment of authentication failure and bypass. The OWASP cheat sheet cites a Microsoft analysis suggesting it would have stopped 99.9% of account compromises. Ask the provider for:

  • Remote access and privileged accounts, the two cases control 2.2.3.2 names.
  • Two factors of different types: something you know, something you have or something you are. Two factors of the same type are not multi-factor authentication, according to OWASP.
  • A recovery path no weaker than the normal sign-in, otherwise it becomes the way round that an attacker uses.
  • Changing or resetting a factor: re-authenticate with an enrolled factor, never rely on the open session alone, and notify the user out of band.

NIST SP 800-63B-4 states that passwords are not phishing-resistant, and that a verifier must offer at least one phishing-resistant option at assurance level AAL2.

Access: who sees what and who can act

Controls 2.2.3.3 and 2.2.3.5 require authorising users on defined principles and reviewing them periodically. In your fleet they translate to:

  • Least privilege: each user holds what the task needs, such as a branch manager seeing only the branch's vehicles.
  • Segregation of duties: whoever requests an engine cut-off does not approve it.
  • Need-to-know and need-to-use: an accountant does not see driver routes, and a supervisor does not see company invoices.
  • A periodic review of identities and access rights, a separate item in control 2.2.3.5.
  • Event logs for critical and privileged accounts and for remote access, kept at least 12 months under control 2.12.3.

APIs: the risks and what answers them

The OWASP API Security Top 10 (2023) lists ten risks. These five concern a fleet operator directly:

  • Broken object-level authorization (API1): a key requests data of a vehicle it does not own.
  • Broken authentication (API2): keys that leak or never expire.
  • Broken function-level authorization (API5): a read key calls a write operation.
  • Unrestricted resource consumption (API4): heavy request volumes that disrupt the service or raise its cost.
  • Security misconfiguration (API8) and improper inventory management (API9): old or open endpoints nobody knows are running.

Remote commands such as the engine cut-off have their own key scope in PING, devices:control.

Devices and the platform: encryption, vulnerabilities and penetration testing

The risk is not limited to the dashboard, since the device fitted in the vehicle is part of the system. In 2022 the US Cybersecurity and Infrastructure Security Agency (CISA) published an advisory on a GPS tracker with five vulnerabilities, among them a hard-coded master password (CWE-798) and SMS commands that run without authentication (CWE-287), scored 9.8 out of 10 on CVSS. The advisory says an attacker could control the tracker and reach locations, routes, fuel cut-off commands and the disarming of alarms. It adds that the manufacturer has reportedly fixed the flaws, and the fix it lists covers the web platform and the apps. Ask the provider, on the basis of ECC-2:2024 and this case, for:

  • Encryption of data in transit and at rest according to its classification, and secure management of cryptographic keys through their lifecycle (control 2.8.3).
  • Periodic vulnerability assessment, classification by severity and remediation, with patches verified in a non-production environment before they are applied (control 2.10.3).
  • Periodic penetration testing that covers the services reachable from the Internet and their components: websites, web applications, mobile applications and remote access (control 2.11.3).
  • Device commands sent by SMS run only after the sender is verified, and no device carries a fixed built-in password.

Ask the provider for a recent penetration test result or report, and for how it tells customers about vulnerabilities and their fixes.

The provider and the contract: duties that fall on you

Article 19 of the Personal Data Protection Law requires the controller to take the organizational, administrative and technical measures that keep personal data safe, including during transfer. Article 23 of the implementing regulations requires the necessary security and technical measures, and compliance with NCA controls or, where the controller is not bound by them, recognised best practice.

Article 24 requires notifying the competent authority within 72 hours of learning of a leak that may harm the data or its subject. The notice describes the incident with its time and how it happened, the categories and numbers affected, its impact with the measures taken, and contact details. Ask the contract to oblige the provider to report an incident fast enough for you to meet that deadline.

What a provider contract states

Control 4.1.2 in ECC-2:2024 lists what contracts with third parties must hold where a failure could affect the entity's data:

  • A non-disclosure clause and secure removal of your data when the service ends (4.1.2.1).
  • Communication procedures when a security incident occurs (4.1.2.2).
  • The provider's commitment to your requirements and the relevant legislation (4.1.2.3).
  • A periodic review of third-party requirements (4.1.4).

These are minimum clauses for entities bound by the controls, and a useful reference for any company contracting a service that touches its fleet data.

How PING applies these requirements

PING applies the controls above in the following way:

  • Console sign-in by invitation only, with an emailed link and then a TOTP code when the user is enrolled; an owner can require multi-factor authentication for the whole account.
  • Owner, manager, viewer and driver roles; a viewer reads only, and only owners run high-risk operations such as the remote engine cut-off.
  • A fresh identity confirmation within 15 minutes before high-risk operations and before changing the multi-factor requirement; a session ends after 90 days without use, or on sign-out, deactivation, a role change or a multi-factor reset.
  • A data scope per user: the whole account, a department and its sub-departments, or one department.
  • API keys issued by owners: a data scope per key (account, department tree or department), an optional expiry, a secret shown once with only its hash stored, and up to 20 active keys. Each key is limited to 10 requests a second with a burst of 50 and 100,000 requests a day.
  • An Idempotency-Key on create operations replays the first answer for 24 hours; each key's requests are logged with their outcome, and each key's usage is shown in Settings.
  • Webhooks: https addresses only, a Ping-Signature (HMAC-SHA256 with the time) to reject when older than 300 seconds, a secret shown once, and an endpoint disabled after five consecutive failed deliveries, with owners told on WhatsApp.
  • Connections to the console and the API use TLS, trackers that support TLS encrypt their link to the servers, and each company reaches only its own data through isolation at the database level.

Details are on the trust page and in the API reference.

A fleet data security check

  • Multi-factor authentication is on for every user in the account, owners first.
  • Account recovery demands verification at least as strong as the normal sign-in.
  • Every user has a role and a data scope limited to the departments they manage.
  • Users and permissions are reviewed on a schedule, and a leaver is deactivated the same day.
  • Each connected system has its own key, with a narrow scope of operations and an expiry.
  • Unused API keys are revoked and each key's usage log is reviewed.
  • The contract covers incident reporting and the deletion of data when the service ends.
  • Whoever may cut an engine remotely or change device settings is known by name.
  • The provider shows a recent penetration test, encrypts data in transit and at rest, and tells customers about vulnerabilities and their fixes.

Questions

Do the national cybersecurity controls apply to my company?

ECC-2:2024 applies to government bodies and to private entities that own, operate or host critical national infrastructure, and the NCA encourages all other entities to use it. The PDPL implementing regulations point a controller not bound by NCA controls to recognised cybersecurity best practice.

When is multi-factor authentication required?

Control 2.2.3.2 requires it for remote access and for privileged accounts, and leaves the factors, their number and the technique to an impact assessment of authentication failure and bypass. OWASP cites a Microsoft analysis suggesting it would have stopped 99.9% of account compromises.

How do I restrict the API key that connects my system to the platform?

Issue one key per system with a narrow scope of operations, such as reading vehicles only. Limit it to its department, set an expiry and revoke keys that go unused. API risks include broken object-level and function-level authorization and unrestricted resource consumption.

What should a provider contract say about data security?

For contracts with third parties the controls call for a non-disclosure clause and secure removal of the entity's data when the service ends, incident communication procedures, and the third party's commitment to the entity's requirements and the relevant legislation.

What is the deadline to report a personal data leak?

The controller notifies the competent authority within 72 hours of learning of a leak that may harm the personal data, its subject or their rights or interests. Data not available in that time follows as soon as possible with the reasons for the delay. The controller keeps a copy of the reports and documents the corrective measures.

Is a second password multi-factor authentication?

No. OWASP states that requiring two factors of the same type, such as a password and a PIN, is not multi-factor authentication, and that any multi-factor authentication beats none. Ask that account recovery be as strong as the normal sign-in.

Is the second factor asked at every sign-in?

Not necessarily. At assurance level AAL2, NIST SP 800-63B-4 sets an overall reauthentication timeout that should be no more than 24 hours and an inactivity timeout of no more than one hour, after which one factor with the session secret may suffice. Ask the provider how long a session lasts, when the second factor is requested and whether a fresh check precedes risky operations.

For the practical steps of setting up departments, roles, data scope and API keys, see the guide to users, roles and data access.

Sources

  1. National Cybersecurity Authority: Essential Cybersecurity Controls ECC-2:2024
  2. Personal Data Protection Law, Articles 19 and 20
  3. Implementing Regulations of the Personal Data Protection Law, Articles 23 and 24
  4. OWASP API Security Top 10, 2023
  5. OWASP Multifactor Authentication Cheat Sheet
  6. NIST SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management
  7. CISA: ICSA-22-200-01, MiCODUS MV720 GPS tracker (Update A), 2022