Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    18-04-2024 16:06

General

  • Target

    f8518c38784e9b78cae4bc2b90bfc289_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    f8518c38784e9b78cae4bc2b90bfc289

  • SHA1

    1a58456029f8a0af14172b797150241a2565b8b9

  • SHA256

    d6f43f31fce6ae40ebfad16c8c01d765a965a2aae9907ffcaefe293031356a75

  • SHA512

    53489166d21faceae92bd7a48995b0fb03009b3b50cfaf05f0e03c78c372db2e810167fd406ab8cc1456e6874418bebb5b94e16450c61b86120e887a2cff3b44

  • SSDEEP

    12288:khq8okPz+6/uWlQJVppppppppppppppppppppppppppppppppppppppppppppppB:dSz+R

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 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\f8518c38784e9b78cae4bc2b90bfc289_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f8518c38784e9b78cae4bc2b90bfc289_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hofjaose\
      2⤵
        PID:2180
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dkwjsfga.exe" C:\Windows\SysWOW64\hofjaose\
        2⤵
          PID:2516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hofjaose binPath= "C:\Windows\SysWOW64\hofjaose\dkwjsfga.exe /d\"C:\Users\Admin\AppData\Local\Temp\f8518c38784e9b78cae4bc2b90bfc289_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hofjaose "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hofjaose
          2⤵
          • Launches sc.exe
          PID:2548
        • 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:2676
      • C:\Windows\SysWOW64\hofjaose\dkwjsfga.exe
        C:\Windows\SysWOW64\hofjaose\dkwjsfga.exe /d"C:\Users\Admin\AppData\Local\Temp\f8518c38784e9b78cae4bc2b90bfc289_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2688
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2512

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        b6e50f63fcec6a9ffd99004454ea5688

        SHA1

        2f1dfd3409820a68b669947a8fca5ac3996a91b0

        SHA256

        0403ede80f7d645051001d049272e4ace20f665b37266575493abd659abf6185

        SHA512

        787096a8c5fa00552acefa3aa5f12381727255808694b79496f74be0b2ab76b6b1ce879abc258c169bb72bc0bdce0f805022c1a0852a425cff3b84395233c38e

      • memory/1676-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/1676-1-0x0000000000940000-0x0000000000A40000-memory.dmp

        Filesize

        1024KB

      • memory/1676-4-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/1676-3-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/2512-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2512-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/2512-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2688-10-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/2688-9-0x0000000000A30000-0x0000000000B30000-memory.dmp

        Filesize

        1024KB

      • memory/2688-18-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB