# Overview

Breadcrumbs are a powerful tool for guiding attackers towards your Canaries. They take the form of profiles or device entries across various different services that an attacker might poke at for vulnerable hosts, leading them directly towards a Canary.

Breadcrumbs are built based on the enabled services of a specific target bird and are templated with the various settings and parameters configured for those services.

The following services and breadcrumb kinds are currently supported:

# Available Breadcrumb Kinds

Kind Service Description
rdp-profile RDP Remote Desktop Profile. This crumb can either be treated like a Canarytoken and left in place somewhere on a host where an attacker might stumble onto it, or it can be imported into Microsoft Remote Desktop as a profile.
ssh-host SSH SSH Host Entry. This crumb creates a Host entry for the Canary in this host's SSH config. You can simply run the script in a bash shell and it will place the Host entry at the end of the file. It's advisable to trigger an alert on the bird's ssh service from this host to create an entry in the SSH known_hosts file.
putty-profile SSH SSH PuTTY Profile. This crumb creates a session profile for the Canary on the PuTTY SSH client. On a Windows host that runs PuTTY, you can import the session by double clicking the crumb file, or by running reg import putty-sessions.reg in PowerShell or regedit /i putty-sessions.reg in a terminal.
filezilla-profile File Transfer (FTP) FTP FileZilla Profile. This crumb creates a Site Manager entry for the FileZilla FTP client. In FileZilla, select File > Import, and import the crumb. This will make the Canary visible in Site Manager.
winscp-profile File Transfer (FTP) WinSCP Profile. This crumb creates a session profile for the Canary on the WinSCP FTP client. On a Windows host that runs WinSCP, you can import the session by double clicking the crumb file, or by running reg import winscp-sessions.reg in PowerShell or regedit /i winscp-sessions.reg in a terminal.
windows-ftp-shortcut File Transfer (FTP) Windows FTP Server Shortcut. This crumb creates a Windows file shortcut to the bird's FTP service. The crumb can be created by dropping the script in the desired location and running it with PowerShell.
windows-smb-shortcut Windows File Share Windows SMB Server Shortcut. This crumb creates a Windows file shortcut to the bird's SMB service. The crumb can be created by dropping the script in the desired location and running it with PowerShell.
macos-http-shortcut Webserver MacOS HTTP Shortcut. This crumb creates a MacOS web page shortcut. The crumb file can simply be dropped somewhere that an attacker might click into it.
macos-https-shortcut Webserver MacOS HTTPS Shortcut. This crumb creates a MacOS web page shortcut. The crumb file can simply be dropped somewhere that an attacker might click into it.
windows-http-shortcut Webserver Windows HTTP Shortcut. This crumb creates a Windows web page shortcut. The crumb file can simply be dropped somewhere that an attacker might click into it.
windows-https-shortcut Webserver Windows HTTPS Shortcut. This crumb creates a Windows web page shortcut. The crumb file can simply be dropped somewhere that an attacker might click into it.

TIP

Remember to make sure that the desired services are enabled and reachable on the Canary, before deploying breadcrumbs. The services can either be enabled on the Console UI, or via the "device configuration" endpoints.

# Generate Breadcrumb

GET /api/v1/breadcrumb/generate

Generate a specific breadcrumb type for the target bird.

Required Parameters

auth_token string
A valid auth token. Also supports read-only Flock API keys.
node_id string
A valid node_id
kind string
Name of desired breadcrumb type. Please check "Available Breadcrumb Kinds" for the different Breadcrumb kind values.

Response

JSON structure with output content of the crumb generation.

Example

    Response
    {
      "crumb": "$LNKFILE = `EXAMPLE_NODE.lnk`\n$WshShell = New-Object -comObject WScript.Shell\n$Shortcut = $WshShell.CreateShortcut(`$LNKFILE`)\n$Shortcut.TargetPath = `\\\\192.168.0.1\\\\`\n$Shortcut.Save()",
      "readme": "\n# SMB Shortcut\nThis crumb creates a windows file shortcut to the bird`s SMB service.\n\nThe crumb can be created by dropping the script in the desired location and running it with\nPowerShell",
      "title": "EXAMPLE_NODE.ps1",
      "result": "success"
    }
    
    1
    2
    3
    4
    5
    6

    # Download Breadcrumb

    GET /api/v1/breadcrumb/download

    Download specific breadcrumb type for a target bird, or an archive of all possible breadcrumbs.

    Required Parameters

    auth_token string
    A valid auth token. Also supports read-only Flock API keys.
    node_id string
    A valid node_id

    Optional Parameters

    kind string
    Name of desired breadcrumb type. Please check "Available Breadcrumb Kinds" for the different Breadcrumb kind values. If not specified, an archive of all possible breadcrumbs will be returned.

    Response

    Temporary download link or archive of different breadcrumbs.

    Example

      Response
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  3806  100  3806    0     0   5368      0 --:--:-- --:--:-- --:--:--  5368
      
      1
      2
      3