Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-09-2024 10:54

General

  • Target

    c12c0818b3943d544dde026c24b31163.exe

  • Size

    12.2MB

  • MD5

    c12c0818b3943d544dde026c24b31163

  • SHA1

    846bb3c582a475ceca650dc0cb7b21e1c0a46faf

  • SHA256

    fda2cf0c4eabc5b1a0dfb821ea8605b71d190b2e46f9c13fe17a344357c0fd87

  • SHA512

    90093573f77c50742763fcbe7ad2a71e72ba726e3cf6e4e7513773d2189ba14654163218d29847d81e166888d517864330b04201516073e88aa37581837a27db

  • SSDEEP

    12288:jtfqkWH3ZIQqcggggggggggggggggggggggggggggggggggggggggggggggggggM:jY1HpLq

Malware Config

Extracted

Family

tofsee

C2

svartalfheim.top

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

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

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c12c0818b3943d544dde026c24b31163.exe
    "C:\Users\Admin\AppData\Local\Temp\c12c0818b3943d544dde026c24b31163.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kerepsmh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\brcgsagp.exe" C:\Windows\SysWOW64\kerepsmh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kerepsmh binPath= "C:\Windows\SysWOW64\kerepsmh\brcgsagp.exe /d\"C:\Users\Admin\AppData\Local\Temp\c12c0818b3943d544dde026c24b31163.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kerepsmh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kerepsmh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3700
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3348
  • C:\Windows\SysWOW64\kerepsmh\brcgsagp.exe
    C:\Windows\SysWOW64\kerepsmh\brcgsagp.exe /d"C:\Users\Admin\AppData\Local\Temp\c12c0818b3943d544dde026c24b31163.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2120
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:2400

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\brcgsagp.exe

    Filesize

    14.0MB

    MD5

    828e562c3973b03e6fb481c88b5fbde9

    SHA1

    2247c30430f8e2afa262b2d77dd4182fd4297933

    SHA256

    1ef77c6b4661ad72113b475613c3ab4e5a447cf802717e72b5cb25a0753839e7

    SHA512

    7d8f91d73eb6e24e1fc36727bc470d746d622755070e68235fa37e7b5adc61181e51d70a58bb53d97acaad35afc50ce3198c3881350a6134f9abf8dd9c9f6b9b

  • memory/2120-9-0x0000000000400000-0x0000000002C6C000-memory.dmp

    Filesize

    40.4MB

  • memory/2400-41-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-32-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-8-0x0000000001220000-0x0000000001235000-memory.dmp

    Filesize

    84KB

  • memory/2400-40-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-51-0x0000000008080000-0x000000000848B000-memory.dmp

    Filesize

    4.0MB

  • memory/2400-39-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-21-0x00000000013F0000-0x00000000013F6000-memory.dmp

    Filesize

    24KB

  • memory/2400-14-0x0000000001220000-0x0000000001235000-memory.dmp

    Filesize

    84KB

  • memory/2400-15-0x0000000001220000-0x0000000001235000-memory.dmp

    Filesize

    84KB

  • memory/2400-18-0x0000000003200000-0x000000000340F000-memory.dmp

    Filesize

    2.1MB

  • memory/2400-52-0x00000000035D0000-0x00000000035D7000-memory.dmp

    Filesize

    28KB

  • memory/2400-48-0x0000000008080000-0x000000000848B000-memory.dmp

    Filesize

    4.0MB

  • memory/2400-47-0x00000000025F0000-0x00000000025F5000-memory.dmp

    Filesize

    20KB

  • memory/2400-44-0x00000000025F0000-0x00000000025F5000-memory.dmp

    Filesize

    20KB

  • memory/2400-43-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-42-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-20-0x0000000003200000-0x000000000340F000-memory.dmp

    Filesize

    2.1MB

  • memory/2400-24-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-27-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-38-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-37-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-36-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-35-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-34-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-33-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-28-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-31-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-30-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/2400-29-0x00000000025E0000-0x00000000025F0000-memory.dmp

    Filesize

    64KB

  • memory/3828-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3828-12-0x00000000049B0000-0x00000000049C3000-memory.dmp

    Filesize

    76KB

  • memory/3828-2-0x00000000049B0000-0x00000000049C3000-memory.dmp

    Filesize

    76KB

  • memory/3828-11-0x0000000000400000-0x0000000002C6C000-memory.dmp

    Filesize

    40.4MB

  • memory/3828-1-0x0000000002EE0000-0x0000000002FE0000-memory.dmp

    Filesize

    1024KB

  • memory/3828-13-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB