Analysis

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

    arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2023 14:25

General

  • Target

    file.exe

  • Size

    243KB

  • MD5

    cb7d981a41514e05e06f245e41def1b1

  • SHA1

    e72486411d3f0d30143cca799ff5b22c719db778

  • SHA256

    27fca545923d2b0afc8f1075cb68eea4ebfb38e1e4184883ada0a5f24e9e014d

  • SHA512

    98b2d86c95350993d9adde9b8af9ca6d876b8976bf194f832129c39481ab0f86b547e2a1e3d631e8c783d0e680e91408fb756e95329049604cc1216fb5f4daa5

  • SSDEEP

    3072:ErEg4+jlrQ/peokrb2aapOQ49yDe206gqzANPtyu/uf4nm3CQ4++5lmj:RkQpeoSb2aVZU0+ARtyuW6fT5lm

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 5 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:3168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hovwqptw\
      2⤵
        PID:3792
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\auumpzdp.exe" C:\Windows\SysWOW64\hovwqptw\
        2⤵
          PID:3436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hovwqptw binPath= "C:\Windows\SysWOW64\hovwqptw\auumpzdp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2072
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hovwqptw "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hovwqptw
          2⤵
          • Launches sc.exe
          PID:1176
        • 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:4248
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3168 -s 1192
          2⤵
          • Program crash
          PID:4500
      • C:\Windows\SysWOW64\hovwqptw\auumpzdp.exe
        C:\Windows\SysWOW64\hovwqptw\auumpzdp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3776
        • 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:2508
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3776 -s 536
          2⤵
          • Program crash
          PID:400
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3168 -ip 3168
        1⤵
          PID:3692
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3776 -ip 3776
          1⤵
            PID:1660

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.7MB

            MD5

            448cdcfaa923e41368315e66f780fd59

            SHA1

            d637b37a2a04d6f9b2bb7ab3e4c2ca387cd3bb1a

            SHA256

            ded8a49590d5d691fee65a628dbb77be37df281c2ce1cc830c600a8bf41496e8

            SHA512

            39cd2c72ff1a26037e57066bd13af6046a0bf7cff66ec6964abcf00eeda32a604245bfd6a1d81aef039a46fff5c6dc602c5afa422c439de394b3826fe21f6a87

          • C:\Windows\SysWOW64\hovwqptw\auumpzdp.exe

            Filesize

            11.7MB

            MD5

            448cdcfaa923e41368315e66f780fd59

            SHA1

            d637b37a2a04d6f9b2bb7ab3e4c2ca387cd3bb1a

            SHA256

            ded8a49590d5d691fee65a628dbb77be37df281c2ce1cc830c600a8bf41496e8

            SHA512

            39cd2c72ff1a26037e57066bd13af6046a0bf7cff66ec6964abcf00eeda32a604245bfd6a1d81aef039a46fff5c6dc602c5afa422c439de394b3826fe21f6a87

          • memory/2508-42-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-47-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-56-0x0000000002BF0000-0x0000000002BF7000-memory.dmp

            Filesize

            28KB

          • memory/2508-32-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-52-0x0000000007700000-0x0000000007B0B000-memory.dmp

            Filesize

            4.0MB

          • memory/2508-51-0x0000000002BE0000-0x0000000002BE5000-memory.dmp

            Filesize

            20KB

          • memory/2508-11-0x0000000000940000-0x0000000000955000-memory.dmp

            Filesize

            84KB

          • memory/2508-14-0x0000000000940000-0x0000000000955000-memory.dmp

            Filesize

            84KB

          • memory/2508-48-0x0000000002BE0000-0x0000000002BE5000-memory.dmp

            Filesize

            20KB

          • memory/2508-15-0x0000000000940000-0x0000000000955000-memory.dmp

            Filesize

            84KB

          • memory/2508-18-0x0000000000940000-0x0000000000955000-memory.dmp

            Filesize

            84KB

          • memory/2508-33-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-20-0x0000000000940000-0x0000000000955000-memory.dmp

            Filesize

            84KB

          • memory/2508-34-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-24-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/2508-25-0x0000000001FF0000-0x0000000001FF6000-memory.dmp

            Filesize

            24KB

          • memory/2508-28-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-31-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-55-0x0000000007700000-0x0000000007B0B000-memory.dmp

            Filesize

            4.0MB

          • memory/2508-46-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-21-0x0000000002800000-0x0000000002A0F000-memory.dmp

            Filesize

            2.1MB

          • memory/2508-35-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-36-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-37-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-38-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-39-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-40-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-41-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-45-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-43-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/2508-44-0x0000000002A10000-0x0000000002A20000-memory.dmp

            Filesize

            64KB

          • memory/3168-1-0x0000000002130000-0x0000000002230000-memory.dmp

            Filesize

            1024KB

          • memory/3168-4-0x0000000000400000-0x0000000001F14000-memory.dmp

            Filesize

            27.1MB

          • memory/3168-8-0x0000000003C60000-0x0000000003C73000-memory.dmp

            Filesize

            76KB

          • memory/3168-7-0x0000000000400000-0x0000000001F14000-memory.dmp

            Filesize

            27.1MB

          • memory/3168-2-0x0000000003C60000-0x0000000003C73000-memory.dmp

            Filesize

            76KB

          • memory/3776-17-0x0000000000400000-0x0000000001F14000-memory.dmp

            Filesize

            27.1MB

          • memory/3776-16-0x0000000000400000-0x0000000001F14000-memory.dmp

            Filesize

            27.1MB

          • memory/3776-10-0x00000000021F0000-0x00000000022F0000-memory.dmp

            Filesize

            1024KB