Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search exact control and technique identifiers, Cyber Wiki articles, framework records, playbooks, books, podcasts, Academy courses, individual lessons, and BMC Cyber Challenge activities.

Complete course · Domain 4 · Incident Detection and Response · S01E41

Investigating a Suspicious Pattern in a Spreadsheet

A community college's identity logs contain thousands of weekend sign-in events, yet an important privileged account barely appears in the busiest-account summaries. This lesson follows a security analyst using spreadsheet analysis to find that account's unusual successful session while protecting the integrity of the original records.

ISACA CCOA Transcript available February 14, 2026
Lesson41

Listen Now

Lesson Focus

What this lesson covers

A community college's identity logs contain thousands of weekend sign-in events, yet an important privileged account barely appears in the busiest-account summaries. This lesson follows a security analyst using spreadsheet analysis to find that account's unusual successful session while protecting the integrity of the original records. It explains what filtering, chronological sorting, grouping, and pivot summaries accomplish, why they answer different questions, and how an apparently empty result can be caused by a hidden filter or missing source data.

You'll hear how incorrect timestamp handling, duplicated events, mismatched account identifiers, partial sorts, and imported text fields can create a convincing but false story. The analyst compares known maintenance activity with an unexplained session, then seeks identity and application evidence before concluding whether any sensitive function was accessed. The episode also addresses safe handling of sensitive exports, validation against underlying records, and how to communicate findings without confusing sign-in success with successful application authorization. You'll finish with a repeatable investigative approach that remains useful in LibreOffice Calc or another spreadsheet application, without needing to follow an interface during playback. This episode is produced by baremetalcyber.com.

Companion Books

Reinforce this lesson with the course books.

Use the study guide to organize the ideas from the audio lesson, then use the flashcards book for active recall and rapid review.

Read the transcript1,982 words · about 10 minutes

A community college has had a difficult weekend. Students are trying to register for courses, and the help desk receives reports of locked accounts. On Monday, the security team receives an export containing thousands of sign-in records. Most of the records look routine. Buried among them are several successful sessions for a privileged support account that should rarely be used outside scheduled maintenance. The analyst has a spreadsheet and a morning meeting to determine whether the account needs urgent investigation.

This is a constructed case, but the work is familiar. A spreadsheet can organize a collection of security records quickly, especially when there is no specialized investigation platform available for the immediate question. It can also quietly distort that collection. A filter can hide relevant rows. A sort can separate a timestamp from its account. A summary can count the same event twice. Understanding those failure modes is part of being an analyst, whether the actual spreadsheet program is LibreOffice Calc or another familiar tool.

The first decision is whether to alter the file that arrived from the identity system. Don't. Preserve the original export and record where it came from, the time period requested, and any limitations the source owner disclosed. Work in a separate copy. A spreadsheet used for analysis is a convenient workspace; it is not a replacement for the source log or the case evidence repository. If the team later needs to explain a conclusion, someone else should be able to reconstruct the same result from the unmodified records.

The analyst starts by asking what a row represents. Is each row a sign-in attempt, an interactive session, an application access, or a forwarded copy of an event seen elsewhere? An account name may be a human user, a service identity, or a display label shared by multiple systems. A result marked successful may mean authentication succeeded, while authorization to a particular application could have failed later. Without those definitions, an accurate count can answer the wrong question.

The independent Bare Metal Cyber study guide is useful as optional follow-up when you want to revisit event fields and investigative interpretation. A good practice question is to explain the difference between counting attempts, counting distinct accounts, and counting successful access. Each measure answers a different operational question, even when all three come from the same export.

Before narrowing the records, establish the boundaries of the dataset. The college requested the period from Friday evening through Monday morning, but one of its applications began sending data only on Saturday. Another source includes both local and remote access. The analyst should identify how many rows arrived, which source systems are represented, and whether any expected period is absent. An empty period is not evidence that nothing happened if the collector was not operating then.

The spreadsheet's most useful immediate feature is a filter. Filtering changes which records are visible without having to discard the others. If the question concerns the privileged support account, the analyst can temporarily show only rows associated with that identity. A second condition can narrow the view to successful authentication. The goal is not to create the smallest possible set of rows. It is to isolate the records that bear on a stated question while preserving the option to widen the view again.

There is an important difference between filtering and deleting. Deleting rows destroys part of the working collection. Filtering normally leaves them present but hidden from the current view. That is useful, but it creates a trap. An analyst who forgets an earlier filter may believe a later search covers the whole export. Suppose the analyst first limited the file to weekend failures and then looked for the account's successful sessions. The results might appear empty simply because success records are still hidden. A negative finding is credible only when the scope of the view is known.

Sorting offers a different kind of insight. It rearranges records so related values or times can be examined in sequence. For this case, chronological order can reveal whether account lockouts preceded a successful session, or whether an unusual session happened before the help desk began receiving reports. But a sort must keep every field attached to its original record. If only the time column is rearranged while account names and results stay in place, the sheet can invent an entire incident. The apparent narrative may be precise, detailed, and entirely false.

Timestamps present another problem. The identity provider records a universal time, while an application export is labeled in local time. One appears to show a successful session before the failed attempts that led to the investigation. After the times are interpreted consistently, the order changes. There may also be records whose time values were imported as text rather than recognized as dates. Those entries can sort like words instead of actual moments. The listener doesn't need to know a cell-format menu to understand the lesson: a timeline is only as reliable as the meaning and type of the time field.

The analyst identifies three successful sessions for the support account. Two occurred during a documented maintenance window. The third was earlier, from a network source unfamiliar to the college's identity team. That may be significant, but the spreadsheet is not yet telling us whose device used the account. An address can represent a shared gateway, and a familiar account can have more than one approved operator. Those details belong in the next investigation step, not in a premature accusation.

A sort can put related events next to each other, but summarization is often better for discovering which groups deserve that closer look. The analyst groups sign-in attempts by account and outcome. Most locked student accounts show repeated failures and no later success. The support account shows a small number of attempts with a successful result. It does not dominate the total event count, so a simple list of the busiest accounts would hide it. This is a useful example of why an interesting security pattern does not have to be the largest pattern.

A pivot table can help build such summaries. Think of it as asking the same underlying records a new question without copying each group by hand. You might summarize attempts by account, by application, or by source network and outcome. Changing the grouping reveals different relationships. A pivot table does not independently validate the records, and the number it displays has to be interpreted carefully. Counting rows is not the same as counting different people or independent sessions.

Duplicates can seriously affect that distinction. The college's exports include one event captured by the central identity service and a second copy forwarded by an application integration. If the analyst treats both as separate successful sessions, the timeline becomes more alarming than the source evidence permits. Removing duplicates without understanding why they exist is also dangerous. Two legitimate sign-in attempts can share the same account and time to the nearest second. A stable event identifier or other reliable combination of fields should support any decision to treat records as repeated copies.

At this point, a practice scenario from Bare Metal Cyber's Cyber Challenge offers a useful optional way to sharpen your reasoning. After listening, try explaining why the busiest account is not always the most important account and why a pivot count should be checked against individual source events. The spreadsheet should lead you toward evidence, not replace the investigation with a tidy summary.

Now suppose the analyst wants to compare weekend sign-ins with the college's approved account inventory. A matching operation can connect the identity events to account ownership, privilege, and expected use. That enrichment makes a rare support-account login more meaningful than an otherwise identical student login. But the join can also go wrong. Display names may differ, old accounts may remain in the inventory, and one name may match multiple entries. A responsible analyst checks unmatched and multiply matched records instead of pretending every row belongs to a known person.

The analyst also wants to know whether the unusual login reached a sensitive application. That requires data from the application, not another calculation over identity-provider records. Authentication may have succeeded without access to the registrar system. Conversely, an already active session might have carried out an application action without producing a fresh login record in this export. A spreadsheet can place those facts next to each other, but it cannot manufacture a missing source event. The next action is to obtain the record that directly addresses application access.

Working with numbers introduces another kind of error. Imagine the report contains transfer sizes, but some rows were imported as text. A total may ignore those rows or treat them inconsistently. Missing fields can also be mistaken for zero. Zero means a measured quantity was none; blank may mean the source never supplied a value. When the business conclusion depends on volume or frequency, the analyst must understand what the calculation included. Otherwise a perfectly executed formula can still produce a misleading answer.

A useful validation habit is to compare summaries with the underlying population. If a grouped report says there were fourteen successful support-account events, a sample of the underlying records should reveal which events contributed and whether duplicates or filters altered the count. If a derived list contains more records than its stated source population, the analyst should understand why before proceeding. Validation is not a ceremonial final check. It protects the integrity of the reasoning every time the data is transformed.

There is also a risk of treating a convenient spreadsheet as a safe place for every kind of evidence. Authentication exports may contain employee identifiers, network addresses, application names, or other sensitive details. Copies should remain in approved storage with access limited to people handling the case. An analyst should avoid spreading raw records through email or attaching an entire export when a concise, verified finding will suffice. Protecting the evidence includes protecting the people and systems described by it.

As the morning meeting approaches, the analyst can make a defensible interim statement. Several student lockouts appear to result from repeated failed sign-ins and need continued triage. Separately, a privileged support account had one successful session outside its known maintenance window, from a source the account owner has not yet confirmed. The spreadsheet helped find and place that event in time. It did not establish that the account was stolen or that student records were accessed.

That distinction helps the team decide what to do next. The identity administrators can examine session details and recent credential changes. The application owner can verify whether the support account performed a protected operation. The help desk can continue restoring legitimate student access without waiting for every security question to be resolved. If evidence points to an active unauthorized session, response authority and containment become urgent. If the source was approved maintenance omitted from the calendar, the team can correct its documentation and improve the monitoring logic.

Suppose a later application record shows that the account opened a configuration page but made no changes. The spreadsheet's earlier finding remains valid, yet the assessment of impact becomes narrower. If a change record instead shows the account altered registration privileges, the case becomes more serious. In either direction, the analyst should update the conclusion rather than defending the original suspicion. A spreadsheet investigation succeeds when its findings can survive new evidence and another analyst can reproduce them.

This is the underlying skill behind spreadsheet work in security operations. Preserve the original, understand the records, narrow them deliberately, examine order and groups, verify any transformations, then move from the summary back to the evidence needed for the next decision. Filtering, sorting, and pivoting are valuable because they help you ask sharper questions. The final result is not an attractive worksheet. It is a clear account of what the available records establish and what the team still needs to learn.