Create or Modify System Process T1543

Tactics: Persistence, Privilege Escalation

Adversaries may create or modify system-level processes to repeatedly execute malicious payloads as part of persistence. When operating systems boot up, they can start processes that perform background system functions. On Windows and Linux, these system processes are referred to as services. On macOS, launchd processes known as Launch Daemon and Launch Agent are run to finish system initialization and load user specific parameters.

Events covered

40 catalog events are tagged with this technique by at least one rule.

ProviderEventTitle
SysmonEvent ID 1Process creation
SysmonEvent ID 3Network connection
SysmonEvent ID 5Process terminated
SysmonEvent ID 6Driver loaded
SysmonEvent ID 7Image loaded
SysmonEvent ID 11FileCreate
SysmonEvent ID 12RegistryEvent (Object create and delete)
SysmonEvent ID 13RegistryEvent (Value Set)
SysmonEvent ID 14RegistryEvent (Key and Value Rename)
SysmonEvent ID 15FileCreateStreamHash
Security-AuditingEvent ID 4624An account was successfully logged on.
Security-AuditingEvent ID 4674An operation was attempted on a privileged object.
Security-AuditingEvent ID 4688A new process has been created.
Security-AuditingEvent ID 4689A process has exited.
Security-AuditingEvent ID 4697A service was installed in the system.
Security-AuditingEvent ID 4698A scheduled task was created.
Security-AuditingEvent ID 4723An attempt was made to change an account's password.
Event ID 0Event ID 0
Defender-DeviceEventsExploitGuardNonMicrosoftSignedBlockedExploit Guard non-Microsoft signed image (blocked)
Defender-DeviceFileEventsanyFile activity
Defender-DeviceImageLoadEventsanyImage load
Defender-DeviceNetworkEventsanyNetwork activity
Defender-DeviceProcessEventsanyProcess activity
ESFexecProcess Execution
ESFforkProcess Fork
ESFcreateFile or Directory Create
ESFwriteFile Write
Linux-AuditdEvent ID 1300SYSCALL
Linux-AuditdEvent ID 1302PATH
Linux-AuditdEvent ID 1309EXECVE
Linux-AuditdEvent ID 1327PROCTITLE
CodeIntegrityEvent ID 3023The driver FileNameBuffer is blocked from loading as the driver has been revoked by Microsoft.
CodeIntegrityEvent ID 3077Code Integrity determined that a process (Process Name) attempted to load File Name that did not meet the Requested Signing Level signing level requirements or violated code integrity p...
PowerShellEvent ID 4103Payload Context: ContextInfo User Data: UserData.
PowerShellEvent ID 4104Creating Scriptblock text (MessageNumber of MessageTotal).
PowerShellEvent ID 800Event ID 800
Service-Control-ManagerEvent ID 7036The Microsoft Software Shadow Copy Provider service entered the stopped state.
Service-Control-ManagerEvent ID 7045A service was installed in the system.
Sysmon-for-LinuxEvent ID 1Process Create
Sysmon-for-LinuxEvent ID 11File created

Authoring guide

These 253 rules share fields, values, and exclusions.

Fields filtered most (116 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType72eq 45, in 26, ne 3exec, start, creation, ProcessRollup2, exec_event
event.type70eq 60, ne 7, in 3start, change, creation, deletion, process_started
process_basename64eq 39, in 24, starts_with 6, wildcard 5, contains 1, is_not_null 1bash, csh, sc.exe, dash, cmd.exe
Image55ends_with 28, is_not_null 8, starts_with 7, wildcard 7, eq 6, contains 5, in 1, regex_match 1\sc.exe, , /boot/*, ./*, /dev/shm/*
CommandLine45contains 35, regex_match 7, in 4, wildcard 4, eq 2, match 2, ends_with 1*create*, config, (?i)cmd\.exe\s+\/Q\s+\/c, (?i)sc(\.exe)?\s(.+)?create\s, * setsid *
process.args34eq 19, in 9, wildcard 7, contains 6, starts_with 6, ends_with 1-c, -i, --command, --install, -cl
TargetFilename33wildcard 18, starts_with 12, ends_with 4, eq 4, contains 2, in 1/Library/LaunchAgents/*, /Library/LaunchAgents/*.plist, /Library/LaunchDaemons/*, /Library/LaunchDaemons/*.plist, /System/Library/LaunchAgents/*
parent_process_basename33eq 21, in 14, is_not_null 1, wildcard 1services.exe, systemd, bash, cron, crond
EventID23eq 237045, 6, 4697, 11, 4688
ServiceName22eq 13, contains 4, in 2, starts_with 2, wildcard 1AmmyyAdmin, Atera, KrbSCM, AnyDesk, BASupportExpressSrvcUpdater
OriginalFileName18eq 17, in 1sc.exe, Cmd.Exe, DevCon.exe, Process Hacker, ProcessHacker.exe
Provider_Name17eq 17Service Control Manager
TargetObject17wildcard 10, contains 3, ends_with 3, eq 1, starts_with 1HKLM\SYSTEM\*ControlSet*\Services\*\ImagePath, *\ADWS, *\AppHostSvc, *\AppReadiness, *\SYSTEM\ControlSet*\Services\*\ImagePath
ImagePath14contains 9, match 2, regex_match 2, ends_with 1, in 1, starts_with 1 -c , -e, -k , -nop , -r
event.category14eq 13, in 1process, file, configuration, registry, authentication

Top indicator values (7694 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
381036
event.typeeq
creation
948
event.typeeq
change
889
EventTypeeq
exec
19547
EventTypeeq
connection_attempted
772
EventTypeeq
start
7388
Provider_Nameeq
Service Control Manager
1750
EventTypein
exec
15180
EventTypein
start
13157
EventTypein
ProcessRollup2
9119
EventTypein
creation
932
EventTypein
exec_event
9135
EventTypein
rename
725
process_basenamein
bash
13181
process_basenamein
sh
13180
process_basenamein
zsh
13180
process_basenamein
csh
12148
process_basenamein
fish
12151
process_basenamein
ksh
12149
process_basenamein
tcsh
12145
process_basenamein
dash
11150
Imageends_with
\sc.exe
1230
EventIDeq
7045
1119
process_basenameeq
sc.exe
1032
Imageis_not_null
8155
OriginalFileNameeq
sc.exe
828
process.code_signature.existseq
false
8118
process.code_signature.trustedeq
false
8114
CommandLinecontains
*create*
729
event.categoryeq
process
7105

Exclusions (1524 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
Imagein
/bin/chef-client
13
Imagein
/bin/dnf
13
Imagein
/bin/dnf-automatic
13
Imagein
/bin/dockerd
13
Imagein
/bin/microdnf
13
Imagein
/bin/podman
13
Imagein
/bin/puppet
13
Imagein
/bin/rpm
13
Imagein
/bin/snapd
13
Imagein
/bin/yum
13
Imagein
/opt/puppetlabs/puppet/bin/puppet
13
Imagein
/sbin/apk
13
Imagein
/usr/bin/chef-client
13
Imagein
/usr/bin/dnf
13
Imagein
/usr/bin/dnf-automatic
13

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 85 rules

Elastic 114 rules

Splunk 43 rules

Kusto 8 rules

YARA-L 1 rule

Panther 2 rules