Skip to content

calculate agent alive/dead status server-side#3249

Merged
clenk merged 8 commits intomasterfrom
VIRTS-5039
Feb 12, 2026
Merged

calculate agent alive/dead status server-side#3249
clenk merged 8 commits intomasterfrom
VIRTS-5039

Conversation

@uruwhy
Copy link
Copy Markdown
Contributor

@uruwhy uruwhy commented Feb 2, 2026

Description

  • Have the server determine the agent status (alive vs dead vs pending kill) rather than calculate it browser-side as part of the GUI. This eliminates issues where an agent is marked dead due to different time zones or time drift between the c2 server and the user's browser
  • add API endpoint to kill agent via POST request to /api/v2/agents/kill/{paw}

Requires mitre/magma#83

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Unit tests, ran with agents and updated magma plugin

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@sonarqubecloud
Copy link
Copy Markdown

@clenk clenk merged commit fc70ba9 into master Feb 12, 2026
14 checks passed
@clenk clenk deleted the VIRTS-5039 branch February 12, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants