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

Add obfuscation chunk 2 #2090

Merged
merged 18 commits into from
Jan 2, 2025
Merged

Add obfuscation chunk 2 #2090

merged 18 commits into from
Jan 2, 2025

Conversation

MarineLeM
Copy link
Contributor

@MarineLeM MarineLeM commented Dec 17, 2024

Proposed changes

  • Add obfuscation in backend
  • Add obfuscation field in injector contract

Related issues

Further comments

⚠️ this PR depends on this one #2042

image

@MarineLeM MarineLeM self-assigned this Dec 17, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

Attention: Patch coverage is 69.69697% with 20 lines in your changes missing coverage. Please review.

Project coverage is 35.81%. Comparing base (8713087) to head (a2683f9).
Report is 2 commits behind head on release/1.11.0.

Files with missing lines Patch % Lines
.../injectors/openbas/util/OpenBASObfuscationMap.java 73.52% 6 Missing and 3 partials ⚠️
.../src/main/java/io/openbas/utils/PayloadMapper.java 0.00% 5 Missing ⚠️
.../io/openbas/injectors/caldera/CalderaExecutor.java 0.00% 3 Missing ⚠️
.../io/openbas/injectors/caldera/CalderaContract.java 0.00% 2 Missing ⚠️
.../injectors/caldera/model/CalderaInjectContent.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##             release/1.11.0    #2090      +/-   ##
====================================================
+ Coverage             35.36%   35.81%   +0.45%     
- Complexity             1424     1453      +29     
====================================================
  Files                   537      540       +3     
  Lines                 16283    16469     +186     
  Branches               1043     1051       +8     
====================================================
+ Hits                   5758     5899     +141     
- Misses                10229    10270      +41     
- Partials                296      300       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from issue/2038 to release/1.11.0 December 19, 2024 09:16
@MarineLeM
Copy link
Contributor Author

After the demo, I incorporated the feedback and added the obfuscator field to the payload information.
image

@RomuDeuxfois
Copy link
Member

tested 🆗

@MarineLeM MarineLeM merged commit 7b58130 into release/1.11.0 Jan 2, 2025
6 checks passed
@MarineLeM MarineLeM deleted the issue/1604-chunk-2 branch January 2, 2025 15:22
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.

Ability to choose an obfuscator for your technical inject to avoid detection
3 participants