Analysis

  • max time kernel
    144s
  • max time network
    131s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/12/2022, 22:53

General

  • Target
    file.exe
  • Size 228KB
  • Sample221221-2tywjade86
  • SHA256 14f1c5fe5252ff9a7e4822fa16e763f691c0c64bd5ab2b2b29496fdc4913c0c5
  • 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
  • Executes dropped EXE 1 IoCs
  • 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.

  • 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). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 3 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:4260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnwubgq\
      2⤵
        PID:4884
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mttxyisd.exe" C:\Windows\SysWOW64\hnwubgq\
        2⤵
          PID:1412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hnwubgq binPath= "C:\Windows\SysWOW64\hnwubgq\mttxyisd.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5116
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hnwubgq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4248
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hnwubgq
          2⤵
          • Launches sc.exe
          PID:1768
        • 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:1440
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4260 -s 1044
          2⤵
          • Program crash
          PID:3376
      • C:\Windows\SysWOW64\hnwubgq\mttxyisd.exe
        C:\Windows\SysWOW64\hnwubgq\mttxyisd.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4208
        • 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:2780
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4208 -s 532
          2⤵
          • Program crash
          PID:4704
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4260 -ip 4260
        1⤵
          PID:3764
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4208 -ip 4208
          1⤵
            PID:5088

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                mttxyisd.exe

                • Path C:\Users\Admin\AppData\Local\Temp\mttxyisd.exe
                • Size 12.2MB
                • SHA256 2b34607e607dc974e82821b7323ed4c5eb092656859026fb4a59ee6a2f05d455
                • MD5 SHA1 SHA512 SSDEEP

                mttxyisd.exe

                • Path C:\Windows\SysWOW64\hnwubgq\mttxyisd.exe
                • Size 12.2MB
                • SHA256 2b34607e607dc974e82821b7323ed4c5eb092656859026fb4a59ee6a2f05d455
                • MD5 SHA1 SHA512 SSDEEP

                memory/2780-153-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/2780-152-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/2780-147-0x00000000004C0000-0x00000000004D5000-memory.dmp

                memory/4208-150-0x000000000061D000-0x000000000062E000-memory.dmp

                memory/4208-151-0x0000000000400000-0x0000000000462000-memory.dmp

                memory/4260-132-0x0000000000493000-0x00000000004A4000-memory.dmp

                memory/4260-143-0x0000000000493000-0x00000000004A4000-memory.dmp

                memory/4260-144-0x00000000007D0000-0x00000000007E3000-memory.dmp

                memory/4260-145-0x0000000000400000-0x0000000000462000-memory.dmp

                memory/4260-133-0x00000000007D0000-0x00000000007E3000-memory.dmp

                memory/4260-134-0x0000000000400000-0x0000000000462000-memory.dmp