Was thinking of creating a honeypot

3 years ago by ᗪᗩᗰᑎ to c/selfhosted

but before I do, I figured I'd ask if anyone's aware of any tools/software that covers my basic needs of setting something basic that may alert me if there are any intruders in the network?

Needs:

  1. Fake ssh login that can trigger a script so I can take care of the rest.
  2. Fake network share (cifs/samba) that can trigger a script if anything tries to access it.

Would be great if there are any docker images I can just pull, make some minor edits, and run.

Thanks!

blarg_dunsen 31 points 3 years ago

People were close, but what you actually want is OpenCanary. It fakes SSH and Samba services and can be configured to alert you when triggered.

path: 0 3129057, hotness: undefined, score: 31, children: 0
notexecutive 22 points 3 years ago

....why would you do this?

path: 0 3127383, hotness: undefined, score: 22, children: 7
KLISHDFSDF 28 points 3 years ago

I plan on making it available inside my own network, not public. This way if someone makes it past my security, I at least have something that might "catch" them in the act and disable my network so I can intervene. Just another security layer.

path: 0 3127383 3128962, hotness: undefined, score: 28, children: 1
chandz05 3 points 3 years ago

I have never thought about doing this... But this is actually such a good idea. I'm probably going to set this up myself

path: 0 3127383 3128962 3151235, hotness: undefined, score: 3, children: 0
lilShalom 20 points 3 years ago

If you place this on the inside of your network and it triggers, youre either compromised or a scanner/ person triggered it.

path: 0 3127383 3129376, hotness: undefined, score: 20, children: 1
finestnothing 1 point 3 years ago
path: 0 3127383 3129376 3305613, hotness: undefined, score: 1, children: 0
recursive_recursion 15 points 3 years ago

one of the best ways to protect your friends is to leave juicy bait that only zero-sum people would try to steal

plus wasting malicious user's time also provides multiple benefits such as reducing the prevalence of spam and DDoS attacks

path: 0 3127383 3127842, hotness: undefined, score: 15, children: 0
FuntyMcCraiger 9 points 3 years ago

Do you not feel the itch of curiosity?

path: 0 3127383 3127850, hotness: undefined, score: 9, children: 0
Smk 3 points 3 years ago

FOR SCIENCE!1!!

path: 0 3127383 3137224, hotness: undefined, score: 3, children: 0
waspentalive 7 points 3 years ago

I am not affiliated with them, but you can get a trigger file (Canary Token) from the people at Thinkst. I quickly looked around their site, and did not see how, but their adds say you can get them for free, without having to buy their canary hardware device.

path: 0 3128270, hotness: undefined, score: 7, children: 1
Racle 5 points 3 years ago path: 0 3128270 3128645, hotness: undefined, score: 5, children: 0
anzo 6 points 3 years ago path: 0 3135550, hotness: undefined, score: 6, children: 0
lilShalom 5 points 3 years ago

You can also use something called canary tokens. You would put a file on a share that triggers an action to alert you.

path: 0 3128583, hotness: undefined, score: 5, children: 0
Bristlerock 4 points 3 years ago

The Honeynet Project, related to the SANS Institute when I last checked, has a lot of resources on honeypots that are worth a look, if you haven't already.

path: 0 3135138, hotness: undefined, score: 4, children: 0
electromage 4 points 3 years ago

I'd like to create a funnypot

path: 0 3128022, hotness: undefined, score: 4, children: 0
iMeddles 1 point 3 years ago

Thinkst have also published opencanary which you can run yourself and contains a decent subset of what their hardware canaries run, including SSH and cifs.

path: 0 3219635, hotness: undefined, score: 1, children: 0
matejc 1 point 3 years ago path: 0 3127558, hotness: undefined, score: 1, children: 0
lilShalom -1 points 3 years ago

Honeypy

path: 0 3128561, hotness: undefined, score: -1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
62965
6794
5683

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...