Try Bifract in Codespaces¶
A GitHub Codespace runs Bifract in a cloud machine you reach from your browser, with Lab 001, a recorded intrusion, already loaded. Nothing is installed on your computer.
Start¶
- Click Open in GitHub Codespaces above and sign in to GitHub.
- Click Create new codespace. It uses a 4-core machine with 16 GB of memory, the smallest that runs Bifract with the lab.
- Wait for the editor to open.
WELCOME.mdopens with Bifract's address, username and password, and shows the lab's progress if it is still loading. - Click Open Bifract in
WELCOME.mdand sign in asadminwith the password shown there.
Reopening the link later takes you back to the same codespace, so nothing is installed twice.
What is loaded¶
| Lab 001: Meridian workstation intrusion | Three days of logs from a small Windows domain with an intrusion inside it: 2,083,151 logs from Sysmon, Windows event logs, Zeek and Velociraptor Autoruns, across a domain controller, three workstations and a network sensor |
| Fractal | bifract-labs-001. The time picker opens on the lab's three days |
| Endpoint analytics | On, so pgr() scores every process in the lab |
The domains and attacker infrastructure in the lab are fictional. Do not contact any indicator in it.
Things to try¶
WELCOME.md links each of these straight to the search. Process launches per host:
What kinds of events it holds:
The rarest programs and DNS lookups, where unusual activity tends to hide:
To see everything a process did, copy its process_guid from a process launch and run:
See the provenance graph for how to read it, and BQL basics for the query language.
Cost and cleanup¶
Codespaces bills the GitHub account that creates it. A free personal account includes 120 core hours and 15 GB-months of storage a month, about 30 hours on this machine. See GitHub's billing.
- A codespace stops when idle and keeps its disk, so the lab is still there when you return.
- Delete it from github.com/codespaces when you are done to free the storage.
Good to know¶
- The address is private to you: GitHub asks you to sign in before it reaches Bifract. Keep the port private.
- The codespace runs a standard install, so everything in these docs applies. To send your own logs, create an ingest token and run
bifract --ingest <file> --token <token> --url https://localhost:8443 --insecurein the codespace's terminal. - It is for trying Bifract, not for keeping logs: install it on your own host for that.