File: stealth.yo

package info (click to toggle)
stealth 4.04.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: cpp: 2,759; sh: 151; makefile: 111; ansic: 52
file content (178 lines) | stat: -rw-r--r-- 4,473 bytes parent folder | download | duplicates (2)
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178

COMMENT(  Starts a report. The top-level sectioning command  is chapter. )

mailto(f.b.brokken@rug.nl)

includefile(../../release.yo)

DEFINEMACRO(s)(0)(bf(stealth))
DEFINEMACRO(S)(0)(bf(Stealth))
    
COMMENT(htmlbodyopt(background)(rcbackground.jpg))
htmlbodyopt(text)(#27408B)
htmlbodyopt(bgcolor)(#FFFAF0)

COMMENT(    include(abstract)   )

latexoptions(a4paper)
latexpackage()(epsf)
latexpackage()(stealth)

latexcommand(
\hfuzz=70pt
\addtolength{\textheight}{2cm}
\addtolength{\textwidth}{4cm}
\addtolength{\hoffset}{-2cm})

nosloppyhfuzz()
    

IFDEF(html)
(
    affiliation(center(University of Groningen))
    report(center(Stealth V. _CurVers_))
           (center(Frank B. Brokken))(center(_CurYrs_))
)
(   
    affiliation(University of Groningen)
    report(Stealth V._CurVers_)(Frank B. Brokken)(_CurYrs_)
)

chapter(Introduction)
    includefile(intro)

    sect(What's new in Stealth V._CurVers_)
    includefile(whatsnew)

chapter(Installation)
includefile(install/intro)

    lsect(COMPILING)(Compiling and installing Stealth)
    includefile(install/compile)

chapter(Granting access)
includefile(access/intro)

    subsect(The monitor's user: creating an ssh-key)
    includefile(access/monitor)

    subsect(The client's account: accepting ssh from the monitor's user)
    includefile(access/client)

    subsect(Logging into the account@client account)
    includefile(access/login)

    subsect(Using the proper shell)
    includefile(access/using)

chapter(The `policy' file)
includefile(policy/intro)

    sect(DEFINE directives)
    includefile(policy/defines)

    lsect(USE)(USE directives)
    includefile(policy/use)

    lsect(COMMANDS)(Commands)
    includefile(policy/commands)

        subsect(LABEL commands)
        includefile(policy/label)

        subsect(LOCAL commands)
        includefile(policy/local)

        subsect(REMOTE commands)
        includefile(policy/remote)

        subsect(Preventing Controller Denial of Service (--max-size))
        includefile(policy/preventing)

chapter(Running `stealth')
includefile(running/intro)

    sect(Installing `stealth')
    includefile(running/installing)

    lsect(OPTIONS)(Stealth command-line and policy file options)
    includefile(running/options)

        subsect(Rsyslog filtering)
        includefile(running/rsyslog)

    sect(Construct one or more policy files)
    includefile(running/makepolicy)

        subsect(DEFINE directives)
        includefile(running/define)

        subsect(USE directives)        
        includefile(running/use)

        subsect(Commands)
        includefile(running/commands)

            subsubsect(Obtaining the client's sha1sum program)
            includefile(running/obtaining)

            subsubsect(Checking the integrity of the client's sha1sum program)
            includefile(running/checking)

            subsubsect(Checking the client's /usr/bin/find program)
            includefile(running/checkingfind)

            subsubsect(Checking the client's setuid/setgid files)
            includefile(running/checkingsetuid)

            subsubsect(Checking the configuration files in the 
                                                client's /etc/ directory)
            includefile(running/checkingconfig)

        subsect(The complete `policy' file)
        includefile(running/policy)

    sect(Running `stealth' for the first time)
    includefile(running/firstrun)

        subsect(The mailed report)
        includefile(running/mailed)

        subsect(Files under /root/stealth/client)
        includefile(running/files)

    sect(Subsequent `stealth' runs)

        subsect(All files unaltered)
        includefile(running/newrunsame)

        subsect(Modifications occurred)
        includefile(running/newrundelta)

        subsect(Failing LOCAL commands)
        includefile(running/failing)

        subsect(Skipping (some) integrity checks)
        includefile(running/skipping)

    sect(Automating repeated `stealth' runs)
    includefile(running/cron)

    lsect(ROTATE)(Report File Rotation)
    includefile(running/rotate)

        lsubsect(STATUS)(Status file cleanup)
        includefile(running/status.yo)

        lsubsect(LOGROTATE)
                (Using `logrotate' to control report- and status files)
        includefile(running/logrotate.yo)

chapter(Kick-starting `stealth')
includefile(kickstart)

lchapter(USAGE)(Usage info)
includefile(usage)

chapter(Errormessages)
includefile(errors)