Commit Graph

7980 Commits

Author SHA1 Message Date
VakarisZ f9a6d13f3a
Merge pull request #1859 from guardicore/1826-catch-exceptions-todos
Resolve catching exceptions TODOs
2022-04-08 13:40:31 +03:00
Ilija Lazoroski 4793e81831 Changelog: Add entry for removal of Struts2 exploiter 2022-04-08 12:19:34 +02:00
Ilija Lazoroski 3ecaff0686 Project: Remove Struts2 entry from vulture 2022-04-08 12:19:04 +02:00
Ilija Lazoroski 9d09117e7b Agent, UT: Remove Struts2 exploiter 2022-04-08 12:18:16 +02:00
Ilija Lazoroski 84ab94acc1 Island: Remove Struts2 exploiter 2022-04-08 12:17:26 +02:00
Ilija Lazoroski d3c60af960 BB: Remove Struts2 exploiter 2022-04-08 12:14:38 +02:00
Ilija Lazoroski 1f32132571 Docs: Remove Struts2 documentation 2022-04-08 12:13:12 +02:00
vakarisz e1b52428d1 UT: Add some tests for exception handling 2022-04-08 12:00:06 +03:00
Shreya Malviya 0789869316 BB: Remove Drupal BB test and related code 2022-04-08 14:27:48 +05:30
Shreya Malviya ff6136b9ad Docs: Remove Drupal exploiter references 2022-04-08 14:26:13 +05:30
Shreya Malviya 22e4e9c0ab Project: Remove constant DRUPAL from Vulture's allowlist 2022-04-08 13:49:22 +05:30
Shreya Malviya 909ac6d9c6 UT: Remove Drupal exploiter references 2022-04-08 13:47:25 +05:30
Shreya Malviya ffbf0f440e UI: Remove Drupal exploiter references 2022-04-08 13:43:27 +05:30
Shreya Malviya 7eddee251e Island: Remove Drupal exploiter references 2022-04-08 13:43:21 +05:30
Shreya Malviya 6052ca8fcc Agent: Remove DrupalExploiter and related code 2022-04-08 13:41:23 +05:30
vakarisz 45c6cac60c Agent: Improve method naming and exception handling 2022-04-08 10:36:14 +03:00
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