FamousSparrow targets Azerbaijani energy sector in multi-wave espionage campaign


FamousSparrow targets Azerbaijani energy sector in multi-wave espionage campaign

Pierluigi Paganini
May 14, 2026

Chinese-linked FamousSparrow repeatedly targeted an Azerbaijani oil and gas company, reusing the same entry point in three intrusions from Dec 2025 to Feb 2026.

Chinese-linked threat actor FamousSparrow has conducted a sustained intrusion campaign against an Azerbaijani oil and gas company, returning to the same compromised entry point three separate times between late December 2025 and late February 2026.

Bitdefender researchers attribute with moderate-to-high confidence the operation to FamousSparrow, a group that overlaps with the broader Earth Estries and Salt Typhoon activity clusters, marking a significant expansion of the actor’s known targeting geography into a region that has become increasingly critical to European energy security.

“Bitdefender Labs tracked a multi-wave intrusion targeting an Azerbaijani oil and gas company from late December 2025 through late February 2026.” reads the report by Bitdefender. “This research documents expansion of Chinese APT activity against South Caucasus energy infrastructure, attributed with moderate-to-high confidence to FamousSparrow (overlapping with the Earth Estries threat ecosystem).”

The timing is not incidental. Following the expiration of Russia’s Ukraine gas transit agreement at the end of 2024 and the disruption of Strait of Hormuz shipments in early 2026, Azerbaijan has rapidly solidified its position as a strategic energy supplier for Europe, delivering gas to thirteen countries, including Germany and Austria. Against that backdrop, the targeting of Azerbaijani energy infrastructure by a China-aligned actor fits a pattern of espionage operations that track geopolitical shifts and follow the energy supply chains that matter to adversaries.

What makes this campaign technically distinctive is not just its persistence, but the methodical way in which FamousSparrow hackers adapted their tooling while preserving the same initial access vector throughout.

The intrusion began on December 25, 2025, when the attackers exploited a vulnerable Microsoft Exchange Server using the ProxyNotShell exploit chain, a vulnerability pair publicly disclosed back in 2022. Web shells with names like key.aspx, log.aspx, and errorFE_.aspx were dropped into publicly accessible directories in the days that followed, establishing the foothold the operators would return to repeatedly.

Despite remediation attempts by the victim organization, the attackers came back. Three times. Each time through the same Exchange server. Each time with a different payload.

The first wave deployed Deed RAT, a successor to ShadowPad used across multiple Chinese espionage groups, through an evolved DLL sideloading technique that stands out from more conventional implementations. Rather than simply replacing a legitimate DLL and executing immediately on load, the malicious library distributed its logic across two exported functions, Init and ComMain, creating a two-stage execution gate tied to the host application’s natural startup flow.

The legitimate LogMeIn Hamachi binary LMIGuardianSvc.exe served as the carrier. During the Init stage, the malicious DLL quietly patched the Windows API function StartServiceCtrlDispatcherW in memory without triggering any payload. Only later, when the application reached ComMain and followed its normal execution path to call that API, did the hook redirect control into the loader, which then restored the original API bytes and proceeded to decrypt and execute the Deed RAT payload from the encrypted .hamachi.lng file.

“By splitting its logic across two different functions, the malware requires the host application to follow its natural, full startup path before the malicious payload can execute.” continues the report. “This effectively gates the infection, ensuring that security sandboxes that only examine parts of the code in isolation will fail to observe any malicious behavior.”

The payload itself went through multiple layers: AES-128 decryption of the .hamachi.lng file, shellcode execution that resolved API functions via ELF hash rather than by name, RC4 decryption of the orchestrator, and finally LZNT1 decompression before a custom PE-like header format, with an updated magic value of 0xFF66ABCD replacing the previously documented 0xDEED4554, was processed to load the final module into memory.

The Deed RAT architecture retained its modular plugin structure, Startup, Config, Network, Proxy, Inject, and others, but with noteworthy implementation changes. Plugin decompression switched from Snappy to Deflate, invocation identifiers shifted by 0x100, and the configuration magic value changed. The C2 address embedded in the first wave’s configuration was virusblocker[.]it[.]com:443, a domain crafted to look like a security vendor.

With persistence established, the attackers moved laterally via RDP using domain administrator credentials, manually staging Deed RAT on a second server within minutes of opening the session. They then spread further using Impacket-style SMB execution utilities, building redundant footholds across the environment.

Nearly a month after the initial compromise, the attackers returned via the same Exchange server and attempted to deploy Terndoor, a backdoor previously observed in attacks against telecommunications infrastructure in South America, through a Mofu loader shellcode chain. The delivery mechanism abused a renamed copy of the legitimate deskband_injector64.exe to sideload a malicious winmm.dll.

“The attempt was unsuccessful, as the security solution blocked execution before the malware could complete its installation.” Bitdefender says. “Even so, several execution artefacts were recovered, including network communication with legitimate service ipinfo[.]io and evidence that the malware attempted to create a service for loading a driver.”

Registry traces showed attempted creation of a kernel driver service pointing to vmflt.sys in C:\ProgramData\USOShared, a non-standard location that legitimate kernel drivers almost never occupy. Recovered memory pages revealed a shellcode structure consistent with Mofu loader: a NOP followed by a CALL instruction using the return address to locate an encrypted payload, prefixed with a 12-byte header containing a seed and two size values, followed by LZNT1-compressed content with stripped MZ/PE headers.

The payload’s behavioral profile, driver installation, injection target strings including msdt.exe, RC4 implementation with a hardcoded key matching documented Terndoor samples, and section names consistent with Cisco Talos reporting on UAT-9244, supported the Terndoor attribution despite the partial recovery.

At the end of February 2026, the attackers made a third attempt using the same LogMeIn Hamachi sideloading chain, this time with a modified Deed RAT configuration. The mutex name changed, the service was renamed HamachiNet, injection targets were updated to include wininit.exe and dwm.exe, and the C2 address became sentinelonepro[.]com:443, masquerading as a well-known endpoint security vendor.

“While the underlying deployment method remained consistent, the malware configuration had been modified, indicating that the operators were actively adjusting their tooling while continuing to rely on an access path they still considered viable.” continues the report.

The files were relocated to C:\Recovery rather than the Hamachi installation directory, suggesting the operators were aware their previous artifacts may have been identified and removed.

The strategic significance runs in two directions. Geopolitically, this is the first documented instance of the FamousSparrow / Earth Estries activity cluster targeting energy infrastructure in the South Caucasus — a region where Chinese economic leverage through Belt and Road infrastructure is growing at the same time that Russian influence is contracting post-Ukraine.

Technically, the operation illustrates something defenders encounter repeatedly but often underestimate: an attacker who keeps coming back through the same door is an attacker who knows that door has not been fully closed.

“The intrusion illustrates that actors will exploit and re-exploit the same access path until the original vulnerability is patched, compromised credentials are rotated, and the attacker’s ability to return is fully disrupted.” Bitdefender says. “Across multiple waves of activity, the same access path was revisited, new payloads were introduced, and additional footholds were established, underscoring a high degree of persistence and operational discipline.”

ProxyNotShell was disclosed in 2022. The Exchange server at the center of this campaign was still exploitable through at least late February 2026, more than three years later. Patching internet-facing services remains the single most impactful defensive action available to organizations in sectors that geopolitical actors consider strategically valuable. It is also, evidently, still not happening fast enough.

“Patch internet-facing services immediately. ProxyShell and ProxyNotShell exploits against Exchange have been publicly documented since 2021 and 2022 respectively.” concludes the report. “Attackers will continue to exploit unpatched servers until they are either patched or taken offline.”

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, FamousSparrow)







Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


The first time I encountered mesh Wi-Fi was when I went to university. One Wi-Fi password, but no matter where you roamed on campus you’ll stay connected. I’ve always thought of mesh networks as enterprise technology that you need an IT department to handle, but then router makers figured out how to make mesh easy enough for mere mortals.

Now I consider a mesh network the default for everyone, and if you’re still using a single non-mesh router you might want to know why. So let me explain.



















Quiz
8 Questions · Test Your Knowledge

Home Networking & Wi-Fi

Think you know your routers from your repeaters — put your home networking know-how to the ultimate test.

Wi-FiRoutersSecurityHardwareProtocols

What does the ‘5 GHz’ band in Wi-Fi offer compared to the ‘2.4 GHz’ band?

That’s right! The 5 GHz band delivers faster data rates but loses signal strength more quickly over distance and through walls. It’s ideal for devices close to the router that need maximum throughput, like streaming 4K video.

Not quite — the 5 GHz band actually offers faster speeds at the cost of range. The 2.4 GHz band travels farther and penetrates obstacles better, which is why smart home devices and older gadgets often prefer it.

Which Wi-Fi standard, introduced in 2021, is also known as Wi-Fi 6E and extends into a new frequency band?

Correct! 802.11ax is the technical name for Wi-Fi 6 and Wi-Fi 6E. The ‘E’ variant extends the standard into the 6 GHz band, offering a massive swath of new, less-congested spectrum for faster and more reliable connections.

The answer is 802.11ax — that’s Wi-Fi 6 and Wi-Fi 6E. Wi-Fi 6E adds support for the 6 GHz band, giving it far less congestion than the crowded 2.4 GHz and 5 GHz bands. 802.11be is actually the upcoming Wi-Fi 7 standard.

What is the default IP address most commonly used to access a home router’s admin interface?

Spot on! The vast majority of consumer routers use either 192.168.0.1 or 192.168.1.1 as the default gateway address. Typing either into your browser’s address bar will bring up the router’s login page — just make sure you’ve changed the default password!

The correct answer is 192.168.0.1 or 192.168.1.1. These are the most common default gateway addresses for home routers. The 255.x.x.x addresses are subnet masks, and 127.0.0.1 is your own machine’s loopback address, not a router.

Which Wi-Fi security protocol is considered most secure for home networks as of 2024?

Excellent! WPA3 is the latest and most robust Wi-Fi security protocol, introduced in 2018. It uses Simultaneous Authentication of Equals (SAE) to replace the older Pre-Shared Key handshake, making it far more resistant to brute-force attacks.

The answer is WPA3. WEP is completely broken and should never be used, WPA is outdated, and WPA2 with TKIP has known vulnerabilities. WPA3 offers the strongest protection, and if your router supports it, you should enable it right away.

What is the primary difference between a mesh Wi-Fi system and a traditional Wi-Fi range extender?

Exactly right! Mesh systems use multiple nodes that talk to each other intelligently, handing off your device seamlessly as you move around your home under one SSID. Traditional range extenders typically broadcast a separate network and can cut bandwidth in half as they relay the signal.

The correct answer is that mesh nodes form one intelligent, seamless network. Range extenders are actually the ones that often create separate SSIDs (like ‘MyNetwork_EXT’) and can significantly reduce speeds. Mesh systems are far superior for large homes with many devices.

What does DHCP stand for, and what is its main function on a home network?

Perfect! DHCP (Dynamic Host Configuration Protocol) is the unsung hero of home networking. Every time a device joins your network, your router’s DHCP server automatically hands it a unique IP address, subnet mask, and gateway info so it can communicate without manual configuration.

DHCP stands for Dynamic Host Configuration Protocol, and its job is to automatically assign IP addresses to devices on your network. Without it, you’d have to manually configure a unique IP address on every single phone, laptop, and smart device — a tedious nightmare!

What is ‘QoS’ (Quality of Service) used for in a home router?

That’s correct! QoS lets you tell your router which traffic gets priority. For example, you can prioritize video calls or gaming over a family member’s file download, ensuring your Zoom meeting doesn’t freeze just because someone is downloading a large update.

QoS — Quality of Service — is actually about traffic prioritization. By tagging certain data types (like VoIP calls or gaming packets) as high priority, your router ensures latency-sensitive applications get bandwidth first, even when the network is congested.

What does the ‘WAN’ port on a home router connect to?

Correct! WAN stands for Wide Area Network, and the WAN port is where your router connects to the outside world — typically to your cable modem, DSL modem, or ISP gateway. The LAN ports on the other side connect to devices inside your home network.

The WAN (Wide Area Network) port connects your router to your ISP’s modem or gateway — essentially your entry point to the internet. The LAN (Local Area Network) ports are for connecting devices inside your home. Mixing them up can cause your network to not function at all!

Challenge Complete

Your Score

/ 8

Thanks for playing!

Mesh Wi-Fi solves a problem most homes already have

The internet is no longer confined to one spot in your home

In the early days of home internet, there was no real reason to have Wi-Fi coverage all over your home. You installed the router in your home office, or near the living room, and that was enough. People didn’t have smartphones, tablets, or smart home devices that all needed access to the LAN.

As Wi-Fi devices proliferated, that central router became a problem. There’s only so much power you can push into the antennas, and the inverse square law drains that signal of power in very short order.

It was a problem that had many suboptimal solutions. Wi-Fi repeaters destroy performance, access points need long Ethernet runs, and Powerline Ethernet only works well in ideal conditions. Most older homes can’t provide that with their aging wiring. In short, trying to expand a central router’s reach has usually involved some janky mishmash of solutions.

A modern mesh router kit just solved that problem without any fuss. The biggest problem you’ll have is how to position them. Everything else is usually just handled automatically.

Brand

eero

Range

1,500 sq. ft.

Mesh Network Compatible

Yes

The eero 6 mesh Wi-Fi router allows you to upgrade your home network without breaking the bank. Compatible with the wider eero ecosystem, you’ll find that this node can either start or expand your wireless network with ease.


Mesh systems prioritize consistency over peak speed

Good enough internet everywhere

Top view of the contents of the Netgear Nighthawk MK93S mesh system. Credit: Jordan Gloor / How-To Geek

I think it’s important to point out that with Wi-Fi it’s much more important to get consistent and reliable performance wherever you are in your home than to hit crazy peak speeds. Sure, if you buy an expensive router, you can blast data when you’ve got line of sight and are a few feet away, but then you might as well just connect to it with an Ethernet cable.

For the price of one very fast centralized router, you can buy an entry-level mesh router kit and have fast enough internet everywhere, and never have to think about it again. I’m still running a Wi-Fi 5 mesh system in my two-storey rental home and I get 200+ Mbps minimum anywhere. If I need more speed than that on a single device, it’s going on Ethernet.

As prices come down on Wi-Fi 6 and 7 mesh systems, we’ll all eventually get access to that gigabit or better wireless tier, but I’d rather have a few hundred Mbps everywhere rather than a few Gbps in just one place and zero internet elsewhere.

Setup and management are finally user-friendly

Your dog could do it if it had thumbs

TP-Link Deco Mesh Wi-Fi Puck sitting on a desk beside two stacked books Credit: TP-Link

It’s hard to overstate just how easy modern mesh routers are to set up. After you’ve got the first unit up, usually by using a mobile app, adding more is generally just a matter of turning them on close to any previously activated router and waiting a few seconds.

As for the actual management of the network, on my TP-Link system you can see the topology of your network, how the pods are doing in terms of bandwidth, and you can automatically optimize for network interference and signal strength. The days of cryptic and largely manual router configuration are over. Even port forwarding, which has always tripped me up on old routers, now just works with a few taps on my phone screen.

The price argument doesn’t hold up anymore

There’s something for every budget

The biggest reason I think people have avoided mesh systems is cost. That’s perfectly fair, because mesh systems are more expensive than a single router. The thing is, prices have come down significantly, especially for mesh on older Wi-Fi standards.

But, even if you want newer Wi-Fi like 6E or 7, you don’t have to start your mesh journey with a full kit. You can buy a single mesh router, use that as your primary, and then add more as you can afford it. Even better, if you’ve bought a new router recently, there’s a chance it already supports mesh technology. It doesn’t even have to be that recent, since some older routers have gained mesh capability thanks to firmware updates.

If you already have a router that’s mesh-capable, then extending your home network any other way would be silly. Also, keep in mind that all the routers in your mesh network don’t have to be identical. That’s a common misconception, but the only thing they need to have in common is support for the same mesh technology. Just keep in mind that your performance will only be as good as the slowest device in the chain.


Mesh is for everyone

The bottom line is that mesh network technology is now cheap enough, mature enough, and easy enough that I honestly think everyone should have a good reason not to use it rather than looking for reason to use it. Wi-Fi should be like water or electricity. You want everyone in your home to have easy access to it no matter where they are. Mesh will do that for you.

The Unifi Dream Router 7.

9/10

Brand

Unifi

Range

1,750 square feet

The Unifi Dream Router 7 is a full-fledged network appliance offering NVR capabilities, fully managed switching,a built-in firewall, VLANs, and more. With four 2.5G Ethernet ports (one with PoE+) and a 10G SFP+ port, the Unifi Dream Router 7 also features dual WAN capabilities should you have two ISP connections. It includes a 64GB microSD card for IP camera storage, but can be upgraded for more storage if needed. With Wi-Fi 7, you’ll be able to reach up to a theoretical 5.7 Gbps network speed when using the 10G SFP+ port, or 2.5 Gbps when using Ethernet. 




Source link