Analysis

  • max time kernel
    77s
  • max time network
    80s
  • platform
    windows7_x64
  • resource
    win7-20240215-en
  • resource tags

    arch:x64arch:x86image:win7-20240215-enlocale:en-usos:windows7-x64system
  • submitted
    25-04-2024 03:17

General

  • Target

    pukix.exe

  • Size

    1.0MB

  • MD5

    7c93e4041e21ef8e4d45f7343abcae94

  • SHA1

    146bc0e573b4dca3f38c147477e6c7fcabe536b3

  • SHA256

    2c82e9c61a9213ce1a25357b667d6929772bc8ad4324db38e8dd7f00c00eacc6

  • SHA512

    75903fabcf9c645f5caad2494c677d8e7e3c7a1d8a39e400fa8aea685d32e3253f0ce0423af4dba99a7e5a054b69ef48b5475d814de539574b2192794fcfedda

  • SSDEEP

    24576:ykMXdjSpUjdjKIDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDr:yBXhSq1PDDDDDDDDDDDDDDDDDDDDDDD7

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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
  • 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\pukix.exe
    "C:\Users\Admin\AppData\Local\Temp\pukix.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mmendqp\
      2⤵
        PID:2520
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtmxemaq.exe" C:\Windows\SysWOW64\mmendqp\
        2⤵
          PID:2596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mmendqp binPath= "C:\Windows\SysWOW64\mmendqp\rtmxemaq.exe /d\"C:\Users\Admin\AppData\Local\Temp\pukix.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2528
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mmendqp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mmendqp
          2⤵
          • Launches sc.exe
          PID:2516
        • 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:2432
      • C:\Windows\SysWOW64\mmendqp\rtmxemaq.exe
        C:\Windows\SysWOW64\mmendqp\rtmxemaq.exe /d"C:\Users\Admin\AppData\Local\Temp\pukix.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2548
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2876

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Persistence

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Impair Defenses

      2
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\rtmxemaq.exe
        Filesize

        13.3MB

        MD5

        b8aab9e676b7fb1ddb9ddb81cf38af96

        SHA1

        ffa0db0a885341067679ab48b252903dc3ed881c

        SHA256

        88940f33a56e7567380122166da27cd937c83a45cf712d1999fcca5b52745d3d

        SHA512

        2468d4cc04ac05468268dac17e7dac71132f702ccfa7d1d128fc8b9fb19d53fb0594ceb5eedd3a23825d6d094fcfefa4bf1e5c2d671321076974f9d4e01972bc

      • memory/2548-10-0x00000000004E0000-0x00000000005E0000-memory.dmp
        Filesize

        1024KB

      • memory/2548-18-0x0000000000400000-0x000000000046C000-memory.dmp
        Filesize

        432KB

      • memory/2548-12-0x0000000000400000-0x000000000046C000-memory.dmp
        Filesize

        432KB

      • memory/2564-7-0x0000000000400000-0x000000000046C000-memory.dmp
        Filesize

        432KB

      • memory/2564-9-0x0000000000290000-0x0000000000390000-memory.dmp
        Filesize

        1024KB

      • memory/2564-1-0x0000000000290000-0x0000000000390000-memory.dmp
        Filesize

        1024KB

      • memory/2564-11-0x00000000001B0000-0x00000000001C3000-memory.dmp
        Filesize

        76KB

      • memory/2564-3-0x0000000000400000-0x000000000046C000-memory.dmp
        Filesize

        432KB

      • memory/2564-2-0x00000000001B0000-0x00000000001C3000-memory.dmp
        Filesize

        76KB

      • memory/2876-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2876-13-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2876-16-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2876-20-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2876-21-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2876-22-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/2876-23-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB