{"id":415899,"date":"2026-12-05T10:19:51","date_gmt":"2026-12-05T10:19:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/frankwall-perimeter-defense-ueba-security\/"},"modified":"2026-12-05T10:19:26","modified_gmt":"2026-12-05T10:19:26","slug":"frankwall","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/frankwall\/","author":23612530,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.1.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"FrankWall \u2013 Perimeter Defense & UEBA Security","header_author":"POYA.IT \u2013 better place for your data","header_description":"Perimeter defense, TOTP two-factor authentication, active decoys, core & content integrity monitor, and per-user behavioral UEBA perceptron for WordPress.","last_updated":"2026-12-05 10:19:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.poya.it\/frankwall","header_author_uri":"https:\/\/www.poya.it","rating":5,"author_block_rating":0,"active_installs":0,"downloads":154,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"poyait26","date":"2026-12-05 10:19:26","revision":3846015}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[262246],"plugin_tags":[9211,1174,15756,600,9225],"plugin_category":[54],"plugin_contributors":[297841],"plugin_business_model":[],"class_list":["post-415899","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-2fa","plugin_tags-firewall","plugin_tags-login-protection","plugin_tags-security","plugin_tags-totp","plugin_category-security-and-spam-protection","plugin_contributors-poyait26","plugin_committers-poyait26"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/frankwall.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>FrankWall is a lightweight, self-contained security and behavioral analytics suite engineered by <strong>POYA.IT<\/strong> (<em>better place for your data<\/em> \u2014 <a href=\"https:\/\/www.poya.it\">https:\/\/www.poya.it<\/a>) for WordPress administrators who want deterministic perimeter protection without external cloud subscriptions.<\/p>\n\n<p>Key features:<\/p>\n\n<ul>\n<li><strong>Per-User Behavioral Perceptron (UEBA):<\/strong> Evaluates 15 behavioral and contextual signals (impossible travel speed, Haversine distance, ASN\/ISP changes, browser\/OS shifts, screen resolution, timezone mismatches, login form timing, non-linear multi-signal device shifts, and mid-session hijacking detection) with L2-regularized SGD feedback training and TOTP step-up authentication.<\/li>\n<li><strong>Two-Factor Authentication (TOTP RFC 6238):<\/strong> Built-in Google Authenticator compatible 2FA with iOS\/Android-ready QR code, dashboard onboarding widget, Sudo Mode step-up, and mobile deep-link (<code>otpauth:\/\/<\/code>) support.<\/li>\n<li><strong>Perimeter Shield &amp; Active Decoys:<\/strong> HTTP method filtering, scanner User-Agent blocking, query-string SQLi\/traversal shield, XML-RPC suppression, canary honey-paths, <code>robots.txt<\/code> spider trap, and optional stack\/path camouflage.<\/li>\n<li><strong>Rate Limiting, Login Slug &amp; CIDR Whitelist:<\/strong> Brute-force lockout by IP and username, custom login URL slug, idle session timeout, unauthenticated admin escalation guard, and permanent IPv4\/IPv6 CIDR safelist.<\/li>\n<li><strong>Core &amp; Content File Integrity Monitor (FIM):<\/strong> Compares <code>wp-admin<\/code>, <code>wp-includes<\/code>, and root core files against official WordPress.org MD5 checksums, tracks local <code>wp-content<\/code> baseline snapshots, and scans uploads\/modified files for heuristic web shell signatures.<\/li>\n<li><strong>Interactive WGS84 Radar &amp; Telemetry:<\/strong> Optional opt-in WGS84 Leaflet threat map with cross-filtering drill-down, 14-day Plotly.js attack timeline with live auto-refresh, searchable engagement logs, Threat &amp; Countermeasure Matrix, CSV export, and executive email digests with circular peak-hour and top-URI analytics.<\/li>\n<\/ul>\n\n<h3>Architecture &amp; File Structure<\/h3>\n\n<p>FrankWall is built following a modular, single-responsibility architecture with zero external CDN dependencies:<\/p>\n\n<pre><code>frankwall\/\n\u251c\u2500\u2500 frankwall.php                       # Plugin bootstrap, autoloader, lifecycle hooks, and module orchestrator\n\u251c\u2500\u2500 uninstall.php                       # Clean removal of plugin options, user meta, transients, cron hooks, and .htaccess markers\n\u251c\u2500\u2500 readme.txt                          # WordPress.org documentation, external services disclosure, and licensing\n\u251c\u2500\u2500 assets\/\n\u2502   \u251c\u2500\u2500 css\/                            # Admin stylesheets\n\u2502   \u251c\u2500\u2500 js\/                             # Admin, authentication, and login telemetry scripts\n\u2502   \u2514\u2500\u2500 vendor\/                         # Self-hosted open-source libraries (Leaflet, Plotly.js, qrcode-generator)\n\u251c\u2500\u2500 languages\/                          # Gettext translation template (.pot) for the 'frankwall' text domain\n\u251c\u2500\u2500 templates\/                          # Executive HTML email alert &amp; digest templates\n\u2514\u2500\u2500 includes\/\n    \u251c\u2500\u2500 class-frankwall-config.php      # Tab-aware settings management, threat registry, storage schema, CIDR safelist, and JSON backup\n    \u251c\u2500\u2500 class-frankwall-geo.php         # Client IP extraction, opt-in WGS84\/ASN\/ISP\/timezone lookup (24h cache), and Haversine math\n    \u251c\u2500\u2500 class-frankwall-telemetry.php   # Aggregated counters, 30-day daily series, WGS84\/URI event log, GD charts, and WP-Cron digest\n    \u251c\u2500\u2500 class-frankwall-perimeter.php   # Early perimeter checks: HTTP methods, scanner User-Agents, query shield, XML-RPC, decoys, GeoIP\n    \u251c\u2500\u2500 class-frankwall-camouflage.php  # Optional path cloaking via wp_final_output_buffer, DOM\/HTTP footprint removal, and decoy headers\n    \u251c\u2500\u2500 class-frankwall-hardening.php   # Comment suppression, user enumeration blocks, double-extension filter, privilege guard, headers\n    \u251c\u2500\u2500 class-frankwall-auth.php        # Custom login slug, honeypot, rate limiting, RFC 6238 TOTP 2FA, dashboard widget, Sudo Mode\n    \u251c\u2500\u2500 class-frankwall-ueba.php        # Per-user 15-feature adaptive perceptron, decayed EMA baseline, session binding, and SGD training\n    \u251c\u2500\u2500 class-frankwall-fim.php         # Core checksum verification, wp-content baseline snapshots, and heuristic web shell scanner\n    \u251c\u2500\u2500 class-frankwall-table.php       # Native WP_List_Table implementation for searchable\/filterable engagement logs and bulk bans\n    \u2514\u2500\u2500 class-frankwall-admin.php       # Admin interface, tabbed Rules of Engagement, Threat Matrix, Help &amp; Consulting guide, AJAX handlers&lt;h3&gt;External services&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p>By default, FrankWall performs <strong>zero external network calls<\/strong> during normal operation. External services are used only when explicitly opted-in by an administrator or when manually running an integrity scan:<\/p>\n\n<ol>\n<li><p><strong>ipwho.is (<code>https:\/\/ipwho.is\/<\/code>) \u2014 Disabled by default (Explicit Opt-In Required)<\/strong><\/p>\n\n<ul>\n<li><strong>Purpose:<\/strong> When explicitly enabled by the site administrator, resolves public IP addresses into country codes, ASN\/ISP identifiers, timezones, and approximate WGS84 coordinates for the GeoIP login filter, threat map, and UEBA behavioral checks.<\/li>\n<li><strong>Data sent:<\/strong> The visitor or administrator public IP address, cached locally for 24 hours to minimize requests. Nothing is sent while opt-in is disabled.<\/li>\n<li><strong>Provider policies:<\/strong> <a href=\"https:\/\/ipwhois.io\/privacy\">Terms &amp; Privacy<\/a><\/li>\n<\/ul><\/li>\n<li><p><strong>OpenStreetMap Tile Servers (<code>https:\/\/tile.openstreetmap.org\/<\/code>) \u2014 Disabled by default (Explicit Opt-In Required)<\/strong><\/p>\n\n<ul>\n<li><strong>Purpose:<\/strong> When the external GeoIP &amp; Map Tiles opt-in is enabled by the administrator, loads map tiles inside the admin dashboard widget and Telemetry WGS84 radar.<\/li>\n<li><strong>Data sent:<\/strong> Standard HTTP tile requests from the administrator's browser (IP address and User-Agent). Nothing is loaded while opt-in is disabled.<\/li>\n<li><strong>Provider policies:<\/strong> <a href=\"https:\/\/osmfoundation.org\/wiki\/Privacy_Policy\">OpenStreetMap Privacy Policy<\/a><\/li>\n<\/ul><\/li>\n<li><p><strong>WordPress.org Checksums API (<code>https:\/\/api.wordpress.org\/core\/checksums\/1.0\/<\/code>)<\/strong><\/p>\n\n<ul>\n<li><strong>Purpose:<\/strong> Retrieves official MD5 file checksums for the installed WordPress version and locale when an administrator runs the Core File Integrity Monitor scan.<\/li>\n<li><strong>Data sent:<\/strong> Installed WordPress version string and site locale.<\/li>\n<li><strong>Provider policies:<\/strong> <a href=\"https:\/\/wordpress.org\/about\/privacy\/\">WordPress.org Privacy Policy<\/a><\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Third-Party Libraries<\/h3>\n\n<p>This plugin bundles the following open-source libraries locally in <code>assets\/vendor\/<\/code>:<\/p>\n\n<ul>\n<li><strong>Leaflet 1.9.4<\/strong> (<code>leaflet.js<\/code>, <code>leaflet.css<\/code>) \u2014 BSD-2-Clause License. Source: https:\/\/github.com\/Leaflet\/Leaflet<\/li>\n<li><strong>Plotly.js 2.35.2<\/strong> (<code>plotly.min.js<\/code>) \u2014 MIT License. Unminified source: https:\/\/github.com\/plotly\/plotly.js<\/li>\n<li><strong>qrcode-generator 1.4.4<\/strong> (<code>qrcode.js<\/code>) \u2014 MIT License. Source: https:\/\/github.com\/kazuhikoarase\/qrcode-generator<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>frankwall<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Navigate to <strong>FrankWall \u2192 Rules of Engagement<\/strong> to configure your security rules.<\/li>\n<li>Enable Two-Factor Authentication in <strong>Users \u2192 Profile<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20frankwall%20send%20any%20data%20to%20external%20clouds%20without%20my%20knowledge%3F\"><h3>Does FrankWall send any data to external clouds without my knowledge?<\/h3><\/dt>\n<dd><p>No. All behavioral models (UEBA), TOTP secrets, logs, and <code>wp-content<\/code> baselines are stored exclusively in your local WordPress database. External GeoIP lookups (<code>ipwho.is<\/code>) and OpenStreetMap map tiles are <strong>disabled by default<\/strong> and require explicit administrator opt-in. The only other external request is the official <code>api.wordpress.org<\/code> checksum endpoint when an administrator triggers a Core FIM scan.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20forget%20my%20custom%20login%20url%20slug%20or%20get%20locked%20out%3F\"><h3>What happens if I forget my custom login URL slug or get locked out?<\/h3><\/dt>\n<dd><p>You can add your static IP or CIDR subnet to the Safelist, or temporarily rename the <code>frankwall<\/code> folder via FTP\/SSH to restore the default <code>\/wp-login.php<\/code> access.<\/p><\/dd>\n<dt id=\"is%20frankwall%20compatible%20with%20nginx%20and%20apache%3F\"><h3>Is FrankWall compatible with Nginx and Apache?<\/h3><\/dt>\n<dd><p>Yes. Core perimeter rules, UEBA, TOTP 2FA, and FIM work on both Nginx and Apache. Optional <code>.htaccess<\/code> rules (for <code>\/uploads\/<\/code> PHP blocking and path camouflage) are written cleanly inside <code># BEGIN FrankWall<\/code> \/ <code># END FrankWall<\/code> markers only when enabled.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Replaced legacy <code>ob_start()<\/code> output buffering in <code>FrankWall_Camouflage<\/code> exclusively with WordPress 6.9+ native <code>wp_final_output_buffer<\/code>.<\/li>\n<li>Hardened <code>FrankWall_Perimeter::unlock_key()<\/code> with <code>sanitize_key()<\/code> and strict <code>frankwall_lock_<\/code> prefix validation before deleting transients.<\/li>\n<li>Added dedicated nonce verification (<code>frankwall_login_sensors_nonce<\/code>) on client-side login telemetry fields and deferred UEBA behavioral baseline updates to <code>wp_login<\/code> after both password and TOTP verification succeed.<\/li>\n<li>Improved TOTP <code>otpauth:\/\/<\/code> issuer sanitization and QR quiet-zone rendering for iOS Google Authenticator compatibility, and added a mandatory 2FA onboarding dashboard widget for administrators.<\/li>\n<li>Added <code>uninstall.php<\/code>, unified threat category registry in <code>FrankWall_Config<\/code>, and circular peak-hour + Top 5 targeted URI analytics in executive weekly digests.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Made external GeoIP lookups (<code>ipwho.is<\/code>) and OpenStreetMap tile loading strictly opt-in (disabled by default) in compliance with WordPress.org privacy guidelines.<\/li>\n<li>Enqueued all admin, authentication, and login telemetry scripts\/styles via native WordPress APIs (<code>wp_enqueue_script<\/code>, <code>wp_enqueue_style<\/code>, <code>wp_add_inline_script<\/code>).<\/li>\n<li>Improved path resolution to support custom <code>WP_CONTENT_DIR<\/code>, <code>WP_PLUGIN_DIR<\/code>, theme root, and uploads directories outside <code>ABSPATH<\/code>.<\/li>\n<li>Hardened CIDR prefix validation on settings save and JSON import, enforced active IP lockouts at the early perimeter stage, and aligned output buffering with WordPress native standards.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added boardroom-ready HTML email digest &amp; alert templates in <code>templates\/<\/code> (with <code>wp-content\/uploads\/frankwall-templates\/<\/code> override support) and local PHP GD embedded PNG charts (<code>CID<\/code>).<\/li>\n<li>Added cryptographic <code>SameSite=Strict<\/code> session canary cookie (<code>__Host-frankwall_bind<\/code>), Client Hints verification, REST\/AJAX session binding, optional subnet lock, and TOTP Sudo Mode.<\/li>\n<li>Added universal query-string (<code>?slug<\/code>) routing support for custom login URLs across Nginx and Apache.<\/li>\n<li>Refined File Integrity Monitor (FIM) to ignore harmless <code>index.php<\/code> directory stubs in <code>\/uploads\/<\/code> and normalize CRLF\/localized core text files.<\/li>\n<li>Added \"Protected by FrankWall\" shield badge to the login form.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release for the WordPress.org Plugin Directory by POYA.IT \u2013 better place for your data.<\/li>\n<\/ul>","raw_excerpt":"Perimeter defense, TOTP two-factor authentication, decoy traps, core integrity monitor, and per-user behavioral UEBA perceptron for WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/415899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=415899"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/poyait26"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=415899"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=415899"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=415899"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=415899"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=415899"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=415899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}