hottub.patents
US 12,367,285 B1#3489392 Most CitedActiveUnited States (USPTO)Utility

Detecting malicious shell scripts in compute instances of cloud computing platforms

0Forward Citations (#3489392 Global)
0.0/yrCitation Velocity (#3489392 Global)
0.00Citation PageRank (#3489392 Global)
12Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A cloud computing platform provides compute instances of customer accounts. A shell script in a compute instance is evaluated by normalizing the shell script to output a set of tokens that are separated by a predetermined separator. The set of tokens is searched for presence of reference tokens. The counts of the reference tokens in the set of tokens are formed into an occurrence vector, which is evaluated by a machine learning model to determine if the shell script is malicious.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method of detecting malicious shell scripts, the method comprising: receiving a target shell script in a compute instance of a plurality of compute instances of a cloud computing platform, the compute instance running a distribution of a LINUX operating system; normalizing the target shell script into a set of tokens, the set of tokens comprising tokens of the target shell script that are separated by a predetermined separator; searching the set of tokens for presence of reference tokens, the reference tokens comprising predefined tokens that are found in malicious shell scripts that attack compute instances and predefined tokens that are found in non-malicious shell scripts of compute instances; counting a number of times each of the reference tokens appear in the set of tokens; generating an occurrence vector of the target shell script, the occurrence vector indicating a count of each of the reference tokens found in the set of tokens; and evaluating the occurrence vector in the co

  2. Claim 2Depends on #1

    The method of claim 1, wherein normalizing the target shell script includes converting text of the target shell script into lowercase and separating the text using the predetermined separator.

  3. Claim 3Depends on #2

    The method of claim 2, wherein the predetermined separator is a space character.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the machine learning model is a Support Vector Machine.

  5. Claim 5Depends on #1

    The method of claim 1, further comprising: normalizing goodware samples into respective sets of goodware tokens, each of the goodware samples is a known non-malicious shell script; for each of the sets of goodware tokens, counting a number of times each of the reference tokens appear in the set of goodware tokens to generate a goodware occurrence vector; normalizing malware samples into respective sets of malware tokens, each of the malware samples is a known malicious shell script; for each of the sets of malware tokens, counting a number of times each of the reference tokens appears in the set of malware tokens to generate a malware occurrence vector; and training the machine learning model to detect malicious and non-malicious shell scripts using a training dataset that comprises goodware occurrence vectors of the goodware samples and malware occurrence vectors of the malware samples.

  6. Claim 6Depends on #5

    The method of claim 5, further comprising: after training the machine learning model, providing the machine learning model to the compute instance over the Internet.

  7. Claim 7Independent Claim

    A system for detecting malicious shell scripts, the system comprising: a cloud computing platform comprising at least one processor to: provide a plurality of compute instances to customer accounts on the cloud computing platform; receive a target shell script in a compute instance of the plurality of compute instances; normalize the target shell script to separate text of the target shell script into a set of tokens that are separated by a predetermined separator; count a number of times each of a plurality of reference tokens appears in the set of tokens, the plurality of reference tokens comprising predefined tokens that are found in malicious shell scripts that attack compute instances and predefined tokens that are found in non-malicious shell scripts of compute instances; generate an occurrence vector that indicates a count of each of the plurality of reference tokens found in the set of tokens; and use a Support Vector Machine (SVM) model to evaluate the occurrence vector in the

  8. Claim 8Depends on #7

    The system of claim 7, wherein the target shell script is normalized by converting text of the target shell script into lowercase characters.

Technical Overview & Description

TECHNICAL FIELD The present disclosure is generally directed to cybersecurity, and more particularly to detecting malicious shell scripts in compute instances of cloud computing platforms. BACKGROUND A cloud computing platform comprises hardware and software infrastructure for providing on-demand computing environments, referred to as compute instances. There are many cloud service providers, such as the Amazon Web Services (AWS ™ ), that offer cloud computing platform as-a-service (AAS) to third-party customers on the Internet. A compute instance runs an operating system and one or more application programs of a customer account on the cloud computing platform. Currently, the vast majority of compute instances run the LINUX operating system. A shell script is a computer program that is designed to be run by a UNIX shell, which is a command-line interpreter that exposes operating system services to a human user or other programs. The LINUX operating system, being a UNIX-like operating system, includes a shell interpreter capable of executing shell scripts. Malicious shell scripts are a prevalent security threat to LINUX and other UNIX-like based systems, often used by threat actors (i.e., cybercriminals, hackers) to deploy crypto-jacking payloads that exploit unsecured resources on the Internet, including compute instances of cloud computing platforms. Traditional signature-based detection methods struggle to effectively identify new variants of these malicious shell scripts. Oftentimes, a signature developed to detect a particular malicious shell script will not accurately detect variants of the particular malicious shell script. This makes it very difficult to create and maintain signatures for detecting malicious shell scripts that attack compute instances of cloud computing platforms. BRIEF SUMMARY In one embodiment, a method of detecting malicious shell scripts includes receiving a target shell script in a compute instance of a cloud computing platform, the com

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (12)

Non-Patent Literature (10)

  • “
  • 10 most popular Linux distributions, and why they exist
  • ”
  • , Packagecloud, Sep. 14, 2021.
  • “
  • API Reference
  • ”
  • , Scikit Learn, downloaded Jul. 7, 2023.
  • A Man Kumar,
  • “