Analysis

  • max time kernel
    149s
  • 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 06:43

General

  • Target

    JaffaCakes118_852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033.exe

  • Size

    258KB

  • MD5

    3b7e3f26701a8d911c01b5dd20cbc88d

  • SHA1

    a151397e5e820e637b826cc70f5727a63972770b

  • SHA256

    852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033

  • SHA512

    f1c0d25ce9a43e0d444712fed708cd0e919c59aa26398976f834a7b19d1257200b23399e20b3c9797234cccd6c2cd0251afa9f14e5a05c7784e8952b21d9e11b

  • SSDEEP

    6144:ZQFMZhT/1A4ToggvrHXgxH8+MKAuERtPQ7:ZAeh/1A4kgi3gdCKA9jI

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_852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mdreizya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfaxeddr.exe" C:\Windows\SysWOW64\mdreizya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mdreizya binPath= "C:\Windows\SysWOW64\mdreizya\tfaxeddr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mdreizya "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mdreizya
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • 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:5092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 808 -s 1252
      2⤵
      • Program crash
      PID:3700
  • C:\Windows\SysWOW64\mdreizya\tfaxeddr.exe
    C:\Windows\SysWOW64\mdreizya\tfaxeddr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_852b4503d236e4c9791449bc59dc3e81718c98ce87a9fa2253de95fd362cf033.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3940 -s 520
      2⤵
      • Program crash
      PID:3416
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 808 -ip 808
    1⤵
      PID:4632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3940 -ip 3940
      1⤵
        PID:3268

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        8856d1fc8c3c44b2bfeeed9bdd379995

        SHA1

        460d422ed649f6a848412be93193f32999d3748b

        SHA256

        2abf9a90dc3d96b7997b9b573f063474fb9522c88cc2f5edcf9d976346a1e4cd

        SHA512

        208bb827227951088b327dbb5e0258f2b2a861f24786045741c4a8775b027d63e29dff36e94531e88861aa36a50b035ca95427edc349dc7bda22f9cfc89c2ff4

      • memory/808-1-0x00000000008F0000-0x00000000009F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/808-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        76KB

      • memory/3940-14-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3940-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4716-11-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/4716-13-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/4716-16-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB