Analysis

  • max time kernel
    150s
  • max time network
    151s
  • 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:36

General

  • Target

    204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51.exe

  • Size

    303KB

  • MD5

    09e86355c9c595720b5a6154426c9910

  • SHA1

    83b66aaab60f02c75b43ce10e5b77ba87646e2e7

  • SHA256

    204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51

  • SHA512

    4072e6ee0e6535ea9787ca8e38061bf72a9c962f1018117beb5c1869e7c7ca74272e6f7dd7f326fe93ced3f8eee44a59ed7330691ab67b709e2601610a29693b

  • SSDEEP

    6144:H8prBAyFXYy/6LDrWvzVYWMsfKaA9Vpwpp69a:Hi0y/6LDiuWMSFeCII

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\204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51.exe
    "C:\Users\Admin\AppData\Local\Temp\204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\coywrjxs\
      2⤵
        PID:4120
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dmsdbqi.exe" C:\Windows\SysWOW64\coywrjxs\
        2⤵
          PID:2516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create coywrjxs binPath= "C:\Windows\SysWOW64\coywrjxs\dmsdbqi.exe /d\"C:\Users\Admin\AppData\Local\Temp\204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description coywrjxs "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3484
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start coywrjxs
          2⤵
          • Launches sc.exe
          PID:1884
        • 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:4152
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4588 -s 1236
          2⤵
          • Program crash
          PID:3064
      • C:\Windows\SysWOW64\coywrjxs\dmsdbqi.exe
        C:\Windows\SysWOW64\coywrjxs\dmsdbqi.exe /d"C:\Users\Admin\AppData\Local\Temp\204063581a5aac527fc0be421097ddc37b338cedced74ca6858f88f3d31bcc51.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4600
        • 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:3448
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4600 -s 516
          2⤵
          • Program crash
          PID:1808
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4588 -ip 4588
        1⤵
          PID:4332
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 4600 -ip 4600
          1⤵
            PID:740

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.2MB

            MD5

            e6df1e3275ebe8abd51fce299a631112

            SHA1

            b5df61e89eb932c8507f27612762f10d19ae214f

            SHA256

            bf52f4c3e716a9301a1d1c9be7a1f4615af2d025c0038c2ab39157c158574fbf

            SHA512

            3bea0729458e56ba2b0e5e9b16387db62f895959f9487867e82939c8efe4ddfff7a7e1a885d0f2c7639ad8105519bb39c2bd6c14db2f8990dfe73cdf91cf5168

          • memory/3448-33-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-55-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3448-56-0x0000000002DD0000-0x0000000002DD7000-memory.dmp

            Filesize

            28KB

          • memory/3448-35-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-34-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-37-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-38-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-12-0x0000000000790000-0x00000000007A5000-memory.dmp

            Filesize

            84KB

          • memory/3448-32-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-39-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-18-0x0000000000790000-0x00000000007A5000-memory.dmp

            Filesize

            84KB

          • memory/3448-20-0x0000000000790000-0x00000000007A5000-memory.dmp

            Filesize

            84KB

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

            Filesize

            2.1MB

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

            Filesize

            2.1MB

          • memory/3448-25-0x0000000001DD0000-0x0000000001DD6000-memory.dmp

            Filesize

            24KB

          • memory/3448-28-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-31-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-40-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-16-0x0000000000790000-0x00000000007A5000-memory.dmp

            Filesize

            84KB

          • memory/3448-42-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-48-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/3448-41-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-47-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-52-0x0000000007800000-0x0000000007C0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3448-51-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/3448-36-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-46-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-45-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-44-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/3448-43-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4588-4-0x0000000000400000-0x00000000007D5000-memory.dmp

            Filesize

            3.8MB

          • memory/4588-1-0x00000000008D0000-0x00000000009D0000-memory.dmp

            Filesize

            1024KB

          • memory/4588-8-0x0000000002530000-0x0000000002543000-memory.dmp

            Filesize

            76KB

          • memory/4588-7-0x0000000000400000-0x00000000007D5000-memory.dmp

            Filesize

            3.8MB

          • memory/4588-2-0x0000000002530000-0x0000000002543000-memory.dmp

            Filesize

            76KB

          • memory/4600-17-0x0000000000400000-0x00000000007D5000-memory.dmp

            Filesize

            3.8MB

          • memory/4600-11-0x0000000000400000-0x00000000007D5000-memory.dmp

            Filesize

            3.8MB

          • memory/4600-10-0x0000000000980000-0x0000000000A80000-memory.dmp

            Filesize

            1024KB