Analysis

  • max time kernel
    150s
  • 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
    30-11-2024 01:21

General

  • Target

    b44f56e69a2fecb2aa2c087de04041a8_JaffaCakes118.exe

  • Size

    11.8MB

  • MD5

    b44f56e69a2fecb2aa2c087de04041a8

  • SHA1

    c4277bc1cd4b2f6218659949a9749ffb3b8ac590

  • SHA256

    e95dc31697c70aeaa6ce846868058f3d47a94ed236b2ea45028f4c1e71ff9009

  • SHA512

    71d04ebaad7f507907fa5958c6bc369b4cf02bfc7ee892a6a2ad89e67eafe432bbf60c589dee657ed29b6fa4afdb72fc577f7ad11548647443c04a1ad5f0cd13

  • SSDEEP

    6144:IesoFeYHECHsLsx6mihb12P5qpWV0m68jM7LjmpeM:Inu/HECz6S5QWlnqOpe

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\b44f56e69a2fecb2aa2c087de04041a8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b44f56e69a2fecb2aa2c087de04041a8_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qchewthn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpeqkgrh.exe" C:\Windows\SysWOW64\qchewthn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qchewthn binPath= "C:\Windows\SysWOW64\qchewthn\rpeqkgrh.exe /d\"C:\Users\Admin\AppData\Local\Temp\b44f56e69a2fecb2aa2c087de04041a8_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qchewthn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qchewthn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3864
    • 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:3124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 748 -s 1264
      2⤵
      • Program crash
      PID:4284
  • C:\Windows\SysWOW64\qchewthn\rpeqkgrh.exe
    C:\Windows\SysWOW64\qchewthn\rpeqkgrh.exe /d"C:\Users\Admin\AppData\Local\Temp\b44f56e69a2fecb2aa2c087de04041a8_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3836
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3836 -s 512
      2⤵
      • Program crash
      PID:5096
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 748 -ip 748
    1⤵
      PID:3300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3836 -ip 3836
      1⤵
        PID:3044

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        5262b111926361a114d916fe4f74d45b

        SHA1

        b3d358cf7752a8364d4a97a5b86829019e800420

        SHA256

        21e6e5614b771d6dd9a0d18d77e6a4fbb39d8f9c9f9124f68290c390cf0fc741

        SHA512

        11937b8a94ec2f92d53a45313bd8456f0c6a2c233f9249d50dcac7913b34db7eb6d6d0eb345b19e47d0de74ab2f36d3753331b866dd911770a3ca0bb0746d4e2

      • memory/748-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/748-1-0x0000000000B80000-0x0000000000C80000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/748-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/748-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2428-12-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2428-14-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/2428-17-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/3836-11-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3836-15-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/3836-16-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB