Skip to content

Conversation

shreyamalviya
Copy link
Contributor

@shreyamalviya shreyamalviya commented Sep 23, 2021

What does this PR do?

Fixes #919.
See commit messages for details.

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?

Testing Checklist

  • Added relevant unit tests?
  • Have you successfully tested your changes locally? Elaborate:

    Tested by running the Island

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

image

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.

I think this provides a lot of good, useful information to the user. Good job!

We're missing some unit tests and I think a lot of the new logic can be simplified. Any time your checking if key in dict:, you can probably simplify by using dict.get() or dict.setdefault().

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.

Two of the swimm units are outdated. Needs to be changed.

  • Add details about your new PBA (JFXftJml8DpmuCPBA9rL) .

  • Add a new System Info Collector (OwcKMnALpn7tuBaJY1US) .

Otherwise, good job!!

@mssalvatore
Copy link
Collaborator

This should also get a changelog entry.

@codecov
Copy link

codecov bot commented Sep 24, 2021

Codecov Report

Merging #1483 (cb4b845) into develop (4afeba6) will increase coverage by 1.24%.
The diff coverage is 93.45%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1483      +/-   ##
===========================================
+ Coverage    41.59%   42.83%   +1.24%     
===========================================
  Files          461      471      +10     
  Lines        13953    14354     +401     
===========================================
+ Hits          5804     6149     +345     
- Misses        8149     8205      +56     
Impacted Files Coverage Δ
.../monkey_island/cc/services/attack/attack_schema.py 100.00% <ø> (ø)
...services/attack/technique_reports/pba_technique.py 44.00% <0.00%> (ø)
...ces/config_schema/definitions/exploiter_classes.py 100.00% <ø> (ø)
...rvices/config_schema/definitions/finger_classes.py 100.00% <ø> (ø)
...s/config_schema/definitions/post_breach_actions.py 100.00% <ø> (ø)
...chema/definitions/system_info_collector_classes.py 100.00% <ø> (ø)
...d/cc/services/attack/technique_reports/__init__.py 66.32% <81.81%> (+21.25%) ⬆️
...land/cc/services/attack/technique_reports/T1003.py 50.00% <100.00%> (+2.17%) ⬆️
...land/cc/services/attack/technique_reports/T1005.py 76.92% <100.00%> (+1.92%) ⬆️
...land/cc/services/attack/technique_reports/T1016.py 57.89% <100.00%> (+2.33%) ⬆️
... and 50 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4afeba6...cb4b845. Read the comment docs.

shreyamalviya and others added 3 commits September 27, 2021 20:20
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
@mssalvatore mssalvatore merged commit 0839f04 into develop Sep 28, 2021
@mssalvatore mssalvatore deleted the incorrect-attack-report-msgs branch September 28, 2021 11:24
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.

Incorrect ATT&CK report messages
4 participants