Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started

Chapter 10 · Reading 3 of 3

Chat, Electron apps and social evidence

CHFI domains 1, 2, 4, 5, 6 · GCFE: Email evidence across clients and services

Before paying, Brightwater’s clerk did what the company’s policy asked and confirmed the new bank details. The confirmation came in a Microsoft Teams chat with someone shown as “Corran Textiles Accounts”, and the clerk kept a screenshot. A screenshot is a picture of a claim. The examiner needs the chat as the service recorded it, and needs to know who was really on the other end.

Collect from the service first

For any messaging platform, the authoritative record is usually held by the service, not the device. Teams messages in Microsoft 365 are stored in the service and can be collected through Purview eDiscovery with their message IDs, timestamps, participants and edit history. The collection shows that the chat was with an external participant whose account is corran.accounts@outlook.example, a consumer account outside Corran’s Microsoft 365 tenant. Teams displayed the chosen display name, and Brightwater’s tenant allowed chats with unmanaged external accounts. The confirmation the clerk relied on came from the attacker, not from Corran.

Electron apps keep their own local caches

Many desktop chat clients, including Slack, Discord and the classic Microsoft Teams client, are built on Electron, which packages a Chromium browser engine with the application. Like Chrome, an Electron app keeps a profile folder, typically under %APPDATA% or %LOCALAPPDATA%, with the same kinds of storage:

  • LevelDB folders, often under Local Storage\leveldb or IndexedDB, hold key-value data such as cached messages, user identifiers and settings. LevelDB files can retain older values until compaction removes them.
  • Cache folders hold images, attachments and API responses, sometimes including message content.
  • Cookies and session data show which accounts were signed in.

Newer clients, such as the current Microsoft Teams on Windows, use the WebView2 runtime rather than Electron, but the storage is similar Chromium-style LevelDB and IndexedDB. Local caches can show what the clerk’s computer displayed and when, including messages later deleted in the app. They are partial and depend on the client version, so they corroborate the service record rather than replace it.

Figure 1. Three sources for the same chat
SourceShowsLimits
Screenshot from the clerkWhat the clerk says they sawEasily edited; no identifiers; no metadata
Local Teams cache on the clerk’s PCCached message text, participant IDs, timesPartial; format changes between versions
Microsoft 365 eDiscovery exportAll messages, participant account IDs, tenant, editsRequires admin access and retention to be in place

Social-media evidence disappears quickly

Corran’s real accounts manager later finds a fake “Corran Textiles” profile on a business networking site, apparently used to research Brightwater’s staff. Social-media content can be edited or deleted at any moment, so preservation comes first.

Figure 2. Preserving a social-media profile
  1. Capture what is public now. Use a forensic web-capture tool or a documented browser capture that records the URL, the time, the page source and screenshots, and hash the results.
  2. Record identifiers, not just names. The profile’s numeric ID or permanent URL survives a change of display name.
  3. Send a preservation request to the platform. Most platforms accept requests to preserve account records for a period while legal process is obtained. Non-public data such as login IP addresses requires legal process.
  4. Ask account holders for their own exports. Brightwater’s staff can download their own message histories with the fake profile, which include the platform’s identifiers and times.

Insider-threat cases

Social and messaging evidence is central to insider-threat investigations, where the question is whether an employee misused legitimate access. These cases call for extra care: the employee’s personal accounts are usually outside the employer’s authority (Chapter 2), monitoring must follow written policy and law, and findings can affect someone’s livelihood. Evidence typically comes from company systems, such as corporate chat, email, file-access logs and data-loss-prevention alerts, together with anything the employee posted publicly. The examiner documents the source and authority for each item and keeps observations separate from conclusions about motive.

The message chronology for the Brightwater case can now be written with each link supported: Corran’s mailbox was accessed from 203.0.113.77, an inbox rule hid Brightwater’s replies, the instruction email was sent from the real mailbox with a look-alike Reply-To, and the “confirmation” came from an external consumer account with a borrowed display name. What remains unknown is who controlled 203.0.113.77, a question for the hosting provider, by legal process.

On the exam, prefer the service’s record over a screenshot or local cache, treat display names as claims and identifiers as evidence, and preserve social-media content before it can change. The next chapter, Cloud storage, accounts, and virtual infrastructure, follows a file that exists in more than one place at once.

External chat participant

Inspect the three records, then use the evidence to answer the question.

1. Display name

Corran Textiles Accounts

2. Account

corran.accounts@outlook.example

3. Tenant

External consumer account, not the Corran tenant

Apply the reading

The clerk’s screenshot of the Teams chat shows a “Corran” user confirming the bank change. What would you collect to test whether the chat is genuine?

Compare your reasoning

Collect the chat from Microsoft 365 through eDiscovery, including the external participant’s identity and tenant, the message times and IDs, and the clerk’s local Teams cache. A screenshot can be edited; the service’s own record shows who sent each message.