Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-12-2024 00:22

General

  • Target

    badca1fe5781d38c5ee80cb495550cf0_JaffaCakes118.exe

  • Size

    11.1MB

  • MD5

    badca1fe5781d38c5ee80cb495550cf0

  • SHA1

    a7d103fd9a1f2f95077d4b331e7a92ae843669e6

  • SHA256

    9c4312d0147836994aa702299b458611d02ede212817b5a677dfef41cd59ccc3

  • SHA512

    0694aa3d77d027c7196951a3fdd7361ddee98f421c30a0fd35819172566242e4d4008543e6ac5cfb34c6a7d9a1bf54e7576dd8674c6ef8a06a781830d9584b9a

  • SSDEEP

    6144:x0YTUw7FfKLfRZm6WbrQd1svSnAKdKO3fhQCbG+2:hDhKLfRMbrA1WSAKddfHG

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\badca1fe5781d38c5ee80cb495550cf0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\badca1fe5781d38c5ee80cb495550cf0_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ojwevnog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oamuufuc.exe" C:\Windows\SysWOW64\ojwevnog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ojwevnog binPath= "C:\Windows\SysWOW64\ojwevnog\oamuufuc.exe /d\"C:\Users\Admin\AppData\Local\Temp\badca1fe5781d38c5ee80cb495550cf0_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ojwevnog "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ojwevnog
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • 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:3016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4572 -s 1040
      2⤵
      • Program crash
      PID:3968
  • C:\Windows\SysWOW64\ojwevnog\oamuufuc.exe
    C:\Windows\SysWOW64\ojwevnog\oamuufuc.exe /d"C:\Users\Admin\AppData\Local\Temp\badca1fe5781d38c5ee80cb495550cf0_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:208
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 208 -s 564
      2⤵
      • Program crash
      PID:2224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4572 -ip 4572
    1⤵
      PID:1976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 208 -ip 208
      1⤵
        PID:8

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        bd61eafdfbd640f5fa1e3ac5823584dd

        SHA1

        5995ebbd0c4f77cedfb1cc4c16923958c860893f

        SHA256

        be52b8b1c6899bbb505131676f8549f1c250c1989971028eb3e0aef3bad6a952

        SHA512

        7caea597b91c96a3f08c66aead73131e594cb7810ac308509d443cee3c67b6d6260fcd171705fa17e463afbb1b760af4e4ee7fc10a539164fefe2650f8c6de40

      • memory/208-14-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/208-17-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB

      • memory/556-11-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/556-13-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/556-15-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/4572-2-0x00000000034D0000-0x00000000034E3000-memory.dmp

        Filesize

        76KB

      • memory/4572-1-0x0000000001B20000-0x0000000001C20000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4572-9-0x00000000034D0000-0x00000000034E3000-memory.dmp

        Filesize

        76KB

      • memory/4572-8-0x0000000000400000-0x0000000001782000-memory.dmp

        Filesize

        19.5MB