Script Activity

script_activity

Script Activity events report when a process executes a script.

Attributes

CaptionNameTypeDescription
ActionactionString

The normalized caption of action_id.

Action IDaction_idInteger

The action taken by a control or other policy-based system leading to an outcome or disposition. An unknown action may still correspond to a known disposition. Refer to disposition_id for the outcome of the action.

  • 0: Unknown (UNKNOWN)
  • 1: Allowed (ALLOWED)
  • 2: Denied (DENIED)
  • 3: Observed (OBSERVED)
  • 4: Modified (MODIFIED)
  • 99: Other (OTHER)
Activity IDactivity_idInteger

Group:classification
The normalized identifier of the activity that triggered the event.

  • 0: Unknown (UNKNOWN)
  • 1: Execute (EXECUTE)
  • 99: Other (OTHER)
Activityactivity_nameString

Group:classification
The event activity name, as defined by the activity_id.

ActoractorActor[]

Group:primary
The actor object describes details about the user/role/process that was the source of the activity. Note that this is not the threat actor of a campaign but may be part of a campaign.

API DetailsapiAPI[]

Group:context
Describes details about a typical API (Application Programming Interface) call.

MITRE ATT&CK® DetailsattacksMITRE ATT&CK®[]

An array of MITRE ATT&CK® objects describing identified tactics, techniques & sub-techniques.

Authorization InformationauthorizationsAuthorization Result[]

Provides details about an authorization, such as authorization outcome, and any associated policies related to the activity/event.

Categorycategory_nameString

Group:classification
The event category name, as defined by category_uid value.

Category IDcategory_uidInteger

Group:classification
The category unique identifier of the event.

  • 1: System Activity (SYSTEM_ACTIVITY)
Classclass_nameString

Group:classification
The event class name, as defined by class_uid value.

Class IDclass_uidInteger

Group:classification
The unique identifier of a class. A class describes the attributes available in an event.

  • 1009: Script Activity (SCRIPT_ACTIVITY)
CloudcloudCloud[]

Group:primary
Describes details about the Cloud environment where the event was originally created or logged.

ConfidenceconfidenceString

Group:context
The confidence, normalized to the caption of the confidence_id value. In the case of 'Other', it is defined by the event source.

Confidence IDconfidence_idInteger

Group:context
The normalized confidence refers to the accuracy of the rule that created the finding. A rule with a low confidence means that the finding scope is wide and may create finding reports that may not be malicious in nature.

  • 0: Unknown (UNKNOWN)
  • 1: Low (LOW)
  • 2: Medium (MEDIUM)
  • 3: High (HIGH)
  • 99: Other (OTHER)
Confidence Scoreconfidence_scoreInteger

Group:context
The confidence score as reported by the event source.

CountcountInteger

Group:occurrence
The number of times that events in the same logical group occurred during the event Start Time to End Time period.

DevicedeviceDevice[]

Group:primary
An addressable device, computer system or host.

DispositiondispositionString

The disposition name, normalized to the caption of the disposition_id value. In the case of 'Other', it is defined by the event source.

Disposition IDdisposition_idInteger

Describes the outcome or action taken by a security control, such as access control checks, malware detections or various types of policy violations.

  • 0: Unknown (UNKNOWN)
  • 1: Allowed (ALLOWED)
  • 10: Exonerated (EXONERATED)
  • 11: Corrected (CORRECTED)
  • 12: Partially Corrected (PARTIALLY_CORRECTED)
  • 13: Uncorrected (UNCORRECTED)
  • 14: Delayed (DELAYED)
  • 15: Detected (DETECTED)
  • 16: No Action (NO_ACTION)
  • 17: Logged (LOGGED)
  • 18: Tagged (TAGGED)
  • 19: Alert (ALERT)
  • 2: Blocked (BLOCKED)
  • 20: Count (COUNT)
  • 21: Reset (RESET)
  • 22: Captcha (CAPTCHA)
  • 23: Challenge (CHALLENGE)
  • 24: Access Revoked (ACCESS_REVOKED)
  • 25: Rejected (REJECTED)
  • 26: Unauthorized (UNAUTHORIZED)
  • 27: Error (ERROR)
  • 3: Quarantined (QUARANTINED)
  • 4: Isolated (ISOLATED)
  • 5: Deleted (DELETED)
  • 6: Dropped (DROPPED)
  • 7: Custom Action (CUSTOM_ACTION)
  • 8: Approved (APPROVED)
  • 9: Restored (RESTORED)
  • 99: Other (OTHER)
Duration MillisecondsdurationLong

Group:occurrence
The event duration or aggregate time, the amount of time the event covers from start_time to end_time in milliseconds.

End Timeend_timeTimestamp

Group:occurrence
The end time of a time period, or the time of the most recent event included in the aggregate event.

EnrichmentsenrichmentsEnrichment[]

Group:context
The additional information from an external data source, which is associated with the event or a finding.
For example, add location information for the IP address in the DNS answers:

[
  {
    "name": "answers.ip",
    "value": "92.24.47.250",
    "type": "location",
    "data": {
      "city": "Socotra",
      "continent": "Asia",
      "coordinates": [-25.4153, 17.0743],
      "country": "YE",
      "desc": "Yemen"
    }
  }
]
Firewall Rulefirewall_ruleFirewall Rule[]

The firewall rule that pertains to the control that triggered the event, if applicable.

Alertis_alertBoolean

Indicates that the event is considered to be an alertable signal. Should be set to true if disposition_id = Alert among other dispositions, and/or risk_level_id or severity_id of the event is elevated. Not all control events will be alertable, for example if disposition_id = Exonerated or disposition_id = Allowed.

MalwaremalwareMalware[]

A list of Malware objects, describing details about the identified malware.

MessagemessageString

Group:primary
The description of the event/finding, as defined by the source.

MetadatametadataMetadata[]

Group:context
The metadata associated with the event or a finding.

ObservablesobservablesObservable[]

Group:primary
The observables associated with the event or a finding.

OSINTosintOSINT[]

Group:primary
The OSINT (Open Source Intelligence) object contains details related to an indicator such as the indicator itself, related indicators, geolocation, registrar information, subdomains, analyst commentary, and other contextual information. This information can be used to further enrich a detection or finding by providing decisioning support to other analysts and engineers.

PolicypolicyPolicy[]

The policy that pertains to the control that triggered the event, if applicable. For example the name of an anti-malware policy or an access control policy.

Raw Dataraw_dataJSON

Group:context
The event data as received from the event source.

Record IDrecord_idString

Group:primary
Unique idenifier for the event

Risk Detailsrisk_detailsString

Group:context
Describes the risk associated with the finding.

Risk Levelrisk_levelString

Group:context
The risk level, normalized to the caption of the risk_level_id value.

Risk Level IDrisk_level_idInteger

Group:context
The normalized risk level id.

  • 0: Info (INFO)
  • 1: Low (LOW)
  • 2: Medium (MEDIUM)
  • 3: High (HIGH)
  • 4: Critical (CRITICAL)
  • 99: Other (OTHER)
Risk Scorerisk_scoreInteger

Group:context
The risk score as reported by the event source.

ScriptscriptScript[]

Group:primary
The script that was the target of the activity.

SeverityseverityString

Group:classification
The event/finding severity, normalized to the caption of the severity_id value. In the case of 'Other', it is defined by the source.

Severity IDseverity_idInteger

Group:classification

The normalized identifier of the event/finding severity.

The normalized severity is a measurement the effort and expense required to manage and resolve an event or incident. Smaller numerical values represent lower impact events, and larger numerical values represent higher impact events.

  • 0: Unknown (UNKNOWN)
  • 1: Informational (INFORMATIONAL)
  • 2: Low (LOW)
  • 3: Medium (MEDIUM)
  • 4: High (HIGH)
  • 5: Critical (CRITICAL)
  • 6: Fatal (FATAL)
  • 99: Other (OTHER)
Start Timestart_timeTimestamp

Group:occurrence
The start time of a time period, or the time of the least recent event included in the aggregate event.

StatusstatusString

Group:primary
The event status, normalized to the caption of the status_id value. In the case of 'Other', it is defined by the event source.

Status Codestatus_codeString

Group:primary
The event status code, as reported by the event source.

For example, in a Windows Failed Authentication event, this would be the value of 'Failure Code', e.g. 0x18.

Status Detailstatus_detailString

Group:primary
The status detail contains additional information about the event/finding outcome.

Status IDstatus_idInteger

Group:primary
The normalized identifier of the event status.

  • 0: Unknown (UNKNOWN)
  • 1: Success (SUCCESS)
  • 2: Failure (FAILURE)
  • 99: Other (OTHER)
Event TimetimeTimestamp

Group:occurrence
The normalized event occurrence time or the finding creation time.

Timezone Offsettimezone_offsetInteger

Group:occurrence
The number of minutes that the reported event time is ahead or behind UTC, in the range -1,080 to +1,080.

Type Nametype_nameString

Group:classification
The event/finding type name, as defined by the type_uid.

Type IDtype_uidLong

Group:classification
The event/finding type ID. It identifies the event's semantics and structure. The value is calculated by the logging system as: class_uid * 100 + activity_id.

  • 100900: Script Activity: Unknown (SCRIPT_ACTIVITY_UNKNOWN)
  • 100901: Script Activity: Execute (SCRIPT_ACTIVITY_EXECUTE)
  • 100999: Script Activity: Other (SCRIPT_ACTIVITY_OTHER)
UnmappedunmappedUnmapped[]

Group:context
Data from the source that was not mapped into the schema.

Relationships

Script Activity shown in context

Outbound Relationships

Script Activity references the following objects and events in its attributes:

This page describes ocsf-1.4.0