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 T1168 and T1053 attack techniques (job scheduling) #694

Merged
merged 6 commits into from
Jul 14, 2020

Conversation

shreyamalviya
Copy link
Contributor

Fixes #683 and fixes #685

T1168 and T1053 both aim at scheduling jobs.

@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #694 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #694   +/-   ##
========================================
  Coverage    59.89%   59.89%           
========================================
  Files          147      147           
  Lines         4787     4787           
========================================
  Hits          2867     2867           
  Misses        1920     1920           
Impacted Files Coverage Δ
monkey/monkey_island/cc/services/config_schema.py 100.00% <ø> (ø)

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 9307d87...5bbef83. Read the comment docs.

Comment on lines +1 to +4
from monkey_island.cc.services.attack.technique_reports import AttackTechnique
from monkey_island.cc.database import mongo
from common.utils.attack_utils import ScanStatus
from common.data.post_breach_consts import POST_BREACH_JOB_SCHEDULING
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally, all imports should follow the same structure:

future imports

python imports

third party imports

project imports

If not sure about why, look up PEP8.
You can automatically achieve this on pycharm with ctrl + alt + o.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@VakarisZ VakarisZ left a comment

Choose a reason for hiding this comment

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

Good job! I have no "must do" suggestions, but requesting changes just to make sure I see your replies before merging :)

@shreyamalviya shreyamalviya force-pushed the T1168-T1053 branch 2 times, most recently from f911495 to 5bef26b Compare July 3, 2020 12:39
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.

Add "Scheduled Task" attack technique (T1053) Add "Local Job Scheduling" attack technique (T1168)
3 participants