Analysis

  • max time kernel
    145s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 18:49

General

  • Target

    JaffaCakes118_0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31.exe

  • Size

    234KB

  • MD5

    ad35ddf418ee1bd6e9c1712b7bab8be5

  • SHA1

    a8a1043d95899c7fb963a34c714ec5e36dfe0dd1

  • SHA256

    0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31

  • SHA512

    c1abe07ca92939fc1cb3269da861894a032c44501b70412831e58d4ce6993618e4d85430ba18b69e280b3dd85e04d8783c24a70207d9ae9e373704ee8ce3c70d

  • SSDEEP

    6144:bBJefRbR6k2TL93Ca+yEfGv9HJyn+Hv4X:bBJeZbRs93Ca+lGv9H1gX

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_0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zhxvdkom\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vlgsmycu.exe" C:\Windows\SysWOW64\zhxvdkom\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zhxvdkom binPath= "C:\Windows\SysWOW64\zhxvdkom\vlgsmycu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zhxvdkom "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zhxvdkom
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4060
    • 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:4256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4828 -s 1264
      2⤵
      • Program crash
      PID:2096
  • C:\Windows\SysWOW64\zhxvdkom\vlgsmycu.exe
    C:\Windows\SysWOW64\zhxvdkom\vlgsmycu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0164a89f5ce7d86f2fe0503d3c4c39f912ea372b5197b65c0a0b8f8e3dbadd31.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3316
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3316 -s 512
      2⤵
      • Program crash
      PID:4988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4828 -ip 4828
    1⤵
      PID:4476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 3316 -ip 3316
      1⤵
        PID:2232

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        b66456e195f6295c699df80b4c99f4dc

        SHA1

        170d8700826fb45de86585394fb80e50f6e9b0a5

        SHA256

        6dfb78171c0e50236ca4a941144af477a867e20401e732fdb77068504f60b448

        SHA512

        f15238dd78ea79f8093e8cd931802da43732419b7b17bc409197bfb63ed74c6337c925ffa1c8244a1b53dbdaa95b7c04388fbf31dc9f8b9863ad5f7cc4588338

      • memory/1748-13-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB

      • memory/1748-15-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB

      • memory/1748-19-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB

      • memory/3316-11-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/3316-12-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/3316-16-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/3316-18-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/4828-2-0x0000000000B10000-0x0000000000B23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4828-9-0x0000000000B10000-0x0000000000B23000-memory.dmp

        Filesize

        76KB

      • memory/4828-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/4828-1-0x0000000000BA0000-0x0000000000CA0000-memory.dmp

        Filesize

        1024KB