惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
腾讯CDC
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hugging Face - Blog
Hugging Face - Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
博客园_首页
D
DataBreaches.Net
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
月光博客
月光博客
Jina AI
Jina AI
Stack Overflow Blog
Stack Overflow Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Vercel News
Vercel News
WordPress大学
WordPress大学
J
Java Code Geeks
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42

Wiz Blog | RSS feed

Meet Wiz for M365: Bringing SaaS into the Security Graph Bringing Security Visibility to Vercel with Wiz Axios NPM Distribution Compromised in Supply Chain Attack Tracking TeamPCP: Investigating Post-Compromise Attacks Seen in the Wild The Wiz Blue Agent, now Generally Available Beyond the Badge: What Achieving Microsoft’s Certified Software Designation Means for Your Cloud Security Introducing the Green Agent: AI-Powered Remediation for the Cloud Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign KICS GitHub Action Compromised: TeamPCP Strikes Again in Supply Chain Attack Introducing the Wiz Red Agent- AI-Powered Attacker Introducing Wiz AI Application Protection Platform (AI-APP) Introducing Wiz Agents & Workflows: Security at the Speed of AI AI Runtime Threat Detection: From Input to Real-World Impact Trivy Compromised: Everything You Need to Know about the Latest Supply Chain Attack It’s Official: Wiz Joins Google Understanding and Reducing AI Risk in Modern Applications Introducing Wiz Tenant Manager: Multi-Tenant Management for Federated Organizations The Agile FedRAMP Playbook, Part 4: Reactive Risk Management through Enriched Incident Response Wiz Achieves CPSTIC Certification in Spain Seeing AI Clearly: Building Visibility Across Modern AI Applications The Agile FedRAMP Playbook, Part 3: Preventative Risk Management by building Secure by Design Wiz Leads the 2026 Latio Application Security Report with awards in 4 categories Building an Agentic Cloud Security Ecosystem: A Reference Architecture with Wiz MCP and Infosys Cyber Next The Agile FedRAMP Playbook, Part 2: Proactive Risk Management with Continuous Monitoring Cloud-native Security for your Windows environment: Announcing the Wiz Runtime Sensor for Windows Would You Click ‘Accept’? Automatically detecting malicious Azure OAuth applications using LLMs Wiz Named a Leader in The Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 From Detection to Remediation: It’s Time to Rethink AppSec Around Exploitability and Root Cause Fixes The Agile FedRAMP Playbook, Part 1: Why Risk is Your Best Starting Point Introducing AI Cyber Model Arena: A Real-World Benchmark for AI Agents in Cybersecurity
New Developments in LLM Hijacking Activity
Maayan Bentor · 2024-12-15 · via Wiz Blog | RSS feed

On November 26, 2024, Wiz Research identified a threat actor we track as JINX-2401 attempting to hijack LLM models across multiple AWS environments. With the increasing use of LLMs, attempts to abuse these models as a way to monetize unauthorized access to cloud subscriptions have become more prevalent, as indicated by prior public reporting on this sort of activity

This particular incident involved the use of compromised IAM user access keys (AKIA) to gain initial access to a cloud account and invoke Bedrock models. While there are several known techniques for abusing LLMs (as reported by Permiso in October 2024), this blog focuses on a particular campaign conducted by JINX-2401 that we have so far identified across multiple AWS environments. As part of the attack, the actor utilized relatively unique techniques for privilege escalation and persistence, which we will detail in this blog. 

Overview 

While conducting threat hunting for known LLM abuse techniques and analyzing IOCs from the Wiz honeypot across multiple clients, we discovered an IAM user operating from a Proton VPN IP address. This user made numerous unsuccessful attempts to invoke Bedrock models, likely using a Python script. After these failed attempts, we observed multiple additional failed attempts to create IAM users and policies matching the same pattern, as evident in the error messages generated by their actions. 

Expanding our investigation, we began searching for this behavior and the associated IOCs in other AWS environments. During this process, we identified an IAM user in a customer's environment employing the exact same techniques, again originating from a Proton VPN IP address. However, in this case, the IAM user had Administrator Access permissions. Despite their elevated permissions, the user’s attempts to invoke Bedrock models were also unsuccessful. Following these failures, the attacker used the high-level permissions of the IAM user to create new IAM users, along with IAM access keys and a policy granting Bedrock permissions. The newly created IAM users and policy names adhered to the same naming patterns we had previously identified with this attacker. 

Next, the attacker created a console profile for the new IAM user, likely to complete the LLM agreement process. This activity was evidenced by the AWS API call PutUseCaseForModelAccess, performed via the console. Subsequently, the user attempted to request access to specific models using the CreateFoundationModelAgreement API call. However, these requests were blocked by the account’s Service Control Policies (SCPs). 

Believing the setup was complete, the attacker tried to invoke the model again, this time using the new user credentials. These attempts failed as well, due to the SCP blocking the CreateFoundationModelAgreement and InvokeModel API calls. 

Undeterred, the attacker created two additional IAM users following the same naming scheme and repeated the process with them. However, these were similarly unsuccessful.  

Indicators of Compromise (IOCs) 

In all cases we’ve observed so far, the actor created an IAM user and attached a newly created policy, using a consistent naming scheme: 

  • The IAM username matched the following regex: ^[A-Z][a-z]{5}[0-9]{3}$

  • The IAM policy name was `New_Policy`, and included the following permissions: 

User-agents -  

  • Python/3.12 aiohttp/3.9.1

  • Python/3.11 aiohttp/3.9.5

  • Boto3/1.29.7 md/Botocore#1.32.7 ua/2.0 os/windows#11 md/arch#amd64 lang/python#3.12.0 md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.32.7

IP addresses (Proton VPN nodes) -   

  • 2024-11-25T11:52:32Z - 2024-11-25T12:37:02Z 

    • 89.187.170.165 

    • 89.187.170.166 

    • 89.187.170.167 

    • 89.187.170.168 

    • 89.187.170.169 

    • 89.187.170.170 

    • 89.187.170.171 

    • 89.187.170.172 

    • 89.187.170.173 

    • 89.187.170.174 

    • 89.187.170.175 

    • 89.187.170.182 

    • 89.187.170.183 

    • 89.187.170.184 

    • 89.187.170.185 

    • 89.187.170.176 

    • 89.187.170.177 

    • 89.187.170.178 

    • 89.187.170.179 

    • 89.187.170.180 

    • 89.187.170.181 

  • 2024-11-26T17:35:39Z - 2024-11-26T18:05:12Z  

    • 146.70.230.149 

Invoked models -  

  • anthropic.claude-3-sonnet-20240229-v1:0 

  • anthropic.claude-v2 

  • anthropic.claude-3-5-sonnet-20241022-v2:0 

  • anthropic.claude-3-5-sonnet-20240620-v1:0 

Which actions should security teams take? 

Prevention 

  1. Implement Service Control Policies (SCPs) to restrict and limit access to Bedrock models: 

  2. If your organization does not use Bedrock, we recommend denying access to it for all members. 

  3. If your organization uses Bedrock, it’s advisable to allow access only for specific members to minimize exposure. 

For more details on SCPs, refer to the AWS documentation

  1. Inventory AI models deployed in your environment and check for irregularities. Wiz customers can use AI-SPM to identify which models have been deployed. 

Detection 

  1. Query CloudTrail logs for the creation of IAM users or policies (CreateUser, CreatePolicy) with values matching known bad patterns. You can find the abovementioned patterns and many more in our public list of cloud IOCs available here

  2. Check whether IAM users or policies matching these naming schemes already exist in your environment. 

  3. Wiz Defend has detection rules to identify unusual access to LLM models and specific known LLM attack techniques:  

    1. Multiple InvokeModel Requests: Unusual principle making repeated InvokeModel requests within a short timeframe. 

    2. Bedrock Models Enumerated For Access: InvokeModel requests returning specific error codes indicative of access checks. 

    3. Creation of IAM Policy Linked to a Known LLM Hijacking Campaign: Detection of an IAM policy named "New_Policy" with Bedrock permissions. 

    4. Creation of IAM User Linked to a Known LLM Hijacking Campaign: Detection of an IAM user matching the regex pattern identified in the attacks. 

References