Hornbill
- Type
- Spyware
- Capabilities
- ExfiltrationDefense evasionReconnaissance
- Delivery
- Lure
- Platforms
- Android
Hornbill is Android surveillanceware associated with the Confucius cyberespionage group. First observed in May 2018, it has appeared in applications impersonating chat clients and system utilities, including trojanized messaging applications. Hornbill and the related Confucius mobile surveillance activity have targeted Pakistani and other South Asian entities, including individuals connected to military, nuclear, and election-related organizations.
Hornbill collects contacts, call logs, geolocation, images from external storage, and device metadata, including identifiers, phone numbers, hardware details, Android version, available storage, screen-lock status, and connectivity state. Its surveillance capabilities include screenshots, camera capture, environmental audio recording, and call recording. It abuses Android accessibility services to monitor WhatsApp messages, contacts, notifications, and calls. It also monitors document activity on external storage, recording events such as file creation, opening, modification, movement, and deletion.
Hornbill communicates with command-and-control infrastructure over HTTP, including POST requests. It uploads collected information initially and subsequently when monitored data changes, reducing battery and mobile-data consumption. It stages collected data in hidden folders on external storage and deletes uploaded call and audio recordings to reduce evidence of its activity. Its comparatively passive, change-driven collection distinguishes it from the more interactive SunBird surveillanceware also associated with Confucius.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
MITRE also attributes Android spyware to the group, Hornbill (S1077) and Sunbird (S1082), alongside WarzoneRAT (S0670), so coverage of weaponised Office documents alone understates its platform range.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Considering many of these malware samples are trojanized – as in they contain complete user functionality – social engineering may also play a part in convincing targets to install the malware.
Persistence
1 technique
Persistence
Scrape WhatsApp messages and contacts via accessibility services ... Scrape WhatsApp notifications via accessibility services ... Hornbill records WhatsApp calls by detecting an active call by abusing Android’s accessibility services.
Privilege Escalation
1 technique
Privilege Escalation
Scrape WhatsApp messages and contacts via accessibility services ... Scrape WhatsApp notifications via accessibility services ... Hornbill records WhatsApp calls by detecting an active call by abusing Android’s accessibility services.
Stealth
1 technique
Stealth
SunBird has been disguised as applications that include: Security services, such as the fictional “Google Security Framework” ... Similar to previous Confucius tactics seen with ChatSpy, Hornbill samples often impersonate chat applications
Discovery
1 technique
Discovery
Device metadata including phone number, IMEI/Android ID, Model and Manufacturer and Android version ... Hornbill also collects hardware information.
Collection
4 techniques
Collection
AbstractEmu can collect files from or inspect the device’s filesystem. AhRat can find and exfiltrate files with certain extensions, such as .jpg, .mp4, .html, .docx, and .pdf. BOULDSPY can access browser history and bookmarks, and can list all files and folders on the device.
Both malware are also able to perform the following actions on device: Take screenshots, capturing whatever a victim is currently viewing on their device
Record environment and call audio
Take photos with the device camera
Command and Control
1 technique
Command and Control
AbstractEmu can use HTTP to communicate with the C2 server; AhRat can communicate with the C2 using HTTPS requests; BRATA can use both HTTP and WebSockets to communicate with the C2 server; LightSpy has used both HTTPS and Websockets to communicate with the C2.
Exfiltration
2 techniques
Exfiltration
Hornbill and SunBird have sophisticated capabilities to exfiltrate SMS, encrypted messaging app content, and geolocation, among other types of sensitive information.
BRATA has exfiltrated data to the C2 server using HTTP requests.
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.