root/honeyclient/tags/exp/DOWN1-kindlund-simpler_agent/etc/honeyclient.xml

Revision 1494, 20.1 kB (checked in by kindlund, 9 months ago)

Switching back to production Drone webservice.

  • Property svn:keywords set to Id "$file"
Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 #######################################################################
4 HoneyClient Configuration File
5
6 This configuration file is used by the HoneyClient perl modules in
7 order to specify and use the following global configuration options.
8
9 For information about the syntax of this file format, please type
10 "perldoc XML::Simple".
11
12 CVS: $Id$
13
14 #######################################################################
15
16 Syntax Notes:
17
18 Note: During processing, if the HoneyClient expects a module-specific
19 variable to be present within this configuration file (e.g., "address")
20 but it is not listed or commented out, then the code will attempt
21 to look for the same variable within any of the module's parents.
22
23 For example, the code may expect:
24 <HoneyClient>
25     <Agent>
26         <Driver>
27             <address>localhost</address>
28         </Driver>
29     </Agent>
30 </HoneyClient>
31
32 But the following will work as well:
33 <HoneyClient>
34     <Agent>
35         <address>localhost</address>
36     </Agent>
37 </HoneyClient>
38
39 <HoneyClient>
40     <address>localhost</address>
41 </HoneyClient>
42
43 Keep in mind, though, that some variables should remain module-specific
44 (i.e., "port") in order to avoid collisions between modules.
45
46 -->
47 <HoneyClient>
48     <!-- Global Options -->
49     <organization description="The name of the organization that owns the host system.">
50         MITRE
51     </organization>
52     <!-- Note: This timeout should be long enough so that the Agent watchdog code will properly let the integrity checking code finish, before detecting a faulty timeout in processing. -->
53     <timeout description="Default timeout used for all communications between each module (in seconds)." default="3600">
54         3600
55     </timeout>
56     <log_config description="The global Log4perl configuration file, used throughout all modules.  This setting should not need to be changed." default="etc/honeyclient_log.conf">
57         etc/honeyclient_log.conf
58     </log_config>
59     <syslog_address description="The IP address of the syslog server that all logging messages will be sent to by both Agent and Manager processes over UDP port 514." default="10.0.0.1">
60         10.0.0.1
61     </syslog_address>
62     <!-- HoneyClient::Agent Options -->
63     <Agent>
64         <address description="The IP or hostname that all Agent modules should use, when accepting SOAP requests." default="0.0.0.0">
65             0.0.0.0
66         </address>
67         <!-- TODO: Update this. -->
68         <!-- Note: This port should be unique and not already in use by other modules, services, or daemons running inside the VM. -->
69         <port description="The TCP port number that the SOAP server for all Agent modules will listen on for requests." default="7627">
70             7627
71         </port>
72         <allowed_drivers description="List of implemented Drivers that the Agent is allowed to run directly.">
73             <name>HoneyClient::Agent::Driver::Browser::IE</name>
74             <name>HoneyClient::Agent::Driver::Browser::FF</name>
75         </allowed_drivers>
76         <default_driver description="If no driver is manually specified, then this Driver will be used as the default by the Agent." default="HoneyClient::Agent::Driver::Browser::IE">
77             HoneyClient::Agent::Driver::Browser::IE
78         </default_driver>
79         <!-- HoneyClient::Agent::Driver Options -->
80         <Driver>
81             <!-- TODO: Update this. XXX: Command-line option, eventually? -->
82             <timeout description="How long the Driver waits during a drive operation, before timing out (in seconds)." default="60">
83                 20
84             </timeout>
85             <Browser>
86                 <IE>
87                     <!-- HoneyClient::Agent::Driver::Browser::IE Options -->
88                     <process_exec description="The absolute path to the Internet Explorer application process, as it sits in the VM filesystem." default="C:\Program Files\Internet Explorer\iexplore.exe">
89                         C:\Program Files\Internet Explorer\iexplore.exe
90                     </process_exec>
91                     <process_name description="The name of the Internet Explorer executable, as it appears on the VM filesystem." default="iexplore.exe">
92                         iexplore.exe
93                     </process_name>
94                 </IE>
95                 <FF>
96                     <!-- HoneyClient::Agent::Driver::Browser::FF Options -->
97                     <process_exec description="The absolute path to the Mozilla Firefox application process, as it sits in the VM filesystem." default="C:\Program Files\Mozilla Firefox\firefox.exe">
98                         C:\Program Files\Mozilla Firefox\firefox.exe
99                     </process_exec>
100                     <process_name description="The name of the Mozilla Firefox executable, as it appears on the VM filesystem." default="firefox.exe">
101                         firefox.exe
102                     </process_name>
103                 </FF>
104             </Browser>
105         </Driver>
106         <perform_integrity_checks description="An integer, representing whether the Agent should perform any integrity checks. 1 enables, 0 disables." default="1">
107             1
108         </perform_integrity_checks>
109         <!-- HoneyClient::Agent::Integrity Options -->
110         <Integrity>
111             <changes_found_file description="When an integrity check fails, all changes will be written to this file within the compromized honeyclient VM's filesystem." default="/tmp/changes.txt">
112                 /tmp/changes.txt
113             </changes_found_file>
114             <realtime_changes_file description="When an integrity check fails, all changes will be written to this file within the compromized honeyclient VM's filesystem." default="/tmp/realtime-changes.txt">
115                 /tmp/realtime-changes.txt
116             </realtime_changes_file>
117             <!-- HoneyClient::Agent::Integrity::Test Options -->
118             <Test>
119                 <!--
120                     Note: you should *never* need to change *any* values
121                     within this section of the configuration.  All contents
122                     are *only* used for unit testing.
123                 -->
124                 <realtime_changes_file description="When an integrity check fails, all changes will be written to this file within the compromized honeyclient VM's filesystem." default="/tmp/realtime-changes.txt">
125                     t/test_integrity/realtime-changes.txt
126                 </realtime_changes_file>
127             </Test>
128         </Integrity>
129     </Agent>
130     <!-- TODO: Update this. -->
131     <Crawler>
132         <ActiveContent>
133             <enable description="Enables active content parsing. 1 enables, 0 disables." default="1">
134                 0
135             </enable>
136             <Flash>
137                 <flasm_exec description="Path to the flasm executable." default="thirdparty/flasm/flasm.exe">
138                     thirdparty/flasm/flasm.exe
139                 </flasm_exec>
140             </Flash>
141         </ActiveContent>
142         <Browser>
143             <!-- TODO: Update this. -->
144             <ignore_links_timed_out description="If this parameter is 1, then the browser will never attempt to revisit any links that caused the browser to initially time out." default="0">
145                 1
146             </ignore_links_timed_out>
147             <limit_spidering description="When set to 1, the Browser will not visit any derived links other than the initial set of URLs given.  This is useful when you want the Browser to only visit a specific set of URLs (perhaps malicious) and no other links that it finds on any of the visited pages.  When set to 1, this option will override max_relative_links_to_visit (essentially setting it to 0).  If you want the Browser to spider through derived links, set this value to 0." default="1">
148                 1
149             </limit_spidering>
150             <max_relative_links_to_visit description="An integer, representing the maximum number of relative links that the browser should visit, before moving onto another website.  If negative, then the browser will exhaust all possible relative links found, before moving on.  This functionality is best effort; it's possible for the browser to visit new links on previously visited websites. Note that this value can be overridden if limit_spidering is set to 1 above." default="-1">
151                 5
152             </max_relative_links_to_visit>
153             <positive_words description="If a link contains any number of these words, then its probability of being visited (its score) will increase.">
154                 <word>news</word>
155                 <word>new</word>
156                 <word>big</word>
157                 <word>latest</word>
158                 <word>main</word>
159                 <word>update</word>
160                 <word>sell</word>
161                 <word>free</word>
162                 <word>buy</word>
163                 <word>science</word>
164             </positive_words>
165             <negative_words description="If a link contains any number of these words, then its probability of being visited (its score) will decrease.">
166                 <word>archive</word>
167                 <word>privacy</word>
168                 <word>legal</word>
169                 <word>disclaim</word>
170                 <word>about</word>
171                 <word>contact</word>
172                 <word>copyright</word>
173                 <word>jobs</word>
174                 <word>careers</word>
175                 <word>term</word>
176             </negative_words>
177         </Browser>
178     </Crawler>
179     <Manager>
180         <fingerprint_dump description="When the Manager encounters a suspicious VM, it will attempt to append a complete copy of the fingerprint information to this file, if specified.">
181             fingerprint.dump
182         </fingerprint_dump>
183         <address description="The IP or hostname that all Manager modules should use, when accepting SOAP requests." default="localhost">
184             localhost
185         </address>
186         <!-- Note: This port should be unique and not already in use by other modules, services, or daemons running on the host system. -->
187         <port description="The TCP port number that the SOAP server for all Manager modules will listen on for requests." default="7627">
188             7627
189         </port>
190         <num_urls_to_process description="If database support is enabled, this value indicates how many URLs the Manager will fetch from the database, process, and report back, before fetching for more URLs." default="10">
191             10
192         </num_urls_to_process>
193         <database_retry_delay description="If database support is enabled, this value indicates how often (in seconds) the Manager will retry contacting the database, when it is ready for more URLs to process and no URLs were provided during the first request." default="2">
194             2
195         </database_retry_delay>
196         <command_line_base_priority description="When the Manager is supplied URLs from the command line, it will assign each URL the following numerical base priority." default="1000">
197             1000
198         </command_line_base_priority>
199         <!-- HoneyClient::Manager::Database Options -->
200         <Database>
201             <enable description="Enables database operations. 1 enables, 0 disables." default="1">
202                 1
203             </enable>
204             <!-- TODO: Update this. -->
205             <url description="The URL of the local Ruby web service, which interfaces with the local HoneyClient database.">
206                 http://172.16.164.1/hc_database/api
207             </url>
208         </Database>
209         <!-- HoneyClient::Manager::FW Options -->
210         <FW>
211             <vmnet_nat_router_address description="The IP address assigned to the VMware NAT interface (usually called vmnet8)." default="192.168.0.1">
212                 192.168.0.1
213             </vmnet_nat_router_address>
214             <!-- TODO: Update this. -->
215             <address description="eth0 interface static IP">
216                 192.168.0.128
217             </address>
218             <!-- TODO: Update this to 7627, eventually. -->
219             <port description="Default FW port number" default="8083">
220                 8083
221             </port>
222             <!-- TODO: Update this. -->
223             <primaryDns description="Primary DNS IP Address">
224                 128.29.154.150
225             </primaryDns>
226             <!-- TODO: Update this. -->
227             <secondaryDns description="Secondary DNS IP address">
228                 128.29.40.1
229             </secondaryDns>
230             <!-- TODO: Update this. -->
231             <gsx_gateway description="IP address of VMware Server">
232                 10.0.0.1/32
233             </gsx_gateway>
234             <!-- TODO: Update this. -->
235             <fwGateway description="Gateway IP address of the Firewall">
236                 10.0.0.254/32
237             </fwGateway>
238             <!-- TODO: Update this. -->
239             <honeyclientnet description="CIDR notation for honeyclient netblock">
240                 10.0.0.0/24
241             </honeyclientnet>
242             <!-- TODO: Update this. -->
243             <fwconfig description="Location of Firewall VM configuration file">
244                 /vm/honeywall-test/honeywall.vmx
245             </fwconfig>
246             <!-- TODO: Update this. -->
247             <outputdir description="Output directory where logs will go on Firewall">
248                 fw-output
249             </outputdir>
250             <!-- TODO: Update this. -->
251             <argus description="Argus binary location">
252                 /usr/local/sbin/argus
253             </argus>
254             <!-- TODO: Update this. -->
255             <argusconfig description="Argus configuration file.">
256                 /etc/argus.conf
257             </argusconfig>
258             <!-- TODO: Update this. -->
259             <argusoutput description="Argus logging directory">
260                 /var/log/argus
261             </argusoutput>
262             <!-- TODO: Update this. -->
263             <arguspid description="Argus Process ID">
264                 /var/run/argus.pid
265             </arguspid>
266             <!-- TODO: Update this. -->
267             <tcpdumplog description="Tcpdump log location directory">
268                 /var/log/tcpdump
269             </tcpdumplog>
270             <!-- TODO: Update this. -->
271             <tcpdump description="Tcpdump binary">
272                 /usr/sbin/tcpdump
273             </tcpdump>
274             <!-- TODO: Update this. -->
275             <dnspath description="DNS nameserver file">
276                 /etc/resolv.conf
277             </dnspath>
278             <!-- TODO: Update this. -->
279             <dnsport description="DNS port number">
280                 53
281             </dnsport>
282             <!-- TODO: Update this. -->
283             <LOCALHOST description="localhost address">
284                 127.0.0.1
285             </LOCALHOST>
286             <!-- TODO: Update this. -->
287             <sshport description="SSH port number listening on">
288                 22
289             </sshport>
290             <!-- TODO: Update this. -->
291             <debug description="Debug value (0 for no debugging, 1 for debugging output)">
292                 0
293             </debug>
294             <!-- TODO: Update this. -->
295             <fwprocess description="Name of external SOAP listener.">
296                 startFWListener.pl
297             </fwprocess>
298             <!-- TODO: Update this. -->
299             <config_file description="Location of config_file">
300                 etc/honeyclient_log.conf
301             </config_file>
302         </FW>
303         <!-- HoneyClient::Manager::VM Options -->
304         <VM>
305             <master_vm_config description="The full absolute path to the VM configuration file on the host system that will be used by all subsequent cloned VMs.">
306                 /vm/masters/Agent.Master-37/winXPPro.cfg
307             </master_vm_config>
308             <port description="The TCP port number that the SOAP server of the VM daemon will listen on for requests.  Note: This port should be unique and not already be used by other modules, services, or daemons running on the host system." default="7627">
309                 7627
310             </port>
311             <datastore_path description="The absolute path to the parent directory, where all HoneyClient VM data is stored on the host server.  It is assumed that individual VM data is stored in separate subdirectories within this parent directory." default="/vm">
312                 /vm/clones
313             </datastore_path>
314             <snapshot_path description="The absolute path to the directory that contains all snapshot data, associated with every HoneyClient VM." default="/vm/snapshots">
315                 /vm/snapshots
316             </snapshot_path>
317             <min_space_free description="The minimum amount of disk space (in GB) that must remain free in both the datastore_path and snapshot_path in order for the Manager to continue processing.  If the free disk space drops below this threshold, then the Manager will gracefully terminate." default="2">
318                 2
319             </min_space_free>
320             <vmware_port description="The TCP port that VMware Server uses for console communication.  By default, this TCP port is 902.  Unless you've explicitly changes this port during the vmware-config.pl setup process, leave this setting as the default." default="902">
321                 902
322             </vmware_port>
323             <bin_tar description="The absolute path to the 'tar' executable, accessible on the host filesystem." default="/bin/tar">
324                 /bin/tar
325             </bin_tar>
326             <vm_id_length description="The length of each corresponding VM identifier (VMID).  This value can be any integer between 1 and 32, inclusive.  The VMID is a hexadecimal string that represents the VM's name.  It is designed to be generated once per clone and remain for the life of the VM (regardless of where it runs).  The VMID is used externally by HoneyClient::Manager and HoneyClient::Manager::FW.  The HoneyClient::Manager::FW package uses IPTables and binds each rule to a specific VMID.  However, IPTable's firewall rule labels can only be a maximum of 30 characters in length.  Thus, 26 is specified here, to account for 'VMID-OUT' as a possible chain name." default="26">
327                 26
328             </vm_id_length>
329             <dhcp_log description="The absolute path to the file that contains the DHCP logs, when a new VM gets a DHCP lease from the VMware Server." default="/var/log/messages">
330                 /var/log/messages
331             </dhcp_log>
332             <!-- HoneyClient::Manager::VM::Clone Options -->
333             <Clone>
334                 <archive_upon_suspend description="If set to 1, then everytime a cloned VM is suspended, a copy of the VM will be archived in the 'snapshot_path' directory.  Set this option to 0, if you discover errors during cloning operations, where the hard disk on the host system is overworked on slow systems." default="1">
335                     1
336                 </archive_upon_suspend>
337             </Clone>
338             <!-- HoneyClient::Manager::VM::Test Options -->
339             <Test>
340                 <!--
341                     Note: you should *never* need to change *any* values
342                     within this section of the configuration.  All contents
343                     are *only* used for unit testing.
344                 -->
345                 <test_vm_config description="The relative path to the (empty) test VM, that's used during unit testing." default="t/test_vm/winXPPro.vmx">
346                     t/test_vm/winXPPro.vmx
347                 </test_vm_config>
348             </Test>
349         </VM>
350     </Manager>
351     <!-- HoneyClient::Util Options -->
352     <Util>
353         <!-- HoneyClient::Util::Config Options -->
354         <Config>
355             <!-- HoneyClient::Util::Config::Test Options -->
356             <Test>
357                 <!--
358                     Note: you should *never* need to change *any* values
359                     within this section of the configuration.  All contents
360                     are *only* used for unit testing.
361                 -->
362                 <address description="The IP or hostname that this module should use, when performing unit tests." default="localhost" zing="foobar">localhost</address>
363                 <zingers>foobar</zingers>
364                 <Foo>
365                     <Bar>
366                         <address>baz</address>
367                     </Bar>
368                 </Foo>
369                 <Yok>
370                     <childA>12345678</childA>
371                     <childA>ABCDEFGH</childA>
372                     <childB>09876543</childB>
373                     <childB>ZYXVTUWG</childB>
374                 </Yok>
375             </Test>
376         </Config>
377     </Util>
378 </HoneyClient>
Note: See TracBrowser for help on using the browser.