Analysis

  • max time kernel
    152s
  • max time network
    161s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230824-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230824-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2023 20:08

General

  • Target

    file.exe

  • Size

    206KB

  • MD5

    0f9c373964288e253936c6fca66e7c3d

  • SHA1

    89cd1ecf9d256f4ad608ae27ae59d86960078850

  • SHA256

    043f6d52d44dc42b0da11af5b87c27bbaada4c88bacda864f644fbf1731f5404

  • SHA512

    1f534cbb70ac2f95d1170c7c55f0bf2af3244de80ac7d47d395b4b8516fe39a780af06fea9f4f9530c0641b3111ca30d42fcee589687deff825db4a60714f236

  • SSDEEP

    3072:9KLxYvgRbgBeCiMGsIvTN7BW//30MYGOR0Ali8V9Z/8u:9i5RbaeCiVxFB2QN8Ot8

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

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 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:1100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kgkrknoi\
      2⤵
        PID:4288
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hfpqsorx.exe" C:\Windows\SysWOW64\kgkrknoi\
        2⤵
          PID:4240
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kgkrknoi binPath= "C:\Windows\SysWOW64\kgkrknoi\hfpqsorx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3776
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kgkrknoi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2108
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kgkrknoi
          2⤵
          • Launches sc.exe
          PID:4284
        • 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:4632
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1100 -s 1032
          2⤵
          • Program crash
          PID:4344
      • C:\Windows\SysWOW64\kgkrknoi\hfpqsorx.exe
        C:\Windows\SysWOW64\kgkrknoi\hfpqsorx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3812
        • 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:1728
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3812 -s 528
          2⤵
          • Program crash
          PID:4460
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1100 -ip 1100
        1⤵
          PID:2176
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3812 -ip 3812
          1⤵
            PID:4384

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.8MB

            MD5

            cf9360b2adf9c9697ef0c4679c5c1755

            SHA1

            b52cad28f8e7242a4b5e4b989bc93cbafc847ea5

            SHA256

            dff44394aa42981f2392a7a801dbe181603491fa726c057f9c2cc46fb4ed47dc

            SHA512

            8fe536cbe6913b90c1110193273adca7214095aaf8bde1700a99c502b692d56cb7885385064d669351ac5ad75b0d84dbbb49098b5e2fb1ef97fb492dc4c25b43

          • C:\Windows\SysWOW64\kgkrknoi\hfpqsorx.exe

            Filesize

            11.8MB

            MD5

            cf9360b2adf9c9697ef0c4679c5c1755

            SHA1

            b52cad28f8e7242a4b5e4b989bc93cbafc847ea5

            SHA256

            dff44394aa42981f2392a7a801dbe181603491fa726c057f9c2cc46fb4ed47dc

            SHA512

            8fe536cbe6913b90c1110193273adca7214095aaf8bde1700a99c502b692d56cb7885385064d669351ac5ad75b0d84dbbb49098b5e2fb1ef97fb492dc4c25b43

          • memory/1100-1-0x0000000001400000-0x0000000001500000-memory.dmp

            Filesize

            1024KB

          • memory/1100-2-0x00000000013E0000-0x00000000013F3000-memory.dmp

            Filesize

            76KB

          • memory/1100-4-0x0000000000400000-0x0000000001399000-memory.dmp

            Filesize

            15.6MB

          • memory/1100-7-0x0000000000400000-0x0000000001399000-memory.dmp

            Filesize

            15.6MB

          • memory/1100-8-0x0000000001400000-0x0000000001500000-memory.dmp

            Filesize

            1024KB

          • memory/1100-9-0x00000000013E0000-0x00000000013F3000-memory.dmp

            Filesize

            76KB

          • memory/1728-45-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-39-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-59-0x00000000027E0000-0x00000000027E7000-memory.dmp

            Filesize

            28KB

          • memory/1728-17-0x0000000000600000-0x0000000000615000-memory.dmp

            Filesize

            84KB

          • memory/1728-18-0x0000000000600000-0x0000000000615000-memory.dmp

            Filesize

            84KB

          • memory/1728-19-0x0000000000600000-0x0000000000615000-memory.dmp

            Filesize

            84KB

          • memory/1728-58-0x0000000007200000-0x000000000760B000-memory.dmp

            Filesize

            4.0MB

          • memory/1728-23-0x0000000000600000-0x0000000000615000-memory.dmp

            Filesize

            84KB

          • memory/1728-24-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/1728-27-0x0000000002200000-0x000000000240F000-memory.dmp

            Filesize

            2.1MB

          • memory/1728-28-0x00000000019A0000-0x00000000019A6000-memory.dmp

            Filesize

            24KB

          • memory/1728-31-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-34-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-36-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-35-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-37-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-38-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-12-0x0000000000600000-0x0000000000615000-memory.dmp

            Filesize

            84KB

          • memory/1728-40-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-41-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-42-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-43-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-55-0x0000000007200000-0x000000000760B000-memory.dmp

            Filesize

            4.0MB

          • memory/1728-46-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-44-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-47-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-48-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-49-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-50-0x00000000019B0000-0x00000000019C0000-memory.dmp

            Filesize

            64KB

          • memory/1728-51-0x00000000027D0000-0x00000000027D5000-memory.dmp

            Filesize

            20KB

          • memory/1728-54-0x00000000027D0000-0x00000000027D5000-memory.dmp

            Filesize

            20KB

          • memory/3812-11-0x00000000016F0000-0x00000000017F0000-memory.dmp

            Filesize

            1024KB

          • memory/3812-21-0x0000000000400000-0x0000000001399000-memory.dmp

            Filesize

            15.6MB

          • memory/3812-14-0x0000000000400000-0x0000000001399000-memory.dmp

            Filesize

            15.6MB