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

  • MD5

    35f519000ad078d242c0bce097c59b31

  • SHA1

    41a3c859c36a4240a51e6ce17ab269e8d2728eb0

  • SHA256

    1dc79692db8709e88fee042c5555f8432dc4638442887d8150b8b7c67f5f3eb2

  • SHA512

    260f2efe4757c518f96269ba3a3fd5b5c603fa6a52d9c0d976222158609911004ce48df4e75298c11de67ea29d91969f217986e4c0f1b83bb2f5d2a43a772997

  • SSDEEP

    3072:KLTZ5XJKQsp6NU4tqwCyc40r+oeHpmCR54kDSWegJSVE+Er20L4fdoiKuIov5QId:KbCt44p40rqHPbDb86r2LiNovrb/a

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

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

            Filesize

            12.3MB

            MD5

            4b4f9ddd2bd5aff44b2fb9ad3a4e3d22

            SHA1

            30e79af472f1ca10d71c3bae9ac766a3befa4245

            SHA256

            509174da11003b3e57d5af3bd858c40def9bbf3ce87110e714e0dc75baa5d505

            SHA512

            4646c5895163c3e6bdf9ce4b45b713e811829f5a44969841750ac4a1ffef58a7680f2b452112e9b658cb95ea95af79ba421323301a0ae7c6b00b172cca1e33eb

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

            Filesize

            22.1MB

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

            Filesize

            22.1MB

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

            Filesize

            22.1MB

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

            Filesize

            76KB

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

            Filesize

            84KB

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

            Filesize

            1024KB

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

            Filesize

            84KB

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

            Filesize

            76KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            84KB

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

            Filesize

            20KB

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

            Filesize

            4.0MB

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

            Filesize

            28KB

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

            Filesize

            20KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            84KB

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

            Filesize

            64KB

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

            Filesize

            4.0MB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            84KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            64KB

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

            Filesize

            24KB

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

            Filesize

            2.1MB

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

            Filesize

            64KB

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

            Filesize

            2.1MB