Analysis

  • max time kernel
    149s
  • max time network
    142s
  • 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 02:08

General

  • Target

    JaffaCakes118_551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0.exe

  • Size

    285KB

  • MD5

    61f8be3ccdfa263ce084dc04f6aa0437

  • SHA1

    f961423e1a77221b573f79c43c9a521caad6854f

  • SHA256

    551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0

  • SHA512

    879cf63a785814eb6644c0416bd0f5cf626368a0e2011bd83d6aeb1671dbccf14cdf4645f62db38974d60ef99f56fced8236f9716c0706f1644039539925c90a

  • SSDEEP

    3072:q33Z+4VHtyHf1czTaE1/83RjhJN9O9S20kePH7+QtxQ640P7F1SLDVG7m5:23YMkf1c/L1/8Bj30nKi+77oDVG

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_551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kslhajrf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pbnvvgvd.exe" C:\Windows\SysWOW64\kslhajrf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kslhajrf binPath= "C:\Windows\SysWOW64\kslhajrf\pbnvvgvd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kslhajrf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kslhajrf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:756
    • 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:952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1640 -s 1044
      2⤵
      • Program crash
      PID:2256
  • C:\Windows\SysWOW64\kslhajrf\pbnvvgvd.exe
    C:\Windows\SysWOW64\kslhajrf\pbnvvgvd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_551d239fc97916f66f22400de1cd409af3a6d22e4e4413b47d6f56c709acffa0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3420
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3420 -s 508
      2⤵
      • Program crash
      PID:2580
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1640 -ip 1640
    1⤵
      PID:2720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3420 -ip 3420
      1⤵
        PID:5016

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        274d9b156f6968c3517e347be75ada25

        SHA1

        a568291094789c989cafd84d5c5a6747357a088a

        SHA256

        9dbe97c913a087bffb756fc84a53e424d5b97e65038eb1d3818f46510342436c

        SHA512

        3f6eeaba5973a13bb05b1c8f7fa6872db954142db5e9499a6552f4aa329972257ee3fa513780e2edb729394a48828462251d6bf1124607eb7c68d7674f3fa901

      • memory/1640-1-0x0000000002E20000-0x0000000002F20000-memory.dmp

        Filesize

        1024KB

      • memory/1640-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1640-11-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/1640-9-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

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

        Filesize

        39.6MB

      • memory/4060-8-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/4060-14-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/4060-15-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB