Analysis

  • max time kernel
    146s
  • max time network
    144s
  • 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 14:04

General

  • Target

    JaffaCakes118_4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115.exe

  • Size

    164KB

  • MD5

    d649d038cbf42befb5e8a84c0c0409df

  • SHA1

    cb7c56f0e704a6d0ea3e30cf3cc5b3db5b14a617

  • SHA256

    4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115

  • SHA512

    4ee8b9a76e54a7b4cfbb1e32f61095ba4dac4a046612f263ca7bb63d302660f7f8c05c6f11c038f62d6541919f37cb8ac5b7b205ecd05a072c8e8dba956fe4ed

  • SSDEEP

    3072:xhqN3KT33532RxJqf6Is57HoWx3xS9H6S:xsNE33532tjEa

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_4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yyqlqkct\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gwrdxjnf.exe" C:\Windows\SysWOW64\yyqlqkct\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yyqlqkct binPath= "C:\Windows\SysWOW64\yyqlqkct\gwrdxjnf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yyqlqkct "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yyqlqkct
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1188
    • 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:4560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4544 -s 660
      2⤵
      • Program crash
      PID:4932
  • C:\Windows\SysWOW64\yyqlqkct\gwrdxjnf.exe
    C:\Windows\SysWOW64\yyqlqkct\gwrdxjnf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c02eaf72087d84609c6a3ab2b1f937b9610cfce1c088480efef333c788f2115.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4476
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4476 -s 512
      2⤵
      • Program crash
      PID:5096
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4544 -ip 4544
    1⤵
      PID:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4476 -ip 4476
      1⤵
        PID:5024

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        6e7208a38d587696e92463b4cb77e377

        SHA1

        c57fe9412de790eca8d609f676dae2737c2d7823

        SHA256

        a288c0925ffdaed77a165e979a867dc518f070ea0700d897a60736ebf811f0f2

        SHA512

        e0e93589a9c7421a975e42e5637ab103e556376dee9ea0e5016e338586316cc651db0e71db388c2d7ce79bef348c18edf250677af574e12779e89963fb8d0612

      • memory/1500-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1500-18-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1500-16-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/4476-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4476-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4476-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4476-17-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/4544-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/4544-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4544-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4544-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB