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

  • MD5

    8066071ebc2261fb9fa7bc095950e7a4

  • SHA1

    385ece42d14ed13dd1911bc78405448f2cc2c5d5

  • SHA256

    9147b2e4d0e04f288700b09606af79a3fdab6b6e8e69495a8ef868481d544beb

  • SHA512

    3b6061ccbc73cc280412177f7569f0af13d14c75425998f043702d97ac33d880ca2d2a21f3fadfa46acb266e82b75d9e2f811122daab48e7dac080bc67fa1511

  • SSDEEP

    3072:LO8/FLfg76rzTkYfiL2+jKfgi4m5nuGFU6W6WN06b37:B9pzwFLnKP46uC

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

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

        Filesize

        11.1MB

        MD5

        a18c76087de2146a7286d1cf440221e9

        SHA1

        47b91e3a966db9df5f61e91756e7842c849c3dc5

        SHA256

        06f13042a539523cc4c57f2fcec94b4d12479500b0db8397ceda8bc01196fb43

        SHA512

        00cabbe8ab5070e74a7652b2ffea8eec14046bc72f1d254dc98bb980c2c85ce28a0d42efc6ab12d26ef480e54951f290c9a6527b0058a8b67b1c21ffba703378

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

        Filesize

        4KB

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

        Filesize

        152KB

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

        Filesize

        152KB

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

        Filesize

        152KB

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

        Filesize

        4KB

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

        Filesize

        4KB

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

        Filesize

        152KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB