GhostCtrl
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Socially engineered phishing emails were also attack vectors; they had malicious URLs that led would-be victims to download these apps.
Execution
3 techniques
Execution
It can also hijack the camera, create a scheduled task of taking pictures or recording video
ACTION CODE= 79: Run a shell command specified by the attacker and upload the output result
The malicious APK, after dynamically clicked by a wrapper APK, will ask the user to install it. Avoiding it is very tricky: even if the user cancels the “ask for install page” prompt, the message will still pop up immediately.
Persistence
1 technique
Persistence
It can also hijack the camera, create a scheduled task of taking pictures or recording video
Privilege Escalation
2 techniques
Privilege Escalation
It can also hijack the camera, create a scheduled task of taking pictures or recording video
It can lock the device’s screen and reset its password, and also root the infected device.
Stealth
3 techniques
Stealth
The third version of GhostCtrl incorporates obfuscation techniques to hide its malicious routines... The DEX and ELF files decrypt strings and Application Programming Interface (API) calls in the main malicious APK in runtime.
the samples we analyzed masqueraded as a legitimate or popular app that uses the names App, MMS, whatsapp, and even Pokemon GO.
GhostCtrl can also pilfer information like Android OS version, username, Wi-Fi, battery, Bluetooth, and audio states, UiMode, sensor
Discovery
2 techniques
Discovery
ACTION CODE= 48: List the file information in the current directory and upload it to the C&C server
GhostCtrl can also pilfer information like Android OS version, username, Wi-Fi, battery, Bluetooth, and audio states, UiMode, sensor
Collection
3 techniques
Collection
Different kinds of sensitive—and to cybercriminals, valuable—information will be collected and uploaded, including call logs, SMS records, contacts, phone numbers, SIM serial number, location, and browser bookmarks.
Its most daunting capability is how it can surreptitiously record voice or audio, then upload it to the C&C server at a certain time.
It can also hijack the camera, create a scheduled task of taking pictures or recording video, then surreptitiously upload them to the C&C server as mp4 files.
Command and Control
2 techniques
Command and Control
The malicious APK will then connect to the C&C server to retrieve commands via the socket... The commands from the C&C server are encrypted and locally decrypted by the APK upon receipt.
we also found that the backdoor connects to a domain rather than directly connecting to the C&C server’s IP address... We also found several Dynamic Name Servers (DNS), which at some point led to the same C&C IP address
Exfiltration
1 technique
Exfiltration
All the stolen content will be encrypted before they’re uploaded to the C&C server.
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.