├── linkedin.py
├── pic.jpg
├── .gitignore
├── templates
├── 1x1.gif
├── template.pdf
├── static
│ ├── aws.png
│ ├── dns.png
│ ├── exe.png
│ ├── logo.png
│ ├── pdf.png
│ ├── svn.png
│ ├── web.png
│ ├── word.png
│ ├── email.png
│ ├── folder.png
│ ├── qrcode.png
│ ├── favicon.png
│ ├── goodtick.png
│ ├── redirect.png
│ ├── sqlserver.png
│ ├── web_image.png
│ ├── clonedsite.png
│ ├── slack_icon.png
│ ├── clonedsite copy.png
│ ├── famfamfam-flags.png
│ ├── site.js
│ ├── sitemap.xml
│ ├── clippy.svg
│ ├── perfect-scrollbar.css
│ ├── styles.min.css
│ └── perfect-scrollbar.min.js
├── template.docx
├── robots.txt
├── emails
│ ├── reset.txt
│ ├── notification.txt
│ ├── reset.html
│ └── notification.html
├── error.html
├── error_http.html
├── fortune.html
└── manage.html
├── constants.py
├── requirements.txt
├── authenticode.py
├── exception.py
├── setup_db.py
├── frontend.tac
├── redismanager.py
├── caa_monkeypatch.py
├── channel_output_twilio.py
├── channel_output_webhook.py
├── msword.py
├── pdfgen.py
├── users.py
├── tokens.py
├── sign_file.py
├── switchboard.py
├── channel_input_bitcoin.py
├── switchboard.tac
├── README.md
├── channel_input_linkedin.py
├── root-ca.conf
├── settings.py
├── channel_input_imgur.py
├── smtpd.tac
├── ziplib.py
├── t-sql.txt
├── channel_input_smtp.py
├── channel.py
├── channel_output_email.py
├── channel_http.py
├── canarydrop.py
└── channel_dns.py
/linkedin.py:
--------------------------------------------------------------------------------
1 | import requests
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pic.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/pic.jpg
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 | *.swp
3 | tokensvenv/*
4 | *.log
5 | *.pid
6 | .vscode
7 |
--------------------------------------------------------------------------------
/templates/1x1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/1x1.gif
--------------------------------------------------------------------------------
/templates/template.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/template.pdf
--------------------------------------------------------------------------------
/templates/static/aws.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/aws.png
--------------------------------------------------------------------------------
/templates/static/dns.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/dns.png
--------------------------------------------------------------------------------
/templates/static/exe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/exe.png
--------------------------------------------------------------------------------
/templates/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/logo.png
--------------------------------------------------------------------------------
/templates/static/pdf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/pdf.png
--------------------------------------------------------------------------------
/templates/static/svn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/svn.png
--------------------------------------------------------------------------------
/templates/static/web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/web.png
--------------------------------------------------------------------------------
/templates/static/word.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/word.png
--------------------------------------------------------------------------------
/templates/template.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/template.docx
--------------------------------------------------------------------------------
/templates/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 | Sitemap: http://canarytokens.org/resources/sitemap.xml
4 |
--------------------------------------------------------------------------------
/templates/static/email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/email.png
--------------------------------------------------------------------------------
/templates/static/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/folder.png
--------------------------------------------------------------------------------
/templates/static/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/qrcode.png
--------------------------------------------------------------------------------
/templates/static/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/favicon.png
--------------------------------------------------------------------------------
/templates/static/goodtick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/goodtick.png
--------------------------------------------------------------------------------
/templates/static/redirect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/redirect.png
--------------------------------------------------------------------------------
/templates/static/sqlserver.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/sqlserver.png
--------------------------------------------------------------------------------
/templates/static/web_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/web_image.png
--------------------------------------------------------------------------------
/templates/static/clonedsite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/clonedsite.png
--------------------------------------------------------------------------------
/templates/static/slack_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/slack_icon.png
--------------------------------------------------------------------------------
/templates/static/clonedsite copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/clonedsite copy.png
--------------------------------------------------------------------------------
/templates/static/famfamfam-flags.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/product/canarytokens/master/templates/static/famfamfam-flags.png
--------------------------------------------------------------------------------
/templates/static/site.js:
--------------------------------------------------------------------------------
1 | if (!(/^(www\.|)canarytokens\.(com|org)$/i.test(document.domain))){
2 | $('#mainsite').removeClass('hidden');
3 | }
4 |
--------------------------------------------------------------------------------
/constants.py:
--------------------------------------------------------------------------------
1 |
2 | OUTPUT_CHANNEL_EMAIL = 'Email'
3 | OUTPUT_CHANNEL_WEBHOOK = 'Webhook'
4 | OUTPUT_CHANNEL_TWILIO_SMS = 'TwilioSMS'
5 |
6 | INPUT_CHANNEL_HTTP = 'HTTP'
7 | INPUT_CHANNEL_DNS = 'DNS'
8 | INPUT_CHANNEL_IMGUR = 'Imgur'
9 | INPUT_CHANNEL_LINKEDIN = 'LinkedIn'
10 | INPUT_CHANNEL_BITCOIN = 'Bitcoin'
11 | INPUT_CHANNEL_SMTP = 'SMTP'
12 |
--------------------------------------------------------------------------------
/templates/emails/reset.txt:
--------------------------------------------------------------------------------
1 | Hi!
2 |
3 | Someone (possibly you) initiated a password reset for Canary.
4 |
5 | To continue with the reset, please click this link:
6 |
7 | {{ url_for('reset_pass', hash=hash, _external=True) }}
8 |
9 | If you did not initiate the reset then you can ignore this
10 | as the reset link expires in 24 hours.
11 |
12 | Thanks
13 | Canary Team
14 |
--------------------------------------------------------------------------------
/templates/static/sitemap.xml:
--------------------------------------------------------------------------------
1 |
2 |

2 |
3 | Canarytokens
4 | =============
5 | by Thinkst Applied Research
6 |
7 | Overview
8 | --------
9 | Canarytokens helps track activity and actions on your network.
10 |
11 | Installation
12 | ------------
13 | We recommend [the Docker image installation process](https://github.com/thinkst/canarytokens-docker).
14 |
15 | Configuration
16 | -------------
17 |
18 | The Canarytokens server can use many different settings configurations. You can find them in `settings.py`. There are two
19 | main settings files: `frontend.env` and `switchboard.env`.
20 |
21 | The `frontend.env` contains the frontend process settings such as:
22 | - CANARY_DOMAINS=mytesttokensdomain.com
23 | - CANARY_NXDOMAINS=pdf.demo.canarytokens.net
24 | - CANARY_AWSID_URL=
46 |
47 | | 33 | 101 | | 102 |
| 34 | 198 | | 199 |

Date: {{ item|e }} 110 | IP: {{ canarydrop['triggered_list'][item]['src_ip'] }} 111 | Channel: {{ canarydrop['triggered_list'][item]['input_channel'] }} 112 | {%if canarydrop['triggered_list'][item]['geo_info'] != None and 113 | canarydrop['triggered_list'][item]['geo_info'] is defined and 114 | canarydrop['triggered_list'][item]['geo_info']['country'] != None and 115 | canarydrop['triggered_list'][item]['geo_info']['country'] is defined %} 116 | Country:{{canarydrop['triggered_list'][item]['geo_info']['country']}} 117 |
118 | {%else%} 119 | Country: Unknown 120 | {%endif%} 121 || 128 | Geo Info 129 | | 130 ||
| Country | 134 |135 | {{ canarydrop['triggered_list'][item]['geo_info']['country'] }} 136 | 137 | | 138 |
| City | 143 |144 | {{ canarydrop['triggered_list'][item]['geo_info']['city'] }} 145 | | 146 |
| Region | 151 |152 | {{ canarydrop['triggered_list'][item]['geo_info']['region'] }} 153 | | 154 |
| Organisation | 159 |160 | {{ canarydrop['triggered_list'][item]['geo_info']['org'] }} 161 | | 162 |
| Hostname | 167 |168 | {{ canarydrop['triggered_list'][item]['geo_info']['hostname'] }} 169 | | 170 |
|
183 | |
185 | |
| 188 | Known Exit Node 189 | | 190 |191 | {{ canarydrop['triggered_list'][item]['is_tor_relay']==True }} 192 | | 193 |
| 207 | Basic Info 208 | | 209 ||
| 212 | {{field}} 213 | | 214 |215 | {{ canarydrop['triggered_list'][item][field]|e }} 216 | | 217 |
| 230 | {{info}} 231 | | 232 | {%if info == 'iOS-App'%} 233 | 236 | {% else %} 237 | {% if info == 'secretkeeper_photo'%} 238 ||
| 240 | Photo 241 | | 242 |
243 | |
245 |
| 255 | {{info_item}} 256 | | 257 |258 | {{ canarydrop['triggered_list'][item]['additional_info'][info][info_item][0] == '1' 259 | if info_item in ['enabled','installed'] 260 | else canarydrop['triggered_list'][item]['additional_info'][info][info_item]|join(', ') }} 261 | | 262 |