Researchers from ESET discovered a new cyberespionage group, tracked as FamousSparrow, that has been targeting hotels worldwide around the world since at least 2019. The group also hit higher-profile targets such as law firms, governments, and private companies worldwide.
According to the experts the group focuses on cyber espionage operations.
Telemetry data revealed that the APT group exploited Microsoft Exchange ProxyLogon vulnerabilities since March 3, 2021, only one day after Microsoft released security patches for them.
FamousSparrow group employed a custom backdoor, dubbed SparrowDoor in its attacks, along with two custom versions of Mimikatz.
The APT group has targeted victims from Europe (France, Lithuania, the UK), the Middle East (Israel, Saudi Arabia), the Americas (Brazil, Canada, Guatemala), Asia (Taiwan), and Africa (Burkina Faso).
“In a few cases, we were able to find the initial compromise vector used by FamousSparrow and these systems were compromised through vulnerable internet-facing web applications. We believe FamousSparrow exploited known remote code execution vulnerabilities in Microsoft Exchange (including ProxyLogon in March 2021), Microsoft SharePoint and Oracle Opera (business software for hotel management), which were used to drop various malicious samples.” reads the analysis published by ESET.
Once compromised the target network, the group deployed custom tools such as a Mimikatz variant, a small utility to harvest memory contents by dumping the Windows LSASS process, and the loader for the SparrowDoor backdoor.
The backdoor supports different malicious actions:
|0x1C615632||The current process is closed.|
|0x1DE15F35||A child svchost.exe process is spawned with processToken information of the process (Process ID) specified by the C&C server, with argument -d and then the shellcode is injected into the process.|
|0x1A6B561A||A directory is created using the name provided by the C&C server.|
|0x18695638||A file is renamed. Both the file to be renamed and the new name are provided by the C&C server.|
|0x196A5629||A file is deleted, as specified in the incoming data.|
|0x17685647||If length of the data is 1, and the data matches $, then the length of systemInfoHash along with an array of drive types are sent.|
If length of the data is greater than 2 and the first 2 bytes of data match $\, then information about the files in a specified directory is sent. The information included is the following: file attributes, file size and file write time.
|0x15665665||A new thread is created to exfiltrate the content of a specified file.|
|0x16675656||If the kill switch is activated, the current persistence settings (registry and service) are removed and the Indexer.exe file is executed (to restart the dropper). If not, the backdoor loop is restarted.|
|0x14655674||A new thread is created to write the data to a specified file.|
|0x12635692||If the kill switch is activated, the persistence settings are removed, and all the files used by SparrowDoor (Indexer.exe, K7UI.dll and MpSvc.dll) are removed. If not, the backdoor loop is restarted.|
|0x13645683||If the data matches “switch ”, then the backdoor is restarted with the -d switch.|
If not, it spawns a cmd.exe shell, and sets up named pipes for input and output (used by the C&C server) to establish an interactive reverse shell.
If the data matches Exit\r\n, then the spawned shell is terminated.
|Other||Restarts the backdoor loop.|
“FamousSparrow is yet another APT group that had access to the ProxyLogon remote code execution vulnerability early in March 2021. It has a history of leveraging known vulnerabilities in server applications such as SharePoint and Oracle Opera.” concludes ESET. “This is another reminder that it is critical to patch internet-facing applications quickly, or, if quick patching is not possible, to not expose them to the internet at all.”
(SecurityAffairs – hacking, APT)