Analysis

  • max time kernel
    146s
  • max time network
    153s
  • 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 12:54

General

  • Target

    6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd.exe

  • Size

    170KB

  • MD5

    f5fd4237e550503a8eab51ae35f147b6

  • SHA1

    869d44d58fb734b3692500dae1f42f0d6e3b3434

  • SHA256

    6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd

  • SHA512

    32327ca44e09d46ba8e656124f7480979b3eeb3769a94259d536a5223b2c532bd21654d8b4551d26265903f5c2be87a8da73d4571eee6fd9bfc887ea9e88350f

  • SSDEEP

    1536:Js5KSNeteSXSI4nZ7OyP8p7+C1xIhQ6M3dfUMJn325pDedDT50ZXXKVXRKX:e5ScSHCO1p7hiO4AI1edHK56lR

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd.exe
    "C:\Users\Admin\AppData\Local\Temp\6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mosdcmfj\
      2⤵
        PID:1180
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cjmhgaau.exe" C:\Windows\SysWOW64\mosdcmfj\
        2⤵
          PID:1800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mosdcmfj binPath= "C:\Windows\SysWOW64\mosdcmfj\cjmhgaau.exe /d\"C:\Users\Admin\AppData\Local\Temp\6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2340
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mosdcmfj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3832
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mosdcmfj
          2⤵
          • Launches sc.exe
          PID:3048
        • 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:4388
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3096 -s 1184
          2⤵
          • Program crash
          PID:1436
      • C:\Windows\SysWOW64\mosdcmfj\cjmhgaau.exe
        C:\Windows\SysWOW64\mosdcmfj\cjmhgaau.exe /d"C:\Users\Admin\AppData\Local\Temp\6fb0201dac82a2b6f3c409d74005eb50aab93abd7508f513636be051db86eefd.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:672
        • 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:4152
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 672 -s 516
          2⤵
          • Program crash
          PID:3280
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3096 -ip 3096
        1⤵
          PID:3932
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 672 -ip 672
          1⤵
            PID:3108

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            14.6MB

            MD5

            7bf5298e8878d76e47bdc2fddcc23d08

            SHA1

            136d757f00f889ae7d00739fcc61a6a7819bbfe3

            SHA256

            8290ce12bc73f6a8d4fc1a5ad20de52f90e4c0f20972a980c20f5a52b2902beb

            SHA512

            b59b30f53e55926682b7a920e03e0bb71fb4e6b1e4bb07da8a8319ff0c7a991c1497a6c41a2fab392529e057849cbda3869ef4462d12ea639ae4561bfd42eaa9

          • memory/672-18-0x0000000000400000-0x0000000000474000-memory.dmp

            Filesize

            464KB

          • memory/672-10-0x00000000005A0000-0x00000000006A0000-memory.dmp

            Filesize

            1024KB

          • memory/672-12-0x0000000000400000-0x0000000000474000-memory.dmp

            Filesize

            464KB

          • memory/3096-1-0x0000000000670000-0x0000000000770000-memory.dmp

            Filesize

            1024KB

          • memory/3096-3-0x0000000000400000-0x0000000000474000-memory.dmp

            Filesize

            464KB

          • memory/3096-7-0x0000000000400000-0x0000000000474000-memory.dmp

            Filesize

            464KB

          • memory/3096-8-0x00000000005F0000-0x0000000000603000-memory.dmp

            Filesize

            76KB

          • memory/3096-2-0x00000000005F0000-0x0000000000603000-memory.dmp

            Filesize

            76KB

          • memory/4152-37-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-51-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4152-17-0x00000000007A0000-0x00000000007B5000-memory.dmp

            Filesize

            84KB

          • memory/4152-20-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/4152-23-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/4152-24-0x0000000001D60000-0x0000000001D66000-memory.dmp

            Filesize

            24KB

          • memory/4152-27-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-30-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-36-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-11-0x00000000007A0000-0x00000000007B5000-memory.dmp

            Filesize

            84KB

          • memory/4152-35-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-38-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-42-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-41-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-44-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-16-0x00000000007A0000-0x00000000007B5000-memory.dmp

            Filesize

            84KB

          • memory/4152-50-0x0000000001DE0000-0x0000000001DE5000-memory.dmp

            Filesize

            20KB

          • memory/4152-47-0x0000000001DE0000-0x0000000001DE5000-memory.dmp

            Filesize

            20KB

          • memory/4152-46-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-45-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-54-0x0000000007C00000-0x000000000800B000-memory.dmp

            Filesize

            4.0MB

          • memory/4152-55-0x0000000001DF0000-0x0000000001DF7000-memory.dmp

            Filesize

            28KB

          • memory/4152-43-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-40-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-39-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-34-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-33-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-32-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-31-0x0000000001D70000-0x0000000001D80000-memory.dmp

            Filesize

            64KB

          • memory/4152-59-0x00000000007A0000-0x00000000007B5000-memory.dmp

            Filesize

            84KB