Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Plazmaz/MongoDB-HoneyProxy
A honeypot proxy for mongodb. When run, this will proxy and log all traffic to a dummy mongodb server.
https://github.com/Plazmaz/MongoDB-HoneyProxy
honeypot information-security infosec mongo mongodb proxy security
Last synced: 9 days ago
JSON representation
A honeypot proxy for mongodb. When run, this will proxy and log all traffic to a dummy mongodb server.
- Host: GitHub
- URL: https://github.com/Plazmaz/MongoDB-HoneyProxy
- Owner: Plazmaz
- License: gpl-3.0
- Created: 2017-01-13T23:29:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T01:16:32.000Z (over 1 year ago)
- Last Synced: 2024-10-29T14:21:10.767Z (10 days ago)
- Topics: honeypot, information-security, infosec, mongo, mongodb, proxy, security
- Language: JavaScript
- Homepage:
- Size: 43.9 KB
- Stars: 90
- Watchers: 8
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-honeypots - MongoDB-HoneyProxy - MongoDB honeypot proxy. (Honeypots)
- awesome-honeypots - MongoDB-HoneyProxy - MongoDB honeypot proxy. (Honeypots)
- fucking-awesome-honeypots - MongoDB-HoneyProxy - MongoDB honeypot proxy. (Honeypots)
README
**DO NOT USE THIS WITH A REAL DATABASE**
## Intro
MongoDB-HoneyProxy was created in response to the ['MongoDB Apocalypse'](https://www.bleepingcomputer.com/news/security/mongodb-apocalypse-is-here-as-ransom-attacks-hit-10-000-servers/)## Pre-requisites:
* `sudo apt-get install nodejs npm gcc g++`
* You'll also need to install MongoDB for this to function, as this project works as a logging proxy.## Setup
* Create a MongoDB database. Some good dummy data can be found [here](https://raw.githubusercontent.com/mongodb/docs-assets/primer-dataset/primer-dataset.json). Another good tool is [JSON Generator](http://www.json-generator.com/), which generates fake json that can then be converted to bson.
* Then, install the project
~~~~
git clone https://github.com/Plazmaz/MongoDB-HoneyProxy.git
cd MongoDB-HoneyProxy
npm install
~~~~
* To run the project, simply use `node index.js`## Docker version
If you want to have a Docker version of that, you can run the following programs:
1) Build a docker image:
```
docker build --tag="changeme" .
```
2) Run a docker image:```
docker run -d -p 27017:27017 --name="changeme" changeme
```If you want to get inside of the container run this:
```
docker exec -it changeme bash
```