├── .dockerignore ├── .env.example ├── .github └── workflows │ └── docker.yaml ├── .gitignore ├── .license-checker.json ├── .pre-commit-config.yaml ├── .prettierrc ├── Dockerfile ├── Examples └── simple-springboot-app │ ├── README.md │ ├── init.yaml │ └── templates │ ├── .DS_Store │ ├── 404.yaml │ ├── actuators.yaml │ ├── api_articles.yaml │ ├── api_authors.yaml │ ├── api_login.yaml │ ├── default.yaml │ └── resources │ ├── 404.html │ ├── actuators_beans.json │ ├── actuators_configprops.json │ ├── actuators_env.json │ ├── articles.json │ ├── favicon.ico │ ├── user-api.json │ └── users.json ├── LICENSE ├── LICENSE-3rdparty.csv ├── NOTICE ├── README.md ├── bin ├── hash-honeypot └── hash-honeypot-dev.sh ├── cache └── .gitignore ├── cli ├── generate.js └── run.js ├── docker-compose.yaml ├── docs ├── config.md ├── hash-intro.png ├── routing.md └── views.md ├── index.js ├── libs ├── app.js ├── config.js ├── honeytraps │ ├── cookie.js │ ├── exposed-files.js │ ├── files │ │ ├── changelog.txt │ │ ├── dotenv │ │ ├── readme.txt │ │ └── robots.txt │ └── robots-txt.js ├── init.js ├── log.js ├── randomizer.js ├── simulator.js └── template.js ├── package.json └── profiles ├── default ├── init.yaml └── templates │ ├── 404.yaml │ ├── api.yaml │ ├── articles.yaml │ ├── cgi-bin.yaml │ ├── default.yaml │ └── resources │ ├── articles.html │ ├── index.html │ └── user-api.json ├── empty ├── .DS_Store ├── init.yaml └── templates │ ├── .DS_Store │ └── default.yaml └── spring-boot-example ├── .DS_Store ├── README.md ├── init.yaml └── templates ├── .DS_Store ├── 404.yaml ├── actuators.yaml ├── api_articles.yaml ├── api_authors.yaml ├── api_login.yaml ├── default.yaml └── resources ├── 404.html ├── actuators_beans.json ├── actuators_configprops.json ├── actuators_env.json ├── articles.json ├── favicon.ico ├── user-api.json └── users.json /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/docker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/.github/workflows/docker.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | ignore 4 | hash.log -------------------------------------------------------------------------------- /.license-checker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/.license-checker.json -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Dockerfile -------------------------------------------------------------------------------- /Examples/simple-springboot-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/README.md -------------------------------------------------------------------------------- /Examples/simple-springboot-app/init.yaml: -------------------------------------------------------------------------------- 1 | name: 'spring-boot' 2 | port: 3000 3 | headers: 4 | -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/.DS_Store -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/404.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/404.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/actuators.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/actuators.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/api_articles.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/api_articles.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/api_authors.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/api_authors.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/api_login.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/api_login.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/default.yaml -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/404.html -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/actuators_beans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/actuators_beans.json -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/actuators_configprops.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/actuators_configprops.json -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/actuators_env.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/actuators_env.json -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/articles.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/articles.json -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/favicon.ico -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/user-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/user-api.json -------------------------------------------------------------------------------- /Examples/simple-springboot-app/templates/resources/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/Examples/simple-springboot-app/templates/resources/users.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE-3rdparty.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/LICENSE-3rdparty.csv -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/README.md -------------------------------------------------------------------------------- /bin/hash-honeypot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../index.js'); -------------------------------------------------------------------------------- /bin/hash-honeypot-dev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | nodemon ../index.js -------------------------------------------------------------------------------- /cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /cli/generate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/cli/generate.js -------------------------------------------------------------------------------- /cli/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/cli/run.js -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /docs/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/docs/config.md -------------------------------------------------------------------------------- /docs/hash-intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/docs/hash-intro.png -------------------------------------------------------------------------------- /docs/routing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/docs/routing.md -------------------------------------------------------------------------------- /docs/views.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/docs/views.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/index.js -------------------------------------------------------------------------------- /libs/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/app.js -------------------------------------------------------------------------------- /libs/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/config.js -------------------------------------------------------------------------------- /libs/honeytraps/cookie.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/cookie.js -------------------------------------------------------------------------------- /libs/honeytraps/exposed-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/exposed-files.js -------------------------------------------------------------------------------- /libs/honeytraps/files/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/files/changelog.txt -------------------------------------------------------------------------------- /libs/honeytraps/files/dotenv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/files/dotenv -------------------------------------------------------------------------------- /libs/honeytraps/files/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/files/readme.txt -------------------------------------------------------------------------------- /libs/honeytraps/files/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/files/robots.txt -------------------------------------------------------------------------------- /libs/honeytraps/robots-txt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/honeytraps/robots-txt.js -------------------------------------------------------------------------------- /libs/init.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/init.js -------------------------------------------------------------------------------- /libs/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/log.js -------------------------------------------------------------------------------- /libs/randomizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/randomizer.js -------------------------------------------------------------------------------- /libs/simulator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/simulator.js -------------------------------------------------------------------------------- /libs/template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/libs/template.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/package.json -------------------------------------------------------------------------------- /profiles/default/init.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/init.yaml -------------------------------------------------------------------------------- /profiles/default/templates/404.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/404.yaml -------------------------------------------------------------------------------- /profiles/default/templates/api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/api.yaml -------------------------------------------------------------------------------- /profiles/default/templates/articles.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/articles.yaml -------------------------------------------------------------------------------- /profiles/default/templates/cgi-bin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/cgi-bin.yaml -------------------------------------------------------------------------------- /profiles/default/templates/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/default.yaml -------------------------------------------------------------------------------- /profiles/default/templates/resources/articles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/resources/articles.html -------------------------------------------------------------------------------- /profiles/default/templates/resources/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/resources/index.html -------------------------------------------------------------------------------- /profiles/default/templates/resources/user-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/default/templates/resources/user-api.json -------------------------------------------------------------------------------- /profiles/empty/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/empty/.DS_Store -------------------------------------------------------------------------------- /profiles/empty/init.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/empty/init.yaml -------------------------------------------------------------------------------- /profiles/empty/templates/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/empty/templates/.DS_Store -------------------------------------------------------------------------------- /profiles/empty/templates/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/empty/templates/default.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/.DS_Store -------------------------------------------------------------------------------- /profiles/spring-boot-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/README.md -------------------------------------------------------------------------------- /profiles/spring-boot-example/init.yaml: -------------------------------------------------------------------------------- 1 | honeypot-name: 'spring-boot' 2 | port: 3000 3 | headers: 4 | -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/.DS_Store -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/404.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/404.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/actuators.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/actuators.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/api_articles.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/api_articles.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/api_authors.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/api_authors.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/api_login.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/api_login.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/default.yaml -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/404.html -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/actuators_beans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/actuators_beans.json -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/actuators_configprops.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/actuators_configprops.json -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/actuators_env.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/actuators_env.json -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/articles.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/articles.json -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/favicon.ico -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/user-api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/user-api.json -------------------------------------------------------------------------------- /profiles/spring-boot-example/templates/resources/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DataDog/HASH/HEAD/profiles/spring-boot-example/templates/resources/users.json --------------------------------------------------------------------------------