Analysis

  • max time kernel
    146s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/05/2024, 10:17

General

  • Target
    8066071ebc2261fb9fa7bc095950e7a4_JaffaCakes118.exe
  • Size 142KB
  • Sample240529-mbk5dsbc4x
  • SHA256 9147b2e4d0e04f288700b09606af79a3fdab6b6e8e69495a8ef868481d544beb
  • 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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8066071ebc2261fb9fa7bc095950e7a4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8066071ebc2261fb9fa7bc095950e7a4_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ssusjrvi\
      2⤵
        PID:4496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trfrsnlr.exe" C:\Windows\SysWOW64\ssusjrvi\
        2⤵
          PID:5080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ssusjrvi binPath= "C:\Windows\SysWOW64\ssusjrvi\trfrsnlr.exe /d\"C:\Users\Admin\AppData\Local\Temp\8066071ebc2261fb9fa7bc095950e7a4_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 ssusjrvi "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3756
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ssusjrvi
          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:1144
      • C:\Windows\SysWOW64\ssusjrvi\trfrsnlr.exe
        C:\Windows\SysWOW64\ssusjrvi\trfrsnlr.exe /d"C:\Users\Admin\AppData\Local\Temp\8066071ebc2261fb9fa7bc095950e7a4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:972
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4348

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            trfrsnlr.exe

            • Path C:\Users\Admin\AppData\Local\Temp\trfrsnlr.exe
            • Size 11.1MB
            • SHA256 06f13042a539523cc4c57f2fcec94b4d12479500b0db8397ceda8bc01196fb43
            • MD5 SHA1 SHA512 SSDEEP

            memory/972-7-0x0000000000580000-0x0000000000581000-memory.dmp

            memory/972-8-0x0000000000400000-0x0000000000426000-memory.dmp

            memory/972-10-0x0000000000400000-0x0000000000426000-memory.dmp

            memory/2212-0-0x0000000000400000-0x0000000000426000-memory.dmp

            memory/2212-2-0x0000000000510000-0x0000000000511000-memory.dmp

            memory/2212-1-0x0000000000500000-0x0000000000501000-memory.dmp

            memory/2212-6-0x0000000000400000-0x0000000000426000-memory.dmp

            memory/4348-9-0x00000000003E0000-0x00000000003F5000-memory.dmp

            memory/4348-12-0x00000000003E0000-0x00000000003F5000-memory.dmp

            memory/4348-13-0x00000000003E0000-0x00000000003F5000-memory.dmp