In this section

0.3 Techniques, Procedures, Tools and Observable Behavior

Module 0

Introduction

Four words get used as if they meant the same thing, and they don't. A technique is a general way of achieving a goal: running a command on another machine by creating a service there, for example.

A procedure is the exact way one operator carried that technique out on one occasion: from this machine, as this account, with this service name, at this time. A tool is the software that did the work. Observable behavior is what your records show happened, whichever tool was used.

The distinction decides whether your work survives contact with a competent operator. A finding or a detection written about a tool is true only until the tool is swapped, which takes an operator minutes.

One written about a technique is so general that it describes your own administrators. The level you'll work at for most of this course is the procedure, stated in terms of behavior, because that is what an operator actually does and what your evidence can actually support.

Tacticwhy: the goal of the actionTechniquehow, in generalProcedurehow, exactly, this timeToolwhat carried it outObservable behaviorwhat the records showthe operator works here,and you read it there

Five levels of description. Operators act at the procedure level and leave observable behavior.

Read the figure from the top for meaning and from the bottom for evidence. An investigation starts at the bottom, with what was observed, and climbs: these records show this behavior, which is this procedure, which is an instance of this technique, which served this goal. Each step up is an inference, and the lesson's last sections are about making each one carefully.

1

As Attackers Executed It: One Technique, Many Operators

Running a command through a Windows service, as five different groups and tools have done it

Take one technique and look at who has used it. Windows runs long-lived background programs as services, and a component called the service control manager starts and stops them.

An operator who can ask that component to create and start a service on a machine can make the machine run a command. MITRE ATT&CK, the public knowledge base of adversary behavior, records this as System Services: Service Execution, and files it under the goal it serves, which is execution.

ATT&CK's page for the technique lists dozens of procedure examples, each a documented case of some group or some piece of software using it. A handful show how different the same technique looks in different hands.

Service Executionone techniqueChimeraPsExec, to deploy beacons on compromised systemsWizard SpiderBatch scripts that call PsExec to run a ransomware payloadFIN6New Windows services that run encoded PowerShell commandsRagnar Lockersc.exe, to run a service the malware has createdINC RansomA service that starts the file encryption program

Service Execution, as ATT&CK records five groups and tools using it.

Chimera and Wizard Spider used an administration tool, PsExec. FIN6 created services directly and had them run encoded PowerShell. Ragnar Locker, which is ransomware, called the built-in sc.exe. INC Ransom's use is recorded on the ATT&CK page by the trace it left: a service installation entry in the System log, with the name of the service and the file it pointed to.

Three lessons are in that figure. The technique is the same for all five, so knowing the technique tells you what the operator was able to do: run something on that machine.

The procedures all differ, so knowing only the technique tells you almost nothing about which operator you're facing or what they'll do next. And the tools include one that is malware, one that ships with Windows and one that your own administrators probably use, so the presence of a tool settles nothing about intent.

This is why the levels matter to a defender in practice. When a report tells you that a group "uses Service Execution," it has told you a category. What you can search for, and what you can recognize when it happens on your network, is in the procedure: the tool, the naming, the account, the command.

2

How It Works: The Technique

What the service control manager does, and why a request to it runs a command as the system

A technique is worth understanding at the level of its mechanism, because the mechanism is what every procedure has in common and what no change of tool can remove.

Here is the mechanism of this one. The service control manager keeps a database of services: a name, the file to run, the account to run it as, and when to start it. Anything with the right privileges on a machine can add an entry and ask for it to be started.

Microsoft's documentation for the built-in sc.exe utility describes the create operation as writing the service's entries to the registry and to the service control manager's database, and it accepts the name of a remote server, so the request can be made from another machine.

Machine the operator holdsService control managerNew process on the target1 create a service2 start it3 runs the command4 delete the service (optional)writes "a service was installed"account: LocalSystem by default

The technique as a sequence. Steps 1 to 3 are the same whichever tool sends the requests.

Two details make this attractive to an operator. The first is the account. Microsoft's documentation gives the default account for a new service as LocalSystem, the most privileged account on the machine, so a command run this way runs with more rights than the administrator who asked for it.

The second is reach. The request travels over the network to a component that exists on every Windows machine, so an operator holding an account with administrative rights on a server needs nothing installed there in advance.

The same documentation shows what the request looks like when sent with the built-in tool:

sc.exe \\myserver create NewService binpath= c:\windows\system32\NewServ.exe

The first argument names the remote machine and the last names the file to run. The documentation adds a detail that catches people out: the space after binpath= is required, and the command fails without it. Nothing obliges that file to be a real service program. Point it at the command interpreter with a command attached, start the service, and the command runs.

From the mechanism you can already say what the technique needs and what it must leave. It needs an account with the right to create services on the target, and a network path to it. It must leave a new entry in the service database, however briefly, and a process started by the service control manager. Those two facts hold for every procedure in the previous section.

3

The Procedure: How, Exactly, This Time

The specifics an operator chooses, which are also the specifics your evidence records

A procedure fills in everything the technique leaves open. ATT&CK defines a procedure as the specific implementation an adversary uses for a technique, and notes that one procedure can combine several techniques.

For this technique, the open choices are these: which machine to send the request from, which account to use, what to call the service, what the service should run, whether to remove it afterward, and when to do it.

Each choice is made for a reason, which is why procedures are informative. A service given a name that resembles a Windows component was named by someone who expects a person to look at the list. A service with a random name was named by a tool, for a job expected to last seconds.

A service that points at the command interpreter exists to run one command. A service that points at a file on disk and starts automatically is meant to come back after a restart, which makes it persistence as well as execution: one procedure serving two goals.

Procedures also tell operators apart, where techniques can't. Two intrusions that both use Service Execution might be the same crew or might have nothing in common.

Two intrusions in which the service is named the same way, launched from the same kind of account, at the same hours, with the same command line, are much more likely to be related, and an operator who repeats a procedure on your network next month is recognizable by it.

A finding reads: "The attacker used PsExec to run a command on the file server." A week later the same intruder does the same thing with a different tool. At which level should the finding have been written?pick one, then the reason

The procedure is also the level at which your evidence exists. No record says "Service Execution occurred." Records say that a service with a certain name and file was installed on a certain machine by a certain account at a certain time.

That is a procedure, almost field for field. So the procedure is where an investigation is most firmly grounded, and the technique is a label you attach afterward to connect what you found with what others have reported.

4

The Tool: What Carried It Out

Why the same tool appears in attacks and in administration, and what a tool adds to the evidence

A tool is whatever sent the requests. ATT&CK tracks tools and malware together as software and gives each its own entry, separate from the groups that use it: PsExec is one, Impacket is another, Cobalt Strike a third. The separation is deliberate. Many groups share a tool, and one group uses many, so a tool is weak evidence of who is behind an intrusion.

Tools matter to the evidence for a narrower reason: each has habits. A tool has to choose a service name, a file name and a way of cleaning up, and unless the operator overrides them, it chooses the same ones every time. PsExec's are well known and you'll see them in the records later in this lesson.

ATT&CK's own entries for three of the tools show how closely they overlap. PsExec is an administration tool that runs programs on remote systems through a temporary Windows service. Impacket is a toolkit with modules that emulate tools such as PsExec. Cobalt Strike can use PsExec, or start new services through the service control manager itself.

Three tools, one technique, and each makes the same calls in the same order: connect to the administrative share, put a program where the server can reach it, open the service manager, create a service, start it. What differs is the names each one chooses for the file and the service. The figure separates what such choices affect from what they can't touch.

Changes when the tool changesStays the sameThe service nameThe file the service points toThe program that made the requestA new service appears on the targetIt runs a command, then may vanishIt was installed from another machinecheap for the operator to changethe technique cannot work without these

What a change of tool alters, and what it cannot.

Those habits are useful and fragile. They're useful because a default name or file is fast to search for, and finding one is a quick way to locate activity. They're fragile because they're the cheapest thing for an operator to change.

A renamed copy of a tool, or a different tool, leaves the left column of the figure looking entirely new. The right column is the mechanism from section 2, and an operator can't change it without abandoning the technique.

So use tool marks to find things and never to conclude things. A default service name tells you where to look. It doesn't tell you that an attacker was responsible, because the administrator down the hall uses the same tool. And its absence doesn't tell you the technique wasn't used, because the next operator renamed it.

The conclusion has to rest on the behavior and the circumstances around it: who, from where, running what.

5

Observable Behavior: What the Records Show

The service installation record, read for behavior, and an assistant asked the right question

Observable behavior is the technique as it appears in your records, described without reference to any tool. For this technique it has two parts that follow from the mechanism: a service is installed on a machine, and the service control manager starts a process.

ATT&CK's detection guidance for the technique is written at this level. It tells defenders to look for the service control manager starting unusual programs, and to correlate process lineage, registry changes and service logs.

The service log entry is the easiest of those to read. When a service is installed, Windows writes a record to the System log from the source named Service Control Manager.

TimeGenerated  2026-10-06T12:23:27.630Z
Computer       WS-OPS-04.corp.brennick.example
EventLog       System
Source         Service Control Manager
EventID        7045
UserName       BRENNICK\a.mensah

A service was installed in the system.
Service Name:  PSEXESVC
Service File Name:  %SystemRoot%\PSEXESVC.exe
Service Type:  user mode service
Service Start Type:  demand start
Service Account:  LocalSystem

Read it for behavior first. A service was installed on a workstation, by a named account, to run on demand as LocalSystem. Then read it for the tool's habits: the service name and the file name are the defaults of a widely used administration tool. The record doesn't say which machine sent the request, and it doesn't say what the service went on to run. Both are in other records.

Notice how much of that reading came from the mechanism. You knew to expect a service name, a file and an account before you opened the record, because the technique requires all three. Knowing the mechanism is what lets you read a record you've never seen before.

Reading behavior takes practice, and an assistant can help if you describe what you see and ask for its limits.

Reading a one-off service ⌄⇧ Share☰◫

On a file server, the System log shows a service installed by a service account. The service has a random-looking name and its file name is %COMSPEC% followed by a command. The service is not there afterward. What does this describe, what does MITRE ATT&CK call it, and what can't I tell from this one record? Name your sources.

%COMSPEC% is the environment variable that points to the command interpreter, cmd.exe. A service whose file is the command interpreter isn't a real service: it was created to run one command and then removed.

ATT&CK records this as System Services: Service Execution, T1569.002. It describes tools such as PsExec running commands through a temporary Windows service, and notes that these tools accept a remote server as an argument. attack.mitre.org

Several remote execution tools work this way, and administrators use some of them. A random service name suggests the name was generated by a tool, but it doesn't identify which one, and I wouldn't name a tool from the name alone.

From this record you can't tell which machine sent the request, whether the command succeeded, or what it did. You need the logon on the server at the same moment for the source, and the process records for what ran.

Reply↵
+Opus 5.5 Medium Auto

You check

An illustrative exchange, written for this lesson: run the prompt yourself and expect different wording. Check T1569.002 on the ATT&CK site, and notice that the answer declined to name a tool from a service name. Hold your own findings to the same standard.

Describing behavior this way has a practical payoff. A search written for "a service whose file is the command interpreter" finds every tool that works that way, including ones you've never heard of. A search written for one tool's default name finds that tool until someone renames it. Both searches are worth having, and you should know which kind you're running when you read an empty result.

6

Attempt, Success and the Administrator Who Looks the Same

The same technique in an administrator's hands, and where the difference shows

Service Execution is an administration technique that attackers borrow. Your patching system, your help desk and your software deployment may all use it daily. At the technique level, an intrusion and a Tuesday afternoon's patching are indistinguishable, and a rule that alerts on the technique will bury you.

The separation happens one level down. Compare two procedures of the same technique.

In the first, a help desk account installs a service with a well-known tool's default name on several workstations, at the same hour on several days. In the second, an account that normally does nothing but backups installs a randomly named service on a single server, once, pointing at the command interpreter. Nobody would confuse them.

One technique, two proceduresthe difference is one level downPatchinghelp desk account, default name, many machines, same hourIntrusionbackup account, random name, one server, once, a shell

The same technique, told apart by its procedure.

What made them different was never the tool. It was the account against its normal duties, the number of machines, the repetition, the timing and what the service ran. Those are the properties to record when you document a procedure, because they're the ones that separate it from its legitimate twin.

Be equally careful about success. The service installation record tells you a service was created. It doesn't tell you the service started, or that the command it carried did what the operator wanted. A command can be installed and fail to run, or run and be blocked, or run and fail at its own task. Each of those is a different finding, and the installation record supports only the first.

Tool marks invite a particular mistake here. An analyst who sees a familiar administration tool's default name tends to stop looking, on the reasoning that the tool is approved. An analyst who sees an unfamiliar name tends to assume an attack.

Operators know both habits. The careful ones rename their tools to look approved, and plenty of legitimate software installs services with odd names. The name moves your attention. The procedure decides the question.

7

How to Interrupt It

Controls at each level, and why the one aimed at a tool is the weakest

Each level offers a place to act, and they differ greatly in how long the effect lasts.

At the tool level, you can block or alert on a specific tool. ATT&CK's mitigations for this technique include an attack surface reduction rule that blocks processes created by PsExec. That's worth having, since it stops the most common tool outright. It's also the easiest control to step around, because it names one tool.

ATT&CK lists an attack surface reduction rule that blocks processes created by PsExec. An operator who meets that rule most likely does what?pick one, then the reason

At the technique level, you act on the prerequisite, which no tool can avoid. The technique needs an account allowed to create services on the target. ATT&CK lists privileged account management for exactly this reason: make sure accounts with lower privileges can't create or interact with services that run with higher ones.

In practice the strongest version is narrowing which accounts are administrators on which machines. An account that isn't an administrator on the file server can't use this technique against it with any tool.

At the level of observable behavior, you make the technique visible. Collect service installation records from servers as well as workstations, and review the ones whose procedure doesn't match a known routine: an unexpected account, a single machine, a file that is a command interpreter. This doesn't prevent anything, and it catches the operator who changed tools, which the tool-level block can't.

Use all three, and be clear about what each one gives you. When you propose a control, say which level it acts on. "Block PsExec" is a tool-level control that will hold for one tool. "Remove the backup account's administrator rights on workstations" is a technique-level control that holds for every tool.

"Review service installations by accounts outside the deployment group" is behavior-level visibility. A plan that contains only the first kind has made the operator's next choice for them, and the choice is to pick another tool.

8

The Same Reading on One Intrusion

Eight service installations in one week, three procedures, one technique

The intrusion this course investigates took place on a network where the help desk patches workstations with PsExec. That gives its records a realistic problem: the technique is in daily legitimate use. This search takes every service installation in the week and groups it by the service's name, the file it points to and the account that installed it:

Event
| where EventID == 7045
| extend Service = extract(@"Service Name:\s+(\S+)", 1, RenderedDescription),
    Path = extract(@"Service File Name:\s+(\S+)", 1, RenderedDescription)
| summarize Installs = count(), Machines = dcount(Computer)
    by Service, Path, UserName
| order by Installs desc
The same search in SPL

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

sourcetype=XmlWinEventLog EventCode=7045
| eval Path=mvindex(split(ImagePath, " "), 0)
| stats count AS Installs dc(host) AS Machines BY ServiceName Path UserName
| sort - Installs

It returns three rows, which is three procedures of one technique.

The first is the routine. The help desk account a.mensah installed a service named PSEXESVC six times across three workstations, on two days, always in the 12:00 hour. Default tool name, a group of machines, a repeating schedule, an account whose job this is.

The second is a single installation on the file server by svc_backup, the backup service account. The service is named svc95e285 and its file is the command interpreter. Everything about the procedure is wrong for that account: one machine, once, in working hours, a random name and a command in place of a program. This is the one-off service from section 5's exchange.

The third is also a single installation on the file server, by the system account itself. The service is named WinTelemetrySvc and points at a program under C:\ProgramData.

The name is chosen to look like part of Windows, and the file is on disk, so this service is meant to stay. A process already running as the system installed it, which means that by this point somebody had that level of access on the server.

Technique-level analysis would have reported eight uses of Service Execution and stopped. Tool-level analysis would have found six uses of PsExec and missed the two that matter. The procedure-level reading separates all three. The installation records alone still leave questions: whether the second service's command succeeded, and what the third service does when it runs.

9

The Same Event from Three Consoles

What the operator typed, what an analyst gets when asking the server, and how to confirm what ran

Go back to the second procedure, the one-off service. The installation record doesn't say which machine sent the request. The requesting machine's own records do. A PowerShell process in j.okafor's session ran four commands on the finance laptop in the same minute. This is the session as the operator saw it:

C:\Users\j.okafor>net use \\FS01\ADMIN$ /user:BRENNICK\svc_backup [password]
The command completed successfully.

C:\Users\j.okafor>sc \\FS01 create svc95e285 binPath= "%COMSPEC% /c powershell.exe
    -nop -w hidden -enc SQBFAFgAIAAo..." start= demand
[SC] CreateService SUCCESS

C:\Users\j.okafor>sc \\FS01 start svc95e285
[SC] StartService FAILED 1053:

The service did not respond to the start or control request in a timely fashion.

C:\Users\j.okafor>sc \\FS01 delete svc95e285
[SC] DeleteService SUCCESS

Four commands in six seconds: section 2's sequence as the operator typed it, with the built-in tool from that section and no PsExec anywhere. The first connects to the server's administrative share with the backup account's name and password. The second creates a service whose program is the command interpreter, told to run hidden, encoded PowerShell. The third starts it and the fourth deletes it.

The start reports error 1053, which Microsoft's error reference gives as the service not responding to the start request in time. The command interpreter isn't a service program, so it never answers the service control manager. Something still ran. 3 minutes later the file server made its first connection to the operator's outside server.

Now the defender's side of the same event. An analyst asking the file server for its service installations would run this:

PS C:\> $f = @{ LogName='System'; Id=7045 }
PS C:\> Get-WinEvent -ComputerName FS01 -FilterHashtable $f |
>>     Format-List TimeCreated, Id, Message

TimeCreated : 08/10/2026 09:03:30
Id          : 7045
Message     : A service was installed in the system.
              Service Name:  WinTelemetrySvc
              Service File Name:  C:\ProgramData\Microsoft\Diagnosis\wtsvc.exe

TimeCreated : 06/10/2026 14:10:08
Id          : 7045
Message     : A service was installed in the system.
              Service Name:  svc95e285
              Service File Name:  %COMSPEC% /c powershell.exe -nop -w hidde...

The operator's screen shows what was asked for. The server's log shows what was installed, and it shows two services where the operator's four commands account for one.

One question is still open: whether a start that reports error 1053 ran its command. The file server's own process records answer it. In the same second, the command interpreter started there with the service manager as its parent, and PowerShell started under it.

A failed start is the tool's report on the service, and the process records are the independent check on the command. Keep that habit for every technique: confirm the effect from something other than the tool that reported it.

Set the two windows side by side and each has something the other lacks. The operator's has the order of the commands, the password and the fact that the service was deleted seconds after it was created. None of that is in the server's log.

The server's has the second service, installed two days later by a process already running there, which no command on the laptop explains. An investigation that had only the laptop would miss the service that was built to stay. One that had only the server would never learn that the first was created from a finance user's session.

The rest of the course follows this pattern for every technique: what the operator ran, what each machine recorded, and what a defender types to find it.

Practice

Do

Practice

Describe one action at every level
the campaign records

You've seen one technique in three procedures. Now take the second of them and describe it at each level, so that the finding would survive a change of tool.

Do this Write a finding that survives a change of tool
  1. Run the search. Run the search in section 8 and confirm the three procedures.
  2. Read the one-off service. Replace the summarize and order lines with | where UserName has "svc_backup" and | project TimeGenerated, Computer, RenderedDescription, and read the whole record.
  3. Describe it at each level. Using the five lines from section 3, write the tactic, technique, procedure, tool and observable behavior. Leave the tool line blank if the records don't name one.
  4. State the behavior. In one sentence that names no tool, say what a defender would search for to find this again.
  5. Mark the gaps. List what this record doesn't establish: the machine that sent the request, whether the command ran, and what it did.
You will have a finding written at the procedure level with its behavior stated, and you will know which parts of it a different tool would change.

In your own environment, pull a week of service installations and group them the same way. Most will fall into a few routines you can name: patching, software deployment, a monitoring agent. Write those routines down. Whatever is left over is a short list, and a short list is something you can read every week.

The next lesson takes up a question this one raised twice: how to tell an action that was attempted from one that succeeded, and either of those from one that had an effect on the business.