Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 09:52

General

  • Target

    JaffaCakes118_802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30.exe

  • Size

    337KB

  • MD5

    d5dcd6548c4e5b796fe37cf726284c44

  • SHA1

    bc323164c3dbbec11612920cdc1355d3a4cf78a9

  • SHA256

    802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30

  • SHA512

    d0331d94a1199df34bfb75190494a3c1d80d2dfa37b80233c1a8308e3e58e3d89a7a26b317a98f44e0eb258c7751d8bfb68a68114cc35f99ae339fa8b9e87cc3

  • SSDEEP

    6144:+9SU8h6YplPuhSMpyXLeGpJhDRo/N6WHk2dUp:+IR1plXyyXLeG/FRY6WHk6Up

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.

  • Tofsee family
  • 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vhghtjzk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ngugysuh.exe" C:\Windows\SysWOW64\vhghtjzk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vhghtjzk binPath= "C:\Windows\SysWOW64\vhghtjzk\ngugysuh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vhghtjzk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vhghtjzk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1432
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:3368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3084 -s 1036
      2⤵
      • Program crash
      PID:3044
  • C:\Windows\SysWOW64\vhghtjzk\ngugysuh.exe
    C:\Windows\SysWOW64\vhghtjzk\ngugysuh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_802c09d2ca0066f5855f8e22a023510b405dbb26ea9d6daad5a66da992016f30.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3552
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3552 -s 508
      2⤵
      • Program crash
      PID:464
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3084 -ip 3084
    1⤵
      PID:1088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3552 -ip 3552
      1⤵
        PID:700

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        6802e4c2a79519f8f4ccbe14b29cca40

        SHA1

        8f6287f25b40ffcd5f000c8fb4e590b501987e38

        SHA256

        147e8c178b0a97ebcc944bb10d4117ac19f73588217489161546ea972eeb82be

        SHA512

        e42b0b89c72ac40ba2f402e89057565a487e217263cb29e1a34a80a255415b94c581159e8bb42c644962976d204629f6625b59b8585712683029427c7affe032

      • memory/636-11-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/636-13-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/636-14-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/3084-1-0x0000000002E40000-0x0000000002F40000-memory.dmp

        Filesize

        1024KB

      • memory/3084-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/3084-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3084-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3084-8-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/3084-7-0x0000000000400000-0x0000000002B4D000-memory.dmp

        Filesize

        39.3MB

      • memory/3552-15-0x0000000000400000-0x0000000002B4D000-memory.dmp

        Filesize

        39.3MB