PT AF Cloud Uses Machine Learning to Detect Shifts in Web Attack Patterns from Millions of WAF Events
Positive Technologies has published a detailed technical overview of the anomaly detection engine inside PT AF Cloud, its cloud-hosted web application firewall. The system processes tens of millions of WAF events daily and reduces them to an average of one notification per client per week, highlighting moments when the character of attacks against a tenant changes noticeably.
Traditional volume-based thresholds frequently miss attacks that begin during periods of declining legitimate traffic or that introduce new attack vectors without dramatically increasing total event counts. PT AF Cloud therefore constructs a profile for every tenant consisting of the proportional distribution of triggered protection rules. These profiles are compared against a weighted historical baseline using Jensen-Shannon distance, a symmetric measure bounded between 0 and 1 that remains finite even when a previously unseen rule appears.
Two parallel detectors run on different time scales. The hourly detector uses a short baseline of several hours to surface rapid changes such as the sudden appearance of SQL-injection or directory-traversal rules with hundreds of distinct payloads. The daily detector compares 24-hour profiles against several preceding days and catches slower shifts that never dominate any single hour. Both detectors combine an absolute distance threshold with a tenant-specific z-score to avoid flooding noisy or low-volume tenants with alerts.
When an anomaly is confirmed, the service automatically prepares an email containing the percentage change in event volume, the top five rules for both the current and baseline periods, the count of unique attack vectors, and direct links into the PT AF web interface filtered to the relevant time window. Analysis of 519 alerts sent over two weeks showed that 69 percent corresponded to either an active attack or a protection rule firing on legitimate traffic after an application change.
Internally, events are exported from PT AF Cloud into a Security Lakehouse where Apache Airflow orchestrates hourly profile recalculation and anomaly scoring. Separate delivery tasks ensure that transient notification-service outages do not cause duplicate messages.
Related articles
Developer Creates Personal Task Manager Allowing Claude Code and OpenCode Agents to Autonomously Execute Marked Tasks
A developer has built a personal task management system at shar8.app that integrates directly with AI coding agents including Claude Code, Codex CLI, and OpenCode through the Model Context Protocol. Tasks marked with an 'Agent' flag are automatically picked up by scheduled agent runs, executed locally on the user's machine, and results are written back into the task notes for human review. The system supports both browser-based OAuth authentication and persistent bearer tokens for headless cron or CLI usage, with strict separation between human-initiated and agent-initiated actions. Security measures include treating task text as untrusted data rather than instructions, disabling all tools by default, and requiring explicit allow-lists for any external actions such as web search. The implementation uses a custom MCP server exposing fifteen specific tools for listing, creating, editing, and delegating tasks, while a companion plugin for Claude Code handles scheduled execution via native system schedulers like launchd and systemd timers. The author emphasizes that agents never assign work to themselves and that final task closure always remains with the human user.
T-Bank Warns Customers of Payment and Transfer Outages
On November 3, T-Bank notified users that payments and transfers may fail due to ongoing technical issues. The bank placed an in-app message stating that the problems are being fixed. Clients confirmed the disruption through reports to Interfax, noting that the online banking interface displays the warning upon login. The outage affects only payments and transfers, while other banking services remain available. No details were provided regarding the root cause, the number of impacted users, or an estimated time for full recovery. Monitoring service DETECTOR404 also recorded the incident, aligning with user complaints and the bank's official notice.
Rostelecom Refactors InfoSec Careers: Matching Employee Skills to Evolving Business Priorities
Rostelecom's information security block developed a systematic approach to reassess employee expertise and redirect talent to new roles when business structures change rapidly. In one case, an architect hired for a specific team was reassigned after the unit was disbanded, initially moving to a similar position that did not fully align with his broader competencies. HR-business partner Olga Lapshina examined the specialist's full background, including prior work in audits, methodology development, regulatory documentation, university teaching, and scientific research, plus strong mentoring abilities with younger staff. These skills matched the needs of the methodology department, leading to a transfer supported by an individual development plan and a mentor via the internal Tochka Rosta platform. Within two months the employee contributed improvements that accelerated preliminary InfoSec audits by 30 percent and risk assessments by 20 percent while expanding threat scenario coverage by 10 percent. The initiative demonstrates Rostelecom's emphasis on horizontal career movement and retention of experienced professionals through structured career tracks.
How to Avoid Becoming the Hero of 'My Program Deleted 800 GB': Safe Recursive Deletion in Bash and Python
A recent Habr article examines dangerous patterns in recursive file deletion scripts that have caused massive data loss incidents, including an 800 GB wipe triggered by Telegram Desktop on Windows. The piece analyzes classic mistakes such as empty variables in rm commands and extra spaces that turned single paths into multiple destructive arguments, referencing the 2015 Steam Linux bug and the 2011 Bumblebee installer error. It provides hardened Bash templates using set -euo pipefail, ${VAR:?} checks, realpath validation, and --one-file-system flags to prevent deletion of forbidden directories or symlinked targets. The Python section introduces a safe_rmtree wrapper that enforces root boundaries, rejects symlinks, uses resolve(strict=True), and checks shutil.rmtree.avoids_symlink_attacks before proceeding. Additional recommendations include dry-run modes, marker files, temporary directory usage, and logging to make deletion operations auditable and reversible where possible.