{"id":13530985,"url":"https://github.com/nsmfoo/dicompot","last_synced_at":"2025-04-01T19:31:02.018Z","repository":{"id":55508292,"uuid":"270395268","full_name":"nsmfoo/dicompot","owner":"nsmfoo","description":"DICOM Honeypot","archived":false,"fork":false,"pushed_at":"2023-09-22T20:44:10.000Z","size":124,"stargazers_count":24,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-02T17:36:35.894Z","etag":null,"topics":["deception","dicom","docker","go","honeypot","medical","medical-imaging"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsmfoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-07T18:27:17.000Z","updated_at":"2024-10-23T23:05:04.000Z","dependencies_parsed_at":"2024-01-03T04:02:44.288Z","dependency_job_id":null,"html_url":"https://github.com/nsmfoo/dicompot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmfoo%2Fdicompot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmfoo%2Fdicompot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmfoo%2Fdicompot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsmfoo%2Fdicompot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsmfoo","download_url":"https://codeload.github.com/nsmfoo/dicompot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246700158,"owners_count":20819830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deception","dicom","docker","go","honeypot","medical","medical-imaging"],"created_at":"2024-08-01T07:00:58.760Z","updated_at":"2025-04-01T19:30:57.004Z","avatar_url":"https://github.com/nsmfoo.png","language":"Go","funding_links":[],"categories":["Honeypots"],"sub_categories":[],"readme":"# Dicompot - A Digital Imaging and Communications in Medicine (DICOM) Honeypot\n\n# Credit where credit is due\n\nThis project is built up on the great work done by GRAIL (https://github.com/grailbio/go-netdicom)\n\n# About\n\n- Dicompot is a fully functional DICOM server with a twist. \n- Please note: C-STORE attempts are blocked for your \"protection\", but logged. \n\n# Install\n(Ubuntu 22.04 LTS)\n\n- sudo apt install golang\n- git clone https://github.com/nsmfoo/dicompot.git\n- cd dicompot\n- go install server/dicompot.go\n\n(macos 13.5+)\n- brew install golang\n- git clone https://github.com/nsmfoo/dicompot.git\n- cd dicompot\n- go install server/dicompot.go\n\n# Run\n\n- cd $HOME/go/bin\n- ./dicompot \n- ./dicompot -help, for the different options that is available\n- The server will log to the console and also to a file called dicompot.log (JSON)\n- Works well with screen, if you like to run it in the background\n\n# Test\n\n- findscu -P -k PatientName=\"*\" IP PORT\n- getscu -P -k PatientName=\"*\" IP PORT\n\nBoth commands are part of the DICOM Toolkit - DCMTK\n\n- Also tested with Horos (https://horosproject.org/) \n\n# Docker\n## Build a Dicompot Docker Image from this repository\n1. `git clone https://github.com/nsmfoo/dicompot.git`\n\n2. `cd dicompot`\n\n3. `docker build -t dicompot:latest .`\n\n## Run the container\n`docker run --rm --read-only --net=\"host\" --name=\"dicompot\" --detach --tty --interactive --publish=11112:11112 dicompot:latest`\n### Docker Engine command-line arguments explained\n* `--rm`: remove container after it stops\n* `--read-only`: mount container as read-only\n* `--net=\"host\"`: set container network as `host`\n* `--name=\"dicompot\"`: set container name as `dicompot`\n* `--detach`: run in the background *hint: use `docker attach dicompot` to re-attach STDIN/STDOUT back to the container*\n* `--tty`: allocate a pseudo-tty for the container\n* `--interactive`: make the container interactive\n\n## View logs \n* `docker logs dicompot`\n\n# Known Issues\n\nIf the server instance, terminates with the message: \"signal: killed\", try increasing the amount of avalible memory and try again.\n(dmesg, should give you more information)\n\n# ToDo\n\n- ~~Enforce AET (So people can brute force away)~~\n- Auto generate meta data in DICOM files (for use in dicompot)\n- Block certain IP's (Geo based, amount of connections etc)\n- Code cleanup\n\n\n# Note\n\nI'm in no way a DICOM expert. If you find something strange... it probably is. This is also the first GO code I ever touched, so in the same way, if something looks strange it probably is. That being said any help and/or suggestions are more than welcome. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsmfoo%2Fdicompot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsmfoo%2Fdicompot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsmfoo%2Fdicompot/lists"}