Analysis

  • max time kernel
    147s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20231215-en
  • resource tags

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    30-12-2023 11:51

General

  • Target

    1796279f87df5f4d66030525b7e8e39c.exe

  • Size

    13.8MB

  • MD5

    1796279f87df5f4d66030525b7e8e39c

  • SHA1

    a45b65e9060ca0d28fd2875b22b8540067db6832

  • SHA256

    00a414b5c275653c18a3cc06ae1d1d9de9e07144f0a6091fa46f51e482a0dae6

  • SHA512

    8b381fd38d8a538a408a29c70d2532403e36caadae46bf20b2f1786cbe1942c67ca310a4faab777b5c576062cd2ecf57c4edac5526cbf96a6e6dd413f2950b06

  • SSDEEP

    3072:8kAgDr/XSqon0LUwWQ2UHxqms7/7btm52yls2LC5J8ZWwoQSwgeb7hiOiPg0tGif:8khDr/+0LUdbKhsMs268UoSwrb7SpG

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\1796279f87df5f4d66030525b7e8e39c.exe
    "C:\Users\Admin\AppData\Local\Temp\1796279f87df5f4d66030525b7e8e39c.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oyrqvgil\
      2⤵
        PID:2508
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wahlnqgs.exe" C:\Windows\SysWOW64\oyrqvgil\
        2⤵
          PID:2892
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create oyrqvgil binPath= "C:\Windows\SysWOW64\oyrqvgil\wahlnqgs.exe /d\"C:\Users\Admin\AppData\Local\Temp\1796279f87df5f4d66030525b7e8e39c.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2384
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description oyrqvgil "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2780
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start oyrqvgil
          2⤵
          • Launches sc.exe
          PID:2984
        • 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:2896
      • C:\Windows\SysWOW64\oyrqvgil\wahlnqgs.exe
        C:\Windows\SysWOW64\oyrqvgil\wahlnqgs.exe /d"C:\Users\Admin\AppData\Local\Temp\1796279f87df5f4d66030525b7e8e39c.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2712
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2852

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • memory/2496-1-0x0000000003420000-0x0000000003520000-memory.dmp

        Filesize

        1024KB

      • memory/2496-4-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

      • memory/2496-13-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

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

        Filesize

        76KB

      • memory/2712-17-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

      • memory/2712-18-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

      • memory/2712-10-0x00000000033A0000-0x00000000034A0000-memory.dmp

        Filesize

        1024KB

      • memory/2712-8-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2852-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2852-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2852-9-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2852-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2852-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2852-22-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB