In this section

0.1 What Adversarial Tradecraft Means for a Defender

Module 0

Introduction

Adversarial tradecraft is the way an attacker runs an operation inside someone else's network: which way in to use, which account to borrow, which tool to run, how long to wait, and what to do when a route turns out to be closed. A technique is a single move, such as listing the members of a privileged group or copying a credential database.

Tradecraft is the judgment that selects the moves, puts them in order and keeps the whole thing from being noticed. Two intruders can use the same ten techniques and run very different operations, because one of them picks the quiet account, works in office hours and leaves through a door the defender forgot.

You study it for a practical reason. An alert tells you that a move happened. It doesn't tell you why the attacker made that move, what they needed in order to make it, what they would have done if it had failed, or what they can still do now.

Those answers come from reading the operation as a chain of decisions, each made by a person with an objective and a limited set of options. Read that way, an intrusion is something you contain by taking options away, and you can say which ones are left.

The figure shows that reading on a small, invented operation. Follow the orange path.

Decision 1: get inDecision 2: get rightsDecision 3: reach the dataLure a usertakenExploit the VPNweighed, not chosenEscalate on the laptoptried, closedBorrow a service accounttaken insteadCopy the filestakenEncrypt the serverweighed, not chosenacted on: leaves records where a sensor is watchingweighed and dropped: leaves nothingtried and closed: may leave one quiet record

An operation as three decisions. The path bends where the first choice was closed.

Three things in that picture carry the rest of this lesson. The path bends at the second decision: the first choice was closed, so the operator took another. The options that were weighed and dropped left nothing behind. And the operator reached the data with an account the organization had created itself, which is why the last step looked like ordinary work.

1

As Attackers Executed It: Living off the Land

A documented operation in which nearly every choice was made to look like administration

The clearest public account of tradecraft at work is the joint advisory on the group tracked as Volt Typhoon, published in February 2024 by CISA, the NSA and the FBI with partner agencies in Australia, Canada, New Zealand and the United Kingdom.

The agencies assessed that the group's aim was to pre-position itself on the IT networks of critical infrastructure operators, so that it could disrupt them during a major crisis or conflict. In some victim environments the access had been held for at least five years.

Read the advisory for the choices, because that is where the craft is. The operators typically got in by exploiting flaws in internet-facing network appliances: routers, VPN gateways and firewalls. Once inside they rarely ran malware. They typed commands by hand into tools Windows already ships, an approach the advisory calls living off the land, and they kept their access with valid account credentials.

The agencies' earlier advisory on the same group printed the commands themselves, recovered from victims' records. A selection, as the advisory gives them:

whoami
ipconfig /all
arp -a
netstat -ano
tasklist /v
net localgroup administrators
net group "Domain Admins" /dom
wmic service brief
netsh interface portproxy show all
wmic process call create "ntdsutil \"ac i ntds\" ifm \"create full C:\Windows\Temp\""

Every one ships with Windows, and most are what an administrator types on a normal day. The last runs ntdsutil, the directory's own maintenance tool, through WMI, to write a full copy of the domain database into a temporary folder. Where event logs were touched, the 2024 advisory adds, they were cleared selectively.

Each of those is a decision made against a particular defense, and none is a vulnerability you could patch. A file scanned by antivirus can be caught, so there's no file. A new program on a server stands out, so the work is done with net, nltest, wmic and PowerShell, which an administrator runs every day.

A logon from an unknown account draws attention, so the logons use accounts that already exist. The advisory adds two details that show how deliberate this was. The operators studied each victim before the compromise, including its network design, its security measures and its key IT staff. And they appear to have avoided using stolen credentials outside normal working hours.

That last detail is the one to remember. Nothing technical stops an attacker from logging on at three in the morning. These operators chose not to, because they had worked out what the defenders' monitoring would notice.

Tradecraft is built from a model of you: your tools, your logs, your working day. You won't find an operation like this one by searching for something foreign on the network, because nothing foreign is there. What you can find is ordinary activity that adds up to somebody's plan.

2

How Tradecraft Adapts When the Target Changes

The same intelligence service, a different way in, because its targets moved to the cloud

Tradecraft isn't fixed to a group. It follows the target. In February 2024 the UK's National Cyber Security Centre and its partners published an advisory on the actor known as APT29, Midnight Blizzard or Cozy Bear, which they assess is almost certainly part of Russia's foreign intelligence service, the SVR. Its subject is a change of method.

This actor had long gained entry by exploiting software vulnerabilities in on-premises networks. As its targets moved their systems to cloud services, the advisory says, the SVR adapted to the change in the operating environment.

On-premises estateExploit a software flawon the network edgeInternal networkmuch of it now reachableCloud tenantNo edge flaw to exploitthe provider runs the edgeSign in as an accountthe only way throughtargets moved; the method followedservice accountdormant accountstolen tokenprompt accepted, device added

When the perimeter belongs to a cloud provider, the way in becomes an account.

What replaced the exploit was authentication. To reach a cloud tenant the actor has to sign in to it, so the craft moved to finding an account that would let it. The advisory describes four ways. Service accounts were guessed by password spraying and brute force, because they run applications, often hold high privileges and have no person behind them to answer a multifactor prompt.

Dormant accounts belonging to people who had left were taken over. System-issued access tokens were used in place of passwords. And where a staff account did have multifactor authentication, the actor sent prompt after prompt until someone accepted one, then registered a device of its own on the tenant.

One passage in that advisory deserves a second reading. After an incident, an organization forced a password reset for its users. The actor signed in to inactive accounts, followed the reset instructions and was back inside. The response had removed a password and left the option.

An organization moves its mail to a cloud tenant and requires multifactor authentication for all staff. Going by this advisory, where does the actor look first?pick one, then the reason

The pattern in both advisories is the same, and it's the working definition for this course. An operator wants something, holds some access, and looks for the cheapest reliable way to turn one into the other in the environment as it actually is.

Change the environment and the way changes with it. That's why a list of last year's techniques ages quickly, while an understanding of how operators choose stays useful.

3

How It Works: Every Step Is a Decision

The objective, what the operator holds, what the next step needs, the options, the constraint and the choice

Underneath every operation is the same small mechanism, repeated. The operator has an objective, which is the reason the intrusion exists: steal a set of documents, hold access for later, extort the company.

At any moment the operator also holds something: a session on one machine, the identity of one user, a password. Between what they hold and what they want there is a gap, and the next step exists to close part of it.

To take that step the operator needs something specific. Reading a file server needs an identity the server will accept. Running a program as administrator needs administrative rights on that machine.

These needs are the prerequisites of the step, and they're the most useful thing a defender can know about it, because a step whose prerequisite is missing cannot happen, however skilled the operator is. A control placed on the thing a step requires works against every operator who needs that step.

Standard useron a workstationEscalate on the workstationclosed: no admin rightsUse a credential with the rightstakenExploit the file serverdropped: could crash itneeds local adminneeds a readable secretneeds an exposed flaw

Three routes to one need. The prerequisite on each line decides which are open.

Usually more than one route satisfies the need, and the operator chooses between them under constraints. Noise is one: an exploit that might crash a service is a poor choice for someone who wants to stay for months.

Time is another, and so is the risk of losing the access they already have. The choice that comes out is rarely the cleverest route. It's the one that is available, reliable and least likely to be noticed in this environment.

Written down, a single decision looks like this. Learn the six lines, because you'll fill them in for every step of every intrusion in this course.

Objective    Read the contracts folder on the file server
Holds        A standard user's session on a finance laptop
Needs        An identity the file server accepts as a reader
Options      1  Become administrator on the laptop and take a stored credential
             2  Find a credential that already has the rights
             3  Exploit a flaw on the file server itself
Constraint   Stay unnoticed; do nothing that could crash a host
Choice       Option 2, after option 1 turned out to be closed

Two habits follow from the mechanism. When you see an action, ask what it needed, and check whether the attacker demonstrably had it. And when you close a route, ask which other options satisfied the same need, because the operator already knows them. Both questions have answers you can check in records, which is what makes them worth asking.

4

How It Is Carried Out: The Operator at the Keyboard

The loop of orienting, enumerating, choosing and checking, and why built-in tools come first

Decisions need information, so most of an operator's working time goes on finding things out. The rhythm is a loop. Orient: which machine is this, which user am I, what can this user do?

Enumerate: what else is on the network, who administers it, where is the thing I came for? Then choose a step, take it, check whether it worked, and go round again with whatever the step produced. The first minutes on a newly compromised workstation are almost entirely the first two.

That work is done with tools the operating system provides, for the reason the Volt Typhoon advisory makes plain: they are already present and their use is ordinary. The same advisory lists what its operators ran, and it reads like a system administrator's command history: net, nltest, whoami, netsh, systeminfo, tasklist, wmic, PowerShell.

Four of the most common each answer one question. The first asks who the current user is and what they can do. The second asks which accounts control the domain. The third asks where the domain controllers are, and the fourth asks what a server shares.

C:\Users\j.okafor>whoami /all

USER INFORMATION
----------------
User Name         SID
================= ==============================================
brennick\j.okafor S-1-5-21-2847351906-1730428751-3906124818-1104

GROUP INFORMATION
-----------------
Group Name                             Type
====================================== ================
Everyone                               Well-known group
BUILTIN\Users                          Alias
BRENNICK\Domain Users                  Group
BRENNICK\Finance-Staff                 Group
Mandatory Label\Medium Mandatory Level Label

C:\Users\j.okafor>net group "Domain Admins" /domain
The request will be processed at a domain controller for domain corp.brennick.example.

Group name     Domain Admins
Comment        Designated administrators of the domain

Members

-------------------------------------------------------------------------------
Administrator
The command completed successfully.

C:\Users\j.okafor>nltest /dclist:corp.brennick.example
Get list of DCs in domain 'corp.brennick.example' from '\\DC01.corp.brennick.example'.
    DC01.corp.brennick.example [PDC]  [DS] Site: Default-First-Site-Name
The command completed successfully

C:\Users\j.okafor>net view \\FS01
Shared resources at \\FS01


Share name  Type  Used as  Comment

-------------------------------------------------------------------------------
Finance     Disk
Ops         Disk
The command completed successfully.

Those are the commands the intruder in this course's case ran, between 10:40 and 10:46 on the first morning, taken from the laptop's process records. The records hold the commands and not what they printed, so the output is written here to show what the operator read.

The first screen says: an ordinary user in the finance group, at medium integrity, with no administrative group anywhere in the list. The next three screens are the search for something more useful: who administers the domain, where its controllers are, and what the file server offers.

None of these exploits anything. Each asks the system a question it was built to answer. MITRE ATT&CK, the public knowledge base of adversary behavior, records the second command under a technique named Domain Groups, and it notes that the technique can't easily be mitigated with preventive controls, since it relies on features the system needs in order to work.

Frameworks and purpose-built tools come later, when the operator has to do something the built-in tools can't: hold a remote session open, move a credential between machines, map every permission in a directory at once. Even then the pattern holds. The tool is chosen for the job and the environment, and a careful operator prefers the option that produces the least unusual activity.

So when you look at an intruder's commands, read them as questions. A burst of identity, group and domain controller lookups from one session means somebody has just arrived and is working out where they are. The answers they received tell you what they'll go after next, which makes those commands worth more to you than the alert that led you to them.

5

What It Leaves, and What It Does Not

Actions leave records where a sensor is watching; choices that were weighed and dropped leave none

An operation leaves evidence only where two things meet: the operator did something, and a sensor was configured to record that kind of thing. Every investigation in this course rests on that sentence, so take its two halves in turn.

The first half means that thinking leaves no trace. An option the operator considered and rejected produced no event. A route they tried and found closed may leave a single quiet record, or none. What you get to see are the actions, and you reconstruct the decisions from their order and their timing.

Process logLogon logNetworkWeighed and droppedTried and blockedCompleted

What each kind of choice can leave. Dashed circles are records that never existed.

The second half is about your own estate. Windows records a process start as Security event 4688 only when the Audit Process Creation policy is enabled.

Even then the event leaves out the command line unless a second policy setting, Include command line in process creation events, is turned on, and Microsoft's documentation gives that setting's default as not configured. Without it you'd know that net.exe ran and have no idea what it was asked.

TimeGenerated      2026-10-05T10:40:12.310Z
Computer           WS-FIN-07.corp.brennick.example
EventID            4688
Account            BRENNICK\j.okafor
NewProcessName     C:\Windows\System32\whoami.exe
CommandLine        whoami  /all
ParentProcessName  C:\Windows\System32\cmd.exe

That is one record of the first command from the previous section. It names the account, the program, the full command line and the program that started it. Read what it leaves out just as carefully. It can't tell you who was at the keyboard or what the command printed, and the parent it names is a command shell whose own start is in a different record.

Put the two halves together and you get the habit that separates a reconstruction from a guess. Before you conclude that something didn't happen, check that it would have been recorded if it had.

An empty search over a log that never captured command lines proves nothing about the commands. And when a record does exist, state what it establishes and stop there: this account's session started this program at this time.

6

Attempt, Success and the Administrator Who Looks the Same

Why a single command is never the finding, and what turns a sequence into one

Two confusions cause most wrong conclusions about an intrusion, and tradecraft is designed to produce both.

The first is treating an attempt as a success. An operator tries things that fail: a password that's wrong, a logon the server refuses, a program a control blocks. Each can leave a record that looks alarming, and none of them moved the operation forward. The opposite mistake costs more.

A blocked attempt tells you the operator was present and held enough access to try, and it says nothing about the routes that weren't blocked. Later lessons give each standard its own evidence. For now, keep three words apart in your notes: attempted, completed, and achieved its purpose.

The second confusion is the lookalike. Because operators work with administrative tools, the records they leave match the ones your administrators leave. A help desk technician checking a ticket runs whoami and net group for the same reason the operator does: to find out who can do what. So a single command is never the finding.

What separates the operator from the administrator sits around the command: which account ran it and on which machine, what started the shell, what else ran in the same few minutes, and whether that account has ever done it before.

An AI assistant is useful at this point if you ask it the right way: describe the behavior, ask what the record can't tell you, and ask for its sources.

Reading a discovery command ⌄⇧ Share☰◫

A standard user's session on a workstation started cmd.exe from PowerShell and ran: net group "Domain Admins" /domain. What does that command do, why would an intruder run it at that point, what does MITRE ATT&CK call the behavior, and what can this single process record not tell me? Name the documentation you are relying on.

It lists the members of the domain's Domain Admins group. It only reads: nothing on the workstation or in the directory changes.

ATT&CK records it as Permission Groups Discovery: Domain Groups, T1069.002, under the Discovery tactic, and names net group /domain as the Windows command. Its procedure examples include FIN7 and Turla running this same line to identify domain administrators. attack.mitre.org

For an intruder it answers a planning question: which accounts are worth going after next. ATT&CK notes that the technique can't easily be prevented, because it uses a feature the system needs.

The record can't tell you who was at the keyboard, what the command printed, or whether this was a help desk technician working a ticket, because administrators run the same line. Check what started the shell, what else ran in the minutes around it, and whether this account has done it before.

Reply↵
+Opus 5.5 Medium Auto

You check

An illustrative exchange, written for this lesson: run the prompt yourself and expect different wording. Open the ATT&CK page for T1069.002 and confirm the ID, the command and the procedure examples before you repeat any of them in a finding.

Notice what made that exchange worth having. The prompt described what happened instead of asking whether it was malicious, which nobody can answer from one line. It asked for the limits of the record. And it asked for a source you can open, which matters because an assistant will give you a technique number with the same confidence whether or not the number exists.

The assistant speeds up the reading. The judgment about this account on this machine stays with you.

7

How to Interrupt It

Judging a response by the options it removes, and naming the ones it leaves

If an operation is a chain of decisions, then stopping it means changing what the operator can decide. That gives you a sharper test for any response than whether the alert has cleared: which option did this action remove, and which options that satisfy the same need are still there?

Apply it to the two documented operations. The organization in the SVR advisory reset its users' passwords, and the actor returned through dormant accounts that the reset process itself handed back. The action removed credentials.

The option, an unwatched account that could still sign in, was untouched. In the Volt Typhoon cases, removing a suspicious file would have achieved little, since the access rested on valid accounts and on appliances at the network edge.

There are three places to act, and they suit different moments. You can remove a prerequisite, so the step can't happen at all: a service account that no longer has rights on every workstation is of little use to whoever steals its password.

You can remove an option after the fact, which is what containment is: disable the account, revoke its sessions, close the remote access path. Or you can make the step visible by collecting the record that would have shown it, so the next attempt is seen. The SVR advisory reports the first kind working: where tenants had device enrollment policies, the actor's attempt to register its own device was refused.

An alert fires on a laptop. The team isolates it and resets that user's password. Earlier, from that laptop, the intruder read a service account's password out of a script. What has the response removed?pick one, then the reason

Whichever you choose, finish by writing down what remains. A response note that says "host isolated, password reset, contained" describes the artifacts. A note that says the operator's session on this laptop is gone, and that the service account password they read is unchanged and still works on the file server, describes the operation. It also tells the next analyst where to look when the activity comes back.

8

The Same Reading on One Intrusion

Two accounts ran the same discovery commands in one week, and the records show which one had just arrived

The course investigates one intrusion throughout: a week in October 2026 at a freight forwarder of about four hundred staff, with a Windows domain, a Linux server facing the internet and a Microsoft 365 tenant. Its records are generated for the course and modeled field for field on real ones.

The operation behind them was designed with failed attempts, a change of direction and a response that left a route open, and you'll take it apart stage by stage. Here it has one job: to show that the reading from the last seven sections works on records.

During that week the discovery commands from section 4 ran on this network. The question is who ran them, and how. This search counts process starts of the three programs by machine and account, and counts the separate days on which each pair was active:

SecurityEvent
| where EventID == 4688
| where NewProcessName has_any ("whoami.exe", "nltest.exe", "net.exe")
| summarize Runs = count(), Days = dcount(bin(TimeGenerated, 1d)),
    FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
    by Computer, SubjectUserName
| order by Days asc
The same search in SPL

If your team searches in Splunk, this asks the same question of the same records in SPL.

sourcetype=XmlWinEventLog source="XmlWinEventLog:Security" EventCode=4688
    (NewProcessName="*whoami.exe" OR NewProcessName="*nltest.exe"
    OR NewProcessName="*\\net.exe")
| bin _time span=1d
| stats count AS Runs dc(_time) AS Days BY host SubjectUserName
| sort Days

It returns two rows. The account a.mensah on WS-IT-02 started those programs 40 times across six days. That machine is a help desk workstation and its user is a technician, so the commands are part of the job and they recur.

The account j.okafor on WS-FIN-07, a finance laptop, started them seven times on two days: five between 10:40 and 10:50 UTC on 5 October, a span of 10 minutes, and two more the next day.

Neither row names a program an administrator wouldn't run. Both accounts used the same tools. What differs is everything around them. A finance user has no work reason to list the domain's administrators. Most of the commands arrived in one burst. Outside those two days, the laptop shows nothing like them.

That is the signature of the loop from section 4: somebody has just arrived in that session and is finding out where they are. The records don't yet say how the session began or what the operator did with the answers, and a careful note says so.

Practice

Do

Practice

Read one stage of the intrusion as a decision
the campaign records

You've read tradecraft as a chain of decisions. Now do it once on records, and write the result down in the six lines from section 3.

Do this Read the discovery burst as a decision
  1. Run the search. Run the search in section 8 and confirm the two accounts and the number of days each was active.
  2. Put the commands in order. Replace the summarize and order lines with | where SubjectUserName == "j.okafor" and | project TimeGenerated, CommandLine, then read the commands by time. Those from the first day are questions. Decide what those from the second day are.
  3. Write the decision. Using the six lines from section 3, write what this operator held, what the questions were for, and two options the answers could open.
  4. Mark what is unproven. List what these records do not establish: who was at the keyboard, what the commands returned, and how the session began.
  5. Compare the lookalike. Run the same ordered search for a.mensah and name two differences in timing or origin that you would cite in a finding.
You will have read one stage of an intrusion as a decision, with the evidence for it and the limits of that evidence written beside it.

In your own environment, pick one administrator and one ordinary user and pull a week of process starts for the same three programs. Check first that your process events carry command lines. If they don't, you've found the first gap to close, and you've learned what your logs could not have told you about an operator who worked this way.

The next lesson takes the first three lines of that decision apart: what an operator's objective is, what access they hold, and the constraints that shape every choice.