Analysis
- max time kernel
95s - max time network
111s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
07/08/2024, 09:15
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
9afd87fc63c0b4029aa406d545a71130N.exe
Resource
win7-20240704-en
12 signatures
120 seconds
General
- Target 9afd87fc63c0b4029aa406d545a71130N.exe
- Size 517KB
- Sample240807-k77xxszbmc
- SHA256 14076ed1de49a51e762a5058451bb130eba7ce7666fd882c90fc87b47050825c
- MD5 9afd87fc63c0b4029aa406d545a71130
- SHA1 cbb75a4c6734bd1a0213c7374e48b299a6a01db6
- SHA512 7055f882bc8a0d5e7f8e90ca34b7402bbac4386d835a939b15a65482dd6aaf9d7845109dfd703c024908f59cf5cb348507ad951ec0bf63aa256909674d1137b9
- SSDEEP 12288:7XdaoWs5eJhppdIiOKjLlJ2YzWeVmjSetfrpoCZ:7NaoWs5oPFDdJ2YzXV6
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
redline
Botnet
-
scan
C2
-
66.63.168.8:4483
Signatures
- RedLine
RedLine Stealer is a malware family written in C#, first appearing in early 2020.
- RedLine payload 1 IoCs
resource yara_rule behavioral2/memory/2936-31-0x0000000000400000-0x000000000041E000-memory.dmp family_redline - SectopRAT payload 1 IoCs
resource yara_rule behavioral2/memory/2936-31-0x0000000000400000-0x000000000041E000-memory.dmp family_sectoprat - Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 3520 powershell.exe 5084 powershell.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-355097885-2402257403-2971294179-1000\Control Panel\International\Geo\Nation 9afd87fc63c0b4029aa406d545a71130N.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4032 set thread context of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 5 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 9afd87fc63c0b4029aa406d545a71130N.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 9afd87fc63c0b4029aa406d545a71130N.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 4056 schtasks.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3520 powershell.exe 5084 powershell.exe 3520 powershell.exe 5084 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 3520 powershell.exe Token: SeDebugPrivilege 5084 powershell.exe Token: SeDebugPrivilege 2936 9afd87fc63c0b4029aa406d545a71130N.exe - Suspicious use of WriteProcessMemory 17 IoCs
description pid Process procid_target PID 4032 wrote to memory of 3520 4032 9afd87fc63c0b4029aa406d545a71130N.exe 86 PID 4032 wrote to memory of 3520 4032 9afd87fc63c0b4029aa406d545a71130N.exe 86 PID 4032 wrote to memory of 3520 4032 9afd87fc63c0b4029aa406d545a71130N.exe 86 PID 4032 wrote to memory of 5084 4032 9afd87fc63c0b4029aa406d545a71130N.exe 88 PID 4032 wrote to memory of 5084 4032 9afd87fc63c0b4029aa406d545a71130N.exe 88 PID 4032 wrote to memory of 5084 4032 9afd87fc63c0b4029aa406d545a71130N.exe 88 PID 4032 wrote to memory of 4056 4032 9afd87fc63c0b4029aa406d545a71130N.exe 90 PID 4032 wrote to memory of 4056 4032 9afd87fc63c0b4029aa406d545a71130N.exe 90 PID 4032 wrote to memory of 4056 4032 9afd87fc63c0b4029aa406d545a71130N.exe 90 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92 PID 4032 wrote to memory of 2936 4032 9afd87fc63c0b4029aa406d545a71130N.exe 92
Processes
-
C:\Users\Admin\AppData\Local\Temp\9afd87fc63c0b4029aa406d545a71130N.exe"C:\Users\Admin\AppData\Local\Temp\9afd87fc63c0b4029aa406d545a71130N.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4032 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\9afd87fc63c0b4029aa406d545a71130N.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3520
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\HZpnbIoAyh.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5084
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HZpnbIoAyh" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB565.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:4056
-
-
C:\Users\Admin\AppData\Local\Temp\9afd87fc63c0b4029aa406d545a71130N.exe"C:\Users\Admin\AppData\Local\Temp\9afd87fc63c0b4029aa406d545a71130N.exe"2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
PID:2936
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\9afd87fc63c0b4029aa406d545a71130N.exe.log
- Size 1KB
- SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
- MD5 8ec831f3e3a3f77e4a7b9cd32b48384c
- SHA1 d83f09fd87c5bd86e045873c231c14836e76a05c
- SHA512 26bffa2406b66368bd412bf25869a792631455645992cdcade2dbc13a2e56fb546414a6a9223b94c96c38d89187add6678d4779a88b38b0c9e36be8527b213c3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
- Size 2KB
- SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
- MD5 968cb9309758126772781b83adb8a28f
- SHA1 8da30e71accf186b2ba11da1797cf67f8f78b47c
- SHA512 4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 18KB
- SHA256 0129050efad9c2f1cc45a4d5e101d1b5c9fb8f6c44147c851dbe9281e624449b
- MD5 6117f3f6224e6b274c9bcaf5f7bc0715
- SHA1 b21aa00081562c1da6ab005a604c2d7387b23abf
- SHA512 951e037f3ddc0e0862b82c515a7427c8a9e0e2b6573594fb6a8738d202c8a3c6de1f379e65613b5f27a527e398c060bfb0239b51b03bc7414ec24085c60d058a
- SSDEEP 384:4sf+BO9i+js5vB4WSj6f84o9o2TpK6seYLME/h03SoZCfYSg0jEDkeQ0gdItkKhD:Vf7s3zj8to2TpNgrKSlWKEDjCq3
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_14ao03pf.l4n.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpB565.tmp
- Size 1KB
- SHA256 66cac99cfa42db9539d20dc6089e7ad57149b4b6de06520949ad0dc5b6881c8a
- MD5 98e3682c44a12672ee01585c39b7afc1
- SHA1 8db5515df7481f06485c54af20c8a10919e8e7f6
- SHA512 e2aab262ecffe8c6786dd4be73a2d3a78a59e0f7baa37c80bc8351a8cea637b1682ba1032960a2fdb7052e18c092d61138a12e501c08e1fab6330fa71c39b365
- MD5 SHA1 SHA512