This file is indexed.

/usr/share/honeyd/scripts/INSTALL.kuang2 is in honeyd-common 1.5c-8ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
# $Id: INSTALL.kuang2,v 1.1 2004/12/31 18:54:22 provos Exp $

Installation instructions:

1. install the Digest::SHA1 Perl module.  On *BSD systems, this can be
   done using the ports collection:

   # cd /usr/ports/security/p5-Digest-SHA1/
   # make install && make clean

   On other systems this module can be downloaded from CPAN:

   http://search.cpan.org/~gaas/Digest-SHA1-2.10/SHA1.pm


2. copy the kuang2.pl script and its configuration file:

   # cp kuang2.pl kuang2.conf /full/path/
   # chmod 755 /full/path/kuang2.pl
   # chmod 644 /full/path/kuang2.conf


3. create the LOGDIR directory:

   # mkdir -p /full/path/kuang2
   # chown nobody:nobody /full/path/kuang2


4. make your local changes to the kuang2.conf file.  Specially
   important is the logdir value.


5. edit your honeyd configuration file, adding something like:

   ###
   create kuang2
   set kuang2 personality "Microsoft Windows XP Professional"
   set kuang2 default tcp action reset
   set kuang2 default udp action reset
   set kuang2 default icmp action open
   set kuang2 uid 32767 gid 32767
   add kuang2 tcp port 17300 "/full/path/kuang2.pl -f /full/path/kuang2.conf"

   bind 192.0.2.1 kuang2
   ### change the IP above -- this is only an example.


6. restart honeyd.

# INSTALL ends here.