bump qHoneypots to latest master, adjust config for commands input

This commit is contained in:
t3chn0m4g3 2022-06-07 11:19:34 +00:00
parent 8993f59001
commit a28dfec046
4 changed files with 77 additions and 29 deletions

View file

@ -54,7 +54,8 @@ RUN apk -U --no-cache add \
cd /opt/ && \ cd /opt/ && \
git clone https://github.com/qeeqbox/honeypots && \ git clone https://github.com/qeeqbox/honeypots && \
cd honeypots && \ cd honeypots && \
git checkout bee3147cf81837ba7639f1e27fe34d717ecccf29 && \ # git checkout bee3147cf81837ba7639f1e27fe34d717ecccf29 && \
git checkout 473541e1ac45d9a4df98098a5f8fee32a2fddc03 && \
cp /root/dist/setup.py . && \ cp /root/dist/setup.py . && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install . && \ pip3 install . && \

View file

@ -4,9 +4,7 @@
"syslog_address":"", "syslog_address":"",
"syslog_facility":0, "syslog_facility":0,
"postgres":"", "postgres":"",
"db_options":[ "db_options":[],
],
"filter":"", "filter":"",
"interface":"", "interface":"",
"honeypots":{ "honeypots":{
@ -26,7 +24,8 @@
"password":"anonymous", "password":"anonymous",
"log_file_name":"ftp.log", "log_file_name":"ftp.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"httpproxy":{ "httpproxy":{
"port":8080, "port":8080,
@ -35,7 +34,8 @@
"password":"admin", "password":"admin",
"log_file_name":"httpproxy.log", "log_file_name":"httpproxy.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"http":{ "http":{
"port":80, "port":80,
@ -45,7 +45,7 @@
"log_file_name":"http.log", "log_file_name":"http.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10, "backup_count":10,
"options":"fix_get_client_ip" "options":["capture_commands","fix_get_client_ip"]
}, },
"https":{ "https":{
"port":443, "port":443,
@ -54,7 +54,8 @@
"password":"admin", "password":"admin",
"log_file_name":"https.log", "log_file_name":"https.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands","fix_get_client_ip"]
}, },
"imap":{ "imap":{
"port":143, "port":143,
@ -63,7 +64,8 @@
"password":"123456", "password":"123456",
"log_file_name":"imap.log", "log_file_name":"imap.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"mysql":{ "mysql":{
"port":3306, "port":3306,
@ -72,7 +74,8 @@
"password":"123456", "password":"123456",
"log_file_name":"mysql.log", "log_file_name":"mysql.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"pop3":{ "pop3":{
"port":110, "port":110,
@ -81,7 +84,8 @@
"password":"123456", "password":"123456",
"log_file_name":"pop3.log", "log_file_name":"pop3.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"postgres":{ "postgres":{
"port":5432, "port":5432,
@ -90,7 +94,8 @@
"password":"123456", "password":"123456",
"log_file_name":"postgres.log", "log_file_name":"postgres.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"redis":{ "redis":{
"port":6379, "port":6379,
@ -99,7 +104,8 @@
"password":"", "password":"",
"log_file_name":"redis.log", "log_file_name":"redis.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"smb":{ "smb":{
"port":445, "port":445,
@ -108,7 +114,8 @@
"password":"123456", "password":"123456",
"log_file_name":"smb.log", "log_file_name":"smb.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"smtp":{ "smtp":{
"port":25, "port":25,
@ -116,8 +123,9 @@
"username":"root", "username":"root",
"password":"123456", "password":"123456",
"log_file_name":"smtp.log", "log_file_name":"smtp.log",
"max_bytes":0, "max_bytes":10000,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"socks5":{ "socks5":{
"port":1080, "port":1080,
@ -126,7 +134,8 @@
"password":"admin", "password":"admin",
"log_file_name":"socks5.log", "log_file_name":"socks5.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"ssh":{ "ssh":{
"port":22, "port":22,
@ -135,7 +144,8 @@
"password":"123456", "password":"123456",
"log_file_name":"ssh.log", "log_file_name":"ssh.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"telnet":{ "telnet":{
"port":23, "port":23,
@ -144,7 +154,8 @@
"password":"123456", "password":"123456",
"log_file_name":"telnet.log", "log_file_name":"telnet.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"vnc":{ "vnc":{
"port":5900, "port":5900,
@ -153,7 +164,8 @@
"password":"123456", "password":"123456",
"log_file_name":"vnc.log", "log_file_name":"vnc.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"elastic":{ "elastic":{
"port":9200, "port":9200,
@ -162,7 +174,8 @@
"password":"123456", "password":"123456",
"log_file_name":"elastic.log", "log_file_name":"elastic.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"mssql":{ "mssql":{
"port":1433, "port":1433,
@ -171,7 +184,8 @@
"password":"", "password":"",
"log_file_name":"mssql.log", "log_file_name":"mssql.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"ldap":{ "ldap":{
"port":389, "port":389,
@ -180,7 +194,8 @@
"password":"123456", "password":"123456",
"log_file_name":"ldap.log", "log_file_name":"ldap.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"ntp":{ "ntp":{
"port":123, "port":123,
@ -189,7 +204,8 @@
"password":"123456", "password":"123456",
"log_file_name":"ntp.log", "log_file_name":"ntp.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"memcache":{ "memcache":{
"port":11211, "port":11211,
@ -198,7 +214,8 @@
"password":"123456", "password":"123456",
"log_file_name":"memcache.log", "log_file_name":"memcache.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"oracle":{ "oracle":{
"port":1521, "port":1521,
@ -207,7 +224,8 @@
"password":"123456", "password":"123456",
"log_file_name":"oracle.log", "log_file_name":"oracle.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
}, },
"snmp":{ "snmp":{
"port":161, "port":161,
@ -216,7 +234,28 @@
"password":"123456", "password":"123456",
"log_file_name":"snmp.log", "log_file_name":"snmp.log",
"max_bytes":0, "max_bytes":0,
"backup_count":10 "backup_count":10,
"options":["capture_commands"]
},
"sip":{
"port":5060,
"ip":"0.0.0.0",
"username":"",
"password":"",
"log_file_name":"sip.log",
"max_bytes":0,
"backup_count":10,
"options":["capture_commands"]
},
"irc":{
"port":6667,
"ip":"0.0.0.0",
"username":"",
"password":"",
"log_file_name":"irc.log",
"max_bytes":10000,
"backup_count":10,
"options":["capture_commands"]
} }
}, },
"custom_filter":{ "custom_filter":{

View file

@ -26,18 +26,24 @@ services:
- "53:53/udp" - "53:53/udp"
- "80:80" - "80:80"
- "110:110" - "110:110"
- "123:123"
- "143:143" - "143:143"
- "161:161"
- "389:389" - "389:389"
- "443:443" - "443:443"
- "445:445" - "445:445"
- "1080:1080" - "1080:1080"
- "1433:1433" - "1433:1433"
- "1521:1521"
- "3306:3306" - "3306:3306"
- "5060:5060"
- "5432:5432" - "5432:5432"
- "5900:5900" - "5900:5900"
- "6379:6379" - "6379:6379"
- "6667:6667"
- "8080:8080" - "8080:8080"
- "9200:9200" - "9200:9200"
- "11211:11211"
image: "dtagdevsec/honeypots:2204" image: "dtagdevsec/honeypots:2204"
read_only: true read_only: true
volumes: volumes:

View file

@ -31,9 +31,9 @@ services:
- "53:53/udp" - "53:53/udp"
- "80:80" - "80:80"
- "110:110" - "110:110"
- "123:123/udp" - "123:123"
- "143:143" - "143:143"
- "161:161/udp" - "161:161"
- "389:389" - "389:389"
- "443:443" - "443:443"
- "445:445" - "445:445"
@ -41,9 +41,11 @@ services:
- "1433:1433" - "1433:1433"
- "1521:1521" - "1521:1521"
- "3306:3306" - "3306:3306"
- "5060:5060"
- "5432:5432" - "5432:5432"
- "5900:5900" - "5900:5900"
- "6379:6379" - "6379:6379"
- "6667:6667"
- "8080:8080" - "8080:8080"
- "9200:9200" - "9200:9200"
- "11211:11211" - "11211:11211"