Logo Cloud Stolen Credential First Use

Cloud Stolen Credential First Use

Tổ chức
CDESpace
Cloud Stolen Credential First Use

A credential driven from a place or by a client it has never used - a long-lived key calling from an unfamiliar ASN, a workload role used from an address that is not the instance's own or its NAT egress, a first write by a reader. Reads how far the source and client sit from history.

Add to TypingMind

Tổng quan

Nhà phát hànhCDESpace
Kho mãDetection-Skills
Tên kỹ năngCloud Stolen Credential First Use
Sao
57
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được CDESpace công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cloud Stolen Credential First Use trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/CDESpace/Detection-Skills/tree/main/skills/triage/cloud-stolen-credential-first-use
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CDESpace/Detection-Skills.git /tmp/Detection-Skills
mkdir -p .claude/skills
cp -r /tmp/Detection-Skills/skills/triage/cloud-stolen-credential-first-use .claude/skills/cdespace-cloud-stolen-credential-first-use
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cloud Stolen Credential First Use trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cloud Stolen Credential First Use ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cloud Stolen Credential First Use với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Triage Steps

Cloud credentials legitimately move around. People work from home, from a hotel, from a new VPN egress; runner pools get rebuilt on fresh addresses; a workload's calls arrive from a NAT gateway that is not the instance's own address. So a call from a new place is not the signal. The signal is whether the same actor is still behind the credential: do the source, the user-agent, and the call mix hold together as one person or one pipeline doing its usual job, or did all three change at once? On a provider-audit-only alert there is no sign-in series to lean on, so the caller's own history is the baseline you have.

Start from this detection's track record on this principal - a rule that fires whenever the runner pool rolls onto new addresses and always closes benign starts the call near dismiss - then read the leads below. None is required on its own; they stack, and a single strong one (a workload role used from an address that is not the workload's, a first-ever write from an ASN this key has never touched) can carry the call. This class turns on caller provenance - who is driving the credential and from where - on any call class, sweep or not. The shape and breadth of the reading on a sweep-shaped alert is cloud-recon-secret-harvest's; whether a sign-in granted access to someone other than the owner, read from the IdP sign-in stream, belongs to identity-authentication-abuse and application-account-auth-abuse; and the act of minting a delegated or console session as a trust-path hop is cloud-cross-boundary-delegation-use's, while the question here is simply whose hands the credential is in.

Leads that point to a real threat - what to look for in the data:

  • A long-lived key calling from an ASN, country, or user-agent it has never used. A sourceIPAddress in an ASN absent from this key's own history, a country the principal has never called from, or a userAgent that switches character - aws-cli/2 where every prior call carried an SDK string, or a bare Python or Go client on a key that only ever came through a console session. Read all three together: one changed is a trip, all three at once is a different operator on the same key.
  • A workload credential used away from its workload. An instance, task, or pod role calling from a source address that is neither the workload's own address nor the egress its other calls come from - the off-instance metadata token, where a role credential lifted from the instance metadata service is replayed from somewhere else. This lead can carry the escalate alone: that credential has no business anywhere but the workload it was issued to.
  • An interactive session on a programmatic-only identity. A console sign-in, or a console session, on an identity whose entire baseline is SDK and CLI calls, and without MFA behind it. The identity just gained a pair of hands it never had, and the account's usual guardrail on interactive access did not apply.
  • A first write from a reader, or a first call after dormancy. A principal whose whole history is Describe, List, and Get making its first mutating call, or a key with no activity across the baseline suddenly working. Credentials that wake up after a long silence are the shape of a key that was found somewhere - a repository, a laptop, a paste - rather than one that was always in use.
  • Identity, ASN, and call mix shifting together in one short window. Not one anomaly but three at once: a new source, a new client, and a set of calls this principal never makes, inside minutes. Any of the three alone has a boring explanation; arriving together they are one operator picking up a credential and trying it out.

Leads that rule it out - benign context you can actually see in the data; if the data doesn't show it, you don't have it:

  • The same human session continues across the change. The actor's other calls that day come from the same new ASN too, the directory resolves the principal to an active named person, and the work before and after the address change is the same work - a home ISP or VPN egress the actor is simply sitting behind. The continuity is the check; a single call from a new place with nothing around it is not this lead.
  • A runner-pool rollout onto a documented CI egress range. The new source falls in a documented CI/CD or runner egress range, and the call pattern is the pipeline's usual set, in its usual order, with its usual user-agent. The address changed and nothing else did, which is what a pool rebuild looks like.
  • The "new" address is the account's own egress. The source resolves to the account's own NAT gateway, proxy, or provider egress for that same workload, which the account's own network resources confirm. A workload whose calls arrive from its NAT gateway rather than its instance address was never using an off-instance token.
  • Break-glass or on-call use that a ticket covers. A named incident or change ticket covers the timestamp, the identity resolves in the directory to the engineer who was on call, and the calls match that task rather than ranging into unrelated services. The calls are what make this hold - a window without matching activity is not context.

To confirm a lead instead of guessing, pull the thread: do this principal's other calls in the window come from the same new source, and is that source the account's own egress or the workload's own address?

Output

Decision

  • escalate: a workload role used from an address that is not the workload's own or its NAT egress, a long-lived key calling from an unfamiliar ASN, country, or user-agent, a console session without MFA on a programmatic-only identity, a first-ever write by a read-only principal or a first call after long dormancy, or source, client, and call mix shifting together in one window.
  • dismiss: the same human session continues across the change with the directory naming an active person, a runner-pool rollout onto a documented CI egress range with the pipeline's usual call set, the new source resolves to the account's own NAT gateway or proxy for that workload, or a named ticket covers break-glass use and the calls match the task. A dismiss is a positive call that the caller is who the credential belongs to, made with that context in hand - a continuing session you traced across the window, a documented egress range or NAT gateway you confirmed, a ticket and matching calls you read; a source you couldn't attribute or a principal the directory couldn't place is not that context, and absence of a bad sign is not proof it's good. Dismiss is logged and reopenable; when a workload credential is used off its workload, several provenance facts shift together, or you're unsure, escalate.

Evidence

The principal and its type from the identity directory, the credential kind - long-lived key, service-account key, workload role, console session - the source address and its ASN, country, and reputation against that principal's own history, the user-agent and how it compares with prior calls, whether a workload credential's source matches the workload's address or the account's NAT egress, whether MFA was present on an interactive session, the call mix in the window against the principal's baseline including its first write, the time since the credential's last activity, and any ticket or change window covering the timestamp.

Reasoning

Name the leads that decided it and how they stacked - an instance role calling from a residential ASN nowhere near the account's egress, then making its first write, is escalate on its own, while a named engineer's key showing a new home ISP that every one of her other calls that day also came from is dismiss.

Câu hỏi thường gặp

Kỹ năng AI Cloud Stolen Credential First Use làm được gì?

A credential driven from a place or by a client it has never used - a long-lived key calling from an unfamiliar ASN, a workload role used from an address that is not the instance's own or its NAT egress, a first write by a reader. Reads how far the source and client sit from history.

Vì sao nên dùng Cloud Stolen Credential First Use trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cloud Stolen Credential First Use là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cloud Stolen Credential First Use trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/CDESpace/Detection-Skills/tree/main/skills/triage/cloud-stolen-credential-first-use. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cloud Stolen Credential First Use?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cloud Stolen Credential First Use với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cloud Stolen Credential First Use với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cloud Stolen Credential First Use có miễn phí không?

Có. Kỹ năng này được CDESpace phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇