SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.39k stars 164 forks source link

[X]Verify extracted VECTR release #23

Closed qq854051086 closed 5 years ago

qq854051086 commented 5 years ago

[X]Verify extracted VECTR release ERROR: VECTR Deployment can not continue. Please correct any issues marked above or check installation logs.

Can you tell me how to solve it?

thebleucheese commented 5 years ago

Hi, can you provide the following information so we can help diagnose the issue?

Edit: One additional quick note on this, github is having issues right now. I can't access our releases page on here. That may be contributing to the problems with the installer.

qq854051086 commented 5 years ago

It's my problem, because the zip here is decompressed manually and there are some errors caused by missing some folders. Now it's installed, but there's a new problem. When I click on login, HTML tells me 404 look it 20190723105806

thebleucheese commented 5 years ago

There are a couple configuration files that are modified by the installer scripts {DEPLOY_DIR}/app/config/auth.properties Verify that it shows something like

cas.server.url=https://YOUR_VECTR_HOSTNAME:8443/cas'

{DEPLOY_DIR}/app/cas/config/cas.properties Verify that it shows lines similar to

cas.server.name=https://YOUR_VECTR_HOSTNAME:8443
cas.server.prefix=https://YOUR_VECTR_HOSTNAME:8443/cas

*{DEPLOY_DIR}/app/cas/services/.json** Verify a line similar to

"serviceId" : "https://YOUR_VECTR_HOSTNAME:8081/sra-purpletools-webui/app\\?client_name=CasClient",

Did the installer script run successfully? If you're using a ubuntu, mint, or centOS host it should perform all of these modifications for you based on what you enter in the install questions.

There's a cas.war file in the wars folder that gets extracted. That should automatically be copied over and started by tomcat and if that's not happening something went wrong with the install process.

qq854051086 commented 5 years ago

Yes, the installer has been successfully executed, and all of the above configurations are OK. I have done installation tests on CentOS and ubunto, all of which are the same 404. This is my wars folder image

thebleucheese commented 5 years ago

Are you using the latest version - 5.2.2? There are some *.war files missing and I wonder if that's due to the use of an older version.

I think the first thing we should do is try to find why there are missing *.war files

Your wars directory should like this before deploying:

root@144 ~/sra2/app/wars $ ls 
cas.war  sra-auth-rest.war         sra-purpletools-webui.war
ROOT     sra-purpletools-rest.war

And after deploying VECTR, the docker container should expand each of those wars into its own folder, like this:

root@144 ~/sra2/app/wars $ ls 
cas      sra-auth-rest         sra-purpletools-rest.war
cas.war  sra-auth-rest.war     sra-purpletools-webui
ROOT     sra-purpletools-rest  sra-purpletools-webui.war
thebleucheese commented 5 years ago

Also FYI, there is a video guide for the installation process here:

https://www.youtube.com/watch?v=SU6ZFwVyx7E

qq854051086 commented 5 years ago

Thank you very much for your help. Now the project is available. It's really a zip file problem. download it manually and reinstall it after importing it.

thebleucheese commented 5 years ago

I should have realized this stated during the github outage, we encountered issues with dependency downloads around that time. Thanks for sticking with it and getting it installed.