Commit Graph

7964 Commits

Author SHA1 Message Date
VakarisZ 7b3b17251a
Merge pull request #1856 from guardicore/1826-timer-todos
Resolve `Timer` TODOs
2022-04-08 09:32:20 +03:00
Ilija Lazoroski 705f68bd4c Agent: Update the forked paramiko with a patch for ssh_windows
Fixes #1863
2022-04-07 12:34:43 -04:00
vakarisz 6157ffee76 Agent: Improve exception handling of tcp, ping and fingerprint scanners 2022-04-07 17:56:19 +03:00
Shreya Malviya 2e087cf521 Agent: Add try/except block in _calculate_timeout in MonkeyTunnel 2022-04-07 19:14:24 +05:30
Mike Salvatore 08798c946d
Merge pull request #1870 from guardicore/1826-ssh-key-todo
1826 ssh key todo
2022-04-07 07:45:31 -04:00
Ilija Lazoroski 20e3cc0e50 UT: Fix ssh key processor test 2022-04-07 11:50:32 +02:00
Ilija Lazoroski 2d800e4502 Island: Remove identification of ssh keys by username and ip
`ssh_key_exists` is identifing ssh keys based on username and ip
which is wrong.
2022-04-07 11:50:32 +02:00
Ilija Lazoroski f2a8dcc908 Island: Remove encryption of ssh keys in ssh_key_processor 2022-04-07 11:50:32 +02:00
Ilija Lazoroski 30ccb2aee3 Island: Use dict_encryptor to encrypt/decrypt ssh_key_pairs
Remove unneeded decrypt_ssh_keypairs
2022-04-07 11:50:22 +02:00
Ilija Lazoroski 12937f9880 Island, UT: Add String field encryptor
This encryptor is going to be used by dict_encryptor
to encrypt/decrypt the ssh_keypairs dictionaries
2022-04-07 11:05:22 +02:00
Shreya Malviya 58d4c33959 Agent: Change exceptions' log level to warning in IPScanner 2022-04-07 14:04:30 +05:30
Shreya Malviya e3fc5cf5e5 Agent, UT: Add default return values in IPScanner + tests 2022-04-07 14:03:40 +05:30
VakarisZ 1e3ded9d85
Merge pull request #1866 from guardicore/1857-snyk-update
UI: Remove snyk
2022-04-07 10:07:44 +03:00
Mike Salvatore 252b314dc2
Merge pull request #1865 from guardicore/1613-agent-timeouts
1613 agent timeouts
2022-04-06 11:39:54 -04:00
vakarisz f80acfbbd3 UI: Remove snyk 2022-04-06 17:22:30 +03:00
vakaris_zilius 93fd31b053 Agent: Remove TODO for determining time between telem and exit
Time taken is upto 10s for tunnel close and potentially up to 15 to send T1107Telem, so maximum up to 25 seconds
2022-04-06 11:18:48 +00:00
vakaris_zilius 6ef365d3e5 Agent: Improve ssh exception handling in sshexec.py 2022-04-06 09:39:54 +00:00
Shreya Malviya c9b9a27c34 Agent: Fix logic (indenting) in MonkeyTunnel 2022-04-06 12:43:48 +05:30
EliaOnceAgain bd22b7fbcc Deploy: Script to install appimage sysd service that runs on boot 2022-04-06 01:18:42 +03:00
vakaris_zilius 7fc49196d7 Agent: Extract proxy timeout to const, change it to 2.5 2022-04-05 14:04:10 +00:00
Shreya Malviya 8a393e0b03 Agent: Update comment in Timer 2022-04-05 19:07:38 +05:30
Shreya Malviya 60ca543117 Agent: Use Timer in MonkeyTunnel 2022-04-05 19:05:00 +05:30
Shreya Malviya 0be709a9eb Agent: Use Timer in BatchingTelemetryMessenger 2022-04-05 19:04:26 +05:30
vakaris_zilius 0b1b829cd7 Agent: Change firewall rule name to be more indicative 2022-04-05 13:15:36 +00:00
vakaris_zilius fe0b408c06 Agent: Fix a bug with output checking in firewall.py 2022-04-05 13:15:06 +00:00
Shreya Malviya f9a6afffb4 Agent: Catch exceptions in IPScanner so thread doesn't crash 2022-04-05 18:27:53 +05:30
vakarisz 64f2d598cf Agent: Add agent deletion check
This check will avoid duplicate deletion calls in case an exception happens
2022-04-05 15:30:38 +03:00
Shreya Malviya 9495027678 Agent: Catch exception when running plugins in master 2022-04-05 17:56:12 +05:30
vakarisz e40703dcac Agent: Add timeouts and improve firewall rule handling code 2022-04-05 14:52:35 +03:00
Ilija Lazoroski 8248004bce Island, UT: Use count_documents instead of count
* count() is deprecated
* pytest.mark.usefixtureS
2022-04-05 07:52:26 -04:00
Ilija Lazoroski 943cb2fa7a Agent: Use `create_daemon_thread` in ExploitClassHTTPServer 2022-04-05 07:52:26 -04:00
vakarisz 4497ea0003 Agent, Island: Decrease keep_tunnel_open_time to 30 seconds 2022-04-05 14:46:10 +03:00
VakarisZ 2aee4c0541
Merge pull request #1855 from guardicore/update-javascript-packages
Update javascript packages
2022-04-05 11:21:07 +03:00
vakarisz d172b91143 UI: Replace " with ' in particle js code 2022-04-05 11:00:01 +03:00
vakarisz a7259d3345 UI: Update minimist to ^1.2.6 2022-04-05 10:29:14 +03:00
Ilija Lazoroski c82a9cfbf0 Agent: Half the default smb timeout to 30sec 2022-04-04 11:06:19 -04:00
vakarisz f6fa5de58d UI: Update sass-loader
Version 7.3.1 was incompatible with the latest webpack
2022-04-04 17:38:56 +03:00
Mike Salvatore e05deaa57c Docs: Fix grammar in FAQ 2022-04-04 16:26:47 +02:00
Mike Salvatore bbc1219cf9 Docs: Fix broken link in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski b0c89cee87 Docs: Add maximum time to kill all monkey in FAQ 2022-04-04 16:26:47 +02:00
Ilija Lazoroski 3f3e86bcce Island: Add maximum kill time to kill all monkeys modal window 2022-04-04 16:26:47 +02:00
vakarisz d0124b4c34 UI: Remove react-addons-test-utils
UI package was not used and not compatible with webpack 5.58.0
2022-04-04 17:21:17 +03:00
vakarisz dd910dc76a UI: Remove file-loader and url-loader
These loaders got replaced by webpack asset modules: https://webpack.js.org/guides/asset-modules/
2022-04-04 17:18:55 +03:00
vakarisz cb18f823b1 UI: Move to "react-tsparticles"
react-particles-js got deprecated
2022-04-04 16:22:28 +03:00
Mike Salvatore 5c6ac3d2cf
Merge pull request #1851 from guardicore/1830-nodejs-upgrade
1830 nodejs upgrade
2022-04-04 08:37:43 -04:00
vakarisz 84fe47a9e5 Deploy: Change node version for linux based builds 2022-04-04 14:39:35 +03:00
vakarisz f49490bbc8 UI: Update javascript packages 2022-04-04 14:39:35 +03:00
vakarisz 2d5d245305 Deploy: Change quotes in windows deployment command 2022-04-04 14:39:35 +03:00
vakarisz b3379c66d3 Deploy: Change deployment scripts to use node v16 from v12 2022-04-04 14:39:35 +03:00
Mike Salvatore 4bb0e506c9
Merge pull request #1845 from guardicore/1650-timeouts-for-creating-new-users
Add timeout to new user creation
2022-04-04 07:06:02 -04:00