Commit Graph

7093 Commits

Author SHA1 Message Date
Mike Salvatore 6c1caa1af4 Agent: Improve log message for failed propagation 2021-12-14 15:38:15 -05:00
Mike Salvatore da61451947 Agent: Fix order of arguments to Exploiter.exploit_hosts() 2021-12-14 15:38:15 -05:00
Mike Salvatore b466a17f76 Agent: Remove scan_thread from Propagator._exploit_hosts() arguments 2021-12-14 15:38:15 -05:00
Mike Salvatore bda192eba9 Agent: Extract run_worker_threads() from IPScanner and Exploiter 2021-12-14 15:38:15 -05:00
Mike Salvatore 3394629cb2 Agent: Run exploiters from AutomatedMaster 2021-12-14 15:38:15 -05:00
Mike Salvatore 1e02286b2a Agent: Add "error_message" to ExploiterResultData 2021-12-14 15:38:08 -05:00
Mike Salvatore eb7612d80d Agent: Rename result -> success in ExploiterResultData 2021-12-14 15:37:18 -05:00
Mike Salvatore 09305bca4c Island: Reformat "exploiter" config options before sending to Agent 2021-12-14 15:36:52 -05:00
Mike Salvatore 93d0bb6cd2 Agent: Add a placeholder VictimHostFactory
The AutomatedMaster will need access to the monkey's tunnel, IP
addresses, and default server in order to properly configure the victim
host. The VictimHostFactory can abstract these dependencies away and
handle these details on behalf of the AutomatedMaster.
2021-12-14 15:36:52 -05:00
Mike Salvatore 8423a064bb
Merge pull request #1656 from guardicore/1598-concrete-puppet
Add `load_plugin` functions and create a concrete puppet class
2021-12-14 10:55:32 -05:00
Shreya Malviya ffb2da02a3 Agent: Create a concrete puppet class 2021-12-14 10:54:24 -05:00
vakarisz 59ff3d39ce UT: small readability improvement in test_scan 2021-12-14 17:52:43 +02:00
vakarisz 58da5b85a0 Island, UT: fix target generator bug when big ip is specified first
192.168.56.2-192.168.56.1 is now a valid range, will return both of these addresses
2021-12-14 17:52:43 +02:00
vakarisz 2329f80382 Island, UT: Implement segmentation scan targets in scan target generation 2021-12-14 17:52:43 +02:00
Shreya Malviya 0e368fbfe9 Agent: Add load_plugin function to MockPuppet 2021-12-14 10:48:13 -05:00
Shreya Malviya fa2d2fdec2 Agent: Add load_plugin function to IPuppet 2021-12-14 10:48:13 -05:00
Shreya Malviya cd8a4d4b1f Agent: Add PluginType enum 2021-12-14 10:48:13 -05:00
Mike Salvatore 966bef25d8
Merge pull request #1654 from guardicore/1597-remove-unneeded-options
1597 remove unneeded options
2021-12-14 10:15:33 -05:00
Ilija Lazoroski 0bf7067cea UI: Remove monkey section from UI schema 2021-12-14 16:01:25 +01:00
Ilija Lazoroski 654ff38ea0 Changelog: Add entry for removing unneeded options in internal config. 2021-12-14 16:01:25 +01:00
Ilija Lazoroski 252bb4fcf8 Island: Remove monkey tab from configuration internal 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 746d46c326 UT: Remove tcp_scan_get_banner option from config 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 79362dd066 Island: Remove tcp scan get banner checkbox 2021-12-14 16:00:45 +01:00
Ilija Lazoroski c78b89d43d Agent: Remove tcp scan get banner option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 210e981f7e UT: Remove tcp scan interval option from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski c2e76b6462 Island: Remove tcp scan interval option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski b9219e3783 Agent: Remove tcp scan interval option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski ea08e2c420 UT: Remove max victims to exploit from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 9fa489b046 Island: Remove max victims to find options 2021-12-14 16:00:45 +01:00
Ilija Lazoroski b02d277e55 Agent: Remove max victims to exploit option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski f0e06274c6 UT: Remove max victims to find option from configs 2021-12-14 16:00:45 +01:00
Ilija Lazoroski ba34f775ae Island: Remove max victims to find option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 4eca5b5a97 Agent: Remove max victims to find option 2021-12-14 16:00:45 +01:00
Ilija Lazoroski 4bbac53418 Swimm: Remove add to configuration unit 2021-12-14 16:00:45 +01:00
Mike Salvatore 6cd481637d
Merge pull request #1655 from guardicore/1648-remove-mysql-fingerprinter
1648 remove mysql fingerprinter
2021-12-14 09:58:41 -05:00
Mike Salvatore beb74ef060
Docs: Add missing "and" to ElasticFinger entry
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
2021-12-14 09:58:24 -05:00
Ilija Lazoroski e73b4af026 Changelog: Add entry for removing MySQL fingerprinter 2021-12-14 14:54:45 +01:00
Ilija Lazoroski c129e2f4b0 Project: Remove mysqlfinger references in Vulture 2021-12-14 14:54:20 +01:00
Ilija Lazoroski deeb38e551 Docs: Remove MySQL fingerprinter 2021-12-14 14:51:09 +01:00
Ilija Lazoroski 0a44b1f12e UT: Remove MySQL fingerprinter from monkey test config 2021-12-14 14:50:32 +01:00
Ilija Lazoroski 2c4420ccff Island: Remove MySQL fingerprinter from config schema 2021-12-14 14:49:45 +01:00
Ilija Lazoroski cb2ca5be46 Agent: Remove MySQL fingerprinter 2021-12-14 14:48:44 +01:00
Mike Salvatore 7b2756bab0 UT: Mark some slow tests as "slow" 2021-12-14 07:26:27 -05:00
Mike Salvatore 0b6199e7eb UT: Fix misspelled stopable -> stoppable 2021-12-14 07:16:20 -05:00
Mike Salvatore b28f330e8f Agent: Remove duplicate functionality that checked for open port 2021-12-14 07:15:50 -05:00
Mike Salvatore 44479ef49e
Merge pull request #1653 from guardicore/1597-implement-fingerprinting
1597 implement fingerprinting
2021-12-14 07:14:29 -05:00
Mike Salvatore 7e3945dd02 Agent: Add TODO to Propagator 2021-12-13 14:21:04 -05:00
Mike Salvatore 2dc6e0600d Agent: Pass ping_scan_data and port_scan_data to IPuppet.fingerprint()
Fingerprinters can reuse the port scan data to avoid unnecessarily
rescanning the hosts' ports.
2021-12-13 14:13:10 -05:00
Mike Salvatore e524718960 Island: Reformat "finger_classes" config options before sending to Agent 2021-12-13 13:58:30 -05:00
Mike Salvatore d51af8a583 Agent: Add IPScanResults dataclass 2021-12-13 13:28:40 -05:00