Hello everyone!
I’m new around here, hope someone can give me some tips or suggestions about what I am trying to achive.
For a fake phishing campaign, to make our operators more aware of the problem, I need to create a specific .docx file with, inside the document, an image linked to a tracking URL (the link with the WebApp GoPhish is dynamic so I need to insert {{.TrackingURL}} - double click on the image - rotation - link).
This will help me keeping track of who will download and open the attachment of the fake phishing mail.
But everytime I do so it modifies the path adding file:///C:/Users/myuser/Desktop/{{.TrackingURL}}
I found a workaround by modifing the document.xml.rels.
If I do this, start the campaign and download the attachment the tracking works correctly.
Thing is, I cannot use this method because we use Gmail with a customized domain as mail service so an attachment like a .pdf, .docx or .xlsx gets previewed from Drive and it stops the tracker.
My solution would be compressing the file inside a .zip/.rar/.7zip. But as soon you open the .docx on a temp folder or you extract it, the URL of the image changes as above.
Is there any way to force Writer to keep {{.TrackingURL}} as the link of the image?
If you have any tips or suggestions all are appreciated
Thanks in advance!