Analysis

  • max time kernel
    151s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20231215-en
  • resource tags

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    11/01/2024, 03:31

General

  • Target
    526afaf1cb4aecc3fbfcc4413c92036f.exe
  • Size 11.0MB
  • Sample240111-d27awaefa7
  • SHA256 477fcb220172877a6cac4e98da9fd9cf746c8281c128bbbfe2ff4c3c3d83848a
  • 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\526afaf1cb4aecc3fbfcc4413c92036f.exe
    "C:\Users\Admin\AppData\Local\Temp\526afaf1cb4aecc3fbfcc4413c92036f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lmwerxmy\
      2⤵
        PID:2272
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jsayrtww.exe" C:\Windows\SysWOW64\lmwerxmy\
        2⤵
          PID:2384
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lmwerxmy binPath= "C:\Windows\SysWOW64\lmwerxmy\jsayrtww.exe /d\"C:\Users\Admin\AppData\Local\Temp\526afaf1cb4aecc3fbfcc4413c92036f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2848
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lmwerxmy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lmwerxmy
          2⤵
          • Launches sc.exe
          PID:2836
        • 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:2704
      • C:\Windows\SysWOW64\lmwerxmy\jsayrtww.exe
        C:\Windows\SysWOW64\lmwerxmy\jsayrtww.exe /d"C:\Users\Admin\AppData\Local\Temp\526afaf1cb4aecc3fbfcc4413c92036f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2976
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2600

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            jsayrtww.exe

            • Path C:\Users\Admin\AppData\Local\Temp\jsayrtww.exe
            • Size 471KB
            • SHA256 40db047ac48694c6c5c8a8e0d2b79d04b64cb1923dcfc53d2aa65491b9e49cba
            • MD5 SHA1 SHA512 SSDEEP

            jsayrtww.exe

            • Path C:\Windows\SysWOW64\lmwerxmy\jsayrtww.exe
            • Size 1.9MB
            • SHA256 45af9c0b4b826e3ea2306c3e1c2ede76fc35da9705dee8fb9c4b073e73be811b
            • MD5 SHA1 SHA512 SSDEEP

            memory/2448-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

            memory/2448-3-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2448-4-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2448-6-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2600-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2600-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2600-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2600-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2600-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2600-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2600-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2976-9-0x0000000000270000-0x0000000000370000-memory.dmp

            memory/2976-15-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2976-10-0x0000000000400000-0x0000000000468000-memory.dmp