Analysis
-
max time kernel
32s -
max time network
33s -
platform
windows10-2004_x64 -
resource
win10v2004-20240426-en -
resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system -
submitted
05-05-2024 20:45
Static task
static1
URLScan task
urlscan1
Behavioral task
behavioral1
Sample
https://github.com/DarkHoox/discord-rat
Resource
win10v2004-20240426-en
General
-
Target
https://github.com/DarkHoox/discord-rat
Malware Config
Extracted
discordrat
-
discord_token
MTE1MTU5ODgyMzg3Mzk4NjYwMQ.GTjiSS.UgZxxzsfV1UVjj6oypqYy_S7yw0KvNEtic1UiQ
-
server_id
1204166943272075375
Signatures
-
Discord RAT
A RAT written in C# using Discord as a C2.
-
Executes dropped EXE 1 IoCs
pid Process 5872 builder.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 63 raw.githubusercontent.com 64 raw.githubusercontent.com -
Enumerates system info in registry 2 TTPs 3 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemManufacturer msedge.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS\SystemProductName msedge.exe Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\BIOS msedge.exe -
Suspicious behavior: EnumeratesProcesses 8 IoCs
pid Process 2756 msedge.exe 2756 msedge.exe 4616 msedge.exe 4616 msedge.exe 4384 identity_helper.exe 4384 identity_helper.exe 448 msedge.exe 448 msedge.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 5704 7zFM.exe -
Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 7 IoCs
pid Process 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe -
Suspicious use of AdjustPrivilegeToken 4 IoCs
description pid Process Token: SeRestorePrivilege 5704 7zFM.exe Token: 35 5704 7zFM.exe Token: SeSecurityPrivilege 5704 7zFM.exe Token: SeDebugPrivilege 5872 builder.exe -
Suspicious use of FindShellTrayWindow 35 IoCs
pid Process 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 5704 7zFM.exe 5704 7zFM.exe -
Suspicious use of SendNotifyMessage 24 IoCs
pid Process 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe 4616 msedge.exe -
Suspicious use of WriteProcessMemory 64 IoCs
description pid Process procid_target PID 4616 wrote to memory of 4952 4616 msedge.exe 82 PID 4616 wrote to memory of 4952 4616 msedge.exe 82 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 4560 4616 msedge.exe 85 PID 4616 wrote to memory of 2756 4616 msedge.exe 86 PID 4616 wrote to memory of 2756 4616 msedge.exe 86 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87 PID 4616 wrote to memory of 1528 4616 msedge.exe 87
Processes
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument https://github.com/DarkHoox/discord-rat1⤵
- Enumerates system info in registry
- Suspicious behavior: EnumeratesProcesses
- Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
- Suspicious use of FindShellTrayWindow
- Suspicious use of SendNotifyMessage
- Suspicious use of WriteProcessMemory
PID:4616 -
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" --annotation=IsOfficialBuild=1 --annotation=channel= --annotation=chromium-version=92.0.4515.131 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=92.0.902.67 --initial-client-data=0xfc,0x100,0x104,0xd8,0x108,0x7fff46be46f8,0x7fff46be4708,0x7fff46be47182⤵PID:4952
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2072 /prefetch:22⤵PID:4560
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2264 /prefetch:32⤵
- Suspicious behavior: EnumeratesProcesses
PID:2756
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2632 /prefetch:82⤵PID:1528
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3292 /prefetch:12⤵PID:652
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3300 /prefetch:12⤵PID:1648
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe"C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5324 /prefetch:82⤵PID:4924
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe"C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5324 /prefetch:82⤵
- Suspicious behavior: EnumeratesProcesses
PID:4384
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=edge_collections.mojom.CollectionsDataManager --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=collections --mojo-platform-channel-handle=5564 /prefetch:82⤵PID:1768
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5572 /prefetch:12⤵PID:1048
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=quarantine.mojom.Quarantine --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5584 /prefetch:82⤵
- Suspicious behavior: EnumeratesProcesses
PID:448
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=12 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5548 /prefetch:12⤵PID:884
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=13 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5924 /prefetch:12⤵PID:396
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=14 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5808 /prefetch:12⤵PID:5368
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2132,2194887490035242802,11564625657459335458,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=15 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=6124 /prefetch:12⤵PID:5376
-
-
C:\Windows\System32\CompPkgSrv.exeC:\Windows\System32\CompPkgSrv.exe -Embedding1⤵PID:2060
-
C:\Windows\System32\CompPkgSrv.exeC:\Windows\System32\CompPkgSrv.exe -Embedding1⤵PID:1996
-
C:\Windows\System32\rundll32.exeC:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding1⤵PID:5632
-
C:\Program Files\7-Zip\7zFM.exe"C:\Program Files\7-Zip\7zFM.exe" "C:\Users\Admin\Downloads\grabber.rar"1⤵
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
PID:5704 -
C:\Users\Admin\AppData\Local\Temp\7zO846305D7\builder.exe"C:\Users\Admin\AppData\Local\Temp\7zO846305D7\builder.exe"2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:5872
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
152B
MD51ac52e2503cc26baee4322f02f5b8d9c
SHA138e0cee911f5f2a24888a64780ffdf6fa72207c8
SHA256f65058c6f1a745b37a64d4c97a8e8ee940210273130cec97a67f568088b5d4d4
SHA5127670d606bc5197ecb7db3ddaecd6f74a80e6decae92b94e0e8145a7f463fa099058e89f9dfa1c45b9197c36e5e21994698186a2ec970bbdb0937fe28ca46a834
-
Filesize
152B
MD5b2a1398f937474c51a48b347387ee36a
SHA1922a8567f09e68a04233e84e5919043034635949
SHA2562dc0bf08246ddd5a32288c895d676017578d792349ca437b1b36e7b2f0ade6d6
SHA5124a660c0549f7a850e07d8d36dab33121af02a7bd7e9b2f0137930b4c8cd89b6c5630e408f882684e6935dcb0d5cb5e01a854950eeda252a4881458cafcc7ef7c
-
C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Code Cache\js\index-dir\the-real-index
Filesize2KB
MD5f0a3ac4ca39ed73539abc05219e83507
SHA12c34b96d30f8713fc90a4aeb674b0075e35e3e57
SHA256cc249d92d869778b4d2b7d77a22b4c85b916dd2ddedcf94fedd1f0d4867a656e
SHA5120ad159477ef1b0d6502e14fd23103f327a42ec3f2a282bb0a9ce22dca115e2b28f20413a607ff851fe40f679b8ab9f1faff6960471dddf77f7b8711a2d01b0fa
-
Filesize
6KB
MD54dd7fe2e8c2052a6bfc6e88efbbabc4b
SHA1c3dc1f38fb19596ef98f616c39559677540b36c8
SHA25683b826f1491ff84ba8d4f6a7c75130c054b43e82ed0fd2e3f54f8a6d94aacb3d
SHA5126883e9eaee1ba7efb46902340d17f5d36fbcc65b99c544e04de7ea0462e68bf39e0976ca7c35ae1bdb465f8c2cbb006ee0c3c64905e12605d3d95fc6bf9729be
-
Filesize
16B
MD56752a1d65b201c13b62ea44016eb221f
SHA158ecf154d01a62233ed7fb494ace3c3d4ffce08b
SHA2560861415cada612ea5834d56e2cf1055d3e63979b69eb71d32ae9ae394d8306cd
SHA5129cfd838d3fb570b44fc3461623ab2296123404c6c8f576b0de0aabd9a6020840d4c9125eb679ed384170dbcaac2fa30dc7fa9ee5b77d6df7c344a0aa030e0389
-
C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\f4db646a-335c-4fc3-aaa9-e4f68ba2e375.tmp
Filesize6KB
MD5f462dc1364593f6d4b15bac13fa1a896
SHA11a5e7de52ca280fc2656ff4a836023e231edc4ed
SHA256b72ff6f9195f6fd4e7c46ba05f1be8b73e54093cc2b2bdcff3d56b3ecfb919ee
SHA51290d2d545435f894c21288ee6257ae842319f4196f7de867301bc55f7e22e50c40b9824b406602732daa45243badacb382c1ba0f70a31b862d035f52a44d679c8
-
Filesize
11KB
MD59d02cef31710d10ab2fc364167cc72d2
SHA17d36f44dedfb549f7733b97e7c3db0b5e1cbcc2a
SHA25609bde0fa6e18e802ebf80ab7e48890941df36a1aebb4cd0dfd836ae242d00517
SHA51212746cb95c6d7147b522ce4f9ea7361629126cff8494d16a6f73bdd3ae32bb40b955e8a0b45bd940fe36e8d8eab7db597818843e0736e8281fe082af0867876f
-
Filesize
11KB
MD50dc59d1fb38e2edcd20e28b278c0d152
SHA1f1f2b77b700a5d20843427b652ae45861e6a341a
SHA256e8525aca6013fad7a1ca3846b5f45bea7342672a12880cb149655379bc408c9a
SHA512a77718bbfdd2150f38e59b8ceeba917af85f33532534b3573ee16ff64db04811bd5f379d6ac994e05e31f7352f54632834ab0f33830a075451c38aef8673703c
-
Filesize
78KB
MD531584cce1dc8075e5924186b7b65025d
SHA1014707ac5a1243edcc85895d1bdce8d369bea14d
SHA2567e7f7c2443ff4c8e40d554dd1712bcaf5e7368d1c2b236cf7ea60809893d6241
SHA512be9daade137139dc9df8a8d1aeadceac1b0f2880fedc427ed8ceaa3718abd85cfd70d895b739beee61e683590c810124f44fa9a53931f1688f789f1a4c9a10d8
-
Filesize
367KB
MD50d6011d86b9d1330f353e7afecf6d244
SHA12706f1d3a00cba7780383f8ed00bff5adfb12f30
SHA25613a9658fa89a9c1faced969a14246ca3e436add92d1248de6abb40299727c9a8
SHA512fc8524bc1abc36e7449a3d93cc37f4103bac0517ffe71e4903668097f3a2943543faada549a9a755faf0b556754ef947db829ecb016d7e41bb5743f6650058d5