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
    24-12-2024 19:52

General

  • Target

    JaffaCakes118_e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec.exe

  • Size

    234KB

  • MD5

    c0e15986413e5b830d1228f358247bb0

  • SHA1

    9b4bbf48e3cb01e0e69a7f204580a3fa2a391115

  • SHA256

    e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec

  • SHA512

    175aeee3d81d94c2c23f56cf13870090e540038d29aa47b99c0f54e876d9d62bbfd37119ed1deb3776402ed9d24268816013e90d93b52790108f2a4d84014751

  • SSDEEP

    6144:Po+nN6bo6whkr0QGZPGe/O7oli8bbR/HmB:P1nN6bo6wi0QGZj/O1yJs

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_e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ulbprugk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wlyugfyk.exe" C:\Windows\SysWOW64\ulbprugk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ulbprugk binPath= "C:\Windows\SysWOW64\ulbprugk\wlyugfyk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ulbprugk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ulbprugk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2932
    • 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:1096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2784 -s 776
      2⤵
      • Program crash
      PID:3004
  • C:\Windows\SysWOW64\ulbprugk\wlyugfyk.exe
    C:\Windows\SysWOW64\ulbprugk\wlyugfyk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e6e047c6487cc3f00d59084d38f831ea6ced3be17ec8a7b1932bbda6d07c09ec.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1148
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1148 -s 524
      2⤵
      • Program crash
      PID:3484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2784 -ip 2784
    1⤵
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1148 -ip 1148
      1⤵
        PID:4128

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        b8d021bb4b905f9b3c1c8e3bca518351

        SHA1

        616b868cb66c26f38988fd3e7221438c21cd57f9

        SHA256

        a4275b38f78d40d4ba83524c0d520833574b32e492efad1218ab586e137b6357

        SHA512

        78c3bea867507eb6bca25f5214f7b2ff1a347c9516ff7a2703605a48e8ce7db9fb0b4a28021da3ebd95a351423611961b088c0a82e9e59797ef1da555be898f4

      • memory/1148-11-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1148-15-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1148-16-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2784-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2784-9-0x00000000008D0000-0x00000000008E3000-memory.dmp

        Filesize

        76KB

      • memory/2784-1-0x0000000000960000-0x0000000000A60000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2784-2-0x00000000008D0000-0x00000000008E3000-memory.dmp

        Filesize

        76KB

      • memory/2796-12-0x0000000000D00000-0x0000000000D15000-memory.dmp

        Filesize

        84KB

      • memory/2796-14-0x0000000000D00000-0x0000000000D15000-memory.dmp

        Filesize

        84KB

      • memory/2796-17-0x0000000000D00000-0x0000000000D15000-memory.dmp

        Filesize

        84KB