Quick start
This page takes you from no account to your first event with es-python, in about ten minutes. Each step is short and links to the page that explains it in full.
Before you start
You need a Linux machine where you can open a terminal (a laptop, a server or a container all work) and an email address you can read. The steps use es-python, the product every account starts with; es-chromium is set up the same way from the Machines page, with its own install step.
1. Create your account
Go to the Register page, pick a username, enter your email address and a password, accept the terms, and click Create Account. EyalSec emails you a verification link; clicking it activates your account, signs you in and opens a short tour of the dashboard, which ends on the Setup page.
You can also use Continue with Google on the sign-in page, if it is shown there. Details are on Create an account.
2. Add a machine
A machine is a host where your code runs under EyalSec. On the Machines page, type a Name and click Add machine. Leave Python on Match this host (recommended): the install command reads the host's distribution, processor and Python version when it runs there, and picks the matching build itself.
The machine appears with the status created, and its install panel opens right under it. If your account has more than one product, choose es-python under Product first. To pin the build yourself, open Advanced: choose the build yourself; every field is explained on Add a machine.
If you are asked for a card
Adding a machine needs a card on the account. If there is none yet, the dashboard says so and links to Settings > Billing; add the card there and you can add the machine straight away. See Billing.
3. Install es-python
The install panel already holds the command. Confirm you are authorized to monitor that machine (the box is ticked for you), click Copy, then paste the command into a bash or zsh terminal on the machine itself and run it (from fish or sh, see Install es-python). To get the panel again later, click Install on the machine's row.
The command contains a one-time token. The panel shows when it stops working (10 minutes after it was issued) and replaces it with a fresh one by itself while the panel is open. When the installer finishes, the machine's status turns installed and its row shows the build that was chosen; the es-python command works in that same terminal. See Install es-python.
4. Check the sources you want watched
A source is where untrusted data enters your program. A machine you add watches network input (socket) and file reads (file) from the start, so most services report right away; every other source is off until you switch it on. Click Configure on the machine's row to change any of them.
If you set a source for all your machines on the Filters page, new machines follow that setting instead. Changes apply to programs you start after the change. What each source does is on Taint sources; the Configure window is on Configure a machine.
5. Run your program
Wherever you would type python, type es-python instead. Your program runs exactly as before, and EyalSec watches it.
es-python your_script.py
More ways to run it, and what to do if the command is not found, are on Running es-python.
Check it works: eyalsec selftest
On the machine, run:
eyalsec selftest
It sends a harmless test event and, within a few seconds, prints ✓ Your dashboard received a test event with a link to it. If it does not, it lists the likely reasons. See eyalsec selftest.
6. Watch events arrive
Open the Events page on the dashboard. Each time untrusted data reaches a risky action, a row appears; if the same thing happens again, its count goes up instead of adding a row. Click a row to see where the data came from and which line of code used it.
If nothing shows up after a few seconds, check that you ran the program with es-python, that at least one source is on (a new machine has socket and file on), and that the machine reads installed. See No events and Events.
7. Optional: block instead of only reporting
So far EyalSec only records what it sees. When you are ready to stop risky actions, add a rule with the Raise mode for that machine; the program then gets an error instead of running the action. A machine with a Raise rule is billed at a higher rate; see Billing.
See Report and Raise and Rules.
Next steps
With events coming in, these pages help you get the most from them.
- Filtering events and Triage to work through the list.
- Ready-made templates to block privilege escalation, remote code execution, attacks from the internet, malicious files, CI, LLM or container attacks, block the OWASP Top 10, start with low noise, or watch regulated data, in one step.
- Rules to hide flows you expect, or to block the dangerous ones.
- Two-factor authentication to protect your account.