Analysis

  • max time kernel
    149s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/06/2024, 00:19

General

  • Target
    yjnclient-v3.exe
  • Size 78KB
  • Sample240625-al71patbkl
  • SHA256 6624c79c2c07fbcb8d4244fadd4e16ad4c536c187c25acaf3b831fff7cbda3c9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • discordrat

Attributes
  • discord_token

    MTI1NDkyMzczMDE3ODY3NDgwMw.GNKnH3._2hi153EQeLcF4SWSwr0pQuzH__TVonJih1mFM

  • server_id

    1254923576340119644

Signatures

  • Discord RAT

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

  • Drops file in System32 directory 1 IoCs
  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\yjnclient-v3.exe
    "C:\Users\Admin\AppData\Local\Temp\yjnclient-v3.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:468
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:1516
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:2104
    • C:\Windows\system32\mmc.exe
      "C:\Windows\system32\mmc.exe" "C:\Windows\system32\taskschd.msc" /s
      1⤵
      • Drops file in System32 directory
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1980

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/468-0-0x000001F730F90000-0x000001F730FA8000-memory.dmp

          memory/468-1-0x00007FFB30D73000-0x00007FFB30D75000-memory.dmp

          memory/468-2-0x000001F74B620000-0x000001F74B7E2000-memory.dmp

          memory/468-3-0x00007FFB30D70000-0x00007FFB31831000-memory.dmp

          memory/468-4-0x000001F74BE20000-0x000001F74C348000-memory.dmp

          memory/468-5-0x00007FFB30D70000-0x00007FFB31831000-memory.dmp

          memory/1516-6-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-7-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-8-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-12-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-14-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-18-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-17-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-16-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-15-0x000001A436280000-0x000001A436281000-memory.dmp

          memory/1516-13-0x000001A436280000-0x000001A436281000-memory.dmp