Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240220-en
  • resource tags

    arch:x64arch:x86image:win7-20240220-enlocale:en-usos:windows7-x64system
  • submitted
    28/03/2024, 19:42

General

  • Target
    0e5dca6660f538a362a1908b763e1830_JaffaCakes118.exe
  • Size 13.6MB
  • Sample240328-yet29aeg21
  • SHA256 f45bce97a98fed46271805fea006c5654752952c2d898a72e053288569080ea8
  • MD5 SHA1 SHA512 SSDEEP

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\0e5dca6660f538a362a1908b763e1830_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0e5dca6660f538a362a1908b763e1830_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hrlfwmty\
      2⤵
        PID:1624
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zpvopxnw.exe" C:\Windows\SysWOW64\hrlfwmty\
        2⤵
          PID:2148
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hrlfwmty binPath= "C:\Windows\SysWOW64\hrlfwmty\zpvopxnw.exe /d\"C:\Users\Admin\AppData\Local\Temp\0e5dca6660f538a362a1908b763e1830_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hrlfwmty "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2548
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hrlfwmty
          2⤵
          • Launches sc.exe
          PID:2532
        • 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:2396
      • C:\Windows\SysWOW64\hrlfwmty\zpvopxnw.exe
        C:\Windows\SysWOW64\hrlfwmty\zpvopxnw.exe /d"C:\Users\Admin\AppData\Local\Temp\0e5dca6660f538a362a1908b763e1830_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2516
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2652

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            zpvopxnw.exe

            • Path C:\Users\Admin\AppData\Local\Temp\zpvopxnw.exe
            • Size 10.2MB
            • SHA256 7115a405d6a2b3e1bba2bcb37c218c9655d51810eed4f80249d82c779844fd90
            • MD5 SHA1 SHA512 SSDEEP

            memory/2516-11-0x0000000000400000-0x000000000041D000-memory.dmp

            memory/2652-8-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2652-7-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2652-10-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2652-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2652-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2652-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2652-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

            memory/2860-0-0x0000000000400000-0x000000000041D000-memory.dmp

            memory/2860-1-0x0000000000220000-0x0000000000221000-memory.dmp

            memory/2860-2-0x0000000000230000-0x0000000000231000-memory.dmp

            memory/2860-15-0x0000000000400000-0x000000000041D000-memory.dmp