Threat reportMalwareTL-2026-1881
Octagon Android RAT — Fake Bahrain Civil Defense App Targets Mobile Endpoints via Multi-Stage Payload
Zimperium zLabs and K7 Labs report Octagon, an emerging multi-stage Android RAT distributed via fake 'BH Alert' Civil Defense apps impersonating Bahrain government emergency-communication services. The malware uses RC4/AES-256-GCM-encrypted payloads loaded via DexClassLoader, abuses Accessibility Services through a deceptive 7-step onboarding process, and establishes malicious VPN tunnels for traffic interception.
Key facts
| Identifiers | TL-2026-1881 |
|---|---|
| Also known as | OctagonPanel, Ward RAT, BH Alert impersonator, Fake Bahrain Civil Defense App |
| Severity | CRITICAL |
| Affected products | Android Android OS (devices that allow sideloading) |
| Malware | Octagon, OctagonPanel, Trojan, Ward |
| Tools | FenrirVpnService |
| MITRE ATT&CK techniques | T1406 Obfuscated Files or Information, T1407 Download New Code at Runtime, T1417 Input Capture, T1418 Software Discovery, T1429 Audio Capture, T1430 Location Tracking, T1437 Application Layer Protocol, T1464 Network Denial of Service, T1513 Screen Capture, T1541 Foreground Persistence, T1572 Protocol Tunneling, T1573 Encrypted Channel and 8 more in the attack flow |
| Motivation | ESPIONAGE |
| Target sectors | public-safety, civil-defense, government administration, general-public, telecoms |
| Target regions | Middle East, bahrain |
| Detection rules | 9 (1 shown free) |
| Sources | 6 cited sources |
Detection coverage
As of 2026-08-05, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-1881 across Splunk SPL, Microsoft KQL and Sigma, covering 47 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: Octagon Post-Exploitation — Accessibility Service Abuse, DexClassLoader, and Multi-Layer Persistence Chain
Detects the Octagon RAT post-exploitation chain on Android endpoints: Accessibility Service enablement by untrusted apps (the 7-step coercion wizard walkthrough), DexClassLoader dynamic DEX loading from disguised font-file assets (ZfChs.ttf→ZfChs.dex), multi-stage package installation chain (com.old.stem.Ematterassist → com.kit.kitty → biz.rely.melt.Hvoicemanual → com.kisa.octagonpanel), VPN service creation with FenrirVpnService establishing 10.0.0.1/24 tunnel, boot-receiver registration for BOOT_COMPLETED persistence, and the guard/:guard process architecture for removal resistance.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1626, T1407, T1429, T1624, T1603, T1541, T1406, T1628, T1629, T1417, T1412
- Data sources: android_logcat, mobile_device_management, android_package_manager, process_creation
- Severity: critical
- Confidence: high
Splunk SPL
index=android_logs source=logcat ("AccessibilityService" OR "DexClassLoader" OR "dex2oat" OR "FenrirVpnService" OR "BOOT_COMPLETED" OR "GuardService" OR ":guard")
| eval threat_chain=case(
match(message,"(?i)(com\.kit\.kitty|com\.kisa\.octagonpanel|com\.old\.stem\.Ematterassist|biz\.rely\.melt\.Hvoicemanual)"),"octagon_package",
match(message,"(?i)(AccessibilityService|onAccessibilityEvent|KEYGUARD|LOCKSCREEN)"),"accessibility_abuse",
match(message,"(?i)(DexClassLoader|dex2oat|ZGdSEl\.jar|ZfChs\.ttf|ZfChs\.dex)"),"dynamic_loading",
match(message,"(?i)(FenrirVpn|VpnService\.Builder|10\.0\.0\.1)"),"vpn_tunnel",
match(message,"(?i)(BOOT_COMPLETED|boot_receiver|android\.intent\.action\.BOOT_COMPLETED)"),"boot_persistence",
match(message,"(?i)(GuardService|\:guard|ServiceWatchdog|anti_remover)"),"removal_resistance",
1=1,"other"
)
| search threat_chain!="other"
| stats values(message) as messages, dc(threat_chain) as chain_depth, min(_time) as first_seen, max(_time) as last_seen by host, process_name, threat_chain
| where chain_depth>=2
| eval duration=tostring(last_seen-first_seen,"duration")
| sort + host, - chain_depth
| table host, process_name, threat_chain, chain_depth, messages, first_seen, last_seen, durationMicrosoft KQL
let OctagonPackages = dynamic(["com.kit.kitty", "com.kisa.octagonpanel", "com.old.stem.Ematterassist", "biz.rely.melt.Hvoicemanual"]);
let PostExploitEvents = DeviceEvents
| where Timestamp > ago(7d)
| where ActionType in ("AndroidAccessibilityServiceEnabled", "AndroidPackageInstalled", "AndroidVpnServiceStarted", "AndroidBootCompleted", "AndroidAccountSyncAdded")
| extend PackageName = tostring(AdditionalFields.PackageName)
| extend ActionDetail = tostring(AdditionalFields.ActionDetail)
| where PackageName has_any (OctagonPackages) or ActionDetail contains_any ("Accessibility", "VpnService", "octagon", "guard");
let ProcessEvents = DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName in~ ("dex2oat", "dalvikvm", "app_process")
| where ProcessCommandLine contains_any ("ZGdSEl.jar", "ZfChs.dex", "ZfChs.ttf", "octagon", "kitty");
PostExploitEvents
| union ProcessEvents
| project Timestamp, DeviceName, ActionType, PackageName, FileName, ProcessCommandLine, ReportId
| order by Timestamp descSigma
title: Octagon Post-Exploitation Chain — Accessibility Abuse, Dynamic Loading, and Persistence
id: 1b2c3d4e-5f6a-7b8c-9d0e-1f2a3b4c5d6e
status: experimental
description: Detects the Octagon Android RAT post-exploitation chain including Accessibility Service enablement by untrusted apps, DexClassLoader dynamic DEX loading from disguised font-file assets, the multi-stage package installation chain, FenrirVpnService tunnel creation, and multi-layer persistence (boot receivers, guard processes, fake account sync).
references:
- https://labs.k7computing.com/index.php/octagon-technical-analysis-of-a-fake-bahrain-civil-defense-application/
- https://dreamgroup.com/blog/how-a-fake-bahrain-civil-defense-app-turns-a-phone-into-a-listening-post
- https://healsecurity.com/android-rat-survives-reboots-using-watchdog-services-and-boot-receivers/
author: Threadlinqs Team
date: 2026-08-05
tags:
- attack.execution
- attack.t1407
- attack.t1429
- attack.persistence
- attack.t1624
- attack.t1603
- attack.t1541
- attack.defense-evasion
- attack.t1406
- attack.t1628
- attack.t1629
- attack.privilege-escalation
- attack.t1626
- attack.tool.octagon_rat
logsource:
category: application
product: android
definition: 'Android device logcat output ingested through MDM/UEM syslog pipeline or ATMs/Kiosk logging. Requires process-level and accessibility-service logging enabled on managed devices.'
detection:
selection_packages:
SelectionPackageNames:
- 'com.kit.kitty'
- 'com.kisa.octagonpanel'
- 'com.old.stem.Ematterassist'
- 'biz.rely.melt.Hvoicemanual'
selection_accessibility:
SelectionAccessibility:
- 'AccessibilityService'
- 'onAccessibilityEvent'
- 'KEYGUARD'
selection_dynamic_loading:
SelectionDex:
- 'DexClassLoader'
- 'dex2oat'
- 'ZGdSEl.jar'
- 'ZfChs.*'
selection_vpn:
SelectionVpn:
- 'FenrirVpnService'
- 'VpnService.Builder'
- '10.0.0.1'
selection_persistence:
SelectionBoot:
- 'BOOT_COMPLETED'
- 'GuardService'
- 'ServiceWatchdog'
- 'anti_remover'
condition: selection_packages or (selection_accessibility and selection_packages) or (selection_dynamic_loading and selection_packages) or selection_vpn or selection_persistence
falsepositives:
- Legitimate VPN applications (corporate VPNs, commercial VPN clients)
- Accessibility Service use by screen-reader apps (TalkBack, etc.) — verify package signing certificate
- Antivirus/MTD solutions that analyze DEX files at runtime
- Enterprise MDM agents that register boot receivers for compliance checks
level: critical
Known false positives:
- Legitimate Accessibility Service usage by accessibility apps (TalkBack, Voice Access) — verify package signing certificates against known-good hashes
- Corporate VPN clients establishing tunnels — exclude known enterprise VPN packages
- Development/enterprise MDM agents performing legitimate DEX precompilation on staging devices
- Sandbox analysis environments processing Octagon samples in isolation
Tuning notes: Requires logcat telemetry ingestion from managed Android devices — ensure MDM policy enables log forwarding. Add known-corporate VPN and accessibility-app package names to exclusion list. For higher fidelity, correlate three or more chain elements within a 2-hour window on the same device (Accessibility enabled + unknown-source install + boot receiver registration). Monitor for dex2oat invocation with ZGdSEl.jar argument as a strong indicator.
- Octagon Initial Access — Phishing Domain Resolution and Unofficial APK Installation via SideLoad · unlock with TL Creds
- Octagon Post-Exploitation — Accessibility Persistence, Dynamic Code Loading, and Keylogging in Defender for Endpoint · unlock with TL Creds
- Octagon C2 Detection — Unencrypted Beacon to [indicator]:4444 via VPN Tunnel in Defender for Endpoint · unlock with TL Creds
- Octagon Phishing Infrastructure Access and Sideloaded BH Alert APK Installation · unlock with TL Creds
- Octagon Persistence and Defense Evasion — Multi-Stage Payload Architecture, Guard Process, and Anti-Removal · unlock with TL Creds
- Octagon C2 Beacon with Guardian Protocol — Encrypted Channel and VPN Tunnel Bypass · unlock with TL Creds
- Octagon Phishing Infrastructure — Fake BH Alert Domain Resolution and APK Sideloading · unlock with TL Creds
- Octagon C2 Detection — Encrypted Beacon to [indicator]:4444 with VPN Blackhole Traffic Interception · unlock with TL Creds
Indicators of compromise
As of 2026-08-05, Threadlinqs Intelligence tracks 47 indicators of compromise for TL-2026-1881.
Sample indicators (3 of 47)
- IP address:
209.99.184[.]50 - Domain:
alertbh[.]info - File hash:
974974cb3771f3511b28056d6170d30536eefe022304eeaac4e47d4b598f76b0
Defanged, TLP:CLEAR. Full set of 47 indicators: unlock with TL Creds.
Community OSINT corroboration
4 of this threat's indicators have also been reported by the open-source security community, which observed at least one of them before this report was published. Community sightings are unverified and are kept separate from Threadlinqs' curated indicators. Indicator values, reporters and campaign linkage are available to authenticated Red-tier users.
Technical analysis
Capabilities include keylogging, credential theft, SMS/contacts/call-log harvesting, phishing overlays, persistent C2 on a non-standard port, and multi-layer persistence (boot receivers, watchdog services, 30-minute account sync).
Octagon is a multi-stage Android Remote Access Trojan first publicly named by K7 Computing Labs (author: Baran S., published 2026-08-03) and independently documented by Zimperium zLabs the following day. The campaign impersonates the official 'BH Alert' civil-defense/emergency application used by Bahrain's Ministry of Interior and UNDRR, and is delivered through a phishing infrastructure of fake Google Play pages and spoofed government download sites that serve a 20 MB 'BH-Alert.apk' outside official app stores. The primary dropper (package com.kit.kitty) creates a launcher icon mimicking the legitimate MyGov – Bahrain app and walks victims through a 7-step setup wizard that coerces several dangerous permissions: Accessibility Service, VPN, 'Install Unknown Apps', and standard SMS/contacts grants.
The malware employs a four-stage decoupled architecture. Stage 0 (com.old.stem.Ematterassist) is an outer RC4 shell (key 'ct') that injects the BH Alert installer DEX; Stage 1 (com.kit.kitty) is the lure that coerces permissions and installs the child APK; Stage 2 (biz.rely.melt.Hvoicemanual) is a nested RC4 shell (key 'NYrGT') that injects the core RAT DEX; Stage 3 (com.kisa.octagonpanel) is the operational RAT. Payload DEX is encrypted as a disguised font file (assets/ZfChs.ttf), decrypted on-device via an RC4 routine, written to private storage as ZfChs.dex, and loaded at runtime with DexClassLoader — resolving manifest class declarations that do not exist in the primary classes.dex to defeat static analysis. End-to-end C2 traffic is protected with AES-256-GCM (256-bit key derived via SHA-256 of passphrase 'octagon-default-key-change-me', 12-byte nonce, 128-bit auth tag), with build ID 'DevLRT' and protocol version 2.
After obtaining VPN permission, the FenrirVpnService establishes a malicious VPN tunnel assigning 10.0.0.1/24 with default routes and advertised DNS, but processPacket always returns null — routing all device traffic except an allow-listed set of apps (messengers, social apps, the malware packages) into a blackhole, enabling network-layer traffic interception and hijacking while the device appears functional for excluded apps. The child RAT is installed in-memory via Android PackageInstaller sessions without writing a standalone APK to disk, then launches com.kisa.octagonpanel, which generates and dynamically loads ZGdSEl.jar via dex2oat.
OctagonPanel's surveillance capabilities include: Accessibility-based keylogging of lock-screen PINs/passwords/patterns (LockscreenPasswordCapture, stored in captured_passwords.json with a 200-entry rolling history), SMS/WAP interception with default-SMS-app registration (SmsReceiver, WapPushReceiver, HeadlessSmsSendService), contact and call-log harvesting, screen capture via Accessibility and MediaProjection, real-time UI-overlay phishing (GateOverlayActivity launching on foreground-package match against an operator-controlled gate list), and remote UI control (node actions, package launch, click triggers, watchers, screen dimming). Stolen data is persisted in a local SQLite database (octagon_ward.db) for operation during network interruptions and synced to C2 later.
Persistence is defense-in-depth: boot receivers (BOOT_COMPLETED), a ServiceWatchdog combining AlarmManager, WorkManager and expedited restart paths, a GuardService in a separate :guard process, an anti-removal monitor (anti_remover/anti_remover_moni), and a SyncHelper that registers a fake 'OctagonPanel' account via Android AccountManager/SyncAdapter framework to wake the malware every 30 minutes — preserving runtime state, C2 config, and removal resistance across reboots. C2 is 209.99.184.50:4444 (non-standard port), with a secondary launcher host www.murlauncher.com/fenrir-launcher and a Guardian protocol (types 48-65) that can swap C2 infrastructure on demand. Attribution is unconfirmed; DreamGroup notes Russian-speaking actor indicators (Cyrillic strings, 'kisa' shared across package names) but explicitly states there is no nation-state evidence.
MITRE ATT&CK techniques by tactic:
defense-evasion
T1406 Obfuscated Files or Information; T1407 Download New Code at Runtime; T1628 Hide Artifacts; T1629 Impair Defenses
collection
T1417 Input Capture; T1429 Audio Capture; T1636.004 SMS Messages
Discovery
Collection
T1430 Location Tracking; T1513 Screen Capture; T1636.002 Call Log
command-and-control
T1437 Application Layer Protocol
Impact
T1464 Network Denial of Service
Persistence
T1541 Foreground Persistence; T1603 Scheduled Task/Job; T1624 Event Triggered Execution
Command and Control
T1572 Protocol Tunneling; T1573 Encrypted Channel
privilege-escalation
T1626 Abuse Elevation Control Mechanism
Initial Access
Remediation
Patches
- No CVE — keep Android OS and Play Protect updated to the current version
Immediate actions
- Block C2 IP 209.99.184.50 and all Octagon phishing domains (alertbh*, alert-bh*, bh-security*, bh-alert*, playgoogle*) at the perimeter and DNS
- Deploy mobile threat defense (MTD) with behavioral/anomaly detection; block connections to known Octagon C2 and hosting domains
- Instruct users to uninstall any 'BH Alert' app not installed from the official store and change credentials from a trusted device
Workarounds
- Disable Accessibility Service grants to untrusted apps
- Review and remove unsigned/unofficial apps granted Accessibility, VPN, SMS, or Install-Unknown-Apps permissions
Longer-term hardening
- Hunt for the kitty-to-octagonpanel install chain followed by accessibility/SMS/dialer role changes
- Detect VPNs with default routes but zero forwarded traffic excluding the VPN app plus one other package
- Correlate 'Updating...' foreground notification with the Ward foreground service and :guard process
- Restrict sideloading (Install Unknown Apps) and enforce enterprise app approval policies
Affected and fixed versions
- Android — Android OS (devices that allow sideloading)
Vulnerable versions: All Android versions that allow installation from unknown sources
Fixed in: No vendor patch — mitigation is endpoint protection and user awareness
Timeline
- Octagon RAT sample (package com.kisa.octagonpanel, SHA-256 c6528aba...) submitted to Triage sandbox; behavioral analysis confirms runtime JAR loading via dex2oat, AccessibilityService abuse, foreground/guard/sync service persistence, and C2 locked-ioc-30:4444.
- K7 Computing Labs (author Baran S.) publishes the initial technical analysis of the fake Bahrain Civil Defense application, naming the malware 'Octagon' and documenting the multi-stage dynamic-loading design.
- HEAL Security documents Octagon's reboot-resilient persistence (boot receivers, paired watchdog services, 30-minute fake 'OctagonPanel' account sync); Dark Reading covers the campaign targeting Bahrain during a period of regional tension.
- Zimperium zLabs publishes 'Rapid Response: Zimperium Secures Mobile Endpoints Against Octagon Android Malware', describing the RC4-encrypted payload, DexClassLoader, Accessibility 7-step onboarding, and malicious VPN tunnel; claims detection preceded K7's public disclosure.
- DreamGroup publishes a deep-dive detailing the four-stage architecture (Ematterassist/kitty/Hvoicemanual/octagonpanel), RC4 and AES-256-GCM encryption passphrase 'octagon-default-key-change-me', the Guardian C2 protocol, VPN blackhole mechanism, and the full domain/hash IOC set.
- Zimperium MTD/zDefend continue to detect Octagon via behavior-based ML models (anomalous dynamic code execution, Accessibility abuse, C2/domain blocking) without requiring signature updates; campaign remains active.
Sources cited
- Rapid Response: Zimperium Secures Mobile Endpoints Against Octagon Android Malware zimperium.com · Advisory · 2026-08-04
- Octagon: Technical Analysis of a Fake Bahrain Civil Defense Application (K7 Labs) labs.k7computing.com · Research · 2026-08-03
- How a Fake Bahrain Civil-Defense App Turns a Phone Into a Listening Post (DreamGroup) dreamgroup.com · Research · 2026-08-04
- Android RAT Survives Reboots Using Watchdog Services and Boot Receivers (HEAL Security) healsecurity.com · Research · 2026-08-04
- Triage Analysis: Octagon sample 260728-hy1fda1ybw tria.ge · Research · 2026-07-28
- Fake Bahrain Alert App Deploys Android Surveillance Malware (Dark Reading) Dark Reading · News · 2026-08-04
Previous and next in malware
Drafted by the Threadlinqs research pipeline from 6 sources; published ; last updated —.