root/honeyclient/branches/rel/1.1/etc/honeyclient.xml

Revision 1538, 21.2 kB (checked in by kindlund, 4 months ago)

Updated Master VM to support IE7 with default policy, active scripting disabled, and file downloads disabled.

  • 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             <max_retry_count description="If the Manager is unable to contact the Ruby web service due to connectivity issues, then the Manager will retry up to the specified number of times before giving up." default="1800">
209                 1800
210             </max_retry_count>
211             <delay_between_retries description="If the Manager is unable to contact the Ruby web service due to connectivity issues, then the Manager will retry, waiting the specified amount of time (in seconds) between each retry attempt." default="2">
212                 2
213             </delay_between_retries>
214         </Database>
215         <!-- HoneyClient::Manager::FW Options -->
216         <FW>
217             <vmnet_nat_router_address description="The IP address assigned to the VMware NAT interface (usually called vmnet8)." default="192.168.0.1">
218                 192.168.0.1
219             </vmnet_nat_router_address>
220             <!-- TODO: Update this. -->
221             <address description="eth0 interface static IP">
222                 192.168.0.128
223             </address>
224             <!-- TODO: Update this to 7627, eventually. -->
225             <port description="Default FW port number" default="8083">
226                 8083
227             </port>
228             <!-- TODO: Update this. -->
229             <primaryDns description="Primary DNS IP Address">
230                 128.29.154.150
231             </primaryDns>
232             <!-- TODO: Update this. -->
233             <secondaryDns description="Secondary DNS IP address">
234                 128.29.40.1
235             </secondaryDns>
236             <!-- TODO: Update this. -->
237             <gsx_gateway description="IP address of VMware Server">
238                 10.0.0.1/32
239             </gsx_gateway>
240             <!-- TODO: Update this. -->
241             <fwGateway description="Gateway IP address of the Firewall">
242                 10.0.0.254/32
243             </fwGateway>
244             <!-- TODO: Update this. -->
245             <honeyclientnet description="CIDR notation for honeyclient netblock">
246                 10.0.0.0/24
247             </honeyclientnet>
248             <!-- TODO: Update this. -->
249             <fwconfig description="Location of Firewall VM configuration file">
250                 /vm/honeywall-test/honeywall.vmx
251             </fwconfig>
252             <!-- TODO: Update this. -->
253             <outputdir description="Output directory where logs will go on Firewall">
254                 fw-output
255             </outputdir>
256             <!-- TODO: Update this. -->
257             <argus description="Argus binary location">
258                 /usr/local/sbin/argus
259             </argus>
260             <!-- TODO: Update this. -->
261             <argusconfig description="Argus configuration file.">
262                 /etc/argus.conf
263             </argusconfig>
264             <!-- TODO: Update this. -->
265             <argusoutput description="Argus logging directory">
266                 /var/log/argus
267             </argusoutput>
268             <!-- TODO: Update this. -->
269             <arguspid description="Argus Process ID">
270                 /var/run/argus.pid
271             </arguspid>
272             <!-- TODO: Update this. -->
273             <tcpdumplog description="Tcpdump log location directory">
274                 /var/log/tcpdump
275             </tcpdumplog>
276             <!-- TODO: Update this. -->
277             <tcpdump description="Tcpdump binary">
278                 /usr/sbin/tcpdump
279             </tcpdump>
280             <!-- TODO: Update this. -->
281             <dnspath description="DNS nameserver file">
282                 /etc/resolv.conf
283             </dnspath>
284             <!-- TODO: Update this. -->
285             <dnsport description="DNS port number">
286                 53
287             </dnsport>
288             <!-- TODO: Update this. -->
289             <LOCALHOST description="localhost address">
290                 127.0.0.1
291             </LOCALHOST>
292             <!-- TODO: Update this. -->
293             <sshport description="SSH port number listening on">
294                 22
295             </sshport>
296             <!-- TODO: Update this. -->
297             <debug description="Debug value (0 for no debugging, 1 for debugging output)">
298                 0
299             </debug>
300             <!-- TODO: Update this. -->
301             <fwprocess description="Name of external SOAP listener.">
302                 startFWListener.pl
303             </fwprocess>
304             <!-- TODO: Update this. -->
305             <config_file description="Location of config_file">
306                 etc/honeyclient_log.conf
307             </config_file>
308         </FW>
309         <!-- HoneyClient::Manager::VM Options -->
310         <VM>
311             <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.">
312                 /vm/masters/IE.7-Patched-2008-03-27-Default.Policy-Disabled.Active.Scripting-Disabled.File.Downloads/winXPPro.cfg
313             </master_vm_config>
314             <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">
315                 7627
316             </port>
317             <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">
318                 /vm/clones
319             </datastore_path>
320             <snapshot_path description="The absolute path to the directory that contains all snapshot data, associated with every HoneyClient VM." default="/vm/snapshots">
321                 /vm/snapshots
322             </snapshot_path>
323             <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">
324                 2
325             </min_space_free>
326             <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">
327                 902
328             </vmware_port>
329             <bin_tar description="The absolute path to the 'tar' executable, accessible on the host filesystem." default="/bin/tar">
330                 /bin/tar
331             </bin_tar>
332             <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">
333                 26
334             </vm_id_length>
335             <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">
336                 /var/log/messages
337             </dhcp_log>
338             <max_connect_retries description="When the VMware Server attempts to connect to any VM, it will repeatedly attempt to connect to the VM if the first attempt fails, for a maximum number of times specified by this value.  Generally, this value should not be changed, unless the host system has an exceptionally slow disk - in which case, increasing this value may help." default="5">
339                 5
340             </max_connect_retries>
341             <!-- HoneyClient::Manager::VM::Clone Options -->
342             <Clone>
343                 <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">
344                     1
345                 </archive_upon_suspend>
346             </Clone>
347             <!-- HoneyClient::Manager::VM::Test Options -->
348             <Test>
349                 <!--
350                     Note: you should *never* need to change *any* values
351                     within this section of the configuration.  All contents
352                     are *only* used for unit testing.
353                 -->
354                 <test_vm_config description="The relative path to the (empty) test VM, that's used during unit testing." default="t/test_vm/winXPPro.vmx">
355                     t/test_vm/winXPPro.vmx
356                 </test_vm_config>
357             </Test>
358         </VM>
359     </Manager>
360     <!-- HoneyClient::Util Options -->
361     <Util>
362         <!-- HoneyClient::Util::Config Options -->
363         <Config>
364             <!-- HoneyClient::Util::Config::Test Options -->
365             <Test>
366                 <!--
367                     Note: you should *never* need to change *any* values
368                     within this section of the configuration.  All contents
369                     are *only* used for unit testing.
370                 -->
371                 <address description="The IP or hostname that this module should use, when performing unit tests." default="localhost" zing="foobar">localhost</address>
372                 <zingers>foobar</zingers>
373                 <Foo>
374                     <Bar>
375                         <address>baz</address>
376                     </Bar>
377                 </Foo>
378                 <Yok>
379                     <childA>12345678</childA>
380                     <childA>ABCDEFGH</childA>
381                     <childB>09876543</childB>
382                     <childB>ZYXVTUWG</childB>
383                 </Yok>
384             </Test>
385         </Config>
386     </Util>
387 </HoneyClient>
Note: See TracBrowser for help on using the browser.