Analysis

  • max time kernel
    148s
  • max time network
    150s
  • 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 08:33

General

  • Target

    JaffaCakes118_92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67.exe

  • Size

    289KB

  • MD5

    5f83cbb604e017a7ec6e46776e538e24

  • SHA1

    3219e6f27f3cebd7d499e13cf9e1146c186333cf

  • SHA256

    92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67

  • SHA512

    97843c593e77064fb1a764bdbadf92742c473f5a20b5ae5024be7bf65516f0cc0c8d558cda57032b00bb634189314f0322a340407eaf19ced5da680cafba2afb

  • SSDEEP

    6144:2lfibHny83UbS4sqvfBxBbhAXY0NMHUBL5:2hqUbS4sqvlKXlYG9

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_92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fagqkhne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ylursxjw.exe" C:\Windows\SysWOW64\fagqkhne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fagqkhne binPath= "C:\Windows\SysWOW64\fagqkhne\ylursxjw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fagqkhne "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fagqkhne
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • 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:3016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3000 -s 1032
      2⤵
      • Program crash
      PID:3136
  • C:\Windows\SysWOW64\fagqkhne\ylursxjw.exe
    C:\Windows\SysWOW64\fagqkhne\ylursxjw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_92a985d159dbf16e9509eace5334644732a48f00ada8e426a7728e9e809a7c67.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2496
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2496 -s 564
      2⤵
      • Program crash
      PID:4644
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3000 -ip 3000
    1⤵
      PID:1192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2496 -ip 2496
      1⤵
        PID:8

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        3f5c3713e01331aec7eb1e7ffa2c8660

        SHA1

        defeda3765835dd93cfc6b946b2e1ff0ef340dcd

        SHA256

        0a902c77373ad44738d5731511f5cbf8c30480a0c30e4e813818b038cf3c193c

        SHA512

        71bf0c9f41c95b3f8f1bf44c28febb786e71aa378d9cfa5280e9ad87f18d8045dae81c3d2e77bb2a006ea41c6e20529f6333719d3ec97f27664786f0f04d61f7

      • memory/2496-15-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/3000-1-0x0000000002C10000-0x0000000002D10000-memory.dmp

        Filesize

        1024KB

      • memory/3000-2-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3000-8-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

      • memory/3000-7-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/4132-11-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4132-13-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB

      • memory/4132-14-0x0000000000830000-0x0000000000845000-memory.dmp

        Filesize

        84KB