CanIPhish can track employees who open or interact with certain attachments. The following file types are supported. You can add the Word, PowerPoint, Excel and PDF documents to an email template with the Payload option, with nothing to download, or download a base document below, edit it and upload it. If you edit a Word, PowerPoint or Excel document, don't remove or alter the small tracking image inside it.
| Type | Extension | Base Document |
| Word Document | .docx | CanIPhish-Word-Attachment.docx |
| PowerPoint Presentation | .pptx | CanIPhish-PP-Attachment.pptx |
| Excel Document | .xlsx | CanIPhish-Excel-Attachment.xlsx |
| PDF Document | Built for each employee: add it with the Payload option (see How do PDF attachments work?) | |
| Calendar Invite (Microsoft Teams) | .ics | CanIPhish-Meeting-Invite-Teams.ics |
| Calendar Invite (Zoom) | .ics | CanIPhish-Meeting-Invite-Zoom.ics |
| Calendar Invite (Google Meet) | .ics | CanIPhish-Meeting-Invite-Meet.ics |
Table of Contents
- How does attachment tracking work?
- How do you include attachments in emails?
- Can I change the filename of the attachment?
- Can I change the content within each attachment?
- How do calendar invites (.ics) work?
- How do PDF attachments work?
How does attachment tracking work?
Within each Word, PowerPoint and Excel attachment, we have placed a specially crafted image which will attempt to open if an employee clicks on "Enable Editing". Once opened, the image attempts to load using a URL which points to an API we manage. Using this, we're able to identify which user opened the document and which campaign the activity is associated with. An example of this is seen below:
PDF attachments work differently: instead of an open, they record a click on the PDF's button or a scan of its QR code. See How do PDF attachments work?
How do you include attachments in emails?
Open the email template you'd like to include an attachment in and go to Embed images or attach files. Then either:
- choose Payload, pick a Word document, Excel workbook, PowerPoint presentation or PDF document, and click Add. There's nothing to download or upload; or
- choose Attachment and upload a file, such as a base document you've edited.
Once the template is saved, the attachment is included in every simulated phishing email sent with it.
Can I change the filename of the attachment?
Yes - By default, the base documents used for the attachements will be renamed to the name of the phishing template they are being used in. At the time of email delivery we perform a check to see if the attachment contains the word "CanIPhish" in the filename. If it does, we then rename it to the name of the email template. If it doesn't contain this keyword, then we will leave the filename in its original form. So, to use a different filename, simply change the filename, ensuring it does not include the word "CanIPhish"
Calendar invites (.ics) work slightly differently: a base invite whose filename includes "CanIPhish" is sent as invite.ics, or as a meeting request with no filename shown. To use your own filename, rename the file so it doesn't include the word "CanIPhish".
A PDF payload is always named after the email template: a template called Microsoft-Security-Alert sends Microsoft-Security-Alert.pdf. To change its filename, rename the template.
Can I change the content within each attachment?
Yes, certainly! The PowerPoint and Excel documents can be modified easily, however please ensure the tracking image is unaltered. The Word document can be altered but care needs to be taken to ensure the tracking image remains unaltered. If altering the Word document please follow the below steps:
Step 1. Download the .docx Word document from the top of this support article.
Step 2. Open the document and click the "Enable Editing" banner in Microsoft Word:
Step 3. Press Alt + F9 to toggle and show the Field Code display view in Word. You will notice, the little tracking image is now replaced with a short string (technically called a field code):
Step 4. Make any required modifications, but make sure this field code remains intact. Additionally, if inserting any additional images, ensure they are after this field code.
Step 5. Once all changes have been applied, press Alt + F9 to toggle out of the Field Code display view and go back to the Live display view.
Step 6. Save the document and ensure the filetype remains as a .docx. Then upload it to your preferred email template as an attachment! You're all done :)
The PDF payload can't be edited: CanIPhish builds a fresh copy for each employee when the email is sent.
How do calendar invites (.ics) work?
Instead of tracking when a file is opened, a calendar invite turns your phishing email into a real meeting request, booked a few minutes after the email arrives. CanIPhish fills in each employee's copy when the email is sent, with the meeting time, their details and their tracked link, so clicking any link in the invite records a website click.
Download a base invite from the table at the top of this article, change its title (SUMMARY), location and description to suit your email, and upload it to your email template like any other attachment. Keep its placeholders:
| Line or placeholder | What it does |
X-CANIPHISH-START:+5 |
Minutes after sending that the meeting starts, rounded up to the next 5 minutes. Use 0 or a negative number for a meeting that's already under way. |
X-CANIPHISH-DURATION:30 |
How long the meeting runs, in minutes. |
{{.MeetingStart}}, {{.MeetingEnd}}, {{.Now}}, {{.UID}}
|
The meeting's times and a unique ID, filled in for each employee. |
{{.PhishWebsite}} or {{.PhishClick}}
|
The employee's tracked link: records a website click, or an attachment click. |
{{.SenderProfile-DisplayName}}, {{.SenderProfile-Address}}, {{.Target-...}}
|
The sender's and the employee's details. |
To show the same meeting time in the email itself, add {{.MeetingTime}} or {{.MeetingTimeGoogle}} to the subject or body.
With Microsoft 365 direct email injection, the invite arrives as an attachment rather than a meeting request. When an employee accepts or declines an invite, CanIPhish recognises the reply and doesn't count it as an email reply or a reported phish.
How do PDF attachments work?
When you add the PDF document with the Payload option, each employee receives their own PDF, named after the email template. It says the document couldn't be displayed and offers a View document button and a QR code. Both lead to the phishing website set for the email (or your default phishing website), so a click in any PDF viewer, or a scan with a phone, is tracked like a click on a link in the email: the employee is recorded as having clicked, and as compromised if they go on to enter details on the phishing website.
A few things to know:
- Opening the PDF isn't recorded. PDF viewers don't let a document contact a website without asking when it opens, so only a click or a scan is tracked.
- Adobe Acrobat and Reader may ask first. They can ask the employee to allow the document to open a website. The click is recorded once they allow it. Scanning the QR code isn't affected.
- The QR code holds a short link on the phishing website's own domain, so phones can read it straight off a screen. If the email uses your own website rather than a CanIPhish phishing website, the QR code holds the full link instead, which is harder to scan from a screen. The button works either way.
- Email security tools may open the links while they scan attachments. CanIPhish filters out known scanners, as it does for links in the email body. To keep them out altogether, follow the allowlisting guide for your email security product (for Microsoft 365, see Bypass Safe Link/Attachment Processing).
- Previewing: in the Email Inbox Simulator, clicking the PDF attachment shows an example of the PDF.
Comments
0 comments
Please sign in to leave a comment.