Analysis

  • max time kernel
    148s
  • 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
    28-12-2024 22:46

General

  • Target

    JaffaCakes118_5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b.exe

  • Size

    238KB

  • MD5

    7b1c6a6a156ceda7be1606583bc126a5

  • SHA1

    466c9e967bcf87509615e0dd98f2c007ee886fa4

  • SHA256

    5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b

  • SHA512

    f13f2ff68613cf952492f7b1c561fe27d9f8ebaacd863930c2b0ab235900c5280abdcdbce4348e4e2c96de055d7532e69a94712e0e7fbcc7885a34ab1f1cf5da

  • SSDEEP

    3072:v7ojA4DTPiryxGZEftEZp2I3/qQW7NbVggjcGkNIVqI7sxkgaBChMpZa9uD6VdyV:aA4DTPirDWlEV/cf7ITsq7igavwVf

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_5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oomgwrqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ydndrw.exe" C:\Windows\SysWOW64\oomgwrqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oomgwrqf binPath= "C:\Windows\SysWOW64\oomgwrqf\ydndrw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oomgwrqf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oomgwrqf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3212
    • 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:1488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 556 -s 652
      2⤵
      • Program crash
      PID:428
  • C:\Windows\SysWOW64\oomgwrqf\ydndrw.exe
    C:\Windows\SysWOW64\oomgwrqf\ydndrw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5411354e943b9ac88a828a6769497307dd7bf67954c878eef8027f34afe0443b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3120
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 220 -s 512
      2⤵
      • Program crash
      PID:1548
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 556 -ip 556
    1⤵
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 220 -ip 220
      1⤵
        PID:4040

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        e8aabc1cee0b98d7baeaf33040d9e729

        SHA1

        1e17ec0cc07093f57a587e82ae75471874c045d9

        SHA256

        e80a528fdec763c2e917c2e2cbe9a14842ad5e76bab7322fe1109f390dbaa541

        SHA512

        cd0715bb9cf177af0c906a0e190fcd0757531cd1e4cc88bfcc61cb5c303bdd85144766172d5bd6207392c3836a0185c2ef45f3b3000c03773b736d8e249d74e4

      • memory/220-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/220-18-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/220-8-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/220-7-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/556-14-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/556-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/556-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/556-15-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/556-1-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/556-0-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/556-13-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3120-12-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/3120-9-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/3120-19-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/3120-20-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/3120-21-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB