File name:

midnight.exe

Full analysis: https://app.any.run/tasks/23f0d380-49ad-48fc-b5c6-255d1e4e4e9f
Verdict: Malicious activity
Threats:

Stealers are a group of malicious software that are intended for gaining unauthorized access to users’ information and transferring it to the attacker. The stealer malware category includes various types of programs that focus on their particular kind of data, including files, passwords, and cryptocurrency. Stealers are capable of spying on their targets by recording their keystrokes and taking screenshots. This type of malware is primarily distributed as part of phishing campaigns.

Analysis date: May 18, 2025, 20:18:11
OS: Windows 10 Professional (build: 19044, 64 bit)
Tags:
stealer
ms-smartcard
susp-powershell
salatstealer
golang
upx
Indicators:
MIME: application/vnd.microsoft.portable-executable
File info: PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed, 3 sections
MD5:

995D4B50C7FAEC25F6812BF26560860B

SHA1:

21FA1F9D957E01D2381EFEDE21D9F162E76D8679

SHA256:

5817A8470A287DC05D2B2FB94E91D43F3B803D5C3C338793A430EB6BE38404A7

SSDEEP:

98304:EjfnwYTBml0hKwFNB6aX0mHjkSUMqpi77LLvaXQkH1izO5jX1wrLZPVPD66T9C94:xJTgrcF

ANY.RUN is an interactive service which provides full access to the guest system. Information in this report could be distorted by user actions and is provided for user acknowledgement as it is. ANY.RUN does not guarantee maliciousness or safety of the content.
  • MALICIOUS

    • Actions looks like stealing of personal data

      • dwm.exe (PID: 7748)
    • Steals credentials from Web Browsers

      • dwm.exe (PID: 7748)
    • Starts REAGENTC.EXE to disable the Windows Recovery Environment

      • ReAgentc.exe (PID: 1228)
    • UAC/LUA settings modification

      • powershell.exe (PID: 7852)
    • SALATSTEALER has been detected (YARA)

      • dwm.exe (PID: 7748)
  • SUSPICIOUS

    • Reads security settings of Internet Explorer

      • midnight.exe (PID: 7444)
      • ShellExperienceHost.exe (PID: 7256)
    • Application launched itself

      • midnight.exe (PID: 7444)
    • The process creates files with name similar to system file names

      • midnight.exe (PID: 7532)
    • Executable content was dropped or overwritten

      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
    • Starts itself from another location

      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
    • Starts POWERSHELL.EXE for commands execution

      • dwm.exe (PID: 7748)
    • Gets path to any of the special folders (POWERSHELL)

      • powershell.exe (PID: 7852)
    • Modifies hosts file to alter network resolution

      • powershell.exe (PID: 7852)
    • There is functionality for taking screenshot (YARA)

      • dwm.exe (PID: 7748)
    • Multiple wallet extension IDs have been found

      • dwm.exe (PID: 7748)
  • INFO

    • Process checks computer location settings

      • midnight.exe (PID: 7444)
    • Reads the machine GUID from the registry

      • midnight.exe (PID: 7444)
      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
      • dwm.exe (PID: 7960)
      • dwm.exe (PID: 5376)
    • Reads the computer name

      • midnight.exe (PID: 7444)
      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
      • dwm.exe (PID: 7960)
      • dwm.exe (PID: 5376)
      • ShellExperienceHost.exe (PID: 7256)
    • Checks supported languages

      • midnight.exe (PID: 7444)
      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
      • dwm.exe (PID: 5376)
      • dwm.exe (PID: 7960)
      • ShellExperienceHost.exe (PID: 7256)
    • Creates files in the program directory

      • midnight.exe (PID: 7532)
      • dwm.exe (PID: 7748)
    • Create files in a temporary directory

      • dwm.exe (PID: 7748)
    • Drops encrypted JS script (Microsoft Script Encoder)

      • dwm.exe (PID: 7748)
    • Script raised an exception (POWERSHELL)

      • powershell.exe (PID: 7852)
    • Checks current location (POWERSHELL)

      • powershell.exe (PID: 7852)
    • Checks if a key exists in the options dictionary (POWERSHELL)

      • powershell.exe (PID: 7852)
    • Application based on Golang

      • dwm.exe (PID: 7748)
    • UPX packer has been detected

      • dwm.exe (PID: 7748)
    • Detects GO elliptic curve encryption (YARA)

      • dwm.exe (PID: 7748)
    • Reads the software policy settings

      • slui.exe (PID: 7560)
    • Found Base64 encoded access to environment variables via PowerShell (YARA)

      • dwm.exe (PID: 7748)
    • Checks proxy server information

      • slui.exe (PID: 7560)
    • Found Base64 encoded access to Windows Defender via PowerShell (YARA)

      • dwm.exe (PID: 7748)
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report
No Malware configuration.

TRiD

.exe | UPX compressed Win32 Executable (64.2)
.dll | Win32 Dynamic Link Library (generic) (15.6)
.exe | Win32 Executable (generic) (10.6)
.exe | Generic Win/DOS Executable (4.7)
.exe | DOS Executable Generic (4.7)

EXIF

EXE

MachineType: Intel 386 or later, and compatibles
TimeStamp: 0000:00:00 00:00:00
ImageFileCharacteristics: Executable, 32-bit
PEType: PE32
LinkerVersion: 3
CodeSize: 3280896
InitializedDataSize: 4096
UninitializedDataSize: 8773632
EntryPoint: 0xb7e770
OSVersion: 6.1
ImageVersion: 1
SubsystemVersion: 6.1
Subsystem: Windows GUI
No data.
screenshotscreenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
141
Monitored processes
10
Malicious processes
4
Suspicious processes
1

Behavior graph

Click at the process to see the details
start midnight.exe no specs midnight.exe #SALATSTEALER dwm.exe powershell.exe no specs conhost.exe no specs dwm.exe no specs dwm.exe no specs reagentc.exe no specs shellexperiencehost.exe no specs slui.exe

Process information

PID
CMD
Path
Indicators
Parent process
1228"C:\WINDOWS\system32\ReAgentc.exe" /disableC:\Windows\SysWOW64\ReAgentc.exepowershell.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
HIGH
Description:
Microsoft Windows Recovery Agent
Exit code:
0
Version:
10.0.19041.3636 (WinBuild.160101.0800)
Modules
Images
c:\windows\syswow64\reagentc.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\advapi32.dll
c:\windows\syswow64\msvcrt.dll
5376"C:\Program Files\Google\Chrome\Application\dwm.exe" -C:\Program Files\Google\Chrome\Application\dwm.exedwm.exe
User:
admin
Integrity Level:
HIGH
Exit code:
0
Modules
Images
c:\program files\google\chrome\application\dwm.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\apphelp.dll
c:\windows\syswow64\bcryptprimitives.dll
7256"C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe" -ServerName:App.AppXtk181tbxbce2qsex02s8tw7hfxa9xb3t.mcaC:\Windows\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exesvchost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows Shell Experience Host
Version:
10.0.19041.3758 (WinBuild.160101.0800)
Modules
Images
c:\windows\systemapps\shellexperiencehost_cw5n1h2txyewy\shellexperiencehost.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\combase.dll
c:\windows\system32\ucrtbase.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\oleaut32.dll
c:\windows\system32\msvcp_win.dll
c:\windows\system32\dxgi.dll
7444"C:\Users\admin\Desktop\midnight.exe" C:\Users\admin\Desktop\midnight.exeexplorer.exe
User:
admin
Integrity Level:
MEDIUM
Modules
Images
c:\users\admin\desktop\midnight.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\apphelp.dll
c:\windows\syswow64\bcryptprimitives.dll
7532"C:\Users\admin\Desktop\midnight.exe" C:\Users\admin\Desktop\midnight.exe
midnight.exe
User:
admin
Integrity Level:
HIGH
Exit code:
0
Modules
Images
c:\windows\syswow64\bcryptprimitives.dll
c:\windows\syswow64\winmm.dll
c:\windows\syswow64\msvcrt.dll
c:\windows\syswow64\ws2_32.dll
c:\windows\syswow64\rpcrt4.dll
c:\windows\syswow64\powrprof.dll
c:\windows\syswow64\ucrtbase.dll
c:\windows\syswow64\umpdc.dll
c:\windows\syswow64\user32.dll
c:\windows\syswow64\win32u.dll
7560C:\WINDOWS\System32\slui.exe -EmbeddingC:\Windows\System32\slui.exe
svchost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows Activation Client
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\slui.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\bcrypt.dll
c:\windows\system32\user32.dll
7748"C:\Program Files (x86)\Windows Multimedia Platform\dwm.exe"C:\Program Files (x86)\Windows Multimedia Platform\dwm.exe
midnight.exe
User:
admin
Integrity Level:
HIGH
Modules
Images
c:\program files (x86)\windows multimedia platform\dwm.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\apphelp.dll
c:\windows\syswow64\bcryptprimitives.dll
7852powershell.exeC:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exedwm.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
HIGH
Description:
Windows PowerShell
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\syswow64\windowspowershell\v1.0\powershell.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\apphelp.dll
c:\windows\syswow64\msvcrt.dll
7876\??\C:\WINDOWS\system32\conhost.exe 0xffffffff -ForceV1C:\Windows\System32\conhost.exepowershell.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
HIGH
Description:
Console Window Host
Exit code:
0
Version:
10.0.19041.1 (WinBuild.160101.0800)
Modules
Images
c:\windows\system32\conhost.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcp_win.dll
c:\windows\system32\ucrtbase.dll
c:\windows\system32\shcore.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\combase.dll
c:\windows\system32\rpcrt4.dll
7960"C:\Program Files (x86)\Microsoft\Edge\Application\dwm.exe" -C:\Program Files (x86)\Microsoft\Edge\Application\dwm.exedwm.exe
User:
admin
Integrity Level:
HIGH
Exit code:
0
Modules
Images
c:\program files (x86)\microsoft\edge\application\dwm.exe
c:\windows\system32\ntdll.dll
c:\windows\syswow64\ntdll.dll
c:\windows\system32\wow64.dll
c:\windows\system32\wow64win.dll
c:\windows\system32\wow64cpu.dll
c:\windows\syswow64\kernel32.dll
c:\windows\syswow64\kernelbase.dll
c:\windows\syswow64\apphelp.dll
c:\windows\syswow64\bcryptprimitives.dll
Total events
15 434
Read events
15 361
Write events
13
Delete events
60

Modification events

(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\11000001
Operation:delete keyName:(default)
Value:
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\11000001
Operation:writeName:Element
Value:
0000000000000000000000000000000006000000000000004800000000000000715E5C2FA985EB1190A89A9B763584210000000000000000745E5C2FA985EB1190A89A9B7635842100000000000000000000000000000000
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\12000002
Operation:delete keyName:(default)
Value:
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{9dea862c-5cdd-4e70-acc1-f32b344d4795}\Elements\12000002
Operation:writeName:Element
Value:
\EFI\Microsoft\Boot\bootmgfw.efi
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{5b970157-8568-11eb-b45c-806e6f6e6963}\Elements\11000001
Operation:delete keyName:(default)
Value:
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{5b970157-8568-11eb-b45c-806e6f6e6963}\Elements\11000001
Operation:writeName:Element
Value:
0000000000000000000000000000000006000000000000004800000000000000715E5C2FA985EB1190A89A9B763584210000000000000000745E5C2FA985EB1190A89A9B7635842100000000000000000000000000000000
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{5b970157-8568-11eb-b45c-806e6f6e6963}\Elements\12000002
Operation:delete keyName:(default)
Value:
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{5b970157-8568-11eb-b45c-806e6f6e6963}\Elements\12000002
Operation:writeName:Element
Value:
\EFI\Boot\Loader.efi
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{a5a30fa2-3d06-4e9f-b5f4-a01df9d1fcba}\Description
Operation:delete keyName:(default)
Value:
(PID) Process:(1228) ReAgentc.exeKey:HKEY_LOCAL_MACHINE\BCD00000000\Objects\{a5a30fa2-3d06-4e9f-b5f4-a01df9d1fcba}\Elements\24000001
Operation:delete keyName:(default)
Value:
Executable files
4
Suspicious files
2
Text files
9
Unknown types
0

Dropped files

PID
Process
Filename
Type
1228ReAgentc.exeC:\Windows\SysWOW64\Recovery\Winre.wim
MD5:
SHA256:
7852powershell.exeC:\Users\admin\AppData\Local\Temp\__PSScriptPolicyTest_dzxq5jnd.2wz.ps1text
MD5:D17FE0A3F47BE24A6453E9EF58C94641
SHA256:96AD1146EB96877EAB5942AE0736B82D8B5E2039A80D3D6932665C1A4C87DCF7
7532midnight.exeC:\Program Files (x86)\Windows Multimedia Platform\dwm.exeexecutable
MD5:995D4B50C7FAEC25F6812BF26560860B
SHA256:5817A8470A287DC05D2B2FB94E91D43F3B803D5C3C338793A430EB6BE38404A7
7748dwm.exeC:\Program Files\Google\Chrome\Application\dwm.exeexecutable
MD5:995D4B50C7FAEC25F6812BF26560860B
SHA256:5817A8470A287DC05D2B2FB94E91D43F3B803D5C3C338793A430EB6BE38404A7
7852powershell.exeC:\Users\admin\AppData\Local\Temp\__PSScriptPolicyTest_eboibkji.ij0.psm1text
MD5:D17FE0A3F47BE24A6453E9EF58C94641
SHA256:96AD1146EB96877EAB5942AE0736B82D8B5E2039A80D3D6932665C1A4C87DCF7
1228ReAgentc.exeC:\Windows\Panther\UnattendGC\diagerr.xmltext
MD5:3A8D2D92D67445734789F82D6E6D90A6
SHA256:E80AA5A43C517844228A67E8A49E30EE8CF68979E54BA0A3FE660C80978808C6
7748dwm.exeC:\Program Files (x86)\Microsoft\Edge\Application\dwm.exeexecutable
MD5:995D4B50C7FAEC25F6812BF26560860B
SHA256:5817A8470A287DC05D2B2FB94E91D43F3B803D5C3C338793A430EB6BE38404A7
7532midnight.exeC:\Program Files (x86)\Internet Explorer\fontdrvhost.exeexecutable
MD5:995D4B50C7FAEC25F6812BF26560860B
SHA256:5817A8470A287DC05D2B2FB94E91D43F3B803D5C3C338793A430EB6BE38404A7
7852powershell.exeC:\Users\admin\AppData\Local\Temp\__PSScriptPolicyTest_1hqqy4ip.kcd.ps1text
MD5:D17FE0A3F47BE24A6453E9EF58C94641
SHA256:96AD1146EB96877EAB5942AE0736B82D8B5E2039A80D3D6932665C1A4C87DCF7
1228ReAgentc.exeC:\Windows\Panther\UnattendGC\diagwrn.xmltext
MD5:5EB9C3ED71E4B7EA9FEC99E2111FDF1B
SHA256:19C3395E234F92BDEACA271522D55230DE489E9D3FAB9730B120A8930449248F
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
8
TCP/UDP connections
60
DNS requests
17
Threats
0

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
6468
SIHClient.exe
GET
200
23.48.23.188:80
http://crl.microsoft.com/pki/crl/products/MicRooCerAut2011_2011_03_22.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
184.30.21.171:80
http://www.microsoft.com/pkiops/crl/Microsoft%20Update%20Signing%20CA%202.1.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
23.48.23.188:80
http://crl.microsoft.com/pki/crl/products/MicRooCerAut_2010-06-23.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
23.48.23.188:80
http://crl.microsoft.com/pki/crl/products/MicTimStaPCA_2010-07-01.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
184.30.21.171:80
http://www.microsoft.com/pkiops/crl/Microsoft%20ECC%20Product%20Root%20Certificate%20Authority%202018.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
184.30.21.171:80
http://www.microsoft.com/pkiops/crl/Microsoft%20ECC%20Update%20Signing%20CA%202.1.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
184.30.21.171:80
http://www.microsoft.com/pkiops/crl/Microsoft%20Update%20Signing%20CA%202.2.crl
unknown
whitelisted
6468
SIHClient.exe
GET
200
184.30.21.171:80
http://www.microsoft.com/pkiops/crl/Microsoft%20ECC%20Update%20Signing%20CA%202.2.crl
unknown
whitelisted
Download PCAP, analyze network streams, HTTP content and a lot more at the full report

Connections

PID
Process
IP
Domain
ASN
CN
Reputation
51.124.78.146:443
settings-win.data.microsoft.com
MICROSOFT-CORP-MSN-AS-BLOCK
NL
whitelisted
4
System
192.168.100.255:137
whitelisted
4
System
192.168.100.255:138
whitelisted
172.211.123.249:443
client.wns.windows.com
MICROSOFT-CORP-MSN-AS-BLOCK
FR
whitelisted
7532
midnight.exe
1.1.1.1:443
whitelisted
7532
midnight.exe
104.21.84.111:443
unknown
7748
dwm.exe
1.1.1.1:443
whitelisted
7748
dwm.exe
104.21.84.111:443
unknown
7976
svchost.exe
23.35.238.131:443
go.microsoft.com
AKAMAI-AS
DE
whitelisted
3216
svchost.exe
172.211.123.249:443
client.wns.windows.com
MICROSOFT-CORP-MSN-AS-BLOCK
FR
whitelisted

DNS requests

Domain
IP
Reputation
settings-win.data.microsoft.com
  • 51.124.78.146
whitelisted
google.com
  • 142.250.185.206
whitelisted
client.wns.windows.com
  • 172.211.123.249
  • 172.211.123.250
  • 172.211.123.248
whitelisted
go.microsoft.com
  • 23.35.238.131
whitelisted
slscr.update.microsoft.com
  • 4.175.87.197
whitelisted
crl.microsoft.com
  • 23.48.23.188
  • 23.48.23.192
  • 23.48.23.194
  • 23.48.23.134
  • 23.48.23.193
  • 23.48.23.190
  • 23.48.23.191
  • 23.48.23.139
  • 23.48.23.138
whitelisted
www.microsoft.com
  • 184.30.21.171
whitelisted
fe3cr.delivery.mp.microsoft.com
  • 13.85.23.206
whitelisted
activation-v2.sls.microsoft.com
  • 20.83.72.98
whitelisted
nexusrules.officeapps.live.com
  • 52.111.236.22
whitelisted

Threats

No threats detected
No debug info