Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-09-2024 18:35

General

  • Target

    7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438.exe

  • Size

    238KB

  • MD5

    54652c24cf369040689e46afeb083ee8

  • SHA1

    80b30eb64cb5e62af500b135f889c801f5468172

  • SHA256

    7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438

  • SHA512

    cc568c8d3f7e0a21c1f4d3610832a1e8ec54e5256d0d478ab015ddbf5994a109850d82d849e8b47185ec8e358409492850ee1f181c728fa39ab2942a45bf4523

  • SSDEEP

    3072:S758AfWsgvZ6xR1wv7NMFYUSkxtDdAHvVkkLgpFCWs/xL/Q:ifWsgvZ6xR1G7NWzSkTDdtloF/Q

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

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
  • 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.

  • Program crash 2 IoCs
  • 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\7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438.exe
    "C:\Users\Admin\AppData\Local\Temp\7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wgemsyxu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ubanvvdh.exe" C:\Windows\SysWOW64\wgemsyxu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wgemsyxu binPath= "C:\Windows\SysWOW64\wgemsyxu\ubanvvdh.exe /d\"C:\Users\Admin\AppData\Local\Temp\7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wgemsyxu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wgemsyxu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2224
    • 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:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1984 -s 592
      2⤵
      • Program crash
      PID:3596
  • C:\Windows\SysWOW64\wgemsyxu\ubanvvdh.exe
    C:\Windows\SysWOW64\wgemsyxu\ubanvvdh.exe /d"C:\Users\Admin\AppData\Local\Temp\7d337cf7f54e13aa3d045336030074af0cdab304f1e781d611d086b3e7cfe438.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2548
    • 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:884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2548 -s 508
      2⤵
      • Program crash
      PID:376
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1984 -ip 1984
    1⤵
      PID:5072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2548 -ip 2548
      1⤵
        PID:2552

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        199f1e31fe13631cf93d68833562e5ab

        SHA1

        214b9493137ef55c3c5cea0881332457b752c1c7

        SHA256

        7acbfee1acb60a0457aa0c47b9d3815bd80eeb8b0c10d3c765b79cd75ed7db66

        SHA512

        62b0b8f00d22abc40ceb4b175fed24eb1e0e4da0f10a688b01d537702ec4793a9031b34bbbff3b1d3caa82ca8167cbfab07a82b654d3898f6d09472b5a9d2bc3

      • memory/884-51-0x0000000007C00000-0x000000000800B000-memory.dmp

        Filesize

        4.0MB

      • memory/884-34-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-54-0x0000000007C00000-0x000000000800B000-memory.dmp

        Filesize

        4.0MB

      • memory/884-55-0x00000000023E0000-0x00000000023E7000-memory.dmp

        Filesize

        28KB

      • memory/884-31-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-32-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-33-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-35-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-36-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-14-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/884-16-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/884-17-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/884-37-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-50-0x00000000023D0000-0x00000000023D5000-memory.dmp

        Filesize

        20KB

      • memory/884-27-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-24-0x0000000002370000-0x0000000002376000-memory.dmp

        Filesize

        24KB

      • memory/884-23-0x0000000002C00000-0x0000000002E0F000-memory.dmp

        Filesize

        2.1MB

      • memory/884-39-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-30-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-38-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-20-0x0000000002C00000-0x0000000002E0F000-memory.dmp

        Filesize

        2.1MB

      • memory/884-47-0x00000000023D0000-0x00000000023D5000-memory.dmp

        Filesize

        20KB

      • memory/884-46-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-45-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-44-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-43-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-42-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-41-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

      • memory/884-40-0x0000000002380000-0x0000000002390000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/1984-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

      • memory/1984-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1984-7-0x0000000000400000-0x0000000000443000-memory.dmp

        Filesize

        268KB

      • memory/1984-8-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/1984-2-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/2548-18-0x0000000000400000-0x0000000000443000-memory.dmp

        Filesize

        268KB

      • memory/2548-13-0x0000000000400000-0x0000000000443000-memory.dmp

        Filesize

        268KB

      • memory/2548-11-0x0000000000400000-0x0000000000443000-memory.dmp

        Filesize

        268KB

      • memory/2548-12-0x0000000000400000-0x0000000000443000-memory.dmp

        Filesize

        268KB