Skip to main content

teler

Metadata

  • Identifier: teler
  • Maturity: Production

Categories

  • Web Intrusion Detection System

Description

teler is a real-time intrusion detection and threat alert based on web log. Targets only nginx installed on Ubuntu.

Actions

IdentifierDescriptionExpected Parameters Keys and Types
start_processStart teler's process
stop_processStop teler's process

Information

IdentifierDescriptionTypePropertiesDefault Value
alerts_countTotal number of generated alertsINTEGERMETRIC, READ_ONLY
architectureBinary's architectureSTRINGCONFIGURATION, READ_ONLY, AUTO_GENERATED_BEFORE_INSTALL
commandCommand used to create teler's process and crontabSTRINGCONFIGURATION, READ_ONLY, AUTO_GENERATED_BEFORE_INSTALL
daily_alerts_countTotal number of alerts generated todayINTEGERMETRIC, READ_ONLY
fail2ban_integrationWhether the integration with Fail2ban is activatedBOOLEANCONFIGURATION, MANDATORY, WITH_DEFAULT_VALUE, NON_DEDUCTIBLE, WRITABLEFalse
log_formatFormat in which the messages are loggedSTRINGCONFIGURATION, MANDATORY, WITH_DEFAULT_VALUE, NON_DEDUCTIBLE, WRITABLE$remote_addr $remote_user - [$time_local] "$request_method $request_uri $request_protocol" $status $body_bytes_sent "$http_referer" "$http_user_agent"
log_locationLocation in which nginx logs messagesSTRINGCONFIGURATION, MANDATORY, WITH_DEFAULT_VALUE, NON_DEDUCTIBLE, WRITABLE/var/log/nginx/access.log
portPort on which the web server runsINTEGERCONFIGURATION, MANDATORY, WITH_DEFAULT_VALUE, NON_DEDUCTIBLE, WRITABLE80
top_attackersTop 3 attackersLIST_OF_STRINGSMETRIC, READ_ONLY
top_attacks_typesTop 3 types of web attacksLIST_OF_STRINGSMETRIC, READ_ONLY
versionInstalled versionSTRINGMETRIC, READ_ONLY

Logs

IdentifierDescriptionLocationFormat
json_alertsGenerated alerts in JSON format/var/log/teler.json.logJSON
text_alertsGenerated alerts in plaintext format/var/log/teler.text.logTEXT

Tests

IdentifierDescriptionType
bad_user_agent_detectionChecks if teler detects a request with a bad user agent.SECURITY
internet_accessChecks if host has Internet access.REQUIREMENT
nginx_activeChecks if nginx is installed and the service is active.REQUIREMENT
presenceChecks if a file is present.PRESENCE
process_runningChecks if teler's process is running.OPERATIONAL
supported_architectureChecks if there is any build for this architecture.REQUIREMENT

References