-
Notifications
You must be signed in to change notification settings - Fork 795
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
Agents with unique hashes #3244
Labels
Milestone
Comments
Note if you use PyInstaller, I think it has a random seed and option for encryption which should give you what you want |
Are you thinking of this? We can't use this because we don't want to rebuild the binaries every time the Agent has to propagate. I couldn't find anything else relevant in the documentation. |
This was referenced May 16, 2023
Merged
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
10 tasks
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
This was referenced May 16, 2023
Merged
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
10 tasks
mssalvatore
added a commit
that referenced
this issue
May 16, 2023
mssalvatore
added a commit
that referenced
this issue
May 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
Metamorphic/Polymorphic malware modifies itself to evade detection. As a result, no two copies of the malware share the same hash. Infection Monkey could emulate this property if each copy of the agent had random bytes appended to it.
On startup, if the agent's configuration includes a boolean to enable/disable this behavior, the agent can apply a decorator to its
AgentBinaryRepository
that would append a random number of bytes to the end of the agent.While this won't actually make the agent metamorphic, it would emulate the property that each agent would have a unique hash. More advanced techniques/features should be added in the future. Take this into account when planning tasks.
Tasks
AgentBinaryRepository
that will append 16 random bytes every time an agent is requested (0d) @mssalvatoreAgentBinaryRepository
(monkey.py
)Agent
model to have asha256
fieldAgentRegistrationData
to have asha256
fieldhandle_agent_registration
to includesha256
AgentRegistrationData
(0d) @mssalvatoreThe text was updated successfully, but these errors were encountered: