MISP (core software) - Open Source Threat Intelligence and Sharing Platform (formely known as Malware Information Sharing Platform) https://www.misp-project.org/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

118 lines
3.4 KiB

  1. TODOs v0.2.3 to v2.0.0
  2. -----
  3. DB Update
  4. - UpdateShell with in/out
  5. Auth
  6. - Prevent bruteforce auth attempts
  7. Acl
  8. - clean-up to first cut.
  9. - saveAcl, from GroupsController to AppController and inherit to *Controllers.
  10. auditing/logging system
  11. - logins
  12. - add source IP (headers,...);
  13. - failed logins.
  14. Security
  15. - force cookie reset after login
  16. INSTALLATION INSTRUCTIONS
  17. -------------------------
  18. Install the following libraries:
  19. apt-get install zip
  20. apt-get install php-pear
  21. pear install Crypt_GPG # need version >1.3.0
  22. pear install Net_GeoIP
  23. # ideally make sure geoip database is updated using crontab
  24. #wget 'http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz'
  25. #gunzip GeoIP.dat.gz
  26. TODO rewrite instructions using git clones and git submodules
  27. # Download CakePHP from github
  28. cd /opt/
  29. git pull https://github.com/cakephp/cakephp.git
  30. chmod -R 755 /opt/cakephp
  31. # Download CyDefSIG using git in the /var/www/ directory.
  32. cd /var/www/
  33. git clone git@code.lab.modiss.be:cydefsig.git
  34. # Check if the permissions are set correctly using the following commands as root:
  35. chown -R <user>:www-data /var/www/cydefsig
  36. chmod -R 750 /var/www/cydefsig
  37. chmod -R g+s /var/www/cydefsig
  38. cd /var/www/cydefsig/app/
  39. chmod -R g+w tmp
  40. chmod -R g+w files
  41. # Import the empty MySQL database from /var/www/cydefsig/app/MYSQL.sql using phpmyadmin or mysql>.
  42. # Now configure your apache server with the DocumentRoot /var/www/cydefsig/app/webroot/
  43. # Configure the fields in the files:
  44. database.php : login, port, password, database
  45. bootstrap.php: CyDefSIG.*, GnuPG.*
  46. core.php : debug,
  47. webroot/index.php : CAKE_CORE_INCLUDE_PATH (optional for multi-cydefsig installations)
  48. # Generate a GPG encryption key.
  49. mkdir /var/www/cydefsig/.gnupg
  50. chown www-data:www-data /var/www/cydefsig/.gnupg
  51. chmod 700 /var/www/cydefsig/.gnupg
  52. sudo -u www-data gpg --homedir /var/www/cydefsig/.gnupg --gen-key
  53. # And export the public key to the webroot
  54. sudo -u www-data gpg --homedir .gnupg --export --armor no-reply > app/webroot/gpg.asc
  55. # Create the Role Based Access Control (RBAC) tables and content:
  56. cd /var/www/cydefsig/app
  57. ./Console/cake schema create DbAcl
  58. ./Console/cake acl create aco root controllers
  59. ./Console/cake AclExtras.AclExtras aco_sync
  60. ./Console/cake populate0_2_3
  61. Now log in using the webinterface:
  62. The default user/pass = admin@admin.test/admin
  63. Don't forget to change the email, password and authentication key after installation.
  64. UPDATE INSTRUCTIONS
  65. -------------------
  66. To be sure, dump your database before updating.
  67. CyDefSIG from 0.2.2 to 0.2.3 needs a database migration and population.
  68. This is done executing /var/www/cydefsig/app/Console/shell/migrate-0.2.2-0.2.3.sh
  69. and answer (y)es to all the questions asked
  70. and afterward run http://<host>:<port>/events/migratemisp11to2/<your org>
  71. with <your org> being MIL.BE or NCIRC where appropriate.
  72. Import the regexp data in /var/www/cydefsig/app/MYSQL.regexp.sql using phpmyadmin or mysql>.
  73. Recommended patches
  74. -------------------
  75. By default CakePHP exposes his name and version in email headers. Apply a patch to remove this behavior.
  76. Multiple instances on a single server
  77. -------------------------------------
  78. If you want to install multiple instances on a single server, extract the CakePHP sources
  79. in a central location like /opt/cakephp.
  80. Then edit /var/www/cydefsig/app/webroot/index.php and change :
  81. define('CAKE_CORE_INCLUDE_PATH', '/opt/cakephp/lib');