Analysis

  • max time kernel
    146s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 13:34

General

  • Target

    cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1.exe

  • Size

    242KB

  • MD5

    f5d6e5056dea42913c3191340b0a4c0b

  • SHA1

    1d7138a2bbd768cd32a5fb1f69b2fc1f9a8c51ac

  • SHA256

    cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1

  • SHA512

    44b7cf4fbed4b31f178a1e3bd6c444a637864292ad738fdd44e4b3eca7ce9f85b3ebe67b7119a3365c50a8e2d8913cfef142e9c8abe04e311b47a527dac401c5

  • SSDEEP

    3072:cqgKrfAukEDcJV8hGDRUwlqahBCXEKWd+7hTS6Ks48TR+TkFKu:fftDcGGDRblqahBkW2hTS78t+TkI

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) 1 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 6 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1.exe
    "C:\Users\Admin\AppData\Local\Temp\cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uqqukxjk\
      2⤵
        PID:2176
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cowtzmsq.exe" C:\Windows\SysWOW64\uqqukxjk\
        2⤵
          PID:2896
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uqqukxjk binPath= "C:\Windows\SysWOW64\uqqukxjk\cowtzmsq.exe /d\"C:\Users\Admin\AppData\Local\Temp\cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2620
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uqqukxjk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uqqukxjk
          2⤵
          • Launches sc.exe
          PID:2664
        • 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:1184
      • C:\Windows\SysWOW64\uqqukxjk\cowtzmsq.exe
        C:\Windows\SysWOW64\uqqukxjk\cowtzmsq.exe /d"C:\Users\Admin\AppData\Local\Temp\cb1c506be26eb65bd7c79abc7e54d356adea2c3e0993e605e98cc39611f7add1.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2640
        • 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:2400

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        498c7bbe253940466be7e6588ebd04f4

        SHA1

        a7b294c4c13411686f79a1d403c9dd4c40a533c1

        SHA256

        d53c87857971a838707c44c0bd5fb31aabdef23cf322866cfb9b7d3c09adf226

        SHA512

        3b61df4bf9d94c7c2aae55c259180b7858044602736a0ff35a148649e5bab5b7d7b534655c60193817a26f1783282cba15d6efeb9f9a2a46071d8210b475b8cf

      • memory/2400-44-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-47-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-57-0x0000000000220000-0x0000000000227000-memory.dmp

        Filesize

        28KB

      • memory/2400-33-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-52-0x0000000000210000-0x0000000000215000-memory.dmp

        Filesize

        20KB

      • memory/2400-53-0x00000000058F0000-0x0000000005CFB000-memory.dmp

        Filesize

        4.0MB

      • memory/2400-10-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2400-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2400-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2400-49-0x0000000000210000-0x0000000000215000-memory.dmp

        Filesize

        20KB

      • memory/2400-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2400-19-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2400-21-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2400-35-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-25-0x0000000001880000-0x0000000001A8F000-memory.dmp

        Filesize

        2.1MB

      • memory/2400-26-0x0000000000080000-0x0000000000086000-memory.dmp

        Filesize

        24KB

      • memory/2400-29-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-32-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-56-0x00000000058F0000-0x0000000005CFB000-memory.dmp

        Filesize

        4.0MB

      • memory/2400-34-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-22-0x0000000001880000-0x0000000001A8F000-memory.dmp

        Filesize

        2.1MB

      • memory/2400-36-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-37-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-38-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-39-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-41-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-40-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-42-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-43-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-48-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-45-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2400-46-0x0000000000200000-0x0000000000210000-memory.dmp

        Filesize

        64KB

      • memory/2640-16-0x0000000000400000-0x00000000007C6000-memory.dmp

        Filesize

        3.8MB

      • memory/2640-11-0x0000000000400000-0x00000000007C6000-memory.dmp

        Filesize

        3.8MB

      • memory/2640-9-0x0000000000840000-0x0000000000940000-memory.dmp

        Filesize

        1024KB

      • memory/2868-1-0x0000000000990000-0x0000000000A90000-memory.dmp

        Filesize

        1024KB

      • memory/2868-4-0x0000000000400000-0x00000000007C6000-memory.dmp

        Filesize

        3.8MB

      • memory/2868-8-0x0000000000400000-0x00000000007C6000-memory.dmp

        Filesize

        3.8MB

      • memory/2868-3-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB