Analysis

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

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    18/01/2024, 07:57

General

  • Target

    64e0106d66252e95c241e9dc3fe33f12.exe

  • Size

    12.7MB

  • MD5

    64e0106d66252e95c241e9dc3fe33f12

  • SHA1

    f9b82c5dbb25a39dae282034c429a1b10bd6ae17

  • SHA256

    56b2d27c6d6f98a4cded2c47abe56f5c1e2cb1ed37acdff5be6c88d3e8b8f284

  • SHA512

    f1b2eeefd4e73fa27adeb4a768226a834f1b871b37d404eb2540d9fac5888b70f29c7231646a5ac5e56434792e172a42c06f566a5c8572109fac314a3771bcf8

  • SSDEEP

    393216:I6EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE:7EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEn

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\64e0106d66252e95c241e9dc3fe33f12.exe
    "C:\Users\Admin\AppData\Local\Temp\64e0106d66252e95c241e9dc3fe33f12.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mqglnzdb\
      2⤵
        PID:1236
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kfpsgrrz.exe" C:\Windows\SysWOW64\mqglnzdb\
        2⤵
          PID:2004
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mqglnzdb binPath= "C:\Windows\SysWOW64\mqglnzdb\kfpsgrrz.exe /d\"C:\Users\Admin\AppData\Local\Temp\64e0106d66252e95c241e9dc3fe33f12.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2772
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mqglnzdb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mqglnzdb
          2⤵
          • Launches sc.exe
          PID:2364
        • 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:2984
      • C:\Windows\SysWOW64\mqglnzdb\kfpsgrrz.exe
        C:\Windows\SysWOW64\mqglnzdb\kfpsgrrz.exe /d"C:\Users\Admin\AppData\Local\Temp\64e0106d66252e95c241e9dc3fe33f12.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2088
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2668

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              52KB

              MD5

              018e2964f03dfef7be5abae440a6780b

              SHA1

              08a7822b43e7ec3da782694872623638ed7b444b

              SHA256

              578a766625e79d33482604442c48965d2b2d5c6325edb7124b32c553de05418a

              SHA512

              915914a46bfff66cfeb39c9826f823a9b3007c130b49af9cbdba92d7c8ba02fee749c906f34a030197267ebd9e5b4696678e3dea73123471ae7d3713279760db

            • C:\Windows\SysWOW64\mqglnzdb\kfpsgrrz.exe

              Filesize

              640KB

              MD5

              3153c3433aae4efcd023a85d0d8005ff

              SHA1

              68515ad87b41f9bceb2d8075172296ecc24d03d5

              SHA256

              810fc21789bb615d152be0ca6874c248e8ee0bcd4869b2e1b342e11d36269db9

              SHA512

              5136da07771466cf93475de9ad31c1f5f8e151d1981486099673c96475ad1c00cb5d9b3a6fe339f30b3b354fcb914c91bea65a7050d415cdab1b534d221e3de6

            • memory/2088-11-0x0000000000400000-0x00000000023AF000-memory.dmp

              Filesize

              31.7MB

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

              Filesize

              76KB

            • memory/2088-17-0x0000000000400000-0x00000000023AF000-memory.dmp

              Filesize

              31.7MB

            • memory/2088-9-0x0000000000270000-0x0000000000370000-memory.dmp

              Filesize

              1024KB

            • memory/2480-8-0x0000000000400000-0x00000000023AF000-memory.dmp

              Filesize

              31.7MB

            • memory/2480-4-0x0000000000400000-0x00000000023AF000-memory.dmp

              Filesize

              31.7MB

            • memory/2480-1-0x0000000002500000-0x0000000002600000-memory.dmp

              Filesize

              1024KB

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

              Filesize

              76KB

            • memory/2668-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

              Filesize

              4KB

            • memory/2668-12-0x0000000000080000-0x0000000000095000-memory.dmp

              Filesize

              84KB

            • memory/2668-15-0x0000000000080000-0x0000000000095000-memory.dmp

              Filesize

              84KB

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

              Filesize

              84KB

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

              Filesize

              84KB

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

              Filesize

              84KB