Analysis

  • max time kernel
    145s
  • 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
    24-12-2024 13:20

General

  • Target

    JaffaCakes118_6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66.exe

  • Size

    242KB

  • MD5

    2c68d9c4e5df87c3174b62feaaadd1b1

  • SHA1

    189b7c11c1a376add061d184774f42f9f6918dad

  • SHA256

    6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66

  • SHA512

    3aeca678c39dbd8fa756ee07dbbd58b0a78dfb007d7afa8ec4a178927c479e827f939e7de6cd74db377b55954310d394e5627831ef77453b4d19b43a215aebf5

  • SSDEEP

    6144:2FZQ9Gib7z1rzhr6Za7CD3XtHgih7iFqj2GRW:AZQbX1rzh2DD39AqwqPR

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_6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jfoegdpb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bvrxiskq.exe" C:\Windows\SysWOW64\jfoegdpb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jfoegdpb binPath= "C:\Windows\SysWOW64\jfoegdpb\bvrxiskq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jfoegdpb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jfoegdpb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:792
    • 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:4700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1200 -s 656
      2⤵
      • Program crash
      PID:3028
  • C:\Windows\SysWOW64\jfoegdpb\bvrxiskq.exe
    C:\Windows\SysWOW64\jfoegdpb\bvrxiskq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6b1b9d0dbe7ab8cc243bf56a7beec0d09aa27becbc334d82b8b511bfd68b6e66.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:112
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 112 -s 508
      2⤵
      • Program crash
      PID:1140
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1200 -ip 1200
    1⤵
      PID:4964
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 112 -ip 112
      1⤵
        PID:960

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        4bb64c460693cc5b479da006f5f8c0d3

        SHA1

        03d18645fca1087905e36f6376dcfad98a25c053

        SHA256

        600e33cb6e1dfee27f08ccbebb625f04a4fc924406b57603e2bc6832d4ffeeb5

        SHA512

        57ce66492dff6dc270210f17b44bb1a62493a0e0bfaab8b43cbe349125018c24f1d3b7426c003992c8d8d1e9db64585c0ec6f61a78415484f5226341bc33b2cc

      • memory/112-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/112-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/112-18-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/1200-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/1200-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1200-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        1024KB

      • memory/3860-13-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/3860-15-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/3860-16-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB