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

Agent only exfiltrating data (credentials). #442

Open
piolug93 opened this issue Feb 20, 2025 · 2 comments
Open

Agent only exfiltrating data (credentials). #442

piolug93 opened this issue Feb 20, 2025 · 2 comments

Comments

@piolug93
Copy link

Hello i need to create new payload type. My payload type can only send data to c2 without created task by operator. Agent can't save callback uuid because is only run for one task. It possible only creating new payload type or/and translator ?

@its-a-feature
Copy link
Owner

hmm Is the payload created for just one task, then never executed again? You have a few options:

  • look at the arachne payload type - it's a webshell, so it also can't store data long term. Instead, during the "build" phase, we make a fake callback and bake that callback UUID into the payload so that when it does communicate, we can do the correlation properly
  • you can do a similar thing by issuing a task to that callback when you create it and then taking that task UUID and also baking it into the agent. Then, when the agent is executed, you can ship data back specifically as the output of that task
  • if you need this one payload to run multiple commands, then I'd suggest the first bullet and baking in the callback id and making a fake callback, then somehow upon execution you pass in a new task UUID each time so that single execution can report back data for that task

@piolug93 piolug93 changed the title Agent only receiving. Agent only exfiltrating data (credentials). Feb 21, 2025
@piolug93
Copy link
Author

piolug93 commented Feb 21, 2025

In arachne, there is one key difference operator run task. In my case is only one way communication. I creating stealer and would like to store data in mythic :) I think about translator module and add task using rpc when message received by translator. When i use translator i can get one more benefit. Assigning an callback uuid based on hostname. Correct me if I'm wrong.

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

2 participants