Analysis

  • max time kernel
    147s
  • max time network
    166s
  • 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 14:14

General

  • Target

    a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe

  • Size

    227KB

  • MD5

    1010b86bd744c31ecef5f5aeae5ca6df

  • SHA1

    79dbaab22a85e8a0c3124d39423da1ca24c358e8

  • SHA256

    a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de

  • SHA512

    6823068623029c10aa0d833be8422b6d93663832d24298bd9811f7700bbc56dc5463fd75f12273e2168bac6784a16e735cc86cf0de8841e83c1befc75bdfd02d

  • SSDEEP

    3072:BG/VLLNVnlMoDjq0sg0lpb15L76ZhBUrIeGskK+KgPcf53whT5A/hTu:8Lh9ljdOlPB6tUrIK+zPcRaCpT

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe
    "C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gibqqjeu\
      2⤵
        PID:3500
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mtsfnnvz.exe" C:\Windows\SysWOW64\gibqqjeu\
        2⤵
          PID:4136
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gibqqjeu binPath= "C:\Windows\SysWOW64\gibqqjeu\mtsfnnvz.exe /d\"C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gibqqjeu "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gibqqjeu
          2⤵
          • Launches sc.exe
          PID:2340
        • 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:1052
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3088 -s 1188
          2⤵
          • Program crash
          PID:432
      • C:\Windows\SysWOW64\gibqqjeu\mtsfnnvz.exe
        C:\Windows\SysWOW64\gibqqjeu\mtsfnnvz.exe /d"C:\Users\Admin\AppData\Local\Temp\a7c2b8d081407da5d72f12eeef21c11674ff616c89be40f73f114c292c09e6de.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4196
        • 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:3760
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4196 -s 508
          2⤵
          • Program crash
          PID:4564
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4196 -ip 4196
        1⤵
          PID:5088
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 3088 -ip 3088
          1⤵
            PID:2120

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.0MB

            MD5

            d8382aa38ad25d69c78ba3b670580af7

            SHA1

            89e30295143ac3cb96d9fa0692c86469539db365

            SHA256

            b762917a1f0d65017c7f3e4569fed0e0c2650481f414b19c294f43a6189c28b5

            SHA512

            0f3e4deace820dd95b3e5d93eaa9792975a8684680a2fe389b6d673cfa8b2241971467265ea12353154a06db1547bcf51028e746b5cbd4eac7a394c249beb927

          • memory/3088-14-0x0000000000400000-0x0000000002B11000-memory.dmp

            Filesize

            39.1MB

          • memory/3088-2-0x0000000002B90000-0x0000000002BA3000-memory.dmp

            Filesize

            76KB

          • memory/3088-4-0x0000000000400000-0x0000000002B11000-memory.dmp

            Filesize

            39.1MB

          • memory/3088-1-0x0000000002D90000-0x0000000002E90000-memory.dmp

            Filesize

            1024KB

          • memory/3760-33-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-36-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-59-0x0000000000CF0000-0x0000000000D05000-memory.dmp

            Filesize

            84KB

          • memory/3760-16-0x0000000000CF0000-0x0000000000D05000-memory.dmp

            Filesize

            84KB

          • memory/3760-8-0x0000000000CF0000-0x0000000000D05000-memory.dmp

            Filesize

            84KB

          • memory/3760-17-0x0000000000CF0000-0x0000000000D05000-memory.dmp

            Filesize

            84KB

          • memory/3760-18-0x0000000000CF0000-0x0000000000D05000-memory.dmp

            Filesize

            84KB

          • memory/3760-20-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3760-23-0x0000000002A00000-0x0000000002C0F000-memory.dmp

            Filesize

            2.1MB

          • memory/3760-24-0x0000000002190000-0x0000000002196000-memory.dmp

            Filesize

            24KB

          • memory/3760-27-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-30-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-32-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-55-0x0000000002DD0000-0x0000000002DD7000-memory.dmp

            Filesize

            28KB

          • memory/3760-31-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-34-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-35-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-54-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3760-37-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-38-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-39-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-40-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-41-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-42-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-43-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-44-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-45-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-46-0x00000000021A0000-0x00000000021B0000-memory.dmp

            Filesize

            64KB

          • memory/3760-47-0x00000000021F0000-0x00000000021F5000-memory.dmp

            Filesize

            20KB

          • memory/3760-50-0x00000000021F0000-0x00000000021F5000-memory.dmp

            Filesize

            20KB

          • memory/3760-51-0x0000000007900000-0x0000000007D0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4196-10-0x0000000002D70000-0x0000000002D83000-memory.dmp

            Filesize

            76KB

          • memory/4196-9-0x0000000002E50000-0x0000000002F50000-memory.dmp

            Filesize

            1024KB

          • memory/4196-15-0x0000000000400000-0x0000000002B11000-memory.dmp

            Filesize

            39.1MB