emalderson / ThePhish

ThePhish: an automated phishing email analysis tool
GNU Affero General Public License v3.0
1.16k stars 174 forks source link

[Question] ThePhish Several Questions #22

Open asterictnl-lvdw opened 2 years ago

asterictnl-lvdw commented 2 years ago

I have some questions about ThePhish:

Thanks in advance.

emalderson commented 2 years ago

Hi, let me answer your questions:

asterictnl-lvdw commented 2 years ago

Thank you for the answer.

asterictnl-lvdw commented 2 years ago

Update (28-07-2022): ThePhish4Win seems to work as all the containers did start up after some tiny changes in the docker-compose.yml file. I will check if I can get TheHive5, Cortex and Misp latest version to work as well.

asterictnl-lvdw commented 2 years ago

Update 28-07-2022:14:45 - I have managed to update all the packages (excluded redis and mysql for now as they were not required to be updated). I stumble upon the following error at Cortex. Cortex does open en no errors are displayed:

[error] o.e.s.a.MultiAuthSrv - Authentication failure cortex | org.elastic4play.AuthenticationError: Authentication using API key is not supported cortex | at org.elastic4play.services.AuthSrv.authenticate(UserSrv.scala:48) cortex | at org.elastic4play.services.AuthSrv.authenticate$(UserSrv.scala:47) cortex | at org.thp.cortex.services.LocalAuthSrv.authenticate(LocalAuthSrv.scala:15) cortex | at org.elastic4play.services.auth.MultiAuthSrv.$anonfun$authenticate$3(MultiAuthSrv.scala:58) cortex | at org.elastic4play.services.auth.MultiAuthSrv$$anonfun$$nestedInanonfun$forAllAuthProvider$1$1.applyOrElse(MultiAuthSrv.scala:43) cortex | at org.elastic4play.services.auth.MultiAuthSrv$$anonfun$$nestedInanonfun$forAllAuthProvider$1$1.applyOrElse(MultiAuthSrv.scala:41) cortex | at scala.concurrent.Future.$anonfun$recoverWith$1(Future.scala:417) cortex | at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41) cortex | at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) cortex | at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)

@emalderson maybe you know the solution. It seems like an API related error. I haven't changed anything in the .conf files.

Thanks in advance.

Update: It seems to be as well existing in the V1 of ThePhish (with your current version modules)

asterictnl-lvdw commented 2 years ago

Update 28-07-2022:14:50 -

The following modules have been updated:

In the application.conf of TheHive changed the following:

changed the localfs.location to /opt/data

changed the play.enabled to scalligraph.modules

The rest I did not update (yet).

Pages seem to open on Docker for Windows so that is good, I need to test the actual procedure of setting up ThePhish later.

asterictnl-lvdw commented 2 years ago

I will test the Windows version out later if anything is not working I will report it back. I did not have the time to test it yet. If it works all then I will comit it first to my own repo and then if you would like I could to a PReq. so you can review it.

~LvdW

Additional question: I also saw TheHive4py now works with TheHive5 so there will be no more problems with that, could you confirm that?