Analysis

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

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/05/2024, 01:03

General

  • Target
    1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe
  • Size 326KB
  • Sample240505-bedc6she6y
  • SHA256 1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2
  • MD5 SHA1 SHA512 SSDEEP

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe
    "C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hzezayq\
      2⤵
        PID:1596
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjqtiwpz.exe" C:\Windows\SysWOW64\hzezayq\
        2⤵
          PID:2080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hzezayq binPath= "C:\Windows\SysWOW64\hzezayq\cjqtiwpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hzezayq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3712
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hzezayq
          2⤵
          • Launches sc.exe
          PID:4660
        • 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:4984
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3644 -s 1028
          2⤵
          • Program crash
          PID:1912
      • C:\Windows\SysWOW64\hzezayq\cjqtiwpz.exe
        C:\Windows\SysWOW64\hzezayq\cjqtiwpz.exe /d"C:\Users\Admin\AppData\Local\Temp\1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:804
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:4440
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 804 -s 516
          2⤵
          • Program crash
          PID:1936
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 804 -ip 804
        1⤵
          PID:1036
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3644 -ip 3644
          1⤵
            PID:2056

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                cjqtiwpz.exe

                • Path C:\Users\Admin\AppData\Local\Temp\cjqtiwpz.exe
                • Size 12.3MB
                • SHA256 509174da11003b3e57d5af3bd858c40def9bbf3ce87110e714e0dc75baa5d505
                • MD5 SHA1 SHA512 SSDEEP

                memory/804-10-0x0000000000400000-0x0000000001A1B000-memory.dmp

                memory/804-11-0x0000000000400000-0x0000000001A1B000-memory.dmp

                memory/3644-13-0x0000000000400000-0x0000000001A1B000-memory.dmp

                memory/3644-2-0x0000000001D80000-0x0000000001D93000-memory.dmp

                memory/3644-4-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/3644-1-0x0000000001DE0000-0x0000000001EE0000-memory.dmp

                memory/3644-15-0x0000000000400000-0x0000000000415000-memory.dmp

                memory/3644-14-0x0000000001D80000-0x0000000001D93000-memory.dmp

                memory/4440-43-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-37-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-17-0x00000000012C0000-0x00000000012D5000-memory.dmp

                memory/4440-49-0x00000000027D0000-0x00000000027D5000-memory.dmp

                memory/4440-50-0x0000000007F00000-0x000000000830B000-memory.dmp

                memory/4440-54-0x00000000027E0000-0x00000000027E7000-memory.dmp

                memory/4440-46-0x00000000027D0000-0x00000000027D5000-memory.dmp

                memory/4440-45-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-44-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-8-0x00000000012C0000-0x00000000012D5000-memory.dmp

                memory/4440-41-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-53-0x0000000007F00000-0x000000000830B000-memory.dmp

                memory/4440-40-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-39-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-38-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-16-0x00000000012C0000-0x00000000012D5000-memory.dmp

                memory/4440-36-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-35-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-34-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-33-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-32-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-31-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-30-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-29-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-26-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-23-0x0000000002770000-0x0000000002776000-memory.dmp

                memory/4440-22-0x0000000003000000-0x000000000320F000-memory.dmp

                memory/4440-42-0x0000000002780000-0x0000000002790000-memory.dmp

                memory/4440-20-0x0000000003000000-0x000000000320F000-memory.dmp