Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Installation Instructions and Troubleshooting for Windows + New SharpHound Flags #646

Closed
wants to merge 2 commits into from

Conversation

LuemmelSec
Copy link
Contributor

I ran across several issues lately, often times related to the neo4j setup on Windows systems.

I documented and added them accordingly with screenshots and solutions.

Also did an update to the OpenJDK installation and an alternative to the Oracle implementation.

1
2
3
4

Lastely created a video where everything is covered as well:

https://www.youtube.com/watch?v=PgjtvxA-MMk

I ran across several issues lately, often times related to the neo4j setup.

I documented and added them accordingly with screenshots and solutions.

Also did an update to the OpenJDK installation and an alternative to the Oracle implementation.

Lastely created a video where everything is covered as well.
@github-actions
Copy link

github-actions bot commented Feb 13, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@LuemmelSec
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@martinsohn
Copy link

Great instructions! A few notes after following it:

  • The NEO4J_CONF and NEO4J_HOME variables are not present in my setup, yet no errors were outputted and Neo4j works.
  • The directory which the Neo4j zip file is unzipped to and installed from ("install-service") will be the directory of the Neo4j services. It can be recommended to unzipped it to "Program Files\Neo4j" prior to service installation.

@LuemmelSec
Copy link
Contributor Author

Great instructions! A few notes after following it:

  • The NEO4J_CONF and NEO4J_HOME variables are not present in my setup, yet no errors were outputted and Neo4j works.
  • The directory which the Neo4j zip file is unzipped to and installed from ("install-service") will be the directory of the Neo4j services. It can be recommended to unzipped it to "Program Files\Neo4j" prior to service installation.

Thanks for looking through the doc, much appreciated.
The two environment variables do not get auto created. I ran into the issues several times, always in Commando VMs. I included screenshots in the final documentation, but didn't run into the problem during the final recording of the video. However in any case creating the two variables made things work. I guess it is due to the old neo4j installation that comes shipped with the CommandoVM might be the culprit. If everything works fine, even better. But if you run into it, the solution is here.

I everytime have something like c:\tools where I put all my stuff. But I think that is something of a personal decision.
I can suggest that, but are there any benefits to explictly put it there?

@martinsohn
Copy link

are there any benefits to explictly put it there [program files]?

For your every day security professional running it in a VM, no. But yes for orgs who deploy it on prod servers, as Program Files is write protected from low priv users.

@LuemmelSec LuemmelSec changed the title Added Installation Instructions and Troubleshooting for Windows Added Installation Instructions and Troubleshooting for Windows + New SharpHound Flags Feb 18, 2023
@LuemmelSec
Copy link
Contributor Author

I seem to be to dumb to split PRs.
So this PR also includes the changes needed to comply to the SharpHound addition for the Local Admin Session Enumeration:
BloodHoundAD/SharpHoundCommon#47
BloodHoundAD/SharpHound#40

image

@JonasBK
Copy link
Contributor

JonasBK commented May 3, 2023

Hey @LuemmelSec,

Thanks for this super awesome contribution!

We will release a small 4.3.1 update very soon and would like to have your changes to the Windows installation included. We also want to merge in your new SharpHound flags but need more time to review the changes, so that will be in a later release.

Would you be able to split this PR into two, such that the changes to the Windows installation can be merged into 4.3.1?

@LuemmelSec
Copy link
Contributor Author

Hi @JonasBK I tried to do so :)
Please see PRs
664: #664
665: #665

Cheers
Dan

@JonasBK
Copy link
Contributor

JonasBK commented May 3, 2023

Awesome, Dan!
Thanks a lot for this great contribution! It is super helpful with the video as well :)

@JonasBK JonasBK closed this May 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants