Join our Newsletter — 33% off our NHI Course
Home› Guides› End-User Computing and Spreadsheet Risk Guide: Controlling Business-Critical…
Guide Risk Management

End-User Computing and Spreadsheet Risk Guide: Controlling Business-Critical Spreadsheets, Macros and Desktop Databases

PDF for newsletter subscribers · free to read online

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

Business-critical calculations, reports and data feeds run in spreadsheets, desktop databases and macros that no IT control framework can see. End-user computing (EUC) applications are tools that business staff build and run themselves: Excel workbooks with formulas and VBA, Access databases, Power Query transformations, local scripts and desktop reports. They price products, calculate provisions, feed regulatory returns and hold personal data, often with no change control, no backup and no owner who understands them. This guide covers how to find EUCs, tier them by risk, apply proportionate controls for integrity, confidentiality and availability, and decide when to replace them. It is written for risk, audit and security teams and for the IT owners who inherit EUC programmes.

Key takeaways

  • Integrity is the main risk, not only confidentiality. A broken formula or truncated import produces wrong numbers that look right, and wrong numbers reach customers, regulators and boards.
  • You cannot control what you have not found. Discovery by file scanning and owner attestation comes first, then a materiality and complexity tier for each EUC.
  • Controls scale with tier. High-risk EUCs need change control, independent review, versioning, access restriction and backup; low-risk ones need only an owner and a location.
  • Spreadsheets leak hidden data. Pivot caches, hidden sheets and metadata travel with the file, which is how a UK police service published details of its entire workforce.
  • Replacement is the long-term control. Each high-tier EUC should have a decision: control it, rebuild it in a governed platform, or retire it.

What counts as end-user computing

An EUC is any application where the logic is built and maintained by the business rather than through the IT development life cycle. The common forms and their characteristic weaknesses:

EUC typeTypical useCharacteristic weakness
Excel workbook with formulasPricing, reconciliations, provisions, forecastsInconsistent formulas, hard-coded overrides, no review trail
Macro-enabled workbook (.xlsm, .xlam add-in)Automated report building, data loadsCode nobody can read; macro security exceptions
Access database (.accdb, .mdb)Departmental case or customer trackingFile on a share, no row-level access, no audit
Power Query and external data connectionsPulling from SQL, CSV or web sourcesStored credentials, silent source changes
Local scripts and notebooksPython or R analysis, ad hoc automationPersonal device dependency, secrets in code
Desktop BI reports and low-code appsDashboards, small workflowsPersonal connections, sharing outside the team

Low-code and self-service BI platforms have their own governance tooling; this guide focuses on file-based EUCs and links out for the rest. See the Low-Code and No-Code Application Security Guide and the Power BI Security Guide.

Why spreadsheet risk is a security and resilience problem

  • Integrity failures at scale: in October 2020 Public Health England failed to include 15,841 positive COVID-19 cases in its reporting because, as The Register reported citing the BBC, results were loaded into the legacy .XLS format, which caps a sheet at 65,536 rows, so records beyond that point were dropped. The fix was a process change, not a security tool.
  • Hidden data disclosure: in August 2023 the Police Service of Northern Ireland published a spreadsheet in response to a freedom of information request that, through a pivot table, exposed the surname, initials, rank and role of all 9,483 officers and staff. In May 2024 the ICO announced it intended to fine the PSNI £750,000 and confirmed the £750,000 penalty in October 2024 (ICO) and, in a September 2023 advisory note, told public authorities to stop disclosing original source spreadsheets and to convert data to open formats such as CSV.
  • Code execution: macro-enabled workbooks and add-ins are a long-standing initial access route (MITRE ATT&CK T1204.002 Malicious File) and a persistence route through Office add-ins (T1137.006). See the Macro Malware Guide.
  • Credentials in files: connection strings, Access linked tables and scripts often hold database or API credentials in clear text (T1552.001 Credentials In Files).
  • Parser risk in automation: systems that ingest spreadsheets automatically inherit parser flaws. CISA's Known Exploited Vulnerabilities catalogue lists CVE-2023-7101 in the Perl Spreadsheet::ParseExcel library, where number format strings from a file were passed to an eval.
  • Regulatory reliance: where an EUC feeds financial statements or regulatory returns it becomes part of the control environment. See the SOX IT General Controls (ITGC) Guide and the BCBS 239 Guide. The PRA's model risk statement SS1/23 applies to models used to inform business decisions regardless of the technology they are built in, so a calculation in Excel is not exempt because it is in Excel.

Finding EUCs: discovery and inventory

ICAEW's 20 principles for good spreadsheet practice (2024 edition) opens with "Determine how much your organisation depends on spreadsheets and plan accordingly". Combine technical discovery with owner attestation, because scanning finds files but not which ones matter.

  1. Scan storage: file shares, SharePoint and OneDrive for .xlsm, .xlsb, .xlam, .accdb, .mdb, .pbix and script files, and for workbooks with external data connections. Record path, owner, last modified date and access count. See the Unstructured Data and File Share Security Guide.
  2. Follow the data flows: ask system owners which reports and uploads are produced from spreadsheets. Uploads into the general ledger, regulatory reporting tools and payment files are the highest-value finds.
  3. Map dependencies: Excel's Inquire add-in produces a Workbook Relationship Diagram showing links to other workbooks, Access databases, text files and SQL Server sources, and Workbook Analysis reports formulas, hidden content and warnings.
  4. Attest: each business area confirms its EUCs, names an owner and a deputy, and states what the EUC is used for.
  5. Record: an inventory entry holds name, owner, purpose, location, inputs and outputs, users, tier, last review date and replacement plan.

Tiering EUCs by risk

Tier on two axes: the impact of a wrong or unavailable result, and the complexity that makes errors likely. The thresholds below are NHI Mgmt Group recommendations; set your own against your materiality levels.

FactorLowMediumHigh
Use of outputPersonal or team analysisManagement reporting, operational decisionsFinancial statements, regulatory returns, customer pricing, payments
Financial or customer impact of errorNegligibleBelow materiality thresholdAt or above materiality, or affects customers directly
Data heldPublic or internalConfidential business dataPersonal, special category or market-sensitive data
ComplexitySimple lists and sumsLookups, multiple sheetsMacros, external connections, chained workbooks, manual overrides
Frequency and relianceAd hocMonthlyDaily or in a critical close or settlement process

The highest score on any factor sets the tier, except where a risk committee formally accepts a lower tier with a reason.

Controls by tier

ControlLowMediumHigh
Named owner and inventory entryYesYesYes
Stored on a backed-up, access-controlled location (not local disk)RecommendedYesYes, restricted to named users
Version control (versioned library or check-in)NoYesYes, with change log
Change control with independent review of logicNoSignificant changesEvery change, reviewed and approved before use
Input validation and reconciliation checks in the workbookNoKey totalsControl totals, row counts and exception flags
Separation of preparer and reviewerNoRecommendedYes
Macro signing and trusted publishern/aIf macros usedYes
Periodic access and design reviewNoAnnualQuarterly or each cycle
Documented recovery and replacement planNoNoYes
  • Integrity checks: ICAEW principle 17 is to build in checks, controls and alerts from the outset. In practice: row counts of imported data against the source, control totals that must reconcile, and a visible check cell that turns red. The PHE failure would have been caught by a row count comparison.
  • Protection features are not security: Microsoft's own documentation says worksheet-level protection is not intended as a security feature. Use file location permissions, sensitivity labels and encryption for confidentiality, and use sheet protection only to prevent accidental edits. See the Microsoft Purview Information Protection Guide.
  • Macros: keep the Microsoft 365 policy "Block macros from running in Office files from the Internet" enabled. For EUCs that need macros, sign the code and deploy the signing certificate as a trusted publisher, or use a tightly controlled trusted location; Microsoft notes that files in trusted locations bypass the Mark of the Web check, so control who can write there. See the Office Macro Blocking Guide.
  • Data connections: connect with the user's own identity through integrated authentication rather than stored passwords, and give EUC data sources read-only, view-level database access.
  • Safe publishing: before a spreadsheet leaves the organisation, export the needed data to CSV or PDF from a fresh sheet rather than sending the working file, as the ICO advises for disclosures. Run the Office Document Inspector to remove hidden sheets, rows, comments and metadata where the file format must be kept.

Where identity fits

EUCs often run under identities nobody reviews. A scheduled macro on a desktop runs as whoever is logged on, so it stops when that person leaves. An Access front end may connect to SQL Server through a shared SQL login whose password is embedded in linked tables. A script that pushes data to a SaaS API carries a personal API token. Inventory these as non-human access: replace shared logins with named or managed service accounts, move secrets out of files, and add EUC credentials to leaver processing. See the Service Account Security Guide and How to find secrets in Jupyter notebooks.

Remediate, rebuild or retire

ICAEW principle 4 asks whether a spreadsheet is a suitable tool at all. For each high-tier EUC record a decision:

OptionChoose whenTrade-off
Control in placeLogic changes often, small user group, cost of rebuild outweighs riskOngoing review effort; risk never fully removed
Move to a governed self-service platform (BI dataset, low-code app)Reporting or simple workflow, data already in central systemsPlatform governance needed; skills shift to IT-supported tools
Rebuild as a strategic application or system featureHigh volume, regulatory reliance, many usersLongest lead time and highest cost
RetireOutput no longer used or duplicated elsewhereNeed to confirm no hidden downstream consumer

Small organisations can run a lightweight version: a single register, owners, storage on a versioned library and a second-person check on anything that reaches customers or the accounts. Large and regulated organisations usually need an EUC policy, a central EUC risk owner, tooling for discovery and change tracking, and reporting of high-tier EUC counts to a risk committee.

Implementation roadmap

  1. Policy and scope (month 1): agree the EUC definition, tier criteria, minimum controls and the risk owner. Pilot the definitions on one finance and one operations team.
  2. Discovery (months 1 to 3): scan storage, collect attestations, build the inventory. Expect the first scan to find far more files than matter; owner attestation narrows them.
  3. Tier and fix the critical few (months 2 to 4): tier every attested EUC, then apply high-tier controls first: move files to a versioned location, add reconciliation checks, name reviewers.
  4. Technical guardrails (months 3 to 6): confirm macro blocking policy, signing for approved macros, removal of stored passwords in connections, and sensitivity labels on high-tier files. Test macro changes with a pilot group before broad rollout and keep the previous policy settings documented for rollback.
  5. Change and review cycle (month 4 onwards): operate change control, quarterly reviews and replacement decisions for high-tier EUCs.
  6. Reduce (ongoing): track replacements and retirements so the high-tier count falls over time.

Detection and measurement

  • New high-risk files: regular scans for new macro-enabled workbooks and Access databases on shares that are not in the inventory.
  • Changes outside change control: version history or audit logs showing edits to high-tier EUCs without a linked change record. Spreadsheet Compare shows cell, formula and VBA differences between versions.
  • Macro policy exceptions: growth in trusted locations, publishers or unblocked files.
  • Outbound sharing: data loss prevention rules for high-tier EUCs sent externally or uploaded to personal storage. See the Data Loss Prevention (DLP) Guide.
MetricWhat it shows
Percentage of high-tier EUCs with owner, reviewer and current review dateBasic governance coverage
High-tier EUCs stored on local disk or personal storageAvailability and leaver exposure; target zero
Changes to high-tier EUCs without an approved change recordChange control effectiveness
EUC-related errors or incidents per quarterWhether controls catch errors before they cause harm
High-tier EUC count trend and replacements completedWhether dependency is falling
EUCs with credentials stored in the fileSecret hygiene; target zero

Framework mapping

Control areaNIST CSF 2.0NIST SP 800-53 Rev. 5ATT&CK
EUC inventory and data mappingID.AM-02, ID.AM-07CM-8n/a
Risk tiering and ownershipGV.RM-01RA-3n/a
Change control and version historyPR.PS-02CM-3T1565.001
Input checks and integrity of resultsPR.DS-01SI-7, SI-10T1565.001
Access to files and data sourcesPR.AA-05AC-3T1552.001
Macro and add-in controlPR.PS-01CM-3T1204.002, T1137.006
Backup and recoveryPR.DS-11CP-9n/a

Common failure patterns

  • Silent truncation: an import or file format limit drops rows and nothing compares the count with the source, as in the Public Health England case.
  • Sending the working file: a spreadsheet with pivot caches, hidden sheets or source data is shared externally instead of a clean extract, as in the PSNI disclosure.
  • Key-person dependency: one analyst built and understands a critical workbook; when they leave, nobody can change it or explain its outputs.
  • Trusted location sprawl: to make one macro work, a whole network share is made a trusted location, so every file there runs macros without checks.
  • Hard-coded overrides: values typed over formulas to make a reconciliation balance, with no record of who did it or why.
  • Shared database logins: Access or Excel connections use a shared SQL login with write rights, embedded in the file and never rotated.

Practitioner checklist

  • Publish an EUC definition, tier criteria and minimum controls per tier, with a named risk owner.
  • Scan storage for macro-enabled workbooks, Access databases and files with external connections, and reconcile against owner attestation.
  • Give every high-tier EUC an owner, a deputy, an independent reviewer and a versioned, backed-up location.
  • Add row counts, control totals and visible check cells to high-tier workbooks.
  • Keep internet macro blocking enabled; sign approved macros and restrict trusted locations.
  • Remove stored passwords and shared logins from EUC data connections.
  • Share clean extracts (CSV or PDF) externally, never working spreadsheets.
  • Record a control, rebuild or retire decision for each high-tier EUC and track it.
  • Report high-tier EUC counts, changes without approval and EUC incidents to the risk committee quarterly.

Standards and references

Related NHI Mgmt Group resources: Low-Code and No-Code Application Security Guide · Office Macro Blocking Guide · SOX IT General Controls (ITGC) Guide · Data lineage, data quality and data contracts as security controls

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.