How the system works (end-to-end)
This page describes the runtime behavior of EDR Agent Monitor—not installation steps.
The three planes
| Plane | Role |
|---|---|
| Endpoint | Windows host runs the .NET agent + Sysmon. The agent reads Sysmon, evaluates JSON rules, writes local JSON events, and uploads to your API. |
| Cloud | API Gateway fronts Lambda (edr-api-handler). Events land in DynamoDB; large forensic blobs may go to S3. Bedrock powers AI; optional Pinecone powers MITRE / similar-event RAG. |
| Console | React SPA (e.g. console.ravisarode.com) calls the same API: list events, open details, run AI analysis, chat, VirusTotal, rules CRUD, admin views. |
Happy path: one detection becomes one row in the console
- Sysmon emits an event (e.g. process creation) on the endpoint.
- SysmonEventReader turns it into normalized fields (
process_name,command_line,network_connectionfor TCP, etc.). - DetectionEngine evaluates all enabled rules (not only one MITRE file). When conditions match, it builds a DetectionEvent (UTC timestamp from the Sysmon time when available).
- EventStorage persists JSON under the agent’s events directory.
- EventUploader batches and POSTs to
POST /eventson API Gateway. Lambda validates, assigns eventId, stores the record, and may pull forensic payload into S3. - The dashboard
Eventstab pollsGET /events(React Query, ~5s refresh). The analyst opens a row → EventDetailsModal loadsGET /events/{id}/detailsfor full process tree / network / file info. - Optional: AI analysis (
GET …/ai-analysis), chat (POST …/ai-chat), VirusTotal (GET …/virustotal)—each is a separate Lambda path with its own caching and prompts.
Authentication
The console uses AWS Amplify / Cognito-style auth (AuthProvider, LoginForm). Until the user is signed in, only the login screen is shown—not the dashboard.
What this doc set adds
- Detection pipeline — Sysmon → rules → local file → upload.
- From agent to console — timers, IDs, and storage.
- Console features — every tab and modal (with screenshots).
- Thesis context — how the M.Tech report maps to this architecture (optional).
- Agent desktop — WPF tabs and IST display.
- AI & enrichment — Bedrock prompts, chat verdict mode, VT cache.