Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oilrig: controlServer/agent unreliable #7

Open
arty-hlr opened this issue Sep 19, 2024 · 2 comments
Open

Oilrig: controlServer/agent unreliable #7

arty-hlr opened this issue Sep 19, 2024 · 2 comments
Assignees

Comments

@arty-hlr
Copy link

Hi,

We have been using the Oilrig scenario for a few months now, and have noticed that some of our runs fail because the controlServer/agent is unreliable. Last example in date, the upload of plink did not go through:

Command: ./evalsC2client.py --set-task goMM '102 c:\users\public\downloads\plink.exe|plink.exe'

Log output:

+------+------------+----------+------+-----+-----+------+
| GUID | IP ADDRESS | HOSTNAME | USER | CWD | PID | PPID |
+------+------------+----------+------+-----+-----+------+
| goMM |            |          |      |     |   0 |    0 |
+------+------------+----------+------+-----+-----+------+
   [INFO] 2024/09/10 15:34:26 Received SetTask request
[SUCCESS] 2024/09/10 15:34:26 Successfully set task
   [INFO] 2024/09/10 15:36:26 Received SetTask request
[SUCCESS] 2024/09/10 15:36:26 Successfully set task

As you can see it shows "Successfully set task" and "Received SetTask request", but no task output.

It is not the first time that it happens, also on the download of the fsociety.dat: ./evalsC2client.py --set-task $implant_id '103 C:\Users\gosta\AppData\Roaming\fsociety.dat' that never worked for us for some reason.

We cannot reproduce it reliably either, it just sometimes happens, which is annoying on an automated run.

Could you look into this? Maybe there is a bug in the implementation of the control server or the agent?

@arty-hlr
Copy link
Author

See this issue on the other repo: center-for-threat-informed-defense/adversary_emulation_library#159

@mchan143
Copy link
Contributor

mchan143 commented Feb 6, 2025

Hi @arty-hlr , thank you for your patience in regards to this issue. When this error occurs, can you confirm that the SideTwist process is running on the victim machine? The unresponsive agent behavior seems indicative of the process not running despite initially registering.

@mchan143 mchan143 self-assigned this Feb 6, 2025
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

No branches or pull requests

3 participants
@arty-hlr @mchan143 and others