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:17

General

  • Target

    JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe

  • Size

    270KB

  • MD5

    65b27135bb9e44c1ea0e921b22370b4e

  • SHA1

    325060bd1ece1f550e7309b1bd34547101c6fd6a

  • SHA256

    bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b

  • SHA512

    dbc5a27b1838f7d2bf76f2f20f02f3a717b6b51c6fc58ca58686e6fdd3422528e2b1471c68c472561783987678e2e2994c49a01748d03151793ac16f963df4cb

  • SSDEEP

    6144:esrDGeKy2Q9ggLseGgCy9MoZ+QVqQmXdIU11:h+y2Q9ggLavy+oZLnE+y

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_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xeckzvbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lxspwvvj.exe" C:\Windows\SysWOW64\xeckzvbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xeckzvbs binPath= "C:\Windows\SysWOW64\xeckzvbs\lxspwvvj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xeckzvbs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xeckzvbs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:932
    • 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:4388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2588 -s 596
      2⤵
      • Program crash
      PID:3064
  • C:\Windows\SysWOW64\xeckzvbs\lxspwvvj.exe
    C:\Windows\SysWOW64\xeckzvbs\lxspwvvj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_bed95c3c7b9d573d93e2de96c4543078346e7ec0ed38022b72d2be9588792f6b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2944 -s 528
      2⤵
      • Program crash
      PID:4164
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2588 -ip 2588
    1⤵
      PID:2080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2944 -ip 2944
      1⤵
        PID:3736

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        bd029a0930cab8efca5f72b53741f2a0

        SHA1

        7717e46fc510365f07fe73649b451d49cd484aaf

        SHA256

        0c13096657d4bc15227edad9574897bfad08b71db949f52b74eadc0c29f3066e

        SHA512

        f4ba11e5c67bddcb9ef222a7d0a4fcbbd3281b41343c23f708a2c9c621af830f9abf1f29a201c0e138fee4e0384623c6424ec9cc81b30cee1a52e63059bc4fc0

      • memory/2588-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

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

        Filesize

        84KB

      • memory/2588-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2588-9-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/2588-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

      • memory/2944-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2944-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/2944-17-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/3520-13-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB

      • memory/3520-15-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB

      • memory/3520-16-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB