Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 16:18

General

  • Target

    JaffaCakes118_52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a.exe

  • Size

    291KB

  • MD5

    4e6018f8aa4e23f9682ad29bbe4bff86

  • SHA1

    314329b8e37fed0104cf518ed7e221c77f78a217

  • SHA256

    52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a

  • SHA512

    f265ffb7ca36419f45c2cbc28cd14a26e0720355e6950426ca357c57e67c671252f2220a6dc6d236185129951796e9cd352dd2e5425acd9024a4806692a0d743

  • SSDEEP

    6144:C9DzZDKZGtx0NSBXbTW8WxQs9dcBHKNUp/rcAst:ClztVtxNrtGQs9dcBHKNAst

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_52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rphitbqh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sytwfooj.exe" C:\Windows\SysWOW64\rphitbqh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rphitbqh binPath= "C:\Windows\SysWOW64\rphitbqh\sytwfooj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rphitbqh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rphitbqh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • 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:2144
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3876 -s 1048
      2⤵
      • Program crash
      PID:2112
  • C:\Windows\SysWOW64\rphitbqh\sytwfooj.exe
    C:\Windows\SysWOW64\rphitbqh\sytwfooj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_52e330e3855744ad7120e6ad39dff2b8a6c3bbdb217164fd7443fc8c06f54e1a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2820
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2820 -s 516
      2⤵
      • Program crash
      PID:2768
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3876 -ip 3876
    1⤵
      PID:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2820 -ip 2820
      1⤵
        PID:4844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        5e9ac3cc4f50d2b40786d318e1b548d4

        SHA1

        b05d5418f7e90aff19244791d4e7a54b3c46b7b5

        SHA256

        78f43f2c476607cb79ee42b153d9aa4539378f67c8a0db49a6a6b05a0a2c615f

        SHA512

        b9122942f8a6af8d77045dc420d3b048c4933eb7349eb0f0de3092f8f090cd6e997b07ef284bb2f58ead326d91bae3729e5ec5a237b8b4230a87024e3b01ea35

      • memory/2820-14-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/2820-15-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/3168-11-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/3168-13-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/3168-16-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/3876-1-0x0000000000A30000-0x0000000000B30000-memory.dmp

        Filesize

        1024KB

      • memory/3876-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3876-7-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/3876-8-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB