nadamohamed14796-byte/cyber-strike/t1648-serverless-execution

Claude Code and agent skill by nadamohamed14796-byte/cyber-strike

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Adversaries may abuse serverless computing, integration, and automation services to execute arbitrary code in cloud environments.

Install

npx vskill@latest install nadamohamed14796-byte/cyber-strike/t1648-serverless-execution

SKILL.md

The same SKILL.md was published earlier as nadamohamed14796-byte/cyber-strike/t1648-serverless-execution.

T1648 Serverless Execution

High-Level Description

Adversaries may abuse serverless computing, integration, and automation services to execute arbitrary code in cloud environments. Many cloud providers offer a variety of serverless resources, including compute engines, application integration services, and web servers.

Adversaries may abuse these resources in various ways as a means of executing arbitrary commands. For example, adversaries may use serverless functions to execute malicious code, such as crypto-mining malware (i.e. Resource Hijacking). Adversaries may also create functions that enable further compromise of the cloud environment. For example, an adversary may use the IAM:PassRole permission in AWS or the iam.serviceAccounts.actAs permission in Google Cloud to add Additional Cloud Roles to a serverless cloud function, which may then be able to perform actions the original user cannot.

Serverless functions can also be invoked in response to cloud events (i.e. Event Triggered Execution), potentially enabling persistent execution over time. For example, in AWS environments, an adversary may create a Lambda function that automatically adds Additional Cloud Credentials to a user and a corresponding CloudWatch events rule that invokes that function whenever a new user is created. This is also possible in many cloud-based office application suites. For example, in Microsoft 365 environments, an adversary may create a Power Automate workflow that forwards all emails a user receives or creates anonymous sharing links whenever a user is granted access to a document in SharePoint. In Google Workspace environments, they may instead create an Apps Script that exfiltrates a user's data when they open a file.

Kill Chain Phase

  • Execution (TA0002)

Platforms: SaaS, IaaS, Office Suite

What to Check

  • [ ] Identify if Serverless Execution technique is applicable to target environment
  • [ ] Check SaaS systems for indicators of Serverless Execution
  • [ ] Check IaaS systems for indicators of Serverless Execution
  • [ ] Check Office Suite systems for indicators of Serverless Execution
  • [ ] Verify mitigations are bypassed or absent (2 known mitigations)
  • [ ] Assess detection coverage (1 detection strategies)

How to Test

Manual Testing
  1. Identify Attack Surface: Determine if the target environment is susceptible to Serverless Execution by examining the target platforms (SaaS, IaaS, Office Suite).
  1. Assess Existing Defenses: Review whether mitigations for T1648 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
  1. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.

Remediation Guide

M1036 Account Use Policies

Where possible, consider restricting access to and use of serverless functions. For examples, conditional access policies can be applied to users attempting to create workflows in Microsoft Power Automate. Google Apps Scripts that use OAuth can be limited by restricting access to high-risk OAuth scopes.

M1018 User Account Management

Remove permissions to create, modify, or run serverless resources from users that do not explicitly require them.

Detection

Detection Strategy for Serverless Execution (T1648)

Risk Assessment

FindingSeverityImpact
Serverless Execution technique applicableHighExecution

CWE Categories

CWE IDTitle
CWE-94Improper Control of Generation of Code

References

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nadamohamed14796-byte/cyber-strike/t1648-serverless-execution/badge)](https://verified-skill.com/skills/nadamohamed14796-byte/cyber-strike/t1648-serverless-execution)

Something wrong with this skill or its page? Tell us.