File baits
A believable document (a "payslip", a "contract") with a beacon inside. When someone opens it, Word, Excel, PowerPoint or Acrobat requests a hidden address, and that request becomes an event with the IP of whoever opened it, the program and the time. Nothing is installed where the document is left.
Where the signal comes back
A document carries one address for each path your node has:
| What your node has | Addresses in the document | Opened inside your network | Opened outside your network |
|---|---|---|---|
| Receiver and relay | Both | Alerts, with the IP of the computer | Alerts through the relay |
| Only the relay | The relay | Alerts if that machine has internet access | Alerts through the relay |
| Only the receiver | The receiver | Alerts, with the IP of the computer | Does not alert |
- The relay comes on its own when the node is enrolled in Central and its channel is not cut. It is a public address of SeguridadSI, the same for all customers, and anyone who inspects the file can read it. Community nodes don't have it.
- The "Beacon receiver" is a decoy you deploy on a sensor on your network. It keeps working with no internet and gives you the IP of the computer, not that of your internet connection.
With both, one opening inside your network reaches both places and you get one alert, normally with the IP of the computer. The other signal is set aside in the quarantine under Sensors. If a proxy changes the program name, or the sensor's clock is more than five minutes off, you may see two.
Through the relay the alert takes up to two minutes: Central collects it and hands it over in your node's next heartbeat. If you cut the channel, it waits in Central for up to thirty days.
Central deletes each signal as soon as your node confirms it has it. Decoys deployed since the relay seals signals carry your node's public key: the relay encrypts each signal to it, and Central only stores and passes on encrypted text that only your node can read. For decoys deployed before that, while a signal waits Central keeps the IP, the time, the first 256 characters of the program name and, of the page it came from, only the site name, never the path. Their page in the console says so: to seal one, remove it and deploy it again.
When a document does not alert
Wherever it is opened, a document only alerts if the program loads remote content and can reach one of its addresses. It stays silent when:
- Word, Excel or PowerPoint open it in Protected View (usual for a file downloaded from the internet or from an email) and nobody enables editing;
- the viewer doesn't load remote content (Preview, a browser's PDF viewer, many mail and storage previews), or Acrobat asks and the person refuses;
- the machine has no connection, or its network blocks the address;
- the file was copied from its content (text pasted elsewhere, a PDF print).
Automated visits
A document or a trap URL can also be requested when no person has opened it.
Scanners with published addresses are set aside. When the request comes from an address
that the service itself publishes (today Google's crawlers and Applebot), the event is
stored and marked scanner under Events, but it opens no incident, triggers no response and
is not counted in that IP's profile. You get one informational alert: a crawler only reaches
what is published somewhere, so check whether that link should be public. Only the connection
address counts. A User-Agent or a header can say anything, so they set nothing aside, and a
request from any other address, on the same bait, still opens an incident. Under Known
sources → Scanners you can see what was set aside and treat a service as an attack.
Mail filters and sandboxes still open incidents. We have found no list of the addresses
that Microsoft Safe Links, Proofpoint, Mimecast, Barracuda, antivirus sandboxes or chat link
previews open links from, so they look like anyone else. If the address is on Microsoft's mail network
or the User-Agent looks like a scanner, the incident says may be a scanner, but it stays open:
anyone can rent a machine in a cloud, and anyone can write a User-Agent. Check the IP and the
program in the event. If your mail provider tells you which addresses it scans from, add
them to Known sources.
Even then, an incident from a mail filter tells you something: someone sent that bait by email.
Documents deployed before the relay reached your node keep only the receiver's address. To have one report from outside, remove it and deploy it again.
Deploy the "Beacon receiver"
The receiver is just another service decoy. To deploy it:
- Deploy "Beacon receiver" on a sensor, like any service (see "SERVICE decoys"). Choose the port it will listen on (8080 by default).
- It has to be reachable from the machines where the documents will be opened. Open that port in that machine's firewall.
- Check the receiver's address under Targets: it is the one that will be planted inside each document. If you don't set one, the IP reported by its sensor is used.
- Test it so it is verified. From then on, the node "receives beacons" and Word, Excel and PDF turn on.
A single receiver serves all of the node's documents.
Deploy a bait document
- In Decoys → catalog, pick "Word document with beacon" (or Excel, or PDF).
- Under "Where do you want to deploy it?" choose the target (a machine, a file server, a hosting account…). The method will be "Manual steps".
- Fill in:
- File name: ending in
.docx/.xlsx/.pdf. The console suggests a different one each time. - Bait text: a believable line (for example "October payroll: review before the 25th").
- Path to leave it in: a folder that already contains documents, so it doesn't stand out.
- File name: ending in
- Click "Prepare the steps". The console mints the document: it embeds the beacon with its addresses, and saves it.
- On the decoy's page, download the document (it already carries the beacon) and copy it to the chosen folder. Don't overwrite any file that already exists. Don't open it yourself except for the test: every opening alerts.
- Test: the console gives you a single-use address to open once, which marks the decoy as verified without raising an alert. It tests the receiver if there is one: the relay is tested by opening the file outside your network. For the real test, open the file once with its program and wait two minutes; if it opens in Protected View, enable editing. That opening is a real alert.