Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 04:37

General

  • Target

    JaffaCakes118_22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1.exe

  • Size

    147KB

  • MD5

    1cb9964c4c9d5334bd59041ba1bd7dba

  • SHA1

    e1b6ca47232a373a9adb737a78f458a9d72fd705

  • SHA256

    22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1

  • SHA512

    a69852196a0be4b972b6a61daf1158988d71838e45a866377312eb65e27ba02fbdcfc1c8d719b718673a5445a1dd80216af0ae1707d78b54fbbabe99e5c2038a

  • SSDEEP

    3072:cFYpcokBEY9+CQTpIJvGkbqfPN3emCcz:cOpcJzIIJ5qf8u

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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_22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxpebcjd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lsqbgbpd.exe" C:\Windows\SysWOW64\gxpebcjd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gxpebcjd binPath= "C:\Windows\SysWOW64\gxpebcjd\lsqbgbpd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gxpebcjd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gxpebcjd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:212
    • 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:244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3572 -s 1296
      2⤵
      • Program crash
      PID:1412
  • C:\Windows\SysWOW64\gxpebcjd\lsqbgbpd.exe
    C:\Windows\SysWOW64\gxpebcjd\lsqbgbpd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_22826c7c10b929ee4388e49a725ce1316ccd19f7319fc9592b02c725204525e1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1728
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1728 -s 532
      2⤵
      • Program crash
      PID:3752
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3572 -ip 3572
    1⤵
      PID:3448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1728 -ip 1728
      1⤵
        PID:2856

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        34a56952f1cf5b35381d4a4bfc10b965

        SHA1

        dfe7448d0b9e8c4706aa92568e87d0b0461ac627

        SHA256

        8cb45962eff0eb68e4fff4b2057fe257453c1aebdaddb5185b757cf65c7611eb

        SHA512

        eabffd48af012f5518b0214127ffc227fec7401d62447295d5e32069f317cd5a8ca1cec470de093270ddd3be570f6a1f47c4c081f5f7012843905ae25b298643

      • memory/1728-13-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/1728-11-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/1728-12-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/1728-19-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/2844-14-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

      • memory/2844-16-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

      • memory/2844-17-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3572-2-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/3572-9-0x0000000000640000-0x0000000000653000-memory.dmp

        Filesize

        76KB

      • memory/3572-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3572-8-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/3572-1-0x0000000000760000-0x0000000000860000-memory.dmp

        Filesize

        1024KB