Comments (6)
Hey @kavasilo,
Sorry for the delay in my response.
In order to get PDF tokens to work, there are a few details to consider and confirm for me. I see in your frontend.env
, you have made your CANARY_NXDOMAINS
and CANARY_DOMAIN
point at the same domain.
Would you mind trying to point that environment variable at a separate domain? You would need to point that domain at your canarytokens server IP too. Please let me know if this works for you.
from canarytokens-docker.
I would like to add here, that, as it was already mentioned, NXDOMAINS has to be different than DOMAINS.
Secondly, you need to create NS record (in domain management/console from where you have got your domain). Let's say, your CANARY_DOMAINS
is example.com
. Then make your CANARY_NXDOMAINS
as dns.example.com
.
At your domain provider's console create A record
to example.com
and map to public IP. And create NS record
of dns.example.com
and map it to example.com
.
Above will make all dns requests for "sometexthere".dns.example.com to be directed towards your example.com
server (UDP/53 has to be opened on your server for Incoming!) - and that DNS querying is what triggering PDFs alerts.
@thinkst Well done guys, great idea&solution! The only downside is the lack of details and manuals.
from canarytokens-docker.
Hey @kuriackovskij,
Thanks for the step-by-by on this. I have added a version of it to our setup steps.
Thank you also for the kind words and we really appreciate all the contributions here. Please email me at jay [at] thinkst [dot] com and so that I can organise something as a thanks!
from canarytokens-docker.
I tried to use a different domain and didn't worked thats why i posted it here in first place...Usually i read the manual and setup instruction before posting anything but i will try again...
from canarytokens-docker.
Hey @kavasilo,
I just read through your original post again (for some context) and im wondering what you tried to open the tokened pdf with? Typically we have only had high success with Adobe (other pdf readers are on our roadmap).
Would also mind posting the .env
and zone file of your current setup? (you mentioned that you tried using different domains but that isn't reflected in your original question). Hopefully we can figure this out quickly and get your Canarytokens server up and running.
from canarytokens-docker.
Closing this issue because it is old. We have written up a wiki on setting up the domains for Canarytokens docker setup in the wiki
from canarytokens-docker.
Related Issues (20)
- Word safty view not triggering token HOT 2
- Sending mails via sendgrid not working HOT 4
- This is relevant for EVERYONE installing Canarytokens after 29.10.22: Crash on startup HOT 2
- Getting the following error with switchboard: "Unable to format event" HOT 2
- Support for MatterMost webhooks as well as Slack
- [SOLVED] - Remove/delete a single token? HOT 2
- canarytokens.com Categorised as - "Malicious Sites" HOT 1
- Incident List not showing or exporting more than 10 entries HOT 3
- [channel_output_email#error] A smtp error occurred: <class 'smtplib.SMTPSenderRefused'> - (550, 'From header is missing, header is not RFC 5322 compliant', '') HOT 2
- Making Canary Tokens work in an intranet environment HOT 2
- port for sensitive command HOT 2
- sensitive command wrong domain HOT 2
- Random Domains used in DNS-Token HOT 8
- [BUG] BasicAuth requires workaround? HOT 2
- Running with Docker-compose ends up with a lot of errors HOT 5
- [BUG] v3 - object has no attribute 'SMTP_SERVER' HOT 4
- Canary Token conflicts with already running service in port 53 in ubuntu HOT 2
- [BUG] AWS Tokens not firering (sometimes?) HOT 1
- Support for Load Balancer DNS Record in CANARY_PUBLIC_IP HOT 3
- Enhance CanaryToken to Capture Real User IP and Extract More Values HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canarytokens-docker.