Commit Graph

1498 Commits

Author SHA1 Message Date
maor.rayzin 3ca761f492 RCR:
- started the report exporter manager singleton.
 - added region parsing using regex
 -
2018-12-11 12:14:38 +02:00
VakarisZ 03ad75b043 Now break the loop as soon as we encounter timeout 2018-12-11 09:44:21 +02:00
Daniel Goldberg d5bfaa9ad0
Cleanup 2018-12-10 14:10:35 +02:00
Daniel Goldberg 09538de4b1
Merge pull request #225 from VakarisZ/deployment_scripts
Deployment scripts
2018-12-10 13:22:05 +02:00
VakarisZ 24619aa38f Deployment scripts added to the repository 2018-12-10 13:08:59 +02:00
MaorCore 24eed6d069
Merge pull request #223 from guardicore/feature/add_config_to_pth
Actually use mimikatz configuration variable
2018-12-06 16:11:50 +02:00
VakarisZ efde6d1643 Shellshock exception handling 2018-12-06 15:41:29 +02:00
Daniel Goldberg 61f040ef6f Moved the check to a top level function. 2018-12-05 13:59:33 +02:00
Daniel Goldberg f8f948439c Also add to example conf file 2018-12-04 10:09:55 +02:00
Daniel Goldberg cc27b5dd20 Actually use mimikatz configuration variable 2018-12-04 10:06:48 +02:00
Daniel Goldberg af14daaebc
Merge pull request #220 from guardicore/feature/netstat
Add netstat
2018-12-03 16:00:09 +02:00
Daniel Goldberg df23be9c75
Merge pull request #212 from VakarisZ/hadoop_win32_fix
Hadoop windows fixed to be more reliable
2018-12-03 10:35:38 +02:00
Itay Mizeretz 841ad28973 Add netstat 2018-12-02 16:12:10 +02:00
Daniel Goldberg 078f03d9ed
Merge pull request #219 from acepace/bugfix/fix_warnings_in_sambacry_util
Bugfix/fix warnings in sambacry util
2018-12-02 11:10:13 +02:00
Ace Pace 6d0805beb1 newline at end of file 2018-12-01 21:32:53 +02:00
Ace Pace d92db8effd Replace strncat with single snprintf call 2018-12-01 21:32:47 +02:00
Paul-Emmanuel Raoul 4283d8d488 Fix previous commit
I forgot to change the `MONGO_INITDB_DATABASE` variable.
2018-11-30 14:40:12 +00:00
Paul-Emmanuel Raoul 2c5019306b Change the Mongo database's name to stick to the documentation
See
https://github.com/guardicore/monkey/blob/develop/monkey/monkey_island/readme.txt.
2018-11-30 12:25:06 +00:00
Paul-Emmanuel Raoul f3ce6c08c5 Remove supervisord 2018-11-29 16:20:55 +00:00
maor.rayzin 1cedfb5c2d small fixes 2018-11-29 17:43:53 +02:00
VakarisZ db5e5eb453 Commands moved to model 2018-11-29 17:43:09 +02:00
Paul-Emmanuel Raoul 290ee213fd Use an external Mongo database with Docker Compose 2018-11-29 15:15:31 +00:00
Paul-Emmanuel Raoul 8beada58d5 Add '.dockerignore' 2018-11-29 15:15:30 +00:00
maor.rayzin 498ddcacf5 * mistaken _ with -... 2018-11-29 16:51:12 +02:00
maor.rayzin 1339ab723f * mistaken _ with -... 2018-11-29 15:48:41 +02:00
maor.rayzin e24e9b90f7 * Added fallback case for urllib failure to get the region
* Added some safe checks for formatting and happy flows
* Removed productARN from server_config.json - it will now be inserted in deb build.
* Added the awscli lib to be installed via pip
2018-11-28 18:54:50 +02:00
maor.rayzin 1c99636414 * Changed the resource id to be instance arn and not only instance id 2018-11-28 17:40:32 +02:00
maor.rayzin 25340e9998 * Deleted print statement
* Added further inspection in telemtry
2018-11-28 17:05:10 +02:00
maor.rayzin 9d36cf3990 * add the right key in telemetry
* added error handling in report.py
2018-11-28 15:30:46 +02:00
maor.rayzin 0fe7a9c6e1 * Match it back to aws env 2018-11-28 15:02:17 +02:00
maor.rayzin 8397af4c6b * Added region to finding sending configuration for boto3 2018-11-28 14:56:46 +02:00
maor.rayzin bdecc7ade6 * added dynamic region lookup
* building the product ARN dynamically
* Resource type is now Other in case we dont have instance_id
2018-11-28 13:27:35 +02:00
maor.rayzin 7d94185a10 * fixed a wrong IF statement that prevented issues from appending 2018-11-28 12:53:58 +02:00
maor.rayzin 83ea8af9e0 * Added error handling in case the aws cli wasn't properly installed. 2018-11-27 22:28:06 +02:00
maor.rayzin 2f1240cc0e * Added the boto3 pckg to the right req'.txt file
* Added a safe dict key access for aws_instance_id in report.py
* Added a skip in the aws_export if there is no instance_id in the issue.
2018-11-27 20:21:39 +02:00
Daniel Goldberg 8efed2de22 Fix path that run.sh executes 2018-11-27 18:33:08 +02:00
maor.rayzin e8c604d7c5 * Changed the exporter to work in aws and not standard (was used for debugging) 2018-11-27 17:48:40 +02:00
maor.rayzin af97fb6ffc * Added a check to no issues list
* Changed the productARN to the monkey's ARN
2018-11-27 17:45:31 +02:00
maor.rayzin 0a6b3a12fa * Separated the configuration functions to support both island's and monkey's needs
* Removed space char from the default value of the aws keys
* Changed the submit function in the JS to point to the right endpoint
2018-11-27 17:32:46 +02:00
maor.rayzin 9e6b2b2d26 * Added missing findings
* switched to using the aws account id from the island's configuration page
2018-11-27 16:57:53 +02:00
maor.rayzin fb5ae63f04 * Fixed the aws env class to not be static anymore after itay's change.
* Added aws region getter
2018-11-27 14:45:44 +02:00
maor.rayzin 7f8a00ddc1 Merge remote-tracking branch 'origin/feature/report_exporters' into feature/report_exporters 2018-11-27 14:45:12 +02:00
maor.rayzin bf29cddf4d * Fixed the aws env class to not be static anymore after itay's change.
* Added aws region getter
2018-11-27 14:44:39 +02:00
maor.rayzin 8e6ab5b9f5 * Added aws region getter
* Moved productARN to server_config.json file
2018-11-27 14:16:06 +02:00
maor.rayzin a42d621340 * Added another configuration endpoint for the island specific fields 2018-11-27 14:16:06 +02:00
maor.rayzin 90554f63cb * Exceptions handling for sending findings 2018-11-27 14:16:06 +02:00
maor.rayzin f506eb3dd1 * a small fixup 2018-11-27 14:16:06 +02:00
maor.rayzin a00bfc17e3 * add instance id to domain issues too 2018-11-27 14:16:06 +02:00
maor.rayzin 1912a27422 * added instance ID to each issue in an aws machine
* changed findings resource to ec2 instance id instead of IP
2018-11-27 14:16:06 +02:00
maor.rayzin f8f7421c47 * Added aws creds keys to configuration
* Added boto session creation using credentials
* Added a flag in the get_config function to separate island configuration values from monkey ones.
2018-11-27 14:16:00 +02:00