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
    31-12-2024 21:09

General

  • Target

    JaffaCakes118_370547d48d40907434f6ae225fe63299.exe

  • Size

    14.5MB

  • MD5

    370547d48d40907434f6ae225fe63299

  • SHA1

    70e61d11ceb4dba3ce49e82c2185dd4611df6fb7

  • SHA256

    af2427a96c386bf82e2db183857b7a587f0d6793aeb1b3b3198bfc2c4cc940db

  • SHA512

    7a3c58e82ba8ecff0530da16bea8a57bd3ce3accc6c37b6ff251a8626aa00ebfdb15ea445a0acd46f9e32a7859c0f4c3e9604d3d542b3772198ff3f8f83ea90d

  • SSDEEP

    6144:fiP2GmiErAKEjgoUYRxiPnkIW2p6/hR6bPz/9hniF:2dEkf5UmiE2pagL9hi

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_370547d48d40907434f6ae225fe63299.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yjkapymt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpkhonnb.exe" C:\Windows\SysWOW64\yjkapymt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yjkapymt binPath= "C:\Windows\SysWOW64\yjkapymt\dpkhonnb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yjkapymt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yjkapymt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2628
    • 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:4132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4104 -s 584
      2⤵
      • Program crash
      PID:724
  • C:\Windows\SysWOW64\yjkapymt\dpkhonnb.exe
    C:\Windows\SysWOW64\yjkapymt\dpkhonnb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_370547d48d40907434f6ae225fe63299.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2264
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2264 -s 516
      2⤵
      • Program crash
      PID:2000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 368 -p 4104 -ip 4104
    1⤵
      PID:2392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 364 -p 2264 -ip 2264
      1⤵
        PID:5076

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        6fccb43cac3400dd884bef85c11ad07b

        SHA1

        0f6ceefbae99a486cf2356e15805d16300419cfb

        SHA256

        92487022af75283bbe487028c0b37f709b12b8e63484e47edc5b8e103f54444e

        SHA512

        1b4228a7add213e72fa391d211e998bed88b751c77ee6d38ef1157d94f22aecdbfdf3b806f6612ad0197691c8c93d4f46efbe3c3b29b8e9ebf6b515520a2c969

      • memory/2264-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2264-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2264-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2264-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2684-14-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/2684-16-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

      • memory/2684-17-0x0000000000F80000-0x0000000000F95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4104-2-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB

      • memory/4104-9-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB

      • memory/4104-8-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4104-1-0x0000000000470000-0x0000000000570000-memory.dmp

        Filesize

        1024KB