Analysis

  • max time kernel
    143s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/02/2023, 00:37

General

  • Target
    file.exe
  • Size 299KB
  • Sample230207-aygz2agf74
  • SHA256 71864f13775192cf8a30f8a9318b224818f6edc52eda6db27b38e549fde0d413
  • MD5 SHA1 SHA512 SSDEEP

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) 1 TTPs
  • Modifies Windows Firewall 1 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 1 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). Likely ransomware behaviour.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkgbdbbb\
      2⤵
        PID:3612
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\agtohobw.exe" C:\Windows\SysWOW64\hkgbdbbb\
        2⤵
          PID:3064
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hkgbdbbb binPath= "C:\Windows\SysWOW64\hkgbdbbb\agtohobw.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2168
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hkgbdbbb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3448
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hkgbdbbb
          2⤵
          • Launches sc.exe
          PID:2612
        • 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
          PID:4776
      • C:\Windows\SysWOW64\hkgbdbbb\agtohobw.exe
        C:\Windows\SysWOW64\hkgbdbbb\agtohobw.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1936
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:3276

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            agtohobw.exe

            • Path C:\Users\Admin\AppData\Local\Temp\agtohobw.exe
            • Size 12.1MB
            • SHA256 8f83aac428f9f5ff4bcb86608d9847b41cab545395b9a87b351e1ce14308f31b
            • MD5 SHA1 SHA512 SSDEEP

            agtohobw.exe

            • Path C:\Windows\SysWOW64\hkgbdbbb\agtohobw.exe
            • Size 12.1MB
            • SHA256 8f83aac428f9f5ff4bcb86608d9847b41cab545395b9a87b351e1ce14308f31b
            • MD5 SHA1 SHA512 SSDEEP

            memory/1936-148-0x0000000000789000-0x000000000079F000-memory.dmp

            memory/1936-150-0x0000000000400000-0x00000000004C7000-memory.dmp

            memory/2240-142-0x000000000087E000-0x0000000000894000-memory.dmp

            memory/2240-133-0x000000000087E000-0x0000000000894000-memory.dmp

            memory/2240-134-0x0000000002200000-0x0000000002213000-memory.dmp

            memory/2240-135-0x0000000000400000-0x00000000004C7000-memory.dmp

            memory/2240-143-0x0000000000400000-0x00000000004C7000-memory.dmp

            memory/3276-146-0x0000000001210000-0x0000000001225000-memory.dmp

            memory/3276-151-0x0000000001210000-0x0000000001225000-memory.dmp

            memory/3276-152-0x0000000001210000-0x0000000001225000-memory.dmp