Infostealer Log API

Retrieve the parsed contents of infostealer logs, including cookies, autofills, and more

💡 LOOKING FOR API REFERENCE?

For more information about the Infostealer Log API See API reference.

SpyCloud's Infostealer Log API returns the parsed contents of infostealer malware logs that SpyCloud has recaptured from the criminal underground. Each log is organized into named collections: saved credentials, session cookies, autofill data, browsing history, file listings, running processes, installed software, and more.

The Investigations Breach Data API tells you that an identity appears in an infostealer log. The Infostealer Log API shows you what else that log contains: which sessions were captured, which applications were exposed, what was on the device, and whether the same device was infected more than once.

Access

  • Where it lives. The Infostealer Log API is part of the Investigations API license. Your SpyCloud account team enables it on your existing Investigations API key. You do not need a new key.
  • What a call costs. Each call consumes one query from your Investigations API quota.
  • What you need. Every request requires a log_id or an infected_machine_id. Both values appear on infostealer-sourced records returned by the Investigations API and the IDLink API.
📘

Data coverage

Detail is available for logs SpyCloud published starting in November 2024. Earlier log IDs return "not found" from this API, even when they remain valid in the Investigations API.

Understanding the data

SpyCloud normalizes infostealer logs into a consistent set of collections, regardless of the malware family that produced the original log. This lets you query the same structure across different infostealer families and variants.

Not every log contains every collection. The data captured depends on the malware family and variant, so collections that weren't present in the original log may be empty.

Collections reference

CollectionWhat it containsWhy it matters
credentialsSaved browser logins: URLs, usernames, and passwordsShows every account the device could reach, often in plaintext
cookiesBrowser session cookies and tokensCan let an attacker resume sessions without a password or MFA. Some tokens survive a password reset.
autofillsData saved in browser form fieldsCan include names, addresses, phone numbers, payment details, and anything the user typed into web forms
credit_cardsPayment cards stored in the browserDirect financial fraud exposure
historyBrowsing historyReveals behavior, services used, and potential targets
bookmarksSaved bookmarksCan point to internal portals, admin consoles, and frequently used services
downloadsDownload historyCan point to how the malware reached the device
clipboardClipboard contents at the time of infectionCan hold copied passwords, keys, or wallet addresses
processesProcesses running at the time of infectionCan help identify security tools, remote access software, and the malware itself
softwareInstalled softwareShows the device's application footprint, including VPN, remote access, and developer tools
filesFile metadata for files presentHelps scope what was present on the device and identify files relevant to an investigation
exfiltrated_filesMetadata for files the infostealer actually stoleHelps confirm potential data loss and identify which files were exfiltrated
keychainmacOS and browser keychain dataHelps identify exposed credentials and other sensitive secrets that may require reset, revocation, or rotation

Retrieve only what you need. You can request individual collections, such as credentials or cookies, or retrieve the full log.

Response format

Responses return JSON by default. The collections endpoint also supports CSV.

System metadata

Each log includes a system_info block with available context about the infected host and infection, including device, operating system, network and location, antivirus, and infection metadata. Use this metadata to identify and compare infected machines, determine when an infection occurred, and triage logs before retrieving collection data.

Considerations

  • Publish date is not infection date. spycloud_publish_date records when SpyCloud acquired the data. For redistributed logs, that can be long after the malware ran. Use infected_time to date the infection.
  • Machine ID lookups can miss logs. If a log's infected_machine_id is empty, Get logs by infected machine ID cannot return it. Recover the log_id from the Investigations API and query the log directly.
  • One log often holds several collections. Credentials and cookies commonly arrive in the same log. Check metadata before treating them as separate exposures.
  • Large cookie stores. Logs can contain thousands of cookies. Use cookie_limit, and process large responses in code rather than loading them into memory at once.
  • Parsed data. The API returns SpyCloud's parsed, structured representation of each log, not the original raw archive.
  • Limits. Standard Investigations API quotas, rate limits, and retry guidance apply.

Did this page help you?