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

linux_so agent won't run #393

Closed
3 of 19 tasks
jm33-m0 opened this issue Jan 21, 2025 · 0 comments
Closed
3 of 19 tasks

linux_so agent won't run #393

jm33-m0 opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jm33-m0
Copy link
Owner

jm33-m0 commented Jan 21, 2025

Describe the bug

When using linux_so payload type, agent refuses to run because it can't find configuration data in process memory.

However, the config data is inserted into shared lib when generating the so file.

To Reproduce

Steps to reproduce the behavior:

  1. use gen_agent
  2. set payload_type linux_so
  3. run
  4. Use Python's ctypes to load and run main function from the agent so file
  5. If VERBOSE is true, observe the log saying config data is not found, agent exits

Expected behavior

Agent should run and connect to C2.

Screenshots

Your environment

emp3r0r.json

emp3r0r.json:
Paste emp3r0r.json here

CC

Linux distro name and version, use cat /etc/*release* to view, paste the result in the code block:

# cat /etc/*release*

C2 Transport

  • Direct connection
  • CDN proxy
  • Shadowsocks
  • Shadowsocks + KCP
  • TOR
  • Other proxies
  • None of the above (Please specify blow)
  • Generic

Agent

OS

  • Linux
  • Windows
  • Generic

CPU architecture

  • amd64
  • 386
  • arm
  • arm64
  • mips
  • mips64
  • riscv64
  • generic

Additional context

@jm33-m0 jm33-m0 added the bug Something isn't working label Jan 21, 2025
@jm33-m0 jm33-m0 self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant