-
Notifications
You must be signed in to change notification settings - Fork 788
/
vulture_allowlist.py
143 lines (116 loc) · 4.5 KB
/
vulture_allowlist.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
from flask_security import Security
from common.agent_configuration import ScanTargetConfiguration
from common.agent_plugins import (
AgentPlugin,
AgentPluginManifest,
AgentPluginMetadata,
AgentPluginRepositoryIndex,
)
from infection_monkey.command_builders import (
AgentCommandBuilderFactory,
LinuxAgentCommandBuilder,
WindowsAgentCommandBuilder,
)
from infection_monkey.exploit.tools import secret_type_filter
from infection_monkey.network.firewall import FirewallApp, WinAdvFirewall, WinFirewall
from infection_monkey.propagation_credentials_repository import PropagationCredentialsRepository
from infection_monkey.utils import commands
from monkey_island.cc.deployment import Deployment
from monkey_island.cc.models import Machine
from monkey_island.cc.repositories import IAgentEventRepository, MongoAgentEventRepository
from monkey_island.cc.services.agent_plugin_service import AgentPluginService
from monkey_island.cc.services.authentication_service.user import User
from monkey_island.cc.services.reporting.exploitations.monkey_exploitation import MonkeyExploitation
# Pydantic configurations are not picked up
ScanTargetConfiguration.blocked_ips_valid
ScanTargetConfiguration.inaccessible_subnets
ScanTargetConfiguration.subnets_valid
ScanTargetConfiguration.inaccessible_subnets_valid
LMHash.validate_hash_format
NTHash.validate_hash_format
AgentPluginManifest.title
AgentPluginManifest.description
AgentPluginManifest.link_to_documentation
AgentPluginManifest.safe
AgentPluginManifest.remediation_suggestion
AgentPluginManifest.target_operating_systems
AgentPluginManifest.supported_operating_systems
# Passed to Popen from agent
dwFlags # \infection_monkey\monkey\infection_monkey\monkey.py:490:
wShowWindow # \infection_monkey\monkey\infection_monkey\monkey.py:491:
# Attribute used by pydantic errors
msg_template
FirewallApp.listen_allowed
WinAdvFirewall.listen_allowed
WinFirewall.listen_allowed
# Server configurations
app.url_map.strict_slashes
api.representations
hub.exception_stream
app.login_via_request
app.should_set_cookie
app.session_interface
app.save_session
Security._want_json
# Deployment is chosen dynamically
Deployment.DEVELOP
Deployment.APPIMAGE
Deployment.DOCKER
# Pydantic models
Machine._socketaddress_from_string
Machine.dump_network_services
# Unused, but potentially useful
Machine.island
# We anticipate using these in the future
IAgentEventRepository.get_events_by_tag
IAgentEventRepository.get_events_by_source
MongoAgentEventRepository.get_events_by_tag
MongoAgentEventRepository.get_events_by_source
AWSCommandResults.response_code # monkey_island/cc/services/aws/aws_command_runner.py:26
MonkeyExploitation.label
AgentPlugin.dump_source_archive
AgentPlugin.supported_operating_systems
# User model fields
User.active
User.fs_uniquifier
User.roles
User.get_by_id
User.email
identity_type_filter
secret_type_filter
commands.build_agent_deploy_command
commands.build_agent_download_command
commands.build_command_windows_powershell
commands.build_download_command_linux_curl
commands.build_dropper_script_download_command
commands.build_download_command_windows_powershell_webclient
commands.build_download_command_windows_powershell_webrequest
PropagationCredentialsRepository.get_credentials
# Remove after the plugin interface is in place
AgentPluginMetadata.resource_path
AgentPluginMetadata._str_to_pure_posix_path
AgentPluginMetadata.model_config
AgentPluginMetadata.dump_string
AgentPluginRepositoryIndex
AgentPluginRepositoryIndex.model_config
AgentPluginRepositoryIndex.dump_compatible_infection_monkey_version
AgentPluginRepositoryIndex.compatible_infection_monkey_version
AgentPluginRepositoryIndex._infection_monkey_version_parser
AgentPluginRepositoryIndex._sort_plugins_by_version
AgentPluginRepositoryIndex.use_enum_values
AgentPluginRepositoryIndex._convert_str_type_to_enum
AgentPluginService.install_agent_plugin_from_repository
AgentCommandBuilderFactory.create_windows_agent_command_builder
AgentCommandBuilderFactory.create_linux_agent_command_builder
LinuxAgentCommandBuilder.build_download_command
LinuxAgentCommandBuilder.build_set_permissions_command
LinuxAgentCommandBuilder.build_run_command
LinuxAgentCommandBuilder.get_command
LinuxAgentCommandBuilder.reset_command
WindowsAgentCommandBuilder.build_download_command
WindowsAgentCommandBuilder.build_run_command
WindowsAgentCommandBuilder.get_command
WindowsAgentCommandBuilder.reset_command
# TODO: Remove after we move the plugins to separate repos
execute_agent
LinuxAgentCommandBuilder.build_permission_change_command