Commit Graph

5969 Commits

Author SHA1 Message Date
Mike Salvatore bfd7d3cfbf Remove "__author__" lines from the source code
The "__author__" lines in numerous Python files serve little purpose.
At best, they are redundant. At worst, they are incorrect and
misleading.

The VCS (i.e. git) tracks all changes to files. Storing the author in
the files is redundant violates the DRY principle.

If the file changes, whose name belongs in the __author__ field? What if
it changes so drastically that it's almost unrecognizable? If there's
any circumstance where the __author__ name should change, what enforces
that this change takes place? Given the ambiguity of these scenarios,
the __author__ field could be misleading or incorrect.

Resolves #1345
2021-07-28 12:43:28 -04:00
Mike Salvatore 79639610df Tests: Split up test_get_exploits_used_on_node() 2021-07-28 12:17:47 -04:00
Mike Salvatore b8b82039d8 UI: Add banner to the top of the landing page 2021-07-28 12:06:45 -04:00
Mike Salvatore 9a3697aadc UI: Add 10px between version an bottom of landing page 2021-07-28 12:03:47 -04:00
VakarisZ 8583303682 Island: remove the redundant line with total amount of exploited machines from ransomware report + small improvements in monkey_exploitation.py 2021-07-28 16:57:06 +03:00
Shreya Malviya d3ab7c7bf3
docs: Reword scenarios' explanation
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2021-07-28 18:43:28 +05:30
Shreya Malviya aa13202fa8
docs: Reword description on scenarios page
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2021-07-28 18:42:38 +05:30
Mike Salvatore cefc450b35
Merge pull request #1377 from guardicore/1364/config-reset-on-refresh
Config reset after refresh
2021-07-28 09:09:17 -04:00
VakarisZ 4c1747d2e6 Island: change island report to only send exploited machine count to UI instead of whole machine list 2021-07-28 15:58:17 +03:00
Shreya Malviya 36e77245d2 cc: Update scenarios documentation link on the landing page 2021-07-28 18:06:23 +05:30
Mike Salvatore b7c02a0016
Merge pull request #1373 from guardicore/appimage-docker-code-reuse
Appimage docker code reuse
2021-07-28 07:54:43 -04:00
Mike Salvatore 6aff4a16b2 Build: Move final build artifact to dist/ directory 2021-07-28 07:53:33 -04:00
Ilija Lazoroski b991035938 UI: Set currentFormData upon refresh. 2021-07-28 13:44:58 +02:00
Shreya Malviya 5ba4400bc3 docs: Remove trailing whitespaces 2021-07-28 16:51:27 +05:30
Shreya Malviya ab6d03f97a docs: Add custom scenario image 2021-07-28 16:50:15 +05:30
Shreya Malviya 4e95721f88 docs: Modify ransomware page and add screenshot of ransomware config 2021-07-28 16:46:12 +05:30
Shreya Malviya 42f14e25c1 docs: Modify scenarios page text and add screenshots 2021-07-28 16:39:46 +05:30
Mike Salvatore 5de6a562ba Build: Add build_{appimage,docker}.sh wrapper scripts 2021-07-28 07:00:18 -04:00
VakarisZ 4558880276 Documentation hub: add information about the Infection Monkey getting flagged as malware during the installation 2021-07-28 13:56:49 +03:00
Shreya Malviya 89d6953b89 docs: Reorder use cases/scenarios section 2021-07-28 15:55:52 +05:30
VakarisZ 15fad50393 Island UI: change ransomware report to contain a table of exploitations in lateral movement section 2021-07-28 12:24:20 +03:00
VakarisZ 1448bb1850 Island: extract monkey exploitations into a separate service and a separate endpoint
This change not only removes complexity from the huge report service, but also allows different UI components to call the API without forcing the whole report to be generated
2021-07-28 12:14:38 +03:00
VakarisZ 1013347b3c Island: move manual exploitation service into a separate exploitations directory under report directory 2021-07-28 12:08:11 +03:00
Shreya Malviya 8cec39bc74 docs: Rename 'use cases' to 'scenarios' 2021-07-28 13:41:49 +05:30
Shreya Malviya 8819333355 docs: Add description for ransomware simulation 2021-07-28 13:37:33 +05:30
VakarisZ e10d2246a3 Island UI: reword the info for LateralMovement.tsx to not contain encryption part in description 2021-07-28 10:28:35 +03:00
Mike Salvatore 0609bc2063 Build: Add README.md for build_package.sh 2021-07-27 15:31:33 -04:00
Mike Salvatore ae1427f6a6 Build: Remove duplicate code from appimage build script 2021-07-27 15:25:50 -04:00
Mike Salvatore 5576e4e241 Build: Move reusable parts of docker build scripts into new scripts 2021-07-27 13:08:55 -04:00
Mike Salvatore 3e638298e6 Build: Move appimage/ and docker/ into build_scrips/ 2021-07-27 08:12:01 -04:00
VakarisZ 73f06a5551
Merge pull request #1359 from guardicore/1349/landing-page-face-lift
Landing page face lift
2021-07-27 15:09:04 +03:00
Mike Salvatore 3def533502
Merge pull request #1367 from guardicore/local-docker-build
Local docker build
2021-07-27 08:08:20 -04:00
Mike Salvatore ba4a572237 Docker: Use rsync instead of timeout to exclude npm directories 2021-07-27 07:54:04 -04:00
Mike Salvatore 4d50a9adee Docker: Remove .npm dir 2021-07-27 07:54:04 -04:00
Mike Salvatore e3ed576b0e Update changelog regarding docker build script 2021-07-27 07:54:04 -04:00
Mike Salvatore f26f02c193 AppImage: Make minor improvements to README.md 2021-07-27 07:54:04 -04:00
Mike Salvatore 1cfa1b9c50 Docker: Add a README.md 2021-07-27 07:54:00 -04:00
VakarisZ 475f46cd5a
Merge pull request #1363 from guardicore/ransomware-table-v2
Ransomware table v2
2021-07-27 14:35:01 +03:00
Ilija Lazoroski eccd1ea5d0 UI: Fix layout on landing page. 2021-07-27 13:05:28 +02:00
Ilija Lazoroski 61229f259b UI: Add tsparticles to landing-page. Stretched the landing page main
screen
2021-07-27 11:52:25 +02:00
Mike Salvatore 34b47a07d4 Docker: Add a script to build monkey island docker locally 2021-07-26 13:17:22 -04:00
Ilija Lazoroski 9119a49bff UI: Fix alignment in landing page. Remove dupplicate code for guardicore logo. Rewrite doc links. 2021-07-26 18:46:31 +02:00
Mike Salvatore 5531c30d30 UI: Don't render ransomware encryption table if no files were encrypted 2021-07-26 10:04:43 -04:00
Mike Salvatore 09d7630a47 UI: Show loading icon while fetching file encryption telemetry 2021-07-26 09:28:55 -04:00
Mike Salvatore af9caee85f UI: Rename Attack -> AttackSection 2021-07-26 08:32:56 -04:00
Mike Salvatore 9bcce8d4b5 UI: Add attack section to RansomwareReport 2021-07-26 08:29:42 -04:00
Mike Salvatore 0f84cc19c1 Island: Remove "encrypted_files_table" from ransomware report endpoint 2021-07-26 07:53:13 -04:00
Mike Salvatore da3a2c1a02 UI: Display encrypted file paths in ransomware report table 2021-07-26 07:53:13 -04:00
Ilija Lazoroski aed3a8358d UI: Landing page face lift 2021-07-26 13:52:57 +02:00
VakarisZ d4d055ed95
Merge pull request #1360 from guardicore/manual_executions_endpoint
Manual executions endpoint
2021-07-26 14:30:48 +03:00