Analysis

  • max time kernel
    176s
  • max time network
    202s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 13:20

General

  • Target

    f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be.exe

  • Size

    232KB

  • MD5

    b5f3dc95c09fa3bfdf009a404736f94e

  • SHA1

    03e471e7edf9bbcbe2483ebd1ba05364c93a190a

  • SHA256

    f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be

  • SHA512

    f63cba660384d5296e2f8aeeceba1a2d4707311a242cd5f12220008670cb5c2bf686b546fafe03cc6c5363bd62fe4c067a1f9dc73a8388488e13854b631ee546

  • SSDEEP

    6144:j6zxC0r84BWnfZUH7SFcQU+9HFsvKMXOCU:kY0r9BeZUbSiy9HSvKwO

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 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 5 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be.exe
    "C:\Users\Admin\AppData\Local\Temp\f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2456
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hveuegyw\
      2⤵
        PID:4780
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybuffopp.exe" C:\Windows\SysWOW64\hveuegyw\
        2⤵
          PID:4984
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hveuegyw binPath= "C:\Windows\SysWOW64\hveuegyw\ybuffopp.exe /d\"C:\Users\Admin\AppData\Local\Temp\f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hveuegyw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3384
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hveuegyw
          2⤵
          • Launches sc.exe
          PID:2200
        • 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:4492
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2456 -s 660
          2⤵
          • Program crash
          PID:1428
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 360 -p 2456 -ip 2456
        1⤵
          PID:732
        • C:\Windows\SysWOW64\hveuegyw\ybuffopp.exe
          C:\Windows\SysWOW64\hveuegyw\ybuffopp.exe /d"C:\Users\Admin\AppData\Local\Temp\f379c2c732470dbce8e17423baf7f6fcca63bcb13c4ade33a15df1225e3841be.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:1964
          • 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:4376
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 1964 -s 512
            2⤵
            • Program crash
            PID:3536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1964 -ip 1964
          1⤵
            PID:4512

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.9MB

            MD5

            3e35fbb498e917c715000d4f56692c9b

            SHA1

            539e2c5e5413879bec9e7b399cebbb89cc63f335

            SHA256

            48b6620d2c9beb7d134a3204f5c788640cf60cead48e0bffa9b388311960398b

            SHA512

            af5d701c1ab57553c12fc6dc7a8ff0557108df3455b42ff6711f473ce75681ce86175d9d5a5c63dfa9a28b2d89395aa117b2e09693e1c00296fe558a7c3d3709

          • memory/1964-23-0x0000000000400000-0x000000000043F000-memory.dmp

            Filesize

            252KB

          • memory/1964-16-0x0000000000400000-0x000000000043F000-memory.dmp

            Filesize

            252KB

          • memory/1964-15-0x00000000006D0000-0x00000000007D0000-memory.dmp

            Filesize

            1024KB

          • memory/2456-2-0x0000000002180000-0x0000000002193000-memory.dmp

            Filesize

            76KB

          • memory/2456-3-0x0000000000400000-0x000000000043F000-memory.dmp

            Filesize

            252KB

          • memory/2456-5-0x0000000000400000-0x000000000043F000-memory.dmp

            Filesize

            252KB

          • memory/2456-8-0x0000000000640000-0x0000000000740000-memory.dmp

            Filesize

            1024KB

          • memory/2456-9-0x0000000002180000-0x0000000002193000-memory.dmp

            Filesize

            76KB

          • memory/2456-12-0x0000000000400000-0x000000000043F000-memory.dmp

            Filesize

            252KB

          • memory/2456-1-0x0000000000640000-0x0000000000740000-memory.dmp

            Filesize

            1024KB

          • memory/4376-38-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-43-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-22-0x0000000001050000-0x0000000001065000-memory.dmp

            Filesize

            84KB

          • memory/4376-20-0x0000000001050000-0x0000000001065000-memory.dmp

            Filesize

            84KB

          • memory/4376-26-0x0000000002D00000-0x0000000002F0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4376-29-0x0000000002D00000-0x0000000002F0F000-memory.dmp

            Filesize

            2.1MB

          • memory/4376-30-0x0000000003050000-0x0000000003056000-memory.dmp

            Filesize

            24KB

          • memory/4376-33-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-36-0x0000000001050000-0x0000000001065000-memory.dmp

            Filesize

            84KB

          • memory/4376-17-0x0000000001050000-0x0000000001065000-memory.dmp

            Filesize

            84KB

          • memory/4376-39-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-40-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-37-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-42-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-41-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-21-0x0000000001050000-0x0000000001065000-memory.dmp

            Filesize

            84KB

          • memory/4376-44-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-45-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-46-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-47-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-48-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-49-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-50-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-51-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-52-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-53-0x0000000003060000-0x0000000003070000-memory.dmp

            Filesize

            64KB

          • memory/4376-54-0x00000000033F0000-0x00000000033F5000-memory.dmp

            Filesize

            20KB

          • memory/4376-57-0x00000000033F0000-0x00000000033F5000-memory.dmp

            Filesize

            20KB

          • memory/4376-58-0x0000000007E80000-0x000000000828B000-memory.dmp

            Filesize

            4.0MB

          • memory/4376-61-0x0000000007E80000-0x000000000828B000-memory.dmp

            Filesize

            4.0MB

          • memory/4376-62-0x00000000083D0000-0x00000000083D7000-memory.dmp

            Filesize

            28KB