Windows 7 deprecation

Windows 7 will be removed from tria.ge on 2025-03-31

Analysis

  • max time kernel
    148s
  • max time network
    147s
  • 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:17

General

  • Target

    JaffaCakes118_07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808.exe

  • Size

    198KB

  • MD5

    3ec8e58a92565c4ced1145c1c72ab6ec

  • SHA1

    a34a09a7adc735bf169b9ec84d11f64f68132270

  • SHA256

    07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808

  • SHA512

    b8fab3c46dc352f6bc1e25d1df6a50620e3b6e212b4f2e7540fd2fd343420d83ba059e6e10ff7b419273254fe6a44e72226bf1a3c4fd9209ad768857e6f32e41

  • SSDEEP

    3072:NnrGi1mhhahmGJlLRwdSFK5KircPI1ZeNMkcx8EuSzsz:NrGi1mhZGJFGq0cPI1siuSz+

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_07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gyyqkyet\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rpeqkgrh.exe" C:\Windows\SysWOW64\gyyqkyet\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gyyqkyet binPath= "C:\Windows\SysWOW64\gyyqkyet\rpeqkgrh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gyyqkyet "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gyyqkyet
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4520
    • 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:1488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 680
      2⤵
      • Program crash
      PID:3416
  • C:\Windows\SysWOW64\gyyqkyet\rpeqkgrh.exe
    C:\Windows\SysWOW64\gyyqkyet\rpeqkgrh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_07635e09b07f448dae84a64557fbd6214ae2be52391ab67257fe53fb42fbb808.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 508
      2⤵
      • Program crash
      PID:4036
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4376 -ip 4376
    1⤵
      PID:2640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 2308 -ip 2308
      1⤵
        PID:3644

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        f206afee80a55697a78cef08e13c1193

        SHA1

        6f4e10309389284504ac804c150aac94df6e1fb5

        SHA256

        3a07da10309161b85c849fe9d5eccee083b711c1f4a25787d2057705b68e55a0

        SHA512

        1d35946a08dd186b937aa7c53fe24951c32670436ba11543822dc553ed8bec591696a04a3f844b7d8d980dc7bb6580b27d8b562cb9fb1fb783b6fa8baf4798ba

      • memory/2308-13-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/2308-12-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/2308-11-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/2308-19-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/2664-14-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2664-16-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2664-17-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4376-2-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/4376-8-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

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

        Filesize

        84KB

      • memory/4376-9-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/4376-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB