# SparrowDoor backdoor: new variant found on a UK network (NCSC malware analysis report)

> NCSC published a malware analysis report on a new SparrowDoor variant, previously reported by ESET in September 2021 and found on a UK network in 2021. SparrowDoor is a persistent loader and backdoor that XOR-encodes its C2 channel over HTTPS, and the variant adds clipboard logging, antivirus detection, inline API hooking and token impersonation. ESET describes FamousSparrow, a China-aligned APT, as the only known user of the family.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-01T12:18:12Z
- **Last updated:** 2026-12-01T12:18:12Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7169
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7169.png
- **ID:** TL-2026-7169
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** MONITORING
- **Actor:** Salt Typhoon - G1045 (China)
- **Detections:** 9 (1 shown free below) · **IOCs:** 23 (3 shown free below)
- **CVEs:** CVE-2021-26855

## Description

SparrowDoor is a Windows loader and backdoor documented by ESET in September 2021 as the signature implant of the FamousSparrow cyber-espionage group. NCSC's malware analysis report (page dated 2022-04-25; the Malpedia entry and a search snippet date the PDF 2022-02-28, which is unreconciled) analyses a new variant found on a UK network in 2021. The NCSC page states that SparrowDoor is a persistent loader and backdoor that uses XOR encoding for its C2 channel carried over HTTPS, and that the variant adds clipboard logging, antivirus detection, inline hooking of Windows API functions and token impersonation. The NCSC page does not name a threat actor. The PDF's ATT&CK annotations reference Windows Service (T1543.003), Registry Run Keys (T1547.001), Token Impersonation/Theft (T1134.001), Deobfuscate/Decode (T1140), DLL Side-Loading (T1574.002), PE Injection (T1055.002), File Deletion (T1070.004), Reflective Code Loading (T1620), Match Legitimate Name or Location (T1036.005), System Binary Proxy Execution (T1218), Security Software Discovery (T1518.001), Web Protocols (T1071.001), Symmetric Cryptography (T1573.001), Clipboard Data (T1115) and Exfiltration Over C2 Channel (T1041). The PDF body could not be text-extracted, so NCSC-specific hashes, C2 addresses and hooked APIs were not available and the IOCs below come from the ESET reports.

ESET's September 2021 report (FamousSparrow: A suspicious hotel guest) describes the 2021-era loader. A legitimate K7 Computing binary (Indexer.exe) is abused for DLL search-order hijacking to load a malicious K7UI.dll, which patches the entry point and decrypts MpSvc.dll, an XOR-encrypted shellcode blob keyed with the file's first four bytes. The shellcode rebuilds a header-less PE in memory. Files are dropped in %PROGRAMDATA%\Software\. Persistence is an HKCU Run value and a service, both named WSearchIndex and mimicking Windows Search. The backdoor supports system information collection, directory listing, file read/write/rename/delete, a cmd.exe reverse shell over named pipes, SeDebugPrivilege enabling, token manipulation and process injection. C2 uses HTTPS on port 443 with multi-byte XOR encryption and an XOR-encrypted configuration with optional proxy settings. In 2021 ESET observed initial access via remote code execution flaws in Microsoft Exchange (including ProxyLogon, exploited from 2021-03-03), Microsoft SharePoint and Oracle Opera, with victims mainly hotels plus governments, international organisations, engineering firms and law firms in countries including the UK.

ESET's March 2025 report documents later variants. The original-style version uses a K7AVWScn.exe/K7AVWScn.dll/K7AVWScn.doc trident (RC4-encrypted payload with the C2 configuration in the last 202 bytes), creates a K7Soft service (Run key fallback) that relaunches with argument 11, hollows colorcpl.exe to run the main routine, and uses raw TCP with parallel threads for long-running commands. A modular version uses RC4 with a hardcoded key, native-only configuration management and uninstall, and in-memory plugins (Cmd, CFile, CKeylogPlug, CSocket, CShell, CTransf, CRdp, CPro, CFileMoniter). In 2024 intrusions at a US trade group and a Mexican research institute, an IIS web shell was deployed via a batch script, followed by PowerShell, PowerHub and BadPotato for SYSTEM, ShadowPad and an LSASS dumper. ESET later reported that the SparroWocky backdoor replaced SparrowDoor as the group's main implant. Attribution caveat: ESET links FamousSparrow only loosely to GhostEmperor, Earth Estries and Salt Typhoon and treats them as distinct clusters, whereas Microsoft and Malpedia associate them.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1505.003 Web Shell
- T1059.003 Windows Command Shell
- T1543.003 Windows Service
- T1547.001 Registry Run Keys / Startup Folder
- T1574.001 DLL
- T1055.012 Process Hollowing
- T1055.002 Portable Executable Injection
- T1140 Deobfuscate/Decode Files or Information
- T1620 Reflective Code Loading
- T1036.005 Match Legitimate Resource Name or Location
- T1070.004 File Deletion
- T1218 System Binary Proxy Execution
- T1134.001 Token Impersonation/Theft
- T1003.001 LSASS Memory
- T1518.001 Security Software Discovery
- T1071.001 Web Protocols
- T1573.001 Symmetric Cryptography

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**SparrowDoor DLL Side-Loading — K7UI.dll / K7AVWScn.dll Loader and MpSvc.dll Payload Staging** (`TL-2026-7169-SPL-002`)

Detects the SparrowDoor loader chain: a K7 Computing binary (Indexer.exe or K7AVWScn.exe) loading K7UI.dll, K7AVWScn.dll or other known loader DLLs (libvlc.dll, WINMM.dll, imjp14k.dll) from outside the legitimate install or system paths, and creation of the encrypted payload files MpSvc.dll or K7AVWScn.doc. Files are staged in %PROGRAMDATA%\Software\. Covers FamousSparrow variants from 2021 and 2025 (TL-2026-7169).

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1574.002, T1036.005, T1140
- **Data sources:** sysmon, microsoft_defender_for_endpoint, windows_image_load
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=windows sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" earliest=-24h
((EventCode=7 (ImageLoaded="*K7UI.dll" OR ImageLoaded="*K7AVWScn.dll" OR ImageLoaded="*libvlc.dll" OR ImageLoaded="*WINMM.dll" OR ImageLoaded="*imjp14k.dll") NOT ImageLoaded="*Program Files*" NOT ImageLoaded="*Windows*System32*" NOT ImageLoaded="*Windows*SysWOW64*" NOT ImageLoaded="*WinSxS*" (Image="*Indexer.exe" OR Image="*K7AVWScn.exe" OR Image="*ProgramData*"))
OR (EventCode=11 (TargetFilename="*MpSvc.dll" OR TargetFilename="*K7AVWScn.doc" OR TargetFilename="*ProgramData*Software*K7UI.dll")))
| eval stage=case(EventCode=7,"dll_sideload_load",EventCode=11,"loader_payload_dropped")
| eval artifact=coalesce(ImageLoaded,TargetFilename)
| stats count min(_time) as first_seen max(_time) as last_seen values(stage) as stages values(artifact) as artifacts values(Image) as processes values(Hashes) as hashes by host, User
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
DeviceImageLoadEvents
| where Timestamp > ago(24h)
| where SHA1 in~ ('BB2F5B573AC7A761015DAAD0B7FF03B294DC60F6','1B06E877C2C12D74336E7532BC0ECF761E5FA5D4','EF189737FB7D61B110B9293E8838526DCE920127','3A395DAAF518BE113FCFF2E5E48ACD9B9C0DE69D','5265E8EDC9B5F7DD00FC772522511B8F3BE217E3')
    or (FileName in~ ('K7UI.dll','K7AVWScn.dll','libvlc.dll','WINMM.dll','imjp14k.dll')
        and not(FolderPath has_any (@'\Program Files\K7 Computing', @'\Program Files (x86)\K7 Computing', @'\Windows\System32', @'\Windows\SysWOW64', @'\Windows\WinSxS'))
        and (InitiatingProcessFileName in~ ('Indexer.exe','K7AVWScn.exe') or FolderPath has @'\ProgramData\'))
| project Timestamp, DeviceName, FileName, FolderPath, SHA1, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, InitiatingProcessAccountName
| order by Timestamp desc
```

### Sigma

```yaml
title: SparrowDoor DLL Side-Loading via K7 Computing Binaries
id: 5e9b2d18-c473-4a06-b1f2-86d3a07e4c5b
status: experimental
description: Detects K7UI.dll, K7AVWScn.dll, libvlc.dll, WINMM.dll or imjp14k.dll loaded from a non-standard path by Indexer.exe, K7AVWScn.exe or a process in ProgramData, the DLL search-order hijack used by the FamousSparrow SparrowDoor loader (TL-2026-7169).
references:
    - https://www.ncsc.gov.uk/report/mar-sparrowdoor
    - https://www.welivesecurity.com/en/eset-research/you-will-always-remember-this-as-the-day-you-finally-caught-famoussparrow/
author: Threadlinqs Team
date: 2026-12-01
tags:
    - attack.defense-evasion
    - attack.persistence
    - attack.t1574.002
    - attack.t1036.005
    - attack.t1140
logsource:
    category: image_load
    product: windows
detection:
    selection_dll:
        ImageLoaded|endswith:
            - '\K7UI.dll'
            - '\K7AVWScn.dll'
            - '\libvlc.dll'
            - '\WINMM.dll'
            - '\imjp14k.dll'
    selection_proc:
        - Image|endswith:
              - '\Indexer.exe'
              - '\K7AVWScn.exe'
        - Image|contains: '\ProgramData\'
    selection_hash:
        Hashes|contains:
            - 'SHA1=BB2F5B573AC7A761015DAAD0B7FF03B294DC60F6'
            - 'SHA1=1B06E877C2C12D74336E7532BC0ECF761E5FA5D4'
            - 'SHA1=EF189737FB7D61B110B9293E8838526DCE920127'
            - 'SHA1=3A395DAAF518BE113FCFF2E5E48ACD9B9C0DE69D'
    filter_legit:
        ImageLoaded|startswith:
            - 'C:\Program Files\'
            - 'C:\Program Files (x86)\'
            - 'C:\Windows\System32\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
    condition: selection_hash or (selection_dll and selection_proc and not filter_legit)
falsepositives:
    - Portable media players that ship libvlc.dll or similar DLLs in ProgramData
    - Legitimate K7 Computing installs in non-default directories
level: high
```

**Known false positives:**

- Portable applications in ProgramData that ship libvlc.dll or WINMM.dll copies
- Legitimate K7 Computing installs in non-default directories

**Tuning notes:** Requires Sysmon EventCode 7 (image load) and 11 (file create) to be enabled for the relevant processes. Adjust the index name to your Sysmon index. Add your real K7 install paths to the legitimate-path exclusions if K7 is deployed. The SPL flavour also covers MpSvc.dll and K7AVWScn.doc payload drops, which the KQL and Sigma flavours do not.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- SparrowDoor Intrusion — Web Shell Written by IIS/Exchange Worker Process (DotNetNuke.ashx, s.ashx) (locked: unlock with TL Creds)
- SparrowDoor Persistence — WSearchIndex / K7Soft Run Key, Service and CLSID Victim-ID Registry Writes (locked: unlock with TL Creds)
- SparrowDoor C2 — colorcpl.exe or Relocated K7 Binaries Making Public Outbound Connections (locked: unlock with TL Creds)
- SparrowDoor Intrusion — ProxyLogon (CVE-2021-26855) SSRF Request Pattern in IIS Logs (locked: unlock with TL Creds)
- SparrowDoor Process Hollowing — colorcpl.exe Launched by Loader or With Argument 22 (locked: unlock with TL Creds)
- FamousSparrow Post-Compromise Tooling — BadPotato, PowerHub and LSASS Credential Dumping (locked: unlock with TL Creds)
- SparrowDoor Intrusion — IIS/Exchange Worker Process Spawning Command Shell (ProxyLogon Exploitation) (locked: unlock with TL Creds)
- SparrowDoor C2 — Connections and DNS Lookups to Known FamousSparrow Infrastructure (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 23)

Defanged, TLP:CLEAR.

- IP address: `43.254.216[.]195`
- Domain: `amelicen[.]com`
- File hash: `1B06E877C2C12D74336E7532BC0ECF761E5FA5D4`

Full set of 23 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [NCSC: Malware analysis report on SparrowDoor malware](https://www.ncsc.gov.uk/report/mar-sparrowdoor)
- [NCSC MAR Sparrow Door (PDF)](https://www.ncsc.gov.uk/sites/default/files/documents/NCSC-MAR-Sparrow-Door.pdf)
- [ESET: FamousSparrow: A suspicious hotel guest](https://www.welivesecurity.com/deutsch/2021/09/23/famoussparrow-cyberspionage-statt-zimmer-service/)
- [ESET: You will always remember this as the day you finally caught FamousSparrow](https://www.welivesecurity.com/en/eset-research/you-will-always-remember-this-as-the-day-you-finally-caught-famoussparrow/)
- [The Hacker News: New SparrowDoor Backdoor Variants Found](https://thehackernews.com/2025/03/new-sparrowdoor-backdoor-variants-found.html)
- [Malpedia: SparrowDoor (win.sparrow_door)](https://malpedia.caad.fkie.fraunhofer.de/details/win.sparrow_door)
- [The Register: China's FamousSparrow flies back into action](https://www.theregister.com/2025/03/27/china_famoussparrow_back/)
- [ESET: Beware the SparroWock backdoor (follow-up)](https://www.welivesecurity.com/en/eset-research/beware-sparrowock-backdoor-bites-commands-catch/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7169
