Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    06-05-2024 08:18

General

  • Target

    6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe

  • Size

    10.3MB

  • MD5

    feffbd9fa3b21798d4c34b42abf86ce0

  • SHA1

    4a1979cb0232a525c4801e4789dc7538abcb82a0

  • SHA256

    6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f

  • SHA512

    51ec270aee48f5f38647c89a5b9a0488f82f4f2841ee8b10db77109e696c0152dc89efa4f63cd266e64908d2bd67843cd024d7e1b97338a767bb08ce7e73dbb0

  • SSDEEP

    12288:j9GPViFkls15KJ4ClhxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxP:CiugC

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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).

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe
    "C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1632
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dcqrpmft\
      2⤵
        PID:1788
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahkfeyys.exe" C:\Windows\SysWOW64\dcqrpmft\
        2⤵
          PID:1912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dcqrpmft binPath= "C:\Windows\SysWOW64\dcqrpmft\ahkfeyys.exe /d\"C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dcqrpmft "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dcqrpmft
          2⤵
          • Launches sc.exe
          PID:2576
        • 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:3016
      • C:\Windows\SysWOW64\dcqrpmft\ahkfeyys.exe
        C:\Windows\SysWOW64\dcqrpmft\ahkfeyys.exe /d"C:\Users\Admin\AppData\Local\Temp\6d3fa2316c29890ab6313e6267ca90fdc1c7d92dd1e707cb77b74a7985150c1f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2796
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:2740

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        b4a387de645e1d1df86871e9f14289b3

        SHA1

        73fec7fb3c91b1471bebd8b195b4d8dd716d9cff

        SHA256

        26ae1cb81184278cf6491098672352b90346a89fc3b7334c90cd5d8aa6015a33

        SHA512

        65eb7ccaa624ff49356e593767765d8770958489ef9fff61cfd69f18a5037bf459fafe143df92bcaf8d3bd6ef8fd21fb248edfe6114a10c0c6cf48caf19a1662

      • memory/1632-1-0x0000000000250000-0x0000000000350000-memory.dmp

        Filesize

        1024KB

      • memory/1632-2-0x00000000003C0000-0x00000000003D3000-memory.dmp

        Filesize

        76KB

      • memory/1632-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1632-7-0x0000000000400000-0x00000000004DA000-memory.dmp

        Filesize

        872KB

      • memory/1632-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1632-8-0x00000000003C0000-0x00000000003D3000-memory.dmp

        Filesize

        76KB

      • memory/2740-46-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-42-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2740-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2740-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2740-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2740-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2740-20-0x00000000018C0000-0x0000000001ACF000-memory.dmp

        Filesize

        2.1MB

      • memory/2740-50-0x0000000000140000-0x0000000000145000-memory.dmp

        Filesize

        20KB

      • memory/2740-55-0x0000000000210000-0x0000000000217000-memory.dmp

        Filesize

        28KB

      • memory/2740-54-0x0000000005590000-0x000000000599B000-memory.dmp

        Filesize

        4.0MB

      • memory/2740-51-0x0000000005590000-0x000000000599B000-memory.dmp

        Filesize

        4.0MB

      • memory/2740-47-0x0000000000140000-0x0000000000145000-memory.dmp

        Filesize

        20KB

      • memory/2740-23-0x00000000018C0000-0x0000000001ACF000-memory.dmp

        Filesize

        2.1MB

      • memory/2740-45-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-44-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-43-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2740-41-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-40-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-39-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-38-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-37-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-36-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-35-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-34-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-33-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-32-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-31-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-30-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-27-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/2740-24-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/2796-15-0x0000000000400000-0x00000000004DA000-memory.dmp

        Filesize

        872KB