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
    25-12-2024 14:08

General

  • Target

    JaffaCakes118_090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24.exe

  • Size

    147KB

  • MD5

    1396631f611f0b34bfa14e49f3774c72

  • SHA1

    cd9a713144a06aae7b0050b6bf63362035fcd763

  • SHA256

    090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24

  • SHA512

    130961929d17400c5e9c2d26b6052847506c634460284dd29456c150c90df9d186edca1988fc9bd7fdfc8c8265a233b2fed65be9816c18b8f52e56a45fea348c

  • SSDEEP

    1536:MfISSdp/jPGOEuP7Wvo1xhY15T+ijyP5+WiTHzf0cGNIk6h3uJp+Q7Jgz70Of+RR:MFYpxPkoBSVj+5IXf0cYIkwqfPLRJDz

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_090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ejgdzljx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hoanwjke.exe" C:\Windows\SysWOW64\ejgdzljx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ejgdzljx binPath= "C:\Windows\SysWOW64\ejgdzljx\hoanwjke.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ejgdzljx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ejgdzljx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:956
    • 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:2364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1996 -s 1044
      2⤵
      • Program crash
      PID:4360
  • C:\Windows\SysWOW64\ejgdzljx\hoanwjke.exe
    C:\Windows\SysWOW64\ejgdzljx\hoanwjke.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_090d1c667392de95141f6de35994eafe1b37e4e7bdca53d771fd0daf835fed24.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4640
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3680
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4640 -s 508
      2⤵
      • Program crash
      PID:468
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1996 -ip 1996
    1⤵
      PID:3780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4640 -ip 4640
      1⤵
        PID:3172

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        e2b98647cd84b9cf01f736ede50d8881

        SHA1

        6ae70507f463ef239c56220b74b6fe9c5cc37bf3

        SHA256

        572a60e454641cb5bb3e7d81da7fa42e4a9dd33ba9f94496fed9f84ca4d92709

        SHA512

        5b80e699ad4d411f128c1a3ac0173044077d637fa0d12e3fc4ac5458cddd318d84994a4fb45e9cecef3c26effa27ed702ce9dc52f41ba86c932d5c774aceddd5

      • memory/1996-8-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        1024KB

      • memory/3680-14-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB

      • memory/3680-16-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB

      • memory/3680-17-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB

      • memory/4640-12-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/4640-11-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/4640-13-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB

      • memory/4640-18-0x0000000000400000-0x00000000004AB000-memory.dmp

        Filesize

        684KB