mitre / sandcat

A CALDERA plugin
https://caldera.mitre.org/
Apache License 2.0
60 stars 36 forks source link

[VIRTS-4152] Include exit code in agent's link results #427

Closed michael-the-jones closed 1 year ago

michael-the-jones commented 1 year ago

Description

Dependent on mitre/caldera PR (https://github.com/mitre/caldera/pull/2713).

Include exit code in agent's link results. For the Shellcode, Shells, Native, and Donut executors, exit code will now be returned from the agent. While Shells and Donut exit codes come from the OS/shell itself, Shellcode and Native are hard-coded descriptors used for consistency across executors.

Type of change

How Has This Been Tested?

Tested shellcode, shells, and native code execution paths manually and with assistance of unit tests. Changes are relatively not invasive, and strong code review could provide some level of assurance.

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication