Analysis

  • max time kernel
    152s
  • max time network
    160s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/01/2024, 01:26

General

  • Target
    5bc6d3579da1646e4b1f66874b8befb1.exe
  • Size 10.2MB
  • Sample240115-bt2djsefhl
  • SHA256 c54f54d87c5be66c38c1f2d49f20a456586fa672751bde7af81ea70e98126436
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5bc6d3579da1646e4b1f66874b8befb1.exe
    "C:\Users\Admin\AppData\Local\Temp\5bc6d3579da1646e4b1f66874b8befb1.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aaugafap\
      2⤵
        PID:4080
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\izzsihiw.exe" C:\Windows\SysWOW64\aaugafap\
        2⤵
          PID:3720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create aaugafap binPath= "C:\Windows\SysWOW64\aaugafap\izzsihiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\5bc6d3579da1646e4b1f66874b8befb1.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:412
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description aaugafap "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start aaugafap
          2⤵
          • Launches sc.exe
          PID:1320
        • 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:2784
      • C:\Windows\SysWOW64\aaugafap\izzsihiw.exe
        C:\Windows\SysWOW64\aaugafap\izzsihiw.exe /d"C:\Users\Admin\AppData\Local\Temp\5bc6d3579da1646e4b1f66874b8befb1.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3044
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3332

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            izzsihiw.exe

            • Path C:\Users\Admin\AppData\Local\Temp\izzsihiw.exe
            • Size 9.1MB
            • SHA256 e1b3b75aaffa7c81e261949addf154a54dfba341265e8406654de6fe112fa6f2
            • MD5 SHA1 SHA512 SSDEEP

            izzsihiw.exe

            • Path C:\Windows\SysWOW64\aaugafap\izzsihiw.exe
            • Size 12.9MB
            • SHA256 2583418e3daf0acdf59015769b6a0acf4adcd83bb5a473664b318f5e95c9e1be
            • MD5 SHA1 SHA512 SSDEEP

            memory/2072-1-0x0000000003570000-0x0000000003670000-memory.dmp

            memory/2072-2-0x00000000033A0000-0x00000000033B3000-memory.dmp

            memory/2072-4-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/2072-5-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/2072-8-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/2072-9-0x00000000033A0000-0x00000000033B3000-memory.dmp

            memory/3044-11-0x0000000003470000-0x0000000003570000-memory.dmp

            memory/3044-17-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/3044-15-0x0000000000400000-0x0000000003250000-memory.dmp

            memory/3332-12-0x0000000000A70000-0x0000000000A85000-memory.dmp

            memory/3332-16-0x0000000000A70000-0x0000000000A85000-memory.dmp

            memory/3332-18-0x0000000000A70000-0x0000000000A85000-memory.dmp

            memory/3332-19-0x0000000000A70000-0x0000000000A85000-memory.dmp

            memory/3332-20-0x0000000000A70000-0x0000000000A85000-memory.dmp