CyberDefenders Red Stealer lab writeup

Overview#

PlatformCyberDefenders
CategoryThreat Intelligence
DifficultyEasy
FocusIOC extraction, C2, ATT&CK mapping, classification
Lab LinkRed Stealer

The scenario: an executable turned up on a colleague’s machine and might be talking to a C2. You get its hash and nothing else. Everything here comes from VirusTotal, MalwareBazaar and ThreatFox, no sample handling.

248fcc901aff4e4b4c48c91e4d78a939bf681c9a1bc24addc3551b32768f907b

Q1: malware category#

What category has Microsoft identified for that malware in VirusTotal?

Search the hash on VirusTotal, Detection tab, find Microsoft’s row:

VirusTotal Detection
Microsoft: Trojan:Win32/Redline!rfn
Trojan:Win32/Redline!rfn

The category is the first part of the name.

Answer: Trojan

Q2: file name#

What is the file name associated with this malware? (no extension)

It’s on the main VirusTotal page for the sample:

VirusTotal Filename
62/72 detections, filename Wextract
PropertyValue
Detection62/72 vendors flagged
Size1.83 MB (1,917,440 bytes)
File TypeWin32 EXE

Wextract is the name of the IExpress self-extractor stub, so the stealer is wrapped in an IExpress package. That also explains the IXP00X.TMP folders in Q9.

Answer: Wextract

Q3: first submission#

What is the UTC timestamp of the malware’s first submission to VirusTotal? (YYYY-MM-DD HH:MM)

Details tab, History section:

VirusTotal History
Submission history
EventTimestamp (UTC)
Creation Time2022-05-24 22:49:06
First Submission2023-10-06 04:41:50
First Seen In Wild2023-10-07 07:20:23
Last Submission2025-11-07 12:05:39

Don’t read much into the 2022 creation time. It’s the PE timestamp of the Wextract stub, not of the stealer inside it.

Answer: 2023-10-06 04:41

Q4: ATT&CK collection technique#

What is the MITRE ATT&CK technique ID for the malware’s data collection from the system before exfiltration?

Behavior tab, MITRE ATT&CK section, Collection tactic:

MITRE ATT&CK Collection
Collection techniques
Technique IDName
T1005Data from Local System
T1056Input Capture
T1119Automated Collection

The question is about pulling data off the box before exfil, which is what RedLine does with browser credentials, cookies, wallets and saved FTP/VPN logins. That’s T1005.

Answer: T1005

Q5: social media domain#

Following execution, which social media-related domain names did the malware resolve via DNS queries?

Behavior tab, DNS Resolutions:

DNS Resolutions
DNS resolutions
  • business.bing.com
  • connect.facebook.net
  • facebook.com
  • fbcdn.net
  • fbsbx.com
  • static.xx.fbcdn.net
  • www.facebook.com

Everything else on that list is a Facebook CDN or Bing.

Answer: facebook.com

Q6: C2 address#

Can you provide the IP address and destination port the malware communicates with?

Behavior tab, IP Traffic:

IP Traffic C2
77.91.124.55:19071
ProtocolDestinationNote
TCP77.91.124.55:19071C2
TCP31.13.67.35:443www.facebook.com
TCP13.107.6.158:443business.bing.com
TCP31.13.88.13:443static.xx.fbcdn.net

Three of the four map to Facebook or Microsoft on 443. The odd one is a bare IP on port 19071. ThreatFox confirms it in Q8.

Answer: 77.91.124.55:19071

Q7: YARA rule#

Using MalwareBazaar, what’s the name of the YARA rule created by “Varp0s” that detects the identified malware?

Search the hash on MalwareBazaar:

sha256:248fcc901aff4e4b4c48c91e4d78a939bf681c9a1bc24addc3551b32768f907b

YARA Signatures section:

MalwareBazaar YARA
detect_Redline_Stealer by Varp0s
PropertyValue
Rule Namedetect_Redline_Stealer
AuthorVarp0s
TLPCLEAR

Answer: detect_Redline_Stealer

Q8: ThreatFox alias#

Can you provide the different malware alias associated with the malicious IP address according to ThreatFox?

Search ThreatFox for ioc:77.91.124.55:

ThreatFox Results
RECORDSTEALER alias
PropertyValue
IOC77.91.124.55:19071
IOC Typeip:port
Threat Typebotnet_cc
MalwareRedLine Stealer
Malware AliasRECORDSTEALER
Confidence100%

Answer: RECORDSTEALER

Q9: privilege escalation DLL#

Can you provide the DLL utilized by the malware for privilege escalation?

Behavior tab, Modules loaded:

Modules Loaded
advapi32.dll among loaded modules
  • APPHELP.DLL
  • advapi32.dll
  • advpack.dll
  • dropped executables under %TEMP%\IXP00X.TMP\

Of these, advapi32.dll is the one that exports the token and privilege APIs: OpenProcessToken, LookupPrivilegeValue, AdjustTokenPrivileges, ImpersonateLoggedOnUser. advpack.dll is just the IExpress extraction helper.

Answer: advapi32.dll

Answers#

QAnswer
1Trojan
2Wextract
32023-10-06 04:41
4T1005
5facebook.com
677.91.124.55:19071
7detect_Redline_Stealer
8RECORDSTEALER
9advapi32.dll

IOCs#

TypeValue
SHA256248fcc901aff4e4b4c48c91e4d78a939bf681c9a1bc24addc3551b32768f907b
MD518cbe55c3b28754916f1cbf4dfc95cf9
SHA-17ccfb7678c34d6a2bedc040da04e2b5201be453b
C277.91.124.55:19071 (TCP)