SUNBURST & Memory Analysis

· wordCount · 3 minute read

The recent SolarWind’s hack which resulted in a backdoor version of their SolarWind Orion product which counts 33,000 customers has been all over the news in the past few weeks - most things have been said and repeated, although there are few notes that I mentioned on Twitter which I would like to compile in a blogpost for perenniality.

First of all, I would like to point out to the presence in the backdoor process blacklist (the full list can be found on Itay Cohen’s repository) of several processes that can be used for either:

• creating system raw memory dump such as Belkasoft RAM Capturer,
• or creating Microsoft process crash dumps with some of the Sysinternals Tools such as ProcDump or Process Explorer.
    13611814135072561278UL     /* procdump64 (ProcDump - RE/Malware analysis) */,
2810460305047003196UL      /* procdump (ProcDump - RE/Malware analysis) */,
2032008861530788751UL      /* processhacker (Process Hacker - RE/Malware analysis) */,
27407921587843457UL        /* procexp64 (Process Explorer - RE/Malware analysis) */,
6491986958834001955UL      /* procexp (Process Explorer - RE/Malware analysis) */,
(...)
7775177810774851294UL      /* ramcapture64 (Ram Capturer - Forensics) */,
16130138450758310172UL     /* ramcapture (Ram Capturer - Forensics) */,


This makes sense given how powerful memory analysis and memory forensics are in general, and memory imaging was also included as a DHS emergency directive (21-01). (Thanks to Andrew Case for sharing this on LinkedIn).

This emergency directive requires the following actions:

Agencies that have the expertise to take the following actions immediately must do so before proceeding to Action 2. Agencies without this capability shall proceed to Action 2.

a. Forensically image system memory and/or host operating systems hosting all instances of SolarWinds Orion versions 2019.4 through 2020.2.1 HF1]. Analyze for new user or service accounts, privileged or otherwise.

Although, memory was completly dismissed by the Microsoft DART team in their Advice for incident responders on recovery from systemic identity compromises blogpost:

After you validate that no persistence mechanisms created by the attacker exist or remain on your system, schedule a restart. This can assist with removing memory resident malware.

BEFORE you validate persistence, you always want to create a Microsoft full memory crash dump of the system (with DumpIt or any other tools) before rebooting. As an incident responder, you should not omit any artifacts that may be useful for your investigation.

And the last point, I would like to highlight was a very good tweet from Kim Zetter:

Kim is highlighting a very important point here which is the lack of logging in the critical infrastucture industry. Two years ago, I published on Comae’s blog about a new logging paradigm which we believe should be in place for critical assets across industries where instead of relying on logs/events (that are often missing context and information) - to periodically make memory images (such as Microsoft full memory crash dumps) and to archive them to be able to retro-investigate critical incidents such as those that we have seen over the past years (DOUBLEPULSAR, SUNBURST etc.).