Modify Cloud Compute Infrastructure: Create Cloud Instance T1578.002

Tactic: Defense Impairment

An adversary may create a new instance or virtual machine (VM) within the compute service of a cloud account to evade defenses. Creating a new instance may allow an adversary to bypass firewall rules and permissions that exist on instances currently residing within an account. An adversary may Create Snapshot of one or more volumes in an account, create a new instance, mount the snapshots, and then apply a less restrictive security policy to collect Data from Local System or for Remote Data Staging.

Authoring guide

These 5 rules share fields, values, and exclusions.

Fields filtered most (16 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
data_stream.dataset2eq 2aws.cloudtrail, azure.activitylogs
event.outcome2eq 2success
All_Changes.action1eq 1created
EventType1in 1restoredbinstancefromdbsnapshot, restoredbinstancefroms3
OperationName1eq 1library.agentpoolcreated, library.agentpooldeleted
PoolType1eq 1Self Hosted
Provider_Name1eq 1rds.amazonaws.com
azure.activitylogs.identity.authorization.evidence.principal_type1eq 1user
azure.activitylogs.operation_name1eq 1microsoft.compute/virtualmachines/extensions/write
azure.resource.id1contains 1/dsc/, customscriptextension, microsoftmonitoringagent
enough_data1eq 11
firstTimeSeenInstanceType1is_null 1
instance_type1ne 1unknown
namespace1in 1gke-system, kube-node-lease, kube-public
subresource1is_null 1

Top indicator values (25 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.outcomeeq
success
2375
All_Changes.actioneq
created
111
EventTypein
restoredbinstancefromdbsnapshot
1
EventTypein
restoredbinstancefroms3
1
OperationNameeq
library.agentpoolcreated
1
OperationNameeq
library.agentpooldeleted
1
PoolTypeeq
Self Hosted
1
Provider_Nameeq
rds.amazonaws.com
19
azure.activitylogs.identity.authorization.evidence.principal_typeeq
user
12
azure.activitylogs.operation_nameeq
microsoft.compute/virtualmachines/extensions/write
1
azure.resource.idcontains
/dsc/
1
azure.resource.idcontains
customscriptextension
1
azure.resource.idcontains
microsoftmonitoringagent
1
azure.resource.idcontains
runcommandlinux
1
azure.resource.idcontains
runcommandwindows
1
azure.resource.idcontains
vmaccessagent
1
data_stream.dataseteq
aws.cloudtrail
1173
data_stream.dataseteq
azure.activitylogs
139
enough_dataeq
1
110
instance_typene
unknown
1
namespacein
gke-system
1
namespacein
kube-node-lease
1
namespacein
kube-public
1
namespacein
kube-system
1
usernamecontains
serviceaccount
124

Exclusions (8 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
resourcene
pods
1
responseStatus.codege
1
1
responseStatus.codege
400
1
responseStatus.codele
16
1
usernamein
aksService
1
usernamein
masterclient
1
usernamestarts_with
system:
1
verbne
create
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Elastic 2 rules

Splunk 1 rule

Kusto 1 rule

Panther 1 rule