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

Polymorphism configuration #3340

Merged
merged 13 commits into from
May 16, 2023
Merged

Conversation

shreyamalviya
Copy link
Contributor

@shreyamalviya shreyamalviya commented May 16, 2023

What does this PR do?

Fixes a part of #3244

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the CHANGELOG.md updated to reflect the changes?
  • Was the documentation framework updated to reflect the changes?
  • Have you checked that you haven't introduced any duplicate code?

Testing Checklist

  • Added relevant unit tests?
  • Do all unit tests pass?
  • Do all end-to-end tests pass?
  • Any other testing performed?

    Tested by running the Island

  • If applicable, add screenshots or log transcripts of the feature working
    image

Copy link
Contributor

@ilija-lazoroski ilija-lazoroski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GJ!

Copy link
Collaborator

@mssalvatore mssalvatore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to be careful not to oversell the feature. We need a bit more specificity in these names.

@mssalvatore mssalvatore mentioned this pull request May 16, 2023
10 tasks
Comment on lines +258 to +259
description="Emulate the property of polymorphic (or metamorphic) malware that all "
"copies have unique hashes by modifying the Agent binary before propagation.",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description isn't showing up in the UI for some reason.

Comment on lines +2 to +11
'title': 'Polymorphism',
'properties': {
'randomized_agent_hash': {
'title': 'Randomize Agent hash',
'type': 'boolean',
'default': false,
'description': 'Emulate the property of polymorphic (or metamorphic) malware that all ' +
'copies have unique hashes by modifying the Agent binary before propagation.'
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how much of this is necessary at all. I've removed this locally, rebuilt, and seen no change in behavior. I've also done this for other parts of the configuration.

Most of the schema should be built from the config schema generated by the backend.

@mssalvatore mssalvatore force-pushed the 3244-polymorphism-configuration-section branch from 8fc6254 to 53f35a7 Compare May 16, 2023 13:52
@mssalvatore mssalvatore merged commit c610ef6 into develop May 16, 2023
@mssalvatore
Copy link
Collaborator

@shreyamalviya I've merged this, as it's critical path and nothing can proceed without it. I've added a new task to the issue to resolve the description not showing up. But pay special attention to #3340 (comment).

@mssalvatore mssalvatore deleted the 3244-polymorphism-configuration-section branch May 16, 2023 13:53
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

Successfully merging this pull request may close these issues.

3 participants