Advertisement
unixfreaxjp

***REMNUX TIPS***

Apr 28th, 2012
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. ====================
  2. START SSHD
  3. ====================
  4. sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
  5. sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
  6. sshd start
  7.  
  8. ====================
  9. MAKING HDD WORKSPACE
  10. ====================
  11. mkdir /media/hdd
  12. mount /dev/sda4 /media/hdd/
  13. ln -s /media/hdd/home/rik/ /home/rik
  14.  
  15. ====================
  16. SETTING TIMEZONE
  17. ====================
  18. USE SUDO (MUST!)
  19. echo "Asia/Tokyo" | sudo tee /etc/timezone
  20. sudo dpkg-reconfigure --frontend noninteractive tzdata
  21.  
  22. OR CUI MENU
  23.  
  24. ntpdate ntp.ubuntu.com
  25. dpkg-reconfigure tzdata
  26.  
  27. ====================
  28. FIXING REPO
  29. ====================
  30. sudo add-apt-repository ppa:webupd8team/unstable && sudo apt-get update
  31. apt-get install nmap lynx mc
  32.  
  33. ====================
  34. UPGRADING TOOLS
  35. ====================
  36.  
  37. // pyew
  38.  
  39. wget http://pyew.googlecode.com/files/pyew-2.0-linux-x86.tar.gz
  40. tar -xzvf pyew-2.0-linux-x86.tar.gz
  41. mv pyew-2.0-linux/ /usr/local/pyew
  42.  
  43.  
  44. # You should also upgrade manually the pycrypto, distorm3 &
  45. # yara (if necessary)using the last version
  46. # of course you need to use the latest version of python.
  47.  
  48. ////pycrypto:
  49. apt-get install subversion pcregrep libpcre++-dev python-dev -y
  50. wget http://gitweb.pycrypto.org/\?p=crypto/pycrypto-2.0.x.git\;a=snapshot\;h=9e9641d0a9b88f09683b5f26d3b99c4a2e148da5\;sf=tgz -O pycrypto.tgz
  51. tar -xzvf pycrypto.tgz
  52. cd pycrypto-2.0.x-xxxx/
  53. python setup.py build
  54. python setup.py build install
  55.  
  56.  
  57. ////distorm3
  58. wget http://distorm.googlecode.com/files/distorm3-1.0.zip
  59. unzip distorm3-1.0.zip
  60. cd distorm3-1.0/
  61. python setup.py build
  62. python setup.py build install
  63.  
  64.  
  65. ////Yara 1.4 and Yara-Python 1.4a (ps: the ubuntu package of Yara is Newer/1.6)
  66. # wget http://yara-project.googlecode.com/files/yara-python-1.4a.tar.gz
  67. # tar -xvzf yara-python-1.4a.tar.gz
  68. # cd yara-python-1.4a
  69. # python setup.py build
  70. # python setup.py build install
  71.  
  72. ////Update Latest Volatility 2.1_alpha (use svn)
  73.  
  74. //go to your work directory...
  75. apt-get purge volatility
  76. svn checkout http://volatility.googlecode.com/svn/trunk Volatility
  77. //check latest..
  78. cd Volatility
  79. python ./setup.py --version
  80. //cont' w/malware plugin
  81. cd Volatility/volatility/plugins
  82. wget http://malwarecookbook.googlecode.com/svn/trunk/malware.py
  83. cd ../../
  84. python ./setup.py build
  85. python ./setup.py install
  86. //check...
  87. ls -alkF `which vol`
  88. vol -h
  89. Volatile Systems Volatility Framework 2.1_alpha
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement