Analysis

  • max time kernel
    149s
  • max time network
    159s
  • platform
    windows7_x64
  • resource
    win7-20231215-en
  • resource tags

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    26-12-2023 05:13

General

  • Target

    570cb3c8f1b4128dccabb856d58cce88.exe

  • Size

    13.7MB

  • MD5

    570cb3c8f1b4128dccabb856d58cce88

  • SHA1

    13a367d5217658076dea133c23f77b38d72c7e7a

  • SHA256

    ed12839b6d59af224c0160bb7431a252658952672b23436f0da75343ad30d9bb

  • SHA512

    5ceb0ab5dda28c22dca372a537270ad386e52a7ffefba94f508141641e6c0abd73e45dd5387b1640de2575d6c11fa808cfcca2d27ae93cae75065e265fafde1d

  • SSDEEP

    24576:kjDuKnh7YzbKBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBX:knh

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\570cb3c8f1b4128dccabb856d58cce88.exe
    "C:\Users\Admin\AppData\Local\Temp\570cb3c8f1b4128dccabb856d58cce88.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\caqmbkqp\
      2⤵
        PID:2232
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\osvrdmjf.exe" C:\Windows\SysWOW64\caqmbkqp\
        2⤵
          PID:2744
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create caqmbkqp binPath= "C:\Windows\SysWOW64\caqmbkqp\osvrdmjf.exe /d\"C:\Users\Admin\AppData\Local\Temp\570cb3c8f1b4128dccabb856d58cce88.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description caqmbkqp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start caqmbkqp
          2⤵
          • Launches sc.exe
          PID:2708
        • 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:2580
      • C:\Windows\SysWOW64\caqmbkqp\osvrdmjf.exe
        C:\Windows\SysWOW64\caqmbkqp\osvrdmjf.exe /d"C:\Users\Admin\AppData\Local\Temp\570cb3c8f1b4128dccabb856d58cce88.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:840
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        77KB

        MD5

        cbf27a20cbb46dd51a503422610b8027

        SHA1

        56f41c7053b030fcea989784ddbbc840314c3344

        SHA256

        d9c0e6a0f0d674b706248c634e247984da2f7f8dbcc289824f2a5cbf5f90c380

        SHA512

        b0b8ad8ac232d2753508ccce0b6fc5b5a2c6982186fa1a4bdae005761e56b300a85c8182127e4d6d51a4aa2e36c3a1ff8eb5382a706ab21d28d6202a82989181

      • C:\Windows\SysWOW64\caqmbkqp\osvrdmjf.exe

        Filesize

        159KB

        MD5

        ef1d3b3698f257811bbfff79b4bd99ee

        SHA1

        df10d181a50b4e70819a57b26ebc87022e9cf668

        SHA256

        e7ad57fd13252dc4d392a304b94702d18d59f687d153730cb47aa60469a6081a

        SHA512

        c3d0bb1d01114e72abb1b45667e79a553beb16fa4b29b4106960ffdfb68d31df9d12737f4b29e13996f45beb4a1629aebd2fdc691a9a29c6b90e2f47258346db

      • memory/840-18-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/840-12-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/840-11-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB

      • memory/1624-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1624-17-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1624-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1624-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/1624-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1624-24-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2460-10-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2460-8-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB

      • memory/2460-7-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2460-3-0x0000000000400000-0x000000000046E000-memory.dmp

        Filesize

        440KB

      • memory/2460-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2460-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB