Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================
- START SSHD
- ====================
- sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
- sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
- sshd start
- ====================
- MAKING HDD WORKSPACE
- ====================
- mkdir /media/hdd
- mount /dev/sda4 /media/hdd/
- ln -s /media/hdd/home/rik/ /home/rik
- ====================
- SETTING TIMEZONE
- ====================
- USE SUDO (MUST!)
- echo "Asia/Tokyo" | sudo tee /etc/timezone
- sudo dpkg-reconfigure --frontend noninteractive tzdata
- OR CUI MENU
- ntpdate ntp.ubuntu.com
- dpkg-reconfigure tzdata
- ====================
- FIXING REPO
- ====================
- sudo add-apt-repository ppa:webupd8team/unstable && sudo apt-get update
- apt-get install nmap lynx mc
- ====================
- UPGRADING TOOLS
- ====================
- // pyew
- wget http://pyew.googlecode.com/files/pyew-2.0-linux-x86.tar.gz
- tar -xzvf pyew-2.0-linux-x86.tar.gz
- mv pyew-2.0-linux/ /usr/local/pyew
- # You should also upgrade manually the pycrypto, distorm3 &
- # yara (if necessary)using the last version
- # of course you need to use the latest version of python.
- ////pycrypto:
- apt-get install subversion pcregrep libpcre++-dev python-dev -y
- wget http://gitweb.pycrypto.org/\?p=crypto/pycrypto-2.0.x.git\;a=snapshot\;h=9e9641d0a9b88f09683b5f26d3b99c4a2e148da5\;sf=tgz -O pycrypto.tgz
- tar -xzvf pycrypto.tgz
- cd pycrypto-2.0.x-xxxx/
- python setup.py build
- python setup.py build install
- ////distorm3
- wget http://distorm.googlecode.com/files/distorm3-1.0.zip
- unzip distorm3-1.0.zip
- cd distorm3-1.0/
- python setup.py build
- python setup.py build install
- ////Yara 1.4 and Yara-Python 1.4a (ps: the ubuntu package of Yara is Newer/1.6)
- # wget http://yara-project.googlecode.com/files/yara-python-1.4a.tar.gz
- # tar -xvzf yara-python-1.4a.tar.gz
- # cd yara-python-1.4a
- # python setup.py build
- # python setup.py build install
- ////Update Latest Volatility 2.1_alpha (use svn)
- //go to your work directory...
- apt-get purge volatility
- svn checkout http://volatility.googlecode.com/svn/trunk Volatility
- //check latest..
- cd Volatility
- python ./setup.py --version
- //cont' w/malware plugin
- cd Volatility/volatility/plugins
- wget http://malwarecookbook.googlecode.com/svn/trunk/malware.py
- cd ../../
- python ./setup.py build
- python ./setup.py install
- //check...
- ls -alkF `which vol`
- vol -h
- Volatile Systems Volatility Framework 2.1_alpha
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement