Presentation - Falconer Technologies

Download Report

Transcript Presentation - Falconer Technologies

Looking @ Customized
USB Environments
A live O/S on USB Drive?
A “live” environment?
A live CD/USB distro is a computer operating system
that is executed upon boot, without installation to a
hard disk drive. Typically, the live distro is named
after the bootable medium it is stored on, such as a
CD-ROM or DVD (live CD/DVD) or a USB flash drive
(live USB).
A “live” environment?
The term "live" derives from the fact that these
"distros", or software distributions, each contain a
complete, functioning and operational operating
system on the distribution medium.
A live distro does not alter the operating system or
files already installed on the computer hard drive
unless instructed to do so. Live distros often include
mechanisms and utilities for more permanent
installation, including disk partitioning tools.
A “live” environment?
The default option, however, is to allow the user to
return the computer to its previous state when the
live distro is ejected and the computer is rebooted.
It is able to run without permanent installation by
placing the files that typically would be stored on a
hard drive into RAM, typically in a RAM disk.
However, this does cut down on the RAM available
to applications, reducing performance somewhat. As
of 2007, certain live distros run a graphical user
interface in as little as 32MB RAM.
SD Cards?
Secure Digital (SD) is a non-volatile memory card
format developed by many manufacturers for use in
portable devices. Today it is widely used in digital
cameras, handheld computers, Media Players,
mobile phones, GPS receivers, and video game
consoles. Standard SD card capacities range from 4
MB to 4 GB, and for high capacity SDHC cards from 4
GB to 32 GB as of 2008. The SDXC (eXtended
Capacity), a new specification announced at the
2009 CES, will allow for 2 TB capacity cards.
SD Cards?
Which is better?
Memory card interfaces are rated about
15k-20k duty cycles (assume you
remove and reinsert once a day until it
gives up the ghost, about 40 to 50
years). The USB interface is rated
between 1-5k cycles (3-15 years).
What are some Windowsbased Live Environments?
Win XP-based Live CD’s
• UBCD – Ultimate Boot CD
– http://www.ultimatebootcd.com/
• UBCD4WIN – Ultimate Boot CD for Windows
– http://ubcd4win.jtymes.net/
• WinBuilder
– http://www.winbuilder.net/news.php
• Reatogo-X-PE
– http://reatogo.de/REATOGO.htm
UBCD
Ultimate Boot CD runs independently of any
operating system. It will boot from any Intelcompatible machine, regardless of whether
DOS/Windows/Linux/BeOS is installed on the
machine. However, you do need an operating
system and a ISO-capable CD writer software
to create the Ultimate Boot CD from the
downloaded ISO image file.
http://www.ultimatebootcd.com/
UBCD4WIN
UBCD4Win is a bootable recovery CD that
contains software used for repairing,
restoring, or diagnosing almost any computer
problem. Almost all software included in
UBCD4Win are freeware utilities for
Windows®. Some of the tools included are
"free for personal use" copies so users need
to respect these licenses. A few of the tools
included in UBCD4Win are paid for and
licensed software owned by UBCD4win.
http://www.ubcd4win.com/
WinBuilder
WinBuilder is a script engine that will run
projects developed by several authors which
produce very efficient boot disks available
for several windows platforms.
Each project comes with instructions and
details regarding what it is supposed to do
and whenever in case of doubt do visit our
forums to learn and place any question that
cross your mind.
http://www.winbuilder.net/
Flavors of WinBuilder
• NativeXP
• Pico
• Win_Customizer
• WinBuilder_074
• Winroot
ReactOS?
What is ReactOS?
ReactOS® is an advanced free open source
operating system providing a ground-up
implementation of a Microsoft Windows® XP
compatible operating system. ReactOS aims
to achieve complete binary compatibility
with both applications and device drivers
meant for NT and XP operating systems, by
using a similar architecture and providing a
complete and equivalent public interface.
http://www.reactos.org/
Reatogo-X-PE
When it comes down to 'tweakability', I prefer
to use Reatogo. The best thing about
Reatogo is that it gives your disc a
completely native Windows look & feel
(including taskbar, desktop icons, Microsoft
Management Console, etc.). Also, the builder
tends to have a lot less extra stuff that I
don't need.
http://reatogo.de/REATOGO.htm
What are some Linux-based
Live Environments?
Live Linux Environments
• Knoppix
• Nimblex website
• SuSE’s Kiwi
• Fedora’s LiveCD Tools
• Ubuntu Customization Kit
• PuppyLinux
• Sidux
Live Linux Tools
• UNetBootin
• Fedora LiveUSB Creator
• Ubuntu LiveUSB
• Ubuntu LiveUSB Creator
• cd2usb
• Portable Linux
• MySlax Creator
Knoppix
http://www.knoppix.net/
Knoppix
Knoppix is a Free and Open Source Live Linux
CD. Knoppix is a GNU/Linux distribution that
boots and runs completely from CD. It
includes recent linux software and desktop
environments, with programs such as
OpenOffice.org, Abiword, The Gimp,
Konqueror, Mozilla, Apache, PHP, MySQL and
hundreds of other quality open source
programs.
http://www.knoppix.net/
Knoppix on USB?
•
•
•
•
•
•
•
Remove the U3 software (u3 uninstall.exe)
Make it bootable with the HP USB Tools
Boot from the Knoppix DVD
Go to Console/Terminal
Type  ms-sys –s /dev/sda
Type  sfdisk –A1 /dev/sda
Type  mkbootdev
Nimblex & Custom Nimblex
Nimblex
• NimbleX is a small Slackware-based
distribution that made its way onto
DistroWatch's Waiting List last September.
While many on the list seem to stop
development and disappear off the net, it
appears NimbleX is progressing onward.
Their site has undergone a recent update as
well as their distro. NimbleX 2007 was
released on Christmas Day and I decided it
sounded like an interesting project to test.
http://www.nimblex.net/
Custom Nimblex?
Custom Nimblex
Custom Nimblex
Office
Games
Network
Graphics
Multimedia
System
Develop
Drivers
Choices?
You will get the chance to refine the options
for each of the selections you just saw.
You will also be able to choose backgrounds,
sounds, user names/logins, and other
details.
When done…
Kiwi?
http://kiwi.berlios.de/
Kiwi
The OpenSuSE KIWI Image System provides a
complete operating system image solution
for Linux supported hardware platforms as
well as for virtualisation systems like Xen
Qemu or VMware. The KIWI architecture was
designed as a two level system.
Kiwi
The first stage, based on a valid software
package source, creates a so called physical
extend according to the provided image
description.
The second stage creates from a required
physical extend an operating system image.
The result of the second stage is called a
logical extend or short an image.
Kiwi
A normal installation process is starting from a
given installation source and installs single
pieces of software until the system is
complete. During this process there may be
manual user intervention required. However
an operating system image represents an
already completed installation encapsulated
as a file and optionally includes the
configuration for a specific task.
Fedora Live CD Tools
http://fedoraproject.org/wiki/
FedoraLiveCD/LiveCDHowTo
Fedora Live CD Tools
The live CD is designed in such a way that,
when running from a live CD, the system
should appear as much as possible as a
standard system with all that entails; e.g.,
read-write rootfs (achieved using dmsnapshot), standard ext3 file system (for
extended attributes) and so on.
Fedora Live CD Tools
Another design goal is that the live CD should
be installable, i.e., a user should be able to
install the bits from the live CD onto a hard
disk without this process requiring network
access or additional media.
UCK?
http://sourceforge.net/projects/uck/
UCK
UCK is a tool that helps you customizing
official Ubuntu Live CDs (including
Kubuntu/Xubuntu and Edubuntu) to your
needs. You can add any package to the live
system, for example language packs, or
applications.
PuppyLinux?
http://www.puppylinux.org/
PuppyLinux
Puppy Linux is an operating system, which
means it is that which makes a computer
able to function at all, it is that which allows
all the hardware on a computer to talk to
each other and that which enables
applications to run. Other famous operating
systems are Microsoft Windows, Apple's OSX
and MS-DOS. Puppy takes its ancestory from
Linux and so, like most other Linux-based
operating systems, it is a completely free
and open source.
PuppyLinux
There are a number of things that make Puppy
different from other Linux derivatives, but
the most significant is its small size, around
80MB! This lends itself to some very useful
and unique features.
'Live' booting from CDs, USB sticks and other
portable media.
PuppyLinux
Ability to run entirely from RAM, making it
unusually fast and particularly relevant to
modern PCs with solid state CF drives, such
as Wyse & HP/Compaq 'thin clients' and the
ASUS EeePC & similar 'next generation' handhelds.
Very low minimum system requirements, runs
happily on old Pentiums with as little as
32Mb RAM.
Sub-60 second boot times.
PuppyLinux
Sidux?
http://sidux.com/
Sidux
Sidux is a desktop-oriented Linux distribution
based on Debian, which uses the codename
Sid. The distribution consists of a Live CD
(bootable CD-ROM) for i686 or amd64
architecture and can be installed to a hard
drive through a graphical installer.
Sidux
Sidux is maintained by a team of developers
including former Kanotix developer Stefan
Lippers-Hollmann (slh). Initial administration
was managed by The sidux Foundation, Inc.
located in the United States. Now the Berlin,
Germany based Sidux e.V. is administering
and supporting the project.
Sidux
Using Sidux to make…
UNetBootin
http://lubi.sourceforge.net/unetbootin.html
UNetBootin
UNetbootin allows you to create bootable Live
USB drives for a variety of Linux distributions
from Windows or Linux, without requiring
you to burn a CD. You can either let it
download one of the many distributions
supported out-of-the-box for you, or supply
your own Linux ISO file if you've already
downloaded one or your preferred
distribution isn't on the list.
Linux Version
Windows Version
Fedora LiveUSB Creator
https://fedorahosted.org/liveusb-creator/
Ubuntu LiveUSB
http://klik.atekon.de/liveusb/#download
Ubuntu LiveUSB
• It performs the following actions:
•
* Detects available USB sticks (using HAL)
* Partitions USB stick with 1 partition
* Sets partition bootable
* Writes MBR to USB stick
* Formats partition FAT32
* Installs bootloader (syslinux) to partition
* Writes bootloader configuration file
* Copies necessary files from running Live CD to USB stick
* Sets language and keyboard of USB Live system
•
* Optionally: Downloads and integrates Adobe Flash Player
* Optionally: Enables persistent home
Ubuntu LiveUSB Creator
https://launchpad.net/usb-creator
Ubuntu LiveUSB Creator
Ubuntu Live USB Creator (usb-creator)
is an official tool to create Live USBs of
Ubuntu from the Live CD or from an iso
image. The tool is already included in
Ubuntu 8.10, but can also be installed
on Ubuntu 8.04.
cd2usb
http://hacktolive.org/wiki/Cd2usb
cd2usb
"cd2usb by hacktolive.org" (formerly
"ULUMFW") is Windows program,
designed to make Live USBs of Ubuntu
8.10+ (also works with Super Ubuntu).
Credits to PenDriveLinux.com for the
inspiration for this tool and original
basic design!
Portable Linux
http://rudd-o.com/new-projects/portablelinux
Portable Linux
The bootable USB live Linux creator. Live
USB drives -- pen, thumb, SD, MMC or
even phones with USB Mass Storage
support -- created with this tool let
you use the empty disk space on
Windows, Linux and Mac, remember
the changes you make across reboots,
and boot other operating systems. No
other tool comes close.
MySlax Creator
http://www.ronmar.netfirms.com/ppc/linux/slax.html
http://sclive.wordpress.com/2006/07/17/using-myslax-creator/
MySlax Creator
My Slax Creator is a great tool to use for
remastering your ISO's. You can also
use it to extract your ISO to a USB Stick
or burn to a CD. There are quite a few
nice options in My Slax Creator… I have
not found it to be 100% bug-proof, but
it does have some great features and
will get the job done.
Pro+Tech
http://techm4sters.org
Pro+Tech
Protech is a specially designed Linux distribution for
security technicians and programmers, although it
can be used normally as your default desktop
system.
No more strange hardware bugs. Ubuntu's engine
allowed us to have a wide range of hardware
working right out of the box. Graphics, network
cards, audio, etc, are no longer a nightmare in
Protech. Just plug it in...
Protech can run from anywhere in a Live
environment from a CD or USB stick or it can easily
be installed in your hard drive in a few minutes.
BackTrack
http://www.remote-exploit.org/backtrack.html
BackTrack
BackTrack is the most top rated linux live distribution
focused on penetration testing. With no installation
whatsoever, the analysis platform is started directly
from the CD-Rom and is fully accessible within
minutes.
It's evolved from the merge of the two wide spread
distributions - Whax and Auditor Security
Collection. By joining forces and replacing these
distributions, BackTrack has gained massive
popularity and was voted in 2006 as the #1 Security
Live Distribution by insecure.org. Security
professionals as well as new-comers are using
BackTrack as their favorite toolset all over the
globe.
EeeBuntu
http://www.eeebuntu.org/
EeeBuntu
With over 45,000 downloads to date, Eeebuntu
Standard contains everything you need to get
working and playing on your EeePC from the
beginning. It includes a full suite of internet
applications, including Firefox for browsing, Pidgin
for IM chat, and Thunderbird for mail. For work, a
full suite of OpenOffice applications; Database,
Presentation, Spreadsheet and Word - all Microsoft
Office compatible; and a selection of multimedia
applications: VLC for watching movies and Banshee
for listening to music. You even have support for
your iPod with gtkpod!
Pupeee
http://murga-linux.com/puppy/viewtopic.php?t=24881
Pupeee
Pupeee was released on 29th January 2008 by Dan Van
Wormer. It is a basic install of Puppy 3.01 with all
the needed drivers installed. It should boot right up
without asking for keyboard layout or screen
resolution. Sound works right out of the box. The
webcam modules are installed but I have not been
able to get it to work. The wireless card will show
up the first time you run the connect wizard. The
built in Ethernet port drivers are installed but not
loaded. It is listed in the "load module" screen
though. A custom JWM-Tray file with auto hide on to
help make use of the small screen. gtkpod, xmms,
xine-ui, xine extra codecs, GQview, English
dictionary for Abiword.
Pupeee
ASUS eeePC 701
http://www.asus.com/
ASUS eeePC 701
The ASUS Eee PC is a subnotebook (or “netbook”)
computer by ASUS and a part of ASUS Eee product
family. At the time of its introduction in late 2007,
it was noted for its combination of a light weight,
Linux operating system, solid-state drive and
relatively low cost. Newer models have added the
option of Windows XP operating system and
traditional hard disk drives. Newer models have also
increased in price, though they remain relatively
inexpensive as laptops, and notably inexpensive for
ultra-small laptops.
ASUS eeePC 701
Bart’s PE
Building Considerations
What is BartPE and PE Builder?
Definition
• Bart's PE Builder helps you build a "BartPE" (Bart
Preinstalled Environment) bootable Windows CDRom or DVD from the original Windows XP or
Windows Server 2003 installation/setup CD, very
suitable for PC maintenance tasks.
It will give you a complete Win32 environment with
network support, a graphical user interface
(800x600) and FAT/NTFS/CDFS filesystem support.
Very handy for burn-in testing systems with no OS,
rescuing files to a network share, virus scan and so
on.
BartPE vs. Windows PE?
• BartPE is not supported by Microsoft.
Windows PE is an official Microsoft product.
• BartPE has a graphical user interface.
Windows PE has a command line interface.
BartPE vs. Windows PE?
• The tools needed to make a BartPE
installation are free software. Windows PE is
available only to Microsoft OEM users.
• BartPE allows unlimited custom plugins.
Windows PE has a limited range of plugins
options.
What is Windows PE?
• It is a lightweight version of Windows XP,
Windows Server 2003 or Windows Vista that
is used for the deployment of workstations
and servers by large corporations.
• It is also used by OEMs to preinstall Windows
client operating systems to PCs during
manufacturing. It can also be used as an
alternative to MS-DOS as an OS by booting
from a CD or USB flash drive instead of
booting from a floppy or hard disk.
Other stuff….
Unfortunately, WinPE is available only to the
OEM producers. The Microsoft, however,
must add WinPE in the next version of
Windows “Longhorn”. This, in fact, should
replace the classic text interface of the
Windows setup.
Requirements to build:
•
The files from your Windows Installation CD-Rom.
Supported Windows versions are:
–
–
–
–
–
•
•
Windows XP Home Edition (must be slip streamed with
Service Pack 1 or higher)
Windows XP Professional (must be slip streamed with
Service Pack 1 or higher)
Windows Server 2003, Web Edition
Windows Server 2003, Standard Edition
Windows Server 2003, Enterprise Edition
PE Builder runs on Windows 2000/XP/2003/BartPE
systems.
CD/DVD writer if you want to create a bootable
CD/DVD.
Licensing issues
In order to make a BartPE installation,
your must have a properly licensed
copy of the operating system.
BartPE does not grant users who do not
have a proper Windows XP/2003
license the right to use a BartPE
installation.
Download
• Latest version:
• Download PE Builder v3.1.10a - selfinstalling package (3.15MB) - if you are
unsure what you need to download, get
this!
• Download PE Builder v3.1.10a - zip
package (3.23MB)
Information / Legal Stuff
Microsoft, MS-DOS, Win32, Windows,
Windows NT and Windows XP are
either registered trademarks or
trademarks of Microsoft Corporation in
the United States and/or other
countries. Other product and company
names mentioned on this page may be
the trademarks of their respective
owners.
Let's install PE Builder
A little history…
• The original installation and building of
each bootable Live CD was done on…
• The Host PC is running SuSE 10.3
• Virtualization is handled by VirtualBox
• The virtual environment is WinXP SP2
• A shared folder was set between
SuSE/XP
SuSE
http://www.opensuse.org/
The openSUSE project is a worldwide
community program sponsored by Novell that
promotes the use of Linux everywhere. The
program provides free and easy access to
openSUSE. Here you can find and join a
community of users and developers, who all
have the same goal in mind — to create and
distribute the world's most usable Linux.
Soozie? Sussa? Suzhay?
SuSE (properly pronounced , but often
pronounced /suzi/) is a major retail
Linux distribution, produced in
Germany. The company is owned by
Novell, Inc.
SuSE is also a founding member of the
Desktop Linux Consortium.
S.U.S.E.
– S.U.S.E. is actually a German phrase for
• Software
• und
• System
• Entwicklung
– Means,
‘Software And System Development’
– Based on ‘Slackware’ Linux
Slackware?
The Official Release of Slackware Linux by
Patrick Volkerding is an advanced Linux
operating system, designed with the twin
goals of ease of use and stability as top
priorities. Including the latest popular
software while retaining a sense of tradition,
providing simplicity and ease of use
alongside flexibility and power, Slackware
brings the best of all worlds to the table.
Slackware Philosophy?
Since its first release in April of 1993, the
Slackware Linux Project has aimed at
producing the most "UNIX-like" Linux
distribution out there.
Slackware complies with the published Linux
standards, such as the Linux File System
Standard. We have always considered
simplicity and stability paramount, and as a
result Slackware has become one of the most
popular, stable, and friendly distributions
available.
VirtualBox
http://www.virtualbox.org/
innotek VirtualBox is a family of powerful x86
virtualization products for enterprise as well
as home use. Not only is VirtualBox an
extremely feature rich, high performance
product for enterprise customers, it is also
the only professional solution that is freely
available as Open Source Software under the
terms of the GNU General Public License
(GPL).
Before we start Bart
1. Need a CD burning application that
can deal with ISO files
2. Copy the XP install files
Ex: xcopy d:\ c:\xp-install-files /s/e/v
pebuilder3110a
Download and install “pebuilder3110a”
Select Language
Welcome
Select where to load
Select [START] Menu Folder
Additional Tasks
Ready to Install
Installing
Completing PE Builder
PE Builder License
Searching for Installs
Builder / Source
Builder/Source Example
• Source --> The drive letter of the Win
XP CD
• Custom --> c:\pebuilder\plugin
• Output --> BartPE
• Media Output --> Create ISO Image
– Ex: c:\pebuilder\pebuilder.iso
More Detail?
•
•
•
•
Source: c:\xp-install-files
Take a look at the [Plugins]
Media output, change to  ISO
Select – [Builder] – [Options] and
change the “Volume ID” if you wish.
Plugins
pebuilder3110a
• Exit PEB
• Copy the \plugin folder to
\pebuilder3110a\plugin
• It is going to be overwritten
pebuilder3110a
• Open PEB
• Take a look at the [Plugins] folder
• Should be 2-3 pages
• Exit PEB
pebuilder3110a
• Copy \Net to
\pebuilder3110a\drivers\Net
• These drivers will automatically be
added the next time PEB is started
pebuilder3110a
• Unique Network Drivers!
• Please take a look at
\pebuilder3110a\plugin\nic\nic.inf
pebuilder3110a
• Open PEB
• Open [Plugins] and verify, then [Close]
• Errors?
• How do we fix them if there are?
pebuilder3110a
• Still in PEB?
• Let’s [Build] an ISO
• Verify for [Errors] or [Warnings]
Verification
Windows EULA
Building Registry
Building….
Burn that Disk!
• Burn Baby Burn!
• Utilize NERO, SONIC, or any other CD
Burning software that you are
comfortable with to convert an ISO
image to a bootable CD!
Boot that Disk
Make sure the computer’s BIOS is setup
to boot from the CD drive
Put your new Bart’s PE CD in the drive
and [RESTART] the computer
More Plugins
http://www.911cd.net/forums//index.php?showforum=30
http://www.runtime.org/peb.htm
Extra
Q: Can I write my Bart PE disk to a USB
drive?
A: Sure! Use either :
Bart2USB101
- Or PeToUSB
Questions about
Barts PE?
Thank you