backtrack4-guide-tutorial.pdf

(112 KB) Pobierz
Microsoft Word - BackTrack 4 – The Definitive Guide.docx
BackTrack
4
–
The
Definitive
Guide

Introduction ..............................................................................................................................2
Behind
the
curtains.................................................................................................................2
BackTrack
Base ................................................................................................................................. 2
BackTrack
Kernel ............................................................................................................................. 2
Packages
and
Repositories............................................................................................................ 3
Meta
packages.................................................................................................................................... 4
Meta
Meta
Packages......................................................................................................................... 4
Up
and
running
with
BackTrack.................................................................................................. 4
Installing
BackTrack
to
Disk................................................................................................5
Updating
Backtrack ................................................................................................................5
Customizing
BackTrack.........................................................................................................6
Creating
your
own
Live
CD
–
Method
1...................................................................................... 6
Creating
your
own
Live
CD
–
Method
2...................................................................................... 6
Installing
BackTrack
to
USB.......................................................................................................... 6
Installing
BackTrack
to
USB

­
Persistent
changes ................................................................ 6
Working
with
BackTrack ......................................................................................................7
KDE3
Quirks ....................................................................................................................................... 7
Updating
tools
manually ................................................................................................................ 7
FAQs ...................................................................................................................................................... 7
Outro ..................................................................................................................................................... 8
This
document
is
a
work
in
progress.


It
is
a
quick
attempt
to
cover
the
most
commonly
asked
questions
about
BackTrack,

in
one
place.
Check
on
this
page
frequently
for
updates.

Introduction

BackTrack
 is
 the
 world’s
 leading
 penetration
 testing
 and
 information
 security

auditing
distribution.

With
hundreds
of
tools
preinstalled
and
configured
to
run
out

of
 the
 box,
BackTrack
 4
 provides
 a
 solid
 Penetration
 testing
 platform
 
 ‐
 from
Web

application
Hacking
to
RFID
auditing
–
its
all
working
in
once
place.

Behind
the
curtains

BackTrack
Base

There
 have
 been
 many
 changes
 introduced
 into
 BackTrack
 4
 ‐
 most
 notably,
 our

move
 to
an
Ubuntu
 Intrepid
base.
We
now
maintain
our
own
 full
repositories
with

modified
Ubuntu
packages
in
addition
to
our
own
penetration
testing
tools.


Another
significant
change
is
the
updated
kernel
version,
currently
at
2.6.29.4.
This

new
 kernel
 brought
 an
 onset
 of
 internal
 changes,
which
 have
 greatly
 changed
 the

structure
of
BackTrack.

BackTrack
Kernel

We
no
 longer
use
 lzma
enabled
squashfs
as
our
 live
 filesystem,
which
on
one
hand

results
 in
 larger
 ISO
 size,
 but
 on
 the
 other
 hand,
 frees
 us
 from
 having
 to
maintain

our
own
kernel
patches.
This
 is
especially
painful
 these
days,
as
 squashfs
 is
 slowly

moving
into
the
mainstream
kernel
(at
the
time
of
this
writing).

BackTrack
 4
 uses
 squashfs‐tools
 version
 4.0
 (which
 is
 not
 backward
 compatible

with
previous
versions),
and
the
inbuilt
squashfs
kernel
module,
which
is
present
in

2.6.29.4.
AUFS
is
used
as
the
unification
filesystem
(aufs2.x).

Several
 wireless
 driver
 injection/optimization
 patches
 have
 been
 applied
 to
 the

kernel,
 as
 well
 as
 a
 bootsplash
 patch.
 These
 patches
 can
 be
 found
 in
 the
 kernel

sources
package
(/usr/src/linux/patches).

2

These
 changes
 mean
 that
 much
 of
 what
 you
 were
 used
 to
 in
 BackTrack
 2/3
 has

changed
in
terms
of
boot
cheatcodes
and
such,
as
this
kernel
shift
also
means
we
no

longer
use
the
 live­linux 
scripts
to
create
our
images
(we
use
casper
now).


Packages
and
Repositories

One
of
 the
most
 significant
 changes
 introduced
 in
BackTrack
4
 are
 the
Debian
 like

repositories
 available,
 which
 are
 frequently
 updated
 with
 security
 fixes
 and
 new

tools.
This
means
that
if
you
choose
to
install
BackTrack
to
disk,
you
will
be
able
to

get
package
maintenance
and
updates
by
using
 apt­get 
commands.

Our
 BackTrack
 tools
 are
 arranged
 by
 parent
 categories.
 These
 are
 the
 categories

that
currently
exist:

BackTrack
‐
Enumeration

BackTrack
‐
Tunneling

BackTrack
‐
Bruteforce

BackTrack
‐
Spoofing

BackTrack
‐
Passwords

BackTrack
‐
Wireless

BackTrack
‐
Discovery

BackTrack
‐
Cisco

BackTrack
–
Web
Applications

BackTrack
‐
Forensics

BackTrack
‐
Fuzzers

BackTrack
‐
Bluetooth

BackTrack
‐
Misc

BackTrack
‐
Sniffers

BackTrack
‐
VOIP

BackTrack
‐
Debuggers

BackTrack
‐
Penetration

BackTrack
‐
Database

BackTrack
‐
RFID

BackTrack
–
Python

3

BackTrack
–
Drivers

BackTrack
‐
GPU

Meta
packages

A
nice
 feature
 that
 arises
 from
 the
 tool
 categorization,
 is
 that
we
 can
now
 support

BackTrack
 meta
 packages ”.
 A
 meta
 package
 is
 a
 dummy
 package
 which
 includes

several
 other
 packages.
 For
 example,
 the
 meta
 package
“ backtrack­web ”
 would

include
all
the
Web
Application
penetration
testing
tools
BackTrack
has
to
offer.

Meta
Meta
Packages

We
have
two
“ meta
meta
packages ”
–
 backtrack­world 
and
 backtrack­desktop .


backtrack­world 
 contains
 all
 the
 BackTrack
 meta
 packages,
 while
 backtrack­
desktop 
 contains
 backtrack­world ,
 backtrack­networking 
 and
 backtrack­
multimedia .
 The
 latter
 two
 meta
 packages
 are
 select
 applications
 imported
 from

Ubuntu
repositories.


Up
and
running
with
BackTrack

We’ve
made
a
short
movie
called
“up
and
running
with
BackTrack”
–
showing
some

common
 and
 not
 so
 common
 features.
 A
 good
 place
 to
 start
 in
 order
 to
 grasp
 the

new
changes
in
BackTrack
4.

http://www.offensive‐security.com/videos/backtrack‐security‐training‐video/up‐
and‐running‐backtrack.html
4

Installing
BackTrack
to
Disk

BackTrack
 4
 (both
 barebones
 and
 full
 version)
 now
 contains
 a
 modified
 Ubiquity

installer.

The
install
should
be
straight
and
simple.
For
a
video
tutorial,
check


http://www.offensive‐security.com/videos/install‐backtrack‐hard‐disk/install‐
backtrack‐hard‐disk.html
Updating
Backtrack

Keeping
BackTrack
up
to
date
is
relatively
simple
by
using
the
apt‐get
commands.

apt­get
update 
synchronizes

your
package
list
with
our
repository.

apt­get
upgrade 
downloads
and
installs
all
the
updates
available.

apt­get
dist­upgrade 
downloads
and
installs
all
new
upgrades.

5

Zgłoś jeśli naruszono regulamin