Nessus.Backtrackv3.Setup

Nessus.Backtrackv3.Setup -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Nessus
Setup
in
Backtrack
v3
 1. 2. 3. 4. Startup
the
Backtrack
VM,
and
log
in
 Type

startx
at
the
console
 Open
up
Firefox
and
goto
http://nessus.org/download/
 From
the
dropdown
menu
you
need
the
download:
 a. Nessus
3.*.*
for
Linux
 b. NessusClient
3.*.*
(the
Linux
graphical
interface
for
nessusd)
 i. Note:

the
*
is
any
value
that
appears
there
 5. Download
the
Fedora
Core
8
RPM's
from:
 a. Nessus­3.*.*­fc8.i386.rpm
 b. NessusClient­3.*.*­fc8.i386.rpm
 i. Note:

the
*
is
any
value
that
appears
there
 6. Register
yourself
to
get
the
update
plugins
 a. Goto
http://nessus.org/plugins/
 b. Click
on
Obtain
an
activation
code
 c. Near
the
bottom
of
the
page,
click
Register
a
HomeFeed
 d. Read
the
Agreement,
and
if
you
approve
Accept
it
 e. Type
in
your
email
address
 f. Check
your
email
for
the
registration
code
 7. Start
up
konsole
 8. Create
a
directory
called
Nessus
 a. Type
mkdir
Nessus
 9. Copy
the
*.rpm
files
into
the
Nessus
folder
 a. Type
cp
*.rpm
~/Nessus/.
 10. Change
into
the
Nessus
folder
directory
 a. Type
cd
Nessus
 11. Convert
the
rpm
files
into
tgz
files
 a. Type
rpm2tgz
*.rpm
 12. Install
the
files

 a. Type
pkgtool
 b. The
packages
you
are
going
to
install
are
in
the
Current
directory,
 press
ENTER
 c. It
will
prompt
you
to
install
Nessus,
press
ENTER
 d. It
will
prompt
you
to
install
NessusClient,
press
ENTER
 13. Execute
the
following
commands:
 a. cd
/opt/
 b. export
PATH=$PATH:/opt/nessus/sbin:/opt/nessus/bin:
 c. cp
/usr/lib/libssl.so
/lib
 d. cp
/usr/lib/libcrypto.so
/lib
 e. cp
/opt/nessus/lib/libnessus.so.3
/lib
 f. cp
/opt/nessus/lib/libnessusrx.so.0
/lib
 g. cp
/opt/nessus/lib/libpcap­nessus.so.3
/lib
 h. cd
/lib
 i. ln
libssl.so
libssl.so.6
 j. ln
libcrypto.so
libcrypto.so.6
 14. Type
nano
/etc/ld.so.conf
 a. Add
the
following
line
to
the
end
of
the
file
 i. /opt/nessus/lib

 b. Press
CTRL­O,
then
press
ENTER.
This
will
save
the
file
 c. Press
CTRL­X,
to
exit
 15. Type
ldconfig
 16. nessus‐fetch
‐‐register
XXX‐XXX‐XXX‐XXX
 a. XXX‐XXX‐XXX‐XXX
is
the
registration
code
you
get
from
the
Nessus
 email.
This
is
only
important
if
you
want
to
have
up
to
date
plugins.
 17. At
the
command
line,
type
nessus­mkcert
and
press
ENTER
 NOTE:
You
can
start
up
konsole
to
do
this
 a. On
the
CA
Certificate
Life:
press
ENTER
 b. On
the
Server
Certificate
Life:
press
ENTER
 c. On
the
Your
Country:
press
ENTER
 d. On
the
Your
State:
press
ENTER
 e. On
the
Your
Location:
press
ENTER
 f. On
the
Your
Organization:
press
ENTER
 g. Press
ENTER
to
exit
 18. At
the
command
line,
type
nessus­adduser
and
press
ENTER
 a. At
the
Login:
type
ttrojan
and
press
ENTER
 b. At
the
Authentication:
press
ENTER
 c. At
the
Login
Password:
type
password
and
press
ENTER
 d. Repeat
the
password
 e. At
the
Enter
the
rules
for
this
user
press
CTRL+D
 f. At
the
Is
that
OK?
prompt,
type
y
and
press
ENTER
 19. Start
the
Nessus
server
by
typing,
/opt/nessus/sbin/nessusd
&
 20. Start
the
Nessus
Client
by
typing
NessusClient
&
 Stopping
the
Nessus
Daemon
 1. Find
the
Process
ID
(PID)
of
the
Nessus
Daemon
 a. In
the
terminal/konsole
type
 ps
aux
|
grep
nessusd
 Your
output
example
should
be:
 root





4076

1.3

1.6

47840
12352
tty1




S



20:10


0:02
nessusd:

\
 waiting
for
incoming
connections
 root





4106

0.0

0.0


1760


520
tty1




R+


20:14


0:00
grep
nessus
 2. The
process
we
are
interested
in
is
nessusd
 a. The
PID
of
the
previous
example
is
4076
 3. We
need
to
kill
the
process

 a. In
the
terminal/konsole
type
 kill
PID
 i. Replace
PID

with
the
ID
shown
in
the
ps
command
 i.e.
kill
4076
 Updating
Nessus
 1. Run
the
Nessus
update
utility
 a. In
the
terminal/konsole
type
 /opt/nessus/sbin/nessus­update
 ...
View Full Document

Ask a homework question - tutors are online