Analysis

  • max time kernel
    145s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    20-06-2024 12:46

General

  • Target

    INFECTED/bebulnhx.exe

  • Size

    14.0MB

  • MD5

    693447e1396a1a501245dbd1d5a3b917

  • SHA1

    0b09a067c4954fcb628aee2fadaef3cebee8fcac

  • SHA256

    4e25675e277bb0214d438805c9c4656b6cbb6ceb0023d6f1d0221a8305e3796b

  • SHA512

    55e83f176c7b3b331d526124710f54b3423ac5b6ad3757eaa1ff33ccaec5d62db14d5af214df60f0529560deb3ba995866f89773f9c295b348d2ca1106ab370f

  • SSDEEP

    98304:f555555555555555555555555555555555555555555555555555555555555553:

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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\INFECTED\bebulnhx.exe
    "C:\Users\Admin\AppData\Local\Temp\INFECTED\bebulnhx.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wzmfqnsq\
      2⤵
        PID:2112
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mygdjwca.exe" C:\Windows\SysWOW64\wzmfqnsq\
        2⤵
          PID:2640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wzmfqnsq binPath= "C:\Windows\SysWOW64\wzmfqnsq\mygdjwca.exe /d\"C:\Users\Admin\AppData\Local\Temp\INFECTED\bebulnhx.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2568
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wzmfqnsq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2728
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wzmfqnsq
          2⤵
          • Launches sc.exe
          PID:2796
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:2524
      • C:\Windows\SysWOW64\wzmfqnsq\mygdjwca.exe
        C:\Windows\SysWOW64\wzmfqnsq\mygdjwca.exe /d"C:\Users\Admin\AppData\Local\Temp\INFECTED\bebulnhx.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2584
        • 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:1892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        33fbe034cb12df08036de22c6343e142

        SHA1

        0076b6d6c76abad7d27b6228384aca9190efcc79

        SHA256

        b5d7ca44a3374c6c62936e23356f0d06ef3547213efaf7bc23b5515b0a5f2952

        SHA512

        68607759e8926f194967fea7f65b4affe56a26bfd72bf545c2f717567c458ed4344e27604724be4d9ab26987e55fad175cd347ec4de3e099ac28e7cd5a24a8e2

      • memory/1892-53-0x0000000005550000-0x000000000595B000-memory.dmp

        Filesize

        4.0MB

      • memory/1892-36-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-25-0x00000000017A0000-0x00000000019AF000-memory.dmp

        Filesize

        2.1MB

      • memory/1892-32-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-33-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-34-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-56-0x0000000005550000-0x000000000595B000-memory.dmp

        Filesize

        4.0MB

      • memory/1892-35-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/1892-15-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1892-13-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1892-37-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1892-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1892-29-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-22-0x00000000017A0000-0x00000000019AF000-memory.dmp

        Filesize

        2.1MB

      • memory/1892-26-0x0000000000190000-0x0000000000196000-memory.dmp

        Filesize

        24KB

      • memory/1892-57-0x00000000002B0000-0x00000000002B7000-memory.dmp

        Filesize

        28KB

      • memory/1892-38-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-39-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-41-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-52-0x0000000000200000-0x0000000000205000-memory.dmp

        Filesize

        20KB

      • memory/1892-49-0x0000000000200000-0x0000000000205000-memory.dmp

        Filesize

        20KB

      • memory/1892-48-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-47-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-46-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-45-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-44-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-43-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-42-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/1892-40-0x00000000001F0000-0x0000000000200000-memory.dmp

        Filesize

        64KB

      • memory/2584-17-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

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

        Filesize

        84KB

      • memory/2972-10-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/2972-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

        Filesize

        1024KB

      • memory/2972-8-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/2972-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2972-9-0x00000000002F0000-0x00000000003F0000-memory.dmp

        Filesize

        1024KB

      • memory/2972-6-0x0000000000400000-0x000000000045D000-memory.dmp

        Filesize

        372KB

      • memory/2972-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB