Analysis

  • max time kernel
    149s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    15/04/2024, 02:50

General

  • Target
    f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe
  • Size 14.0MB
  • Sample240415-db1emscg32
  • SHA256 7e9aa2336c370908afb719885d7cb83e3775c3a5c66712822dc984a70fdbccac
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.6

  • 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\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohhvaqwe\
      2⤵
        PID:2364
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ebtkgxtr.exe" C:\Windows\SysWOW64\ohhvaqwe\
        2⤵
          PID:2548
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ohhvaqwe binPath= "C:\Windows\SysWOW64\ohhvaqwe\ebtkgxtr.exe /d\"C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ohhvaqwe "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2704
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ohhvaqwe
          2⤵
          • Launches sc.exe
          PID:2744
        • 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:2564
      • C:\Windows\SysWOW64\ohhvaqwe\ebtkgxtr.exe
        C:\Windows\SysWOW64\ohhvaqwe\ebtkgxtr.exe /d"C:\Users\Admin\AppData\Local\Temp\f020da955cab805a4f8c60f8c1a375a4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2988
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2520

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ebtkgxtr.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ebtkgxtr.exe
            • Size 11.6MB
            • SHA256 320f31f299f021eb44a72770b28bad9a39198462f8fe0708d951fdfd5382f827
            • MD5 SHA1 SHA512 SSDEEP

            memory/2520-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2520-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2520-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2520-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2520-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2520-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2520-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2728-3-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2728-4-0x0000000000400000-0x00000000008EA000-memory.dmp

            memory/2728-7-0x0000000000400000-0x00000000008EA000-memory.dmp

            memory/2728-1-0x0000000000AC0000-0x0000000000BC0000-memory.dmp

            memory/2988-12-0x0000000000400000-0x00000000008EA000-memory.dmp

            memory/2988-15-0x0000000000400000-0x00000000008EA000-memory.dmp

            memory/2988-9-0x0000000000990000-0x0000000000A90000-memory.dmp