Tag: MOVEit

Word of the Day: Retro Hunt, Explained with MOVEit CVE-2023-34362

Word of the Day: Retro Hunt, Explained with MOVEit CVE-2023-34362

Thursday morning, an advisory lands: a new web shell name, a few IP addresses, an unfamiliar URL path. You check your alerts. Nothing today. But the attacker didn’t wait for the advisory, so the real question is different: did any of this show up in your logs last month, or last year?

TermRetro hunt
Also calledRetrohunt, retroactive hunting, retrospective search, historical IOC sweep
CategoryDefensive practice
LevelIntermediate
In one sentenceSearching the logs and files you already stored for threats you only learned about today.

Where the name comes from

The best-known use is a product name: VirusTotal’s hunting service runs YARA rules (pattern-matching rules for files) on new uploads with Livehunt, and over files already submitted with Retrohunt, today up to 12 months back on the paid Hunting Pro tier (3 months on standard). Retrohunt existed by March 2019, when VirusTotal raised its standard window to three months. The usual story is that the word spread from there to any search of old data, though I found no launch date to confirm it.

How it works

Normal detection looks forward: a rule watches events as they arrive. A retro hunt looks backward. You take a fresh indicator of compromise (IOC), such as a file name, hash, IP or odd request pattern, and search data you kept before you knew it mattered: web server, proxy and DNS logs, EDR telemetry, old file samples.

A hit in old data means you were exposed earlier than you thought, and the investigation starts from that date. No hit only counts if your logs cover the period.

Four-step flow of a retro hunt: a new indicator is published, it becomes a search, the search runs over stored logs and files, and an old hit means an earlier compromise to investigate
A retro hunt points today's knowledge at yesterday's data. It can only reach as far back as your logs go.

Real-world example: MOVEit CVE-2023-34362

On May 31, 2023, Progress Software disclosed CVE-2023-34362, a critical flaw in its MOVEit Transfer file-sharing product. Its advisory tells customers to check IIS (Microsoft’s web server) logs for requests to human2.aspx, a web shell that CISA and the FBI named LEMURLOOT. Mass exploitation began around May 27, and on June 5 the Clop ransomware group claimed responsibility.

Then the responders at Kroll searched further back. On June 8, 2023, they reported that affected clients’ old IIS logs showed similar requests on April 27, 2022, likely automated, and between July 6 and 18, 2021, likely by hand. The requests pulled back an organisation ID, which Kroll says helped the attackers sort out whose servers they could reach. Kroll assesses with high confidence that the exploit was being used or tested by July 2021: nearly two years that, by Kroll’s assessment, went unnoticed until responders searched old logs.

Timeline of MOVEit CVE-2023-34362: likely manual testing July 6 to 18, 2021 and automated testing April 27, 2022 found in old IIS logs, mass exploitation May 27 to 28, 2023, Progress disclosure May 31, 2023, Kroll findings June 8, 2023
The two earliest dates were only found by searching old logs after the fact. Sources: Kroll, Progress Software.

Common misconceptions

  • “No alerts means we’re clean.” Alerts only know what your rules knew at the time. A retro hunt asks again with what you know now.
  • “Zero hits proves nothing happened.” It only covers the data you still have. If your web logs roll over after 30 days, that’s as far back as the answer goes.
  • “It’s a VirusTotal thing.” Searching your own logs for a new indicator is the same idea, with whatever log search you have.

How defenders spot it

Here the defender does the hunting, so the question is what makes it possible. Lessons from the MOVEit case:

  • Keep web server logs for internet-facing apps. Progress’s advisory points to IIS logs, and Kroll’s 2021 finding only exists because those logs did.
  • Centralise logs and choose retention on purpose. A retro hunt can’t reach past the oldest log you kept.
  • Search back to the earliest attacker activity an advisory gives, not the disclosure date. For MOVEit that meant May 27, 2023 at least, per CISA, and Kroll showed it went much further.
  • Look beyond the network: Progress also pointed to unexpected downloads in MOVEit Transfer logs and new files in the web root.

Related terms

Zero-day, IOC, threat hunting, YARA, log retention.

Sources