EN
  • English
  • Русский
  • ქართულიsoon
  • Українськаsoon
  • Shqipsoon
  • Azərbaycancasoon
  • Türkçesoon
Get in touch
Crypto exchangersLaws & compliance

KYC Document Storage: Passport Scans and Data Breaches

KYC document storage for a crypto exchange: find every passport copy, BitLocker store with role permissions, access log, no messengers, a 72-hour plan.

Читать на русском →

On this page

At an exchange office, passport copies usually end up scattered across Telegram chats, cashiers' phone galleries, email and the Downloads folder — and they leak along with a hijacked account, a stolen phone or a stolen laptop. After these steps, customer passport copies and photos sit in one place on an encrypted disk, a cashier can add documents but cannot delete them or quietly take the whole archive, every file opening is logged, there are no documents in Telegram or phone galleries, and there is an hour-by-hour plan in case of a breach.

Plan

Step What we do Who Time
1 Find every place where customer documents are stored admin 40 min
2 Set up one store with role-based permissions admin 30 min
3 Encrypt the disk with BitLocker admin 20 min + background encryption
4 Turn on the file access log admin 15 min
5 Accept documents without messengers owner + cashier 20 min
6 Move old copies and delete them from their old locations admin + cashier 1–2 hours
7 Write down the retention period and delete by it owner 15 min a month
8 Prepare a plan for the 72 hours after a breach owner 30 min

What real breaches have shown

  • About 5 million records with Georgian citizens' data (Civil.ge): an Elasticsearch database was exposed to the internet without a password.
  • SparkCat (Kaspersky, 2025): apps on Google Play and the App Store got access to the photo gallery under the pretext of a "support chat" and recognized text in photos. They were looking for seed phrases, but any document in the gallery can be read the same way.
  • Telegram account takeover (Telegram guide): the entire chat history with customers — including the passport photos they sent — belongs to whoever hijacked the session.

What follows from this:

  1. Documents in an open folder or database are found by scanning → the store is not exposed to the outside, access only through user accounts (step 2).
  2. Photos in a phone gallery are read by apps and the personal cloud → no documents in galleries (steps 5–6).
  3. The chat history of a hijacked Telegram account is a passport archive → documents are not kept in chats (steps 5–6).
  4. A stolen computer or disk is a breach → the disk is encrypted (step 3).
  5. An employee exports the archive → a cashier cannot delete or export, every read is logged (steps 2, 4).
  6. The bigger the archive, the bigger the breach → deletion by retention period (step 7).
  7. You have 72 hours after a breach → the plan and the notification template are ready in advance (step 8).

Step 1. Find every place where customer documents are stored

How to do it.

  1. On each work computer (PowerShell as administrator) — the folders with the most photos and PDFs:
Get-ChildItem C:\Users -Recurse -File -Include *.jpg,*.jpeg,*.png,*.heic,*.pdf -ErrorAction SilentlyContinue |
  Where-Object Length -gt 100KB | Group-Object DirectoryName |
  Sort-Object Count -Descending | Select-Object -First 20 Count, Name

Check Downloads\Telegram Desktop separately — that is where Telegram Desktop saves received files.

  1. Go through the list and mark where documents are found:
Location Documents found? Number of customers
Computers: folders from the command above yes — Downloads\Telegram Desktop and Pictures\Scans on the cash desk computer 140
Telegram: chats with customers, Saved Messages yes — the cash desk's work account 210
WhatsApp, Viber yes — WhatsApp on cashier 1's phone 25
Galleries on cashiers' work and personal phones yes — cashier 2's personal phone, copy in Google Photos 60
Email: inbox, sent yes — kassa@example.com, attachments in customers' emails 15
Cloud: "anyone with the link" sharing no 0
Kiosks, USB drives, printer/scanner with memory yes — USB drive in the cash desk drawer 30

Example — replace with your own data.

Done when: the table is filled in for every computer and phone.

Step 2. Set up one store with role-based permissions

Why: one location is easier to protect, check and clean up than six.

How to do it. On the owner's computer or a server on the staff network (not on the cash desk computer and not on a kiosk):

  1. A D:\KYC folder with one subfolder per customer, named by the customer file number: D:\KYC\K-0193\2026-11-01-passport.jpg.
  2. A staff group and permissions: cashiers read and add, but do not delete; administrators have full access:
# PowerShell as administrator
New-LocalGroup -Name "kyc-staff"
Add-LocalGroupMember -Group "kyc-staff" -Member "kassir"
icacls D:\KYC /inheritance:r /grant:r "*S-1-5-32-544:(OI)(CI)F" "kyc-staff:(OI)(CI)(RX,W)"
New-SmbShare -Name "KYC" -Path "D:\KYC" -ChangeAccess "kyc-staff" -FullAccess "*S-1-5-32-544"

(RX,W) means read and write without the right to delete. The folder permissions also apply to network access through the \\<computer>\KYC share.

  1. If you use a business cloud — same scheme: a separate folder, access through named user accounts, no "anyone with the link" sharing, only the owner can delete.

Check: sign in as kassir, create a file in \\<computer>\KYC\test and try to delete it — "Access is denied".

Done when: a cashier can add and read but not delete; no one else on the network has access.

Step 3. Encrypt the disk with BitLocker

Why: a stolen computer or a removed disk cannot be read without the key.

How to do it (Windows 11 Pro; PowerShell as administrator):

manage-bde -status
Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -RecoveryPasswordProtector -SkipHardwareTest
Enable-BitLocker -MountPoint "D:" -EncryptionMethod XtsAes256 -RecoveryPasswordProtector
Enable-BitLockerAutoUnlock -MountPoint "D:"
(Get-BitLockerVolume -MountPoint "C:","D:").KeyProtector | Where-Object KeyProtectorType -eq RecoveryPassword
  1. If Enable-BitLocker for C: asks for a TPM protector — add -TpmProtector in a separate command; if there is no TPM, you need the group policy for encryption without a TPM (Require additional authentication at startup → Allow BitLocker without a compatible TPM).
  2. Do not use the -UsedSpaceOnly parameter: if deleted scans used to be on the disk, their traces in free space will be encrypted too.
  3. Recovery keys from the last command go on paper, into the safe. Not to the cloud, not as a photo.

Check: manage-bde -status — for C: and D: "Conversion Status: Fully Encrypted" and "Protection Status: Protection On".

Done when: both disks are encrypted and the recovery keys are on paper in the safe.

Step 4. Turn on the file access log

Why: "who opened this customer's documents, and when" is the first question after a breach.

How to do it (PowerShell as administrator):

auditpol /set /subcategory:"{0CCE921D-69AE-11D9-BED3-505054503030}" /success:enable   # "File System"
$acl  = Get-Acl D:\KYC -Audit
$all  = New-Object System.Security.Principal.SecurityIdentifier("S-1-1-0")         # "Everyone"
$rule = New-Object System.Security.AccessControl.FileSystemAuditRule($all, "ReadData,WriteData,Delete", "ContainerInherit,ObjectInherit", "None", "Success")
$acl.AddAuditRule($rule); Set-Acl D:\KYC $acl
wevtutil sl Security /ms:1073741824                                                 # Security log — 1 GB

The subcategory and the group are specified by their identifiers, so the commands work in any Windows display language.

To see who opened files:

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4663 } -MaxEvents 50 |
  ForEach-Object { $x = [xml]$_.ToXml(); [pscustomobject]@{
    Time = $_.TimeCreated
    User = ($x.Event.EventData.Data | Where-Object Name -eq 'SubjectUserName').'#text'
    File = ($x.Event.EventData.Data | Where-Object Name -eq 'ObjectName').'#text' } }

Check: open any file in D:\KYC as kassir — a minute later it shows up in the command output.

Done when: every file opening in the store is visible with the employee's name.

Step 5. Accept documents without messengers

How to do it.

  1. In the office: a scanner or camera at the cash desk saves the file directly to \\<computer>\KYC\<customer_file_number> — set the save folder in the scanner software. Not to Pictures and not to Downloads.
  2. Online: an upload form on the website over HTTPS; the file goes to the store, not to email.
  3. If a document still arrives in Telegram: save it to the store → in the chat, Delete → "Also delete for …" (for both sides) → delete the file from Downloads\Telegram Desktop.
  4. Telegram Desktop does not download files automatically (see the article on a hacked Telegram account, step 3).
  5. A rule for cashiers, added to the internal procedures: customer documents are never photographed with a phone.

Done when: new documents appear only in the store.

Step 6. Move old copies and delete them from their old locations

How to do it — using the table from step 1:

Location What to do
Folders on computers move to D:\KYC\<customer_file_number>, delete from the old folder and from the Recycle Bin
Telegram, WhatsApp, Viber save to the store, delete the messages for both sides
Phone galleries delete, then empty Recently Deleted; check the cashier's personal cloud (Google Photos, iCloud)
Email delete from inbox and sent, empty the trash
Cloud links turn off link sharing
USB drives, scanner memory delete; format the USB drives

Documents that cannot be linked to a customer and a transaction should not be moved but deleted: there is no reason to keep them.

Check: repeat the step 1 command on all computers — no folders with documents outside D:\KYC.

Done when: every location in the step 1 table is marked "cleaned".

Step 7. Write down the retention period and delete by it

How to do it.

  1. In the policy: "We keep identification documents for ___ years after the customer's last transaction (AML law), then delete them. Deletion is done by the owner, once a month, with an entry in the log." Confirm the period with a lawyer.
  2. Once a month — the list of customers whose last transaction is older than the period, taken from the transaction log (see the article on AML for a crypto exchange):
$years = 5   # period from the policy
py -c "import sqlite3; [print(r[0], r[1]) for r in sqlite3.connect(r'C:\journal\journal.db').execute('''SELECT client_id, max(ts) FROM ops WHERE op_type IN ('buy','sell') GROUP BY client_id HAVING max(ts) < date('now','-$years years')''')]"
  1. Delete these customers' folders from D:\KYC and record it in the log with a decision entry: "documents of K-0193 deleted — retention period expired".
  2. Backups containing these documents are deleted automatically according to the backup retention period (article on backups, step 4) — make sure the backup retention is not longer than the document retention period.

Done when: the period is written down and the last month's deletion is in the log.

Step 8. Prepare a plan for the 72 hours after a breach

How to do it. Print it and keep it together with the business continuity plan:

Time What we do Who
First hour Stop the leak: close access, disconnect the infected device from the network, revoke links, change passwords admin
1–12 hours Scope: what data, how many customers, how it leaked, since when; the access log (step 4) admin
12–24 hours Record: export logs, screenshots, timeline, who did what admin + owner
Within 72 hours Notify the data protection regulator (in Georgia — the State Audit Office, in writing or through the electronic form on its website); if the risk to people is high — decide whether to notify the customers themselves owner + lawyer
Afterwards Fix the cause, write down the lessons, update the measures everyone

Internal report template — also the basis for the notification:

  1. What happened and when it was discovered.
  2. What data was affected and how many people.
  3. How it leaked.
  4. What was done to stop it.
  5. What was done to prevent it from happening again.
  6. When and who was notified.

Export of the access log for the relevant period — for the report:

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4663; StartTime = (Get-Date).AddDays(-7) } |
  Export-Csv C:\incident\kyc-access.csv -NoTypeInformation -Encoding UTF8

Done when: the plan is printed, and the lawyer's contact and the regulator notification channel are filled in.

Checklist

# What to check How to confirm ☐
1.1 The search was run on every computer the step 1 table has the search command output for each work computer, including the owner's laptop ☐
1.2 Telegram Desktop folders were checked Downloads\Telegram Desktop on each computer was reviewed and the result entered in the table ☐
1.3 Phones were checked galleries, messengers and personal clouds on each cashier's phones were reviewed together with the cashier ☐
1.4 Shared links were found every folder and file in the cloud with "anyone with the link" access was found ☐
2.1 The store is not on the cash desk or a kiosk D:\KYC is on the owner's computer or a server on the staff network ☐
2.2 A cashier cannot delete documents as kassir, deleting the test file in \\<computer>\KYC\test gives "Access is denied" ☐
2.3 The folder permissions are correct icacls D:\KYC — only kyc-staff:(OI)(CI)(RX,W) and Administrators with full access; no Everyone and no Users ☐
2.4 The share is not open to everyone Get-SmbShareAccess KYC — only kyc-staff (Change) and Administrators (Full) ☐
3.1 Both disks are encrypted manage-bde -status — for C: and D: "Fully Encrypted" and "Protection On" ☐
3.2 Recovery keys are on paper and correct the 48-digit recovery passwords on paper in the safe match the output of manage-bde -protectors -get C: and D: ☐
3.3 The keys are not in the cloud or in photos the owner confirms: the keys were not photographed and not saved to the cloud or notes ☐
4.1 File system auditing is on auditpol /get /subcategory:"{0CCE921D-69AE-11D9-BED3-505054503030}" — "Success" ☐
4.2 The folder has an audit rule (Get-Acl D:\KYC -Audit).Audit — a rule for Everyone with ReadData, WriteData, Delete ☐
4.3 A file opening is visible with the user name open a file as kassir — a minute later it is in the output of the step 4 viewing command with the name kassir ☐
4.4 The Security log has enough space wevtutil gl Security — maxSize: 1073741824 ☐
5.1 The scanner saves directly to the store scan a test page — the file appears in \\<computer>\KYC\<customer_file_number>, not in Pictures or Downloads ☐
5.2 The online form does not send documents to email send a test file through the website form — it is in the store, and there is no email with an attachment ☐
5.3 Telegram Desktop does not download files automatically in Telegram Desktop's auto-download settings, files are turned off for private chats, groups and channels ☐
5.4 The "no photographing documents with a phone" rule is in the procedures the procedures include the rule, signed by all cashiers ☐
6.1 No documents outside the store a repeat of the step 1 search on all computers — no folders with documents outside D:\KYC ☐
6.2 Chats are cleaned in Telegram, WhatsApp and Viber, the files and media of chats with customers and Saved Messages contain no documents ☐
6.3 Phones and personal clouds are cleaned the cashiers' galleries, Recently Deleted, Google Photos and iCloud contain no customer documents ☐
6.4 Shared links are turned off each link found in step 1, opened in a signed-out window, shows "no access" ☐
7.1 The retention period is written down the policy has a number agreed with a lawyer instead of "___ years" ☐
7.2 Deletion by retention period was carried out the transaction log has a decision entry for the last month about deleting documents by retention period ☐
7.3 Backups do not outlive the retention period the version retention in restic forget (article on backups) is not longer than the period in the policy ☐
8.1 The 72-hour plan is printed it is kept together with the business continuity plan ☐
8.2 Contacts and the notification channel are filled in the plan has the lawyer's phone number and the way to notify the State Audit Office (address or link to the electronic form) ☐
8.3 The access log export works the step 8 export command creates a non-empty C:\incident\kyc-access.csv ☐

For exchange offices in Georgia: what the law requires

Law of Georgia on Personal Data Protection No. 3144 (in force since 1 March 2024; check articles and wording against the current version on matsne.gov.ge):

  • Notify the regulator of an incident within 72 hours of its discovery (Art. 29 of the law) if the likelihood of significant harm to people is medium or high. The procedure is set by Order No. 19 of the Head of the Personal Data Protection Service of 28 February 2024: notification in writing or through the electronic form on the regulator's official website; if you could not assess the incident within 72 hours, notify anyway and send the details in parts.
  • From 2 March 2026, the functions of the abolished Personal Data Protection Service are performed by the State Audit Office — the notification goes there.
  • Technical and organizational security measures proportionate to the risks: encryption, access restriction, logging.
  • Keep data no longer than the purpose requires. At the same time, AML law requires keeping identification data for a certain period: for VASPs, according to a review by the law firm Andersen, 5 years after the end of the business relationship or the one-off transaction. Confirm the period for your policy (step 7) with a lawyer.
  • The fine for failing to report an incident, according to public sources, is 2,000 or 3,000 GEL.

Steps 2–4 are the security measures, step 7 is the retention period, step 8 is the 72-hour notification.

Questions

A customer sent their passport via Telegram on their own. Is that our problem?

Yes: you received the customer's data and you are storing it. Move the document to the store, delete it from the chat for both sides and offer the customer another way to send it (step 5).

What counts as a breach?

Not only "it was posted online." Access by an outsider, loss of a device with unencrypted data, sending to the wrong recipient — these are incidents too.

How long should we keep copies of customer passports?

As long as AML law requires, and no longer. For VASPs in Georgia, according to a review by the law firm Andersen, it is 5 years after the end of the business relationship or the one-off transaction; confirm the period for your policy with a lawyer and delete by it (step 7).

Can we store passport scans in Google Drive or another cloud?

Only in a business cloud and with the same scheme as on the disk: a separate folder, access through named user accounts, no "anyone with the link" sharing, only the owner can delete (step 2). Cashiers' personal clouds are not suitable for documents.

We don't have a scanner. Can we photograph documents with a phone?

Only with a dedicated work phone without a personal cloud or unrelated apps: the file goes straight to the store, then delete it from the gallery and from Recently Deleted. A cashier's personal phone is not suitable — its gallery is read by apps and the personal cloud.

A laptop with scans was stolen. Is that a breach?

If the disk was encrypted with BitLocker and the recovery key was not kept with the laptop, the data on the disk cannot be read without the key (step 3) — record the incident and your risk assessment. If the disk was not encrypted, it is a breach: follow the 72-hour plan (step 8).

Do we have to tell customers about a breach?

The regulator is notified within 72 hours if the likelihood of significant harm to people is medium or high. Whether to notify the customers themselves is decided when the risk to them is high — together with a lawyer (step 8).

What is the liability for a breach?

The fine for failing to report an incident, according to public sources, is 2,000 or 3,000 GEL; the notification goes to the State Audit Office. Besides the fine, there are claims from customers whose documents leaked and questions from inspectors about your security measures.

How can we tell that documents have already leaked?

Signs: in the access log (step 4), one employee opened many customers' folders in a short time; customers are called or messaged by scammers who know their passport details; documents turn up where they should not be — in chats, email, shared links. In that case, go straight to the 72-hour plan.

How do we delete scans so they cannot be recovered?

Normal deletion leaves the data on the disk until it is overwritten. After a mass deletion (steps 6–7), wipe the free space with cipher /w:D:\ — it removes data from the unused space of the entire volume and takes a long time. On a BitLocker disk, these traces cannot be read without the key anyway.


Note: Legal requirements are based on public sources and should be checked against the current version of the law.

Sources

  1. Law of Georgia on Personal Data Protection No. 3144 (in force since 01.03.2024)
  2. Parliament of Georgia — the Personal Data Protection Service is abolished from 2 March 2026, its functions pass to the State Audit Office
  3. Civil.ge — about 5 million records with Georgian citizens' data leaked through an open Elasticsearch database
  4. Kaspersky — SparkCat: App Store and Google Play apps recognize text in gallery photos
  5. Order No. 19 of the Head of the Personal Data Protection Service of 28.02.2024 — incident criteria and notification procedure (Art. 29 of the law)
  6. Andersen in Georgia — Georgia's Legal Framework for Virtual Asset Services (AML data retention period)
  7. Microsoft — cipher (/w: removes data from unused portions of a volume)
↑