Analysis

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

General

  • Target

    JaffaCakes118_58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479.exe

  • Size

    286KB

  • MD5

    89e8a1b1e5eec9b15314df6c8232406c

  • SHA1

    7c088ba07bdfef0f3f427cc400ad2237ffc2d331

  • SHA256

    58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479

  • SHA512

    f2d8805adcc2c2b90efcf669323e1f07ba4c4e18d5bdfbb213148447b468c07474692fc20c3d29dc545c63196d433a7d69118aef02781056e8c2b2544bffccf7

  • SSDEEP

    3072:4I9LYEcdxT6FjvfOOlKBFUZHsu0ay/M3Ve2RU1Ujo3RNsPI6MPepmsIm5ejH:40LsP6FjvFlKbyHq6yz3RCIOUZ

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_58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vbqvvkzm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vkxtfexj.exe" C:\Windows\SysWOW64\vbqvvkzm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vbqvvkzm binPath= "C:\Windows\SysWOW64\vbqvvkzm\vkxtfexj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vbqvvkzm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vbqvvkzm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4320
    • 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:2824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1224
      2⤵
      • Program crash
      PID:3084
  • C:\Windows\SysWOW64\vbqvvkzm\vkxtfexj.exe
    C:\Windows\SysWOW64\vbqvvkzm\vkxtfexj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_58752562c0472e1ca8366acd6edf883e0ad1a3ec78ab97500c64f4f76f50f479.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4852
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4852 -s 556
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3672 -ip 3672
    1⤵
      PID:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4852 -ip 4852
      1⤵
        PID:4348

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        cb604f99a62a95fb3c817e2d7d543d12

        SHA1

        be9be9994b65773952b796b4ba0f4031a6f87c3a

        SHA256

        c3bc704e48ed95bef0b5cefe135679263c046c57ff592db57dfa9dbf5220dc6e

        SHA512

        e97d3faabab58cdd4467c32545810b817be18415f55221b8d662566dc94d4ba8aa66673ae272601ab30c283ba063460814245f33079c0d6a8a27a3eb752c33d5

      • memory/460-8-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/460-14-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/460-15-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/3672-1-0x0000000002BB0000-0x0000000002CB0000-memory.dmp

        Filesize

        1024KB

      • memory/3672-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3672-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3672-11-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/3672-10-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/4852-13-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB