Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    31/03/2024, 16:52

General

  • Target
    58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe
  • Size 13.5MB
  • Sample240331-vdcj2afc31
  • SHA256 70e10e0e9a41b2a5eabc89163aaa2c749dac597f380e01f92e6e08090008a57e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • quadoil.ru

  • lakeflex.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\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\slkewoal\
      2⤵
        PID:2700
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fuzaucfy.exe" C:\Windows\SysWOW64\slkewoal\
        2⤵
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create slkewoal binPath= "C:\Windows\SysWOW64\slkewoal\fuzaucfy.exe /d\"C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description slkewoal "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2652
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start slkewoal
          2⤵
          • Launches sc.exe
          PID:2416
        • 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:2436
      • C:\Windows\SysWOW64\slkewoal\fuzaucfy.exe
        C:\Windows\SysWOW64\slkewoal\fuzaucfy.exe /d"C:\Users\Admin\AppData\Local\Temp\58c96cac97ebd822ad7be1274d5bccb1_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2568
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2404

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            fuzaucfy.exe

            • Path C:\Users\Admin\AppData\Local\Temp\fuzaucfy.exe
            • Size 14.2MB
            • SHA256 63ae49daa07d12f5a32ee5b4e382c1fb506ae12f29ffbc66e2ca98af422f18df
            • MD5 SHA1 SHA512 SSDEEP

            memory/2404-12-0x0000000000090000-0x00000000000A5000-memory.dmp

            memory/2404-20-0x0000000000090000-0x00000000000A5000-memory.dmp

            memory/2404-22-0x0000000000090000-0x00000000000A5000-memory.dmp

            memory/2404-21-0x0000000000090000-0x00000000000A5000-memory.dmp

            memory/2404-15-0x0000000000090000-0x00000000000A5000-memory.dmp

            memory/2404-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2568-11-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2568-10-0x0000000000900000-0x0000000000A00000-memory.dmp

            memory/2568-18-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2868-1-0x0000000000910000-0x0000000000A10000-memory.dmp

            memory/2868-9-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2868-4-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2868-8-0x0000000000400000-0x0000000000785000-memory.dmp

            memory/2868-2-0x0000000000220000-0x0000000000233000-memory.dmp