Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Smith
222f85ba22 Add confidence level to honeypots and threat feed
This change introduces a ConfidenceLevel configuration setting for honeypot servers and the IoC struct in the threat feed database. Each IP in the database now maintains a confidence level. Whenever a honeypot calls UpdateIoC, the confidence level of the IP is incremented by the configued amount for the honeypot.
2024-10-27 08:41:06 -07:00
Ryan Smith
d6433aa9ff Apply restrictive permissions when saving keys
This change sets the Unix file permissions to `0600` for generated private keys saved to disk, ensuring that ownly the owner can access the keys. While private keys for the honeypot servers are mostly insignificant, this change aligns with typical private key permissions.
2024-10-25 09:42:49 -07:00
Ryan Smith
d17f6fffaa Rename the project to Deceptifeed 2024-10-21 17:18:09 -07:00
Ryan Smith
8728b8ecb6 Rename sensor_* log fields to server_*
This changes renames the log fields: sensor_ip, sensor_port, and sensor_name to: server_ip, server_port, and server_name.
2024-10-21 09:46:40 -07:00
Ryan Smith
57954f8c81 Add option to control sending to threat feed
This change adds a new XML element, sendToThreatFeed, to the configuration for servers to control whether interactions with the server should update the threat feed.
2024-10-20 21:09:58 -07:00
Ryan Smith
b08431ecf0 Enable individual logging for each honeypot server
This change moves the slog.Logger from the Config struct to the Server struct, allowing each honeypot server to have its own logger. Each server can now specify a custom log file path, defaulting to the main log path in the Config if none is provided.
2024-10-19 22:08:48 -07:00
Ryan Smith
c7bb4b7b28 first commit 2024-10-16 11:48:13 -07:00