Services
Description
Services will emulate or proxy specific traffic.
Emulated services will have programmed responses to requests while proxy services will proxy incoming traffic to the director defined host.
Syntax
[service.<you_choose_the_nickname_of_the_service>]
type="<official_name_of_the_service>"
# .. arguments
[[port]]
port=["<protocol>/<port>",..]
services=["nickname_of_the_service"]
How many?
You can define as many services as you want.
Arguments
Each service has its own arguments.
You can use your own one in the configuration file or get the default one. You can find the default one of each service in their configuration documentation..
[[port]]
Each service needs to have a port defined. You need to configure that in the config file.
To be more specific, it is each opened port which needs a service to be defined.
port=["<protocol>/<port>",..]
services=["nickname_of_the_service_1","nickname_of_the_service_2",..]
For one or several ports port=["tcp/8022","tcp/8023",..]
, you can define one or several services.
When the HoneyTrap server is starting, it will download from your config file the list of services you defined for a/several port(s). Then, it will choose the most suitable service and link this service to the port.
Example
A example for configuring a ssh-simulator:
[service.ssh-simulator01]
type="ssh-simulator"
credentials=["root:root", "root:password"]
[[port]]
ports=["tcp/8022", "tcp/8023"]
services=["ssh-simulator01"]
Services available
Service | Linux | MacOS |
---|---|---|
adb | yes | yes |
copy | yes | yes |
counterstrike | yes | yes |
cwmp | yes | yes |
dns | yes | yes |
dns-proxy | yes | yes |
echo | yes | yes |
elasticsearch | yes | yes |
eos | yes | yes |
ethereum | yes | yes |
ftp | yes | yes |
http | yes | yes |
https | yes | yes |
http-proxy | yes | yes |
ipp | yes | yes |
ldap | yes | yes |
memcached | yes | yes |
redis | yes | yes |
smtp | yes | yes |
ssh-authentication | yes | yes |
ssh-jail | yes | yes |
ssh-simulator | yes | yes |
ssh-proxy | yes | yes |
telnet | yes | yes |
vnc | yes | yes |
tftp | yes | yes |