thinkst / opencanary

Modular and decentralised honeypot
http://opencanary.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 360 forks source link

git service not generating logs #178

Closed defensivedepth closed 2 years ago

defensivedepth commented 2 years ago

Using latest code.

I have opencanary setup with git enabled on 9418 on 192.168.x.x.

I run the following from my local system:

git init

git remote add origin dresden@192.168.x.x:/project/project.git

git pull origin master --> this connects successfully and asks for my password. I give it a bogus pasword and it gives me a permission denied.

Going over to the opencanary log, there is no record of this failed attempt. I am seeing records from other services like failed FTP logins, etc.

--Edit - (realized later it was connecting to SSH on 22)

defensivedepth commented 2 years ago

So I reread the docs :)

Apparently it only alerts on a clone of the repo. I am currently testing this again.