Analysis

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

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

General

  • Target

    JaffaCakes118_46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec.exe

  • Size

    355KB

  • MD5

    0705d8a26643fda3847892650df6b7fe

  • SHA1

    98513720a0866476912fda3ae473292fa02e1a38

  • SHA256

    46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec

  • SHA512

    1fc018bf6e9aa0eebe4164b4c18849fa65b6d97c5a93901c4d677f40a815454ecea2066c93fe7d9f3767e9947117baf4e7218a7f8dab640fd9929242142253aa

  • SSDEEP

    6144:sXwE2Igd4E7jIujAab5azd2ne001GeyOoYDXVQCVyXFEL:sAEUMKAab5azd+e0MGeyOoyVnVyg

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_46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wwrugxdr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ovtejesg.exe" C:\Windows\SysWOW64\wwrugxdr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wwrugxdr binPath= "C:\Windows\SysWOW64\wwrugxdr\ovtejesg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wwrugxdr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wwrugxdr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • 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:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2128 -s 1036
      2⤵
      • Program crash
      PID:2240
  • C:\Windows\SysWOW64\wwrugxdr\ovtejesg.exe
    C:\Windows\SysWOW64\wwrugxdr\ovtejesg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_46c88105604822a7742e2ba3e6bbe972348e37c559e9b1c7ed87cf8995db57ec.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4416 -s 520
      2⤵
      • Program crash
      PID:2772
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2128 -ip 2128
    1⤵
      PID:4876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 4416 -ip 4416
      1⤵
        PID:1576

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        8fafa270e915fdfaa4163e0879fb5a50

        SHA1

        fcd4d1853e4d814264a2fcdb20fffae4218c845e

        SHA256

        c60c0029d27a81d9523dcd3b64d42af190c83afc54ce0ae4a6f1e66412e66df1

        SHA512

        adcc6ed02934a919281423117079a71db0f24872bdc4eb4f5ced5167ba696e05d35ceb4b36f2e831f553866ff128195f0b816fe0fed0817449d9189c3fa0bff8

      • memory/400-13-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/400-11-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/400-15-0x0000000000390000-0x00000000003A5000-memory.dmp

        Filesize

        84KB

      • memory/2128-1-0x0000000001900000-0x0000000001A00000-memory.dmp

        Filesize

        1024KB

      • memory/2128-2-0x0000000001870000-0x0000000001883000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2128-9-0x0000000001870000-0x0000000001883000-memory.dmp

        Filesize

        76KB

      • memory/2128-8-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/4416-14-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/4416-17-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB