Analysis

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

    arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2023 17:31

General

  • Target

    310d54057b0e553d230284fdcdd1ead1.exe

  • Size

    335KB

  • MD5

    310d54057b0e553d230284fdcdd1ead1

  • SHA1

    9dab1c464e3d8e4551070e854509d4b4aae903ac

  • SHA256

    f303448daa6e0457f26ae9a14cb80bf592b31550a1cb8fdc284c6bbe87494f42

  • SHA512

    53c1380cd2d322a66551205246bbf9ed0803e70c5e880c4a11c1c1b33db533ce8137ee9805987a6c2979a5ab21207680e8cda05195cfadece8861d1b785a05cb

  • SSDEEP

    3072:FkAgDr/XSqon0LUwWQ2UHxqms7/7btm52yls2LC5J8ZWwoQSwgeb7hiOiPg0tGis:FkhDr/+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\310d54057b0e553d230284fdcdd1ead1.exe
    "C:\Users\Admin\AppData\Local\Temp\310d54057b0e553d230284fdcdd1ead1.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\chpqtwhq\
      2⤵
        PID:2400
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zrwwdvpt.exe" C:\Windows\SysWOW64\chpqtwhq\
        2⤵
          PID:2768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create chpqtwhq binPath= "C:\Windows\SysWOW64\chpqtwhq\zrwwdvpt.exe /d\"C:\Users\Admin\AppData\Local\Temp\310d54057b0e553d230284fdcdd1ead1.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3024
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description chpqtwhq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2272
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start chpqtwhq
          2⤵
          • Launches sc.exe
          PID:2724
        • 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:2332
      • C:\Windows\SysWOW64\chpqtwhq\zrwwdvpt.exe
        C:\Windows\SysWOW64\chpqtwhq\zrwwdvpt.exe /d"C:\Users\Admin\AppData\Local\Temp\310d54057b0e553d230284fdcdd1ead1.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2592
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2584

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        384KB

        MD5

        583185ad69b868e8daefed87c1c53c1c

        SHA1

        34d71d160e9a5d2ad52ed01fd046032da67541fb

        SHA256

        05df8823897e195e8b452dff75542ec410b859d61886fc54eba1a990f81ff548

        SHA512

        f47f906534c27f2c277b1cf22ccdade204538aa0a3f7a313a772b35b2ee83caf8cac599c9db05116616bdba78ef0b11ad442d9622f1ccf4e4c3b23932b59c5b8

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

        Filesize

        76KB

      • memory/2124-1-0x00000000032E0000-0x00000000033E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/2124-7-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

      • memory/2124-9-0x00000000032E0000-0x00000000033E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        46.3MB

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

        Filesize

        4KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2592-11-0x00000000033E0000-0x00000000034E0000-memory.dmp

        Filesize

        1024KB

      • memory/2592-19-0x0000000000400000-0x000000000324F000-memory.dmp

        Filesize

        46.3MB

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

        Filesize

        46.3MB